how to count monsters on quest/mission

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

how to count monsters on quest/mission

#1 Post by Aerys »

Please help, i need a macro on how to count monsters when im botting on a repeatable quest. i need to kill 50 Yoyos.
how can i know the quest id of the quest that im taking? thank you in advance! P.S im playing on a private server and i've already searched the forums but the topics that are related to my concern does not answer my problem.

This log appears when im active in quest and killed a yoyo:

[Guild] Mission #1. You have killed Yoyo [1/50]
User avatar
4epT
Developers
Developers
Posts: 627
Joined: 30 Apr 2008, 14:17
Noob?: No
Discord: ya4ept#8494
Location: Moskow (Russia)

Re: how to count monsters on quest/mission

#2 Post by 4epT »

Code: Select all

automacro killed {
	console /Mission #1. You have killed.*\[(\d+)\/(\d+)\]/
	call {
		if ($.lastMatch1 < $.lastMatch2) stop
		log I killed all the monsters!!!
	}
}
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image
Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

Re: how to count monsters on quest/mission

#3 Post by Aerys »

So it will stop when i got 50 kills right? can i change stop to call [automacro name]? THANKS!

Like this :

automacro killed {
console /Mission #1. You have killed.*\[(\d+)\/(\d+)\]/
call {
if ($.lastMatch1 < $.lastMatch2) call submit
}
}

macro submit {
and so on and so forth ~
Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

Re: how to count monsters on quest/mission

#4 Post by Aerys »

BRO IM GETTING ERROR WHEN IM USING YOUR MACRO THIS APPEARS WHEN I OPEN MY OPENKORE. HOW CAN I UPDATE MY OPENKORE?
User avatar
4epT
Developers
Developers
Posts: 627
Joined: 30 Apr 2008, 14:17
Noob?: No
Discord: ya4ept#8494
Location: Moskow (Russia)

Re: how to count monsters on quest/mission

#5 Post by 4epT »

what error?
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image
Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

Re: how to count monsters on quest/mission

#6 Post by Aerys »

WHEN IT ATTACKS A MONSTER MY OPENKORE SUDDENLY SHUTS DOWN, A MESSAGE APPEARS SAYING THAT A ERROR IN REGEXP OCCURED. WHAT WILL I DO BRO? DO I NEED TO UPDATE MY OPENKORE?
Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

Re: how to count monsters on quest/mission

#7 Post by Aerys »

Bro everytime i killed a monster the macro always run. i just need it to run when i have killed a total of 50 yoyos. whaat will i do?
Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

Re: how to count monsters on quest/mission

#8 Post by Aerys »

I only need to run the macro when my status for killing yoyo is [50/50]

like this :

[Guild] Mission #1. You have killed Yoyo [50/50]
User avatar
4epT
Developers
Developers
Posts: 627
Joined: 30 Apr 2008, 14:17
Noob?: No
Discord: ya4ept#8494
Location: Moskow (Russia)

Re: how to count monsters on quest/mission

#9 Post by 4epT »

ok, use:

Code: Select all

automacro killed {
   console /Mission #1. You have killed.*\[50\/50\]/
   call {
      log I killed all the monsters!!!
   }
}
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image
Aerys
Noob
Noob
Posts: 8
Joined: 18 Apr 2014, 11:33
Noob?: Yes

Re: how to count monsters on quest/mission

#10 Post by Aerys »

Working perfectly! THANKS BRO!