[DarkRO] Gold Counter

Moderator: Moderators

Message
Author
coarse
Noob
Noob
Posts: 8
Joined: 17 Nov 2013, 01:26
Noob?: No

[DarkRO] Gold Counter

#1 Post by coarse »

I use this instead of using a timer for my gold room bot.

Code: Select all

automacro instantiate {
	var gold unset
	call {
		$gold = 0
	}
	run-once 1
}
automacro add {
	var gold >= 0
	console /got (\d+) GP/
	call {
		$add = $.lastMatch1
		$gold = @eval($gold+$add)
		log You have $gold gold.
	}
}

coarse
Noob
Noob
Posts: 8
Joined: 17 Nov 2013, 01:26
Noob?: No

Re: [DarkRO] Gold Counter

#2 Post by coarse »

DarkRO updated their servers. They've added a total GP collected everytime you get GP. Here's the updated macro for exiting the room, though you can still use the one above.

Code: Select all

automacro exit {
   console /Total GP: (\d+)/
   call {
      if ($.lastMatch 1 >= 500) {
            -insert your exit commands here-
      }
   }
}

kamukamu
Noob
Noob
Posts: 6
Joined: 18 Oct 2016, 02:58
Noob?: Yes

Re: [DarkRO] Gold Counter

#3 Post by kamukamu »

Why is it when i put the gold counter on my macro.txt when the bot enters the gold room all automacros are triggering?

kalalako
Noob
Noob
Posts: 1
Joined: 12 Nov 2016, 15:09
Noob?: Yes

Re: [DarkRO] Gold Counter

#4 Post by kalalako »

can somebody teach me how to use the bot? email me at desuasidokurtolin@gmail.com, please please help me :( :( :(

nizdi
Human
Human
Posts: 26
Joined: 19 Oct 2012, 23:31
Noob?: No

Re: [DarkRO] Gold Counter

#5 Post by nizdi »

kalalako wrote:can somebody teach me how to use the bot? email me at desuasidokurtolin@gmail.com, please please help me :( :( :(
Vague and terrible way to ask for help, you should read wiki a little bit: http://openkore.com/index.php/Main_Page.
If your problem is with macros, there's a extense and long post there.

Post Reply