Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decrease delay between training?
#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
 


Messages In This Thread
RE: Decrease delay between training? - by promac - 02-19-2015, 10:55 AM
RE: Decrease delay between training? - by SupermansZ24 - 02-19-2015, 11:24 AM
RE: Decrease delay between training? - by promac - 02-19-2015, 11:35 AM
RE: Decrease delay between training? - by promac - 02-19-2015, 11:42 AM
RE: Decrease delay between training? - by Just09 - 02-20-2015, 06:35 PM
RE: Decrease delay between training? - by redclif - 02-21-2015, 05:13 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community forum 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