188
« on: October 08, 2013, 02:04:38 PM »
Script has been working perfectly except for one thing... Every hour or two, my client will close and the script will stop. Every time it does this, my character is standing at my door.
Anything wrong with my return code?
if #CHARPOSY >= %pathfindrangestart && #CHARPOSY <= %pathfindrangewindow
{
repeat
event pathfind 2037 1271 ;x/y of first location (not recall point)
until #charposx = 2037 && #charposy = 1271
;*** Add this in for doors!
finditem FJC_HJC g_3
set #lobjectid #findid
event macro 17
wait 10
; wait 40 ; because of teleporter- take out if not using teleporter
;do not edit below-this is your original starting point
repeat
event pathfind %movedx %movedy
until #charposx = %movedx && #charposy = %movedy
}