Openkore.com

OpenKore Forums
It is currently 22 Nov 2018, 07:22

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [DarkRO] Gold Counter
PostPosted: 06 May 2015, 04:22 
Offline
Noob
Noob

Joined: 17 Nov 2013, 01:26
Posts: 8
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.
   }
}


Top
 Profile  
 
 Post subject: Re: [DarkRO] Gold Counter
PostPosted: 08 May 2015, 06:20 
Offline
Noob
Noob

Joined: 17 Nov 2013, 01:26
Posts: 8
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-
      }
   }
}


Top
 Profile  
 
 Post subject: Re: [DarkRO] Gold Counter
PostPosted: 28 Oct 2016, 05:54 
Offline
Noob
Noob

Joined: 18 Oct 2016, 02:58
Posts: 8
Why is it when i put the gold counter on my macro.txt when the bot enters the gold room all automacros are triggering?


Top
 Profile  
 
 Post subject: Re: [DarkRO] Gold Counter
PostPosted: 12 Nov 2016, 15:12 
Offline
Noob
Noob

Joined: 12 Nov 2016, 15:09
Posts: 1
can somebody teach me how to use the bot? email me at desuasidokurtolin@gmail.com, please please help me :( :( :(


Top
 Profile  
 
 Post subject: Re: [DarkRO] Gold Counter
PostPosted: 13 Nov 2016, 23:08 
Offline
Human
Human

Joined: 19 Oct 2012, 23:31
Posts: 25
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group