Quote:
Originally Posted by moneyvsmoney
This stuff really is easy! Here's to bringing that egg price down! Come on folks, don't just be a leech! If you want something do a little work and research!
|
Awesome. I have compared these files against the ones I had previously. There was just a few incorrect lines due to how it was worded. Now I'm running into an issue of if one of the bots die, they will resurrect then zone out to Borja Marches and just stand there AFK/idle.
I'm assuming it's somewhere in here, but again.. I'm trying to learn instead of just leech.
--
;~ Description: Wait and stay alive at the same time (like Sleep(..), but without the letting yourself die part)
Func WaitFor($lMs)
If GetIsDead(-2) Then Return
Local $lAgentArray
Local $lTimer = TimerInit()
Do
Sleep(100)
If GetIsDead(-2) Then Return
$lAgentArray = GetAgentArray(0xDB)
StayAlive($lAgentArray)
Until TimerDiff($lTimer) > $lMs
EndFunc
--