Quote:
Easy way to find where an error happens is to add outputs
in most of the bots the function for that is Out("")
So you can put a few outs after inbetween the func to see when the error happens
Out("Start using hero skills")
Out("Hero Skills used/worked")
Out("Command Heros")
Out("Command Worked")
etc. and see what gets not displayed is probably the issue
you can narrow that down
on the other hand you can also just debugg
Thank you for the advice I think I found the problem
this function is broke
Func PrepareToFight()
Local $lDunkoro, $lTahlkora, $lMiku, $lZhed
Local $lDeadLock, $lDeadLock2
$lDunkoro = GetAgentByName($dunkoro)
$lTahlkora = GetAgentByName($tahlkora)
$lMiku = GetAgentByName($miku)
UseHeroSkill(4, 1)
Sleep(2000)
UseHeroSkill(4, 8, $lDunkoro)
Sleep(3500)
UseHeroSkill(4, 8, $lTahlkora)
Sleep(3500)
UseHeroSkill(4, 8, $lMiku)
Sleep(3500)
CommandAll(-5536, -4765)
CommandHero(1, -5399, -4965)
CommandHero(2, -5877, -4479)
CommandHero(3, -5669, -4640)