Thread Rating:
  • 3 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5.4.2.2 + Giants atk and donate troops
#41
Reply
#42
Reply
#43
Ok, I figured it out. If anybody wants the bot to donate more often while waiting for camps to fill just add this code to script


Code:
;Donate Settings
Global $iDonateCounter = 0 ; Donate counter, when reaches $DONATEATCOUNT, it will donate
Global $DONATEATCOUNT = 2 ; Run DonateCC() after this amount of times before actually donate

and this under  general functions

If _Sleep(30000) Then ExitLoop (2)


Code:
If $iDonateCounter > $DONATEATCOUNT Then ; This is prevent from donating all the time which isn't needed anyway
DonateCC()
If _Sleep(1000) Or $RunState = False Then ExitLoop (2)
$iDonateCounter = 0
Endif
$iDonateCounter = $iDonateCounter + 1



This feature donates every 2 min, and I only tested it in this version of the bot.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website