Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decrease delay between training?
#1
I've made a few edits myself already increasing deployment speed, decreasing kings power activation and increasing return home time. I'm trying to find the file and code to keep the bot constantly training and thus, constantly donating, currently there's a 1 minute delay between training. Any know where I can find this?
Reply
#2
In COC bot.au3
Do you have severals _Sleep , reduce the number and you can do it
_Sleep(milliseconds) is the delay between functions
1 second = 1000 milliseconds
search :
While $fullArmy = False
If $CommandStop = -1 Then SetLog("~~~Waiting for full army~~~", $COLOR_PURPLE)
Local $hTimer = TimerInit()
If _Sleep(30000) Then ExitLoop
Reply
#3
(02-19-2015, 10:55 AM)promac Wrote:  In COC bot.au3
Do you have severals _Sleep , reduce the number and you can do it
_Sleep(milliseconds) is the delay between functions
1 second = 1000 milliseconds
search :
While $fullArmy = False
If $CommandStop = -1 Then SetLog("~~~Waiting for full army~~~", $COLOR_PURPLE)
Local $hTimer = TimerInit()
If _Sleep(30000) Then ExitLoop
I haven't found that code under COCBot\functions\Other\_Sleep.au3

This is what's in the file posted above. I'm using the master branch from Github

Func _Sleep($iDelay, $iSleep = True)
Local $iBegin = TimerInit()
While TimerDiff($iBegin) < $iDelay
If $RunState = False Then Return True
tabMain()
If $iSleep = True Then Sleep(50)
WEnd
Return False
EndFunc ;==>_Sleep
Reply
#4
root \COC bot.au3 , not in COCBot\functions\Other\_Sleep.au3
Reply
#5
(02-19-2015, 11:35 AM)promac Wrote:  root \COC bot.au3 , not in COCBot\functions\Other\_Sleep.au3
This is amazing!. Worked perfectly, thanks a bunch!. I changed it to 1 second for those wondering, default is 30 seconds
Reply
#6
welcome
Reply
#7
(02-19-2015, 10:44 AM)SupermansZ24 Wrote:  I've made a few edits myself already increasing deployment speed, decreasing kings power activation and increasing return home time. I'm trying to find the file and code to keep the bot constantly training and thus, constantly donating, currently there's a 1 minute delay between training. Any know where I can find this?

Can you upload your bot folder, please ?
Reply
#8
nice info, thanks lads
##########################
# I'm Glad to found this forum Bounce #
##########################
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