How to Open Boss Lock with Bot

05/10/2023 18:59 SanSon4nice#1
Hey Guys,

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?

:handsdown:
05/14/2023 16:44 sadosan#2
Quote:
Func OpenDungeonDoor()
$lockX = 17834.66
$lockY = -6243.74
$BossLock = GetNearestSignpostToCoords($lockX, $lockY)

GoToSignpost($BossLock)
EndFunc

You're welcome :)