hey guys, need help, got the polar bar bot running but crashed game when going to open end chest, any help would be great.
the function im using is
Func DoChest()
$iOpened = 0
Do
Sleep(250)
If GetIsDead(-2) = 1 Then ExitLoop
TargetNearestItem()
$Chest = GetNearestSignpostToCoords(-11452.18, -17942.34)
If IsDllStruct($Chest) Then
GoSignPost($Chest)
Sleep(Random(900, 2000))
$iOpened = 1
;Else
; UpdateStatus("Couldn't find chest, wait...")
EndIf
Until $iOpened = 1
EndFunc ;==>DoChest
ALL CREDIT GOES TO THE ORIGINAL DEVELOPERS AND NOT ME