Openkore.com
http://forums.openkore.com/

[DarkRO] Gold Counter
http://forums.openkore.com/viewtopic.php?f=33&t=210090
Page 1 of 1

Author:  coarse [ 06 May 2015, 04:22 ]
Post subject:  [DarkRO] Gold Counter

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

Code:
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.
   }
}

Author:  coarse [ 08 May 2015, 06:20 ]
Post subject:  Re: [DarkRO] Gold Counter

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

Author:  kamukamu [ 28 Oct 2016, 05:54 ]
Post subject:  Re: [DarkRO] Gold Counter

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

Author:  kalalako [ 12 Nov 2016, 15:12 ]
Post subject:  Re: [DarkRO] Gold Counter

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

Author:  nizdi [ 13 Nov 2016, 23:08 ]
Post subject:  Re: [DarkRO] Gold Counter

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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/