im working on an Old Froggy Bot and updating it. It works fine so far - the problem is, when i reach the Boss lock, it crashes the game.
Im using the "GoToLock(17922, -6421)" function:
Func GoToLock($x, $y) ; Open dungeon lock
Local $lDeadlock
$lDeadlock = TimerInit()
Do
RndSleep(250)
$lock = GetNearestSignpostToCoords($x, $y)
Until DllStructGetData($lock, 'Id') <> 0 Or TimerDiff($lDeadlock) > 300000
ChangeTarget($lock)
RndSleep(250)
GoToSignpost($lock)
RndSleep(250)
Sleep(5000)
ActionInteract()
Sleep(5000)
ActionInteract()
Sleep(500)
EndFunc
I guess i need another Function for the Boss Lock, can someone help me maybe?






