[BUG] __WPL:reverse();
Posted: Sun Nov 07, 2010 8:32 am
Hi,
When i use __WPL:reverse(); the script starts running waypoints backwards ok, but when it finds a scripted waypoint (All i got there is a printf) its suddently switches somewhere else, I'm guessing to the nearest waypoint. Although it's not the first one, it's the second backwards waypoint (not 5 but 6 int he example) take a look:
Happened 2/2 times, here's what it shows:
When i use __WPL:reverse(); the script starts running waypoints backwards ok, but when it finds a scripted waypoint (All i got there is a printf) its suddently switches somewhere else, I'm guessing to the nearest waypoint. Although it's not the first one, it's the second backwards waypoint (not 5 but 6 int he example) take a look:
Code: Select all
<!-- # 5 --><waypoint x="-18508" z="7843"> printf("Kal Turok King Heads: %d\n",inventory:itemTotalCount("Kal Turok King Head"));</waypoint>
<!-- # 6 --><waypoint x="-18223" z="7741"> printf("Kal Turok King Heads: %d\n",inventory:itemTotalCount("Kal Turok King Head"));</waypoint>
<!-- # 7 --><waypoint x="-17914" z="7222"> </waypoint>
(...some more script-empty waypoints)
<!-- # 17 --><waypoint x="-17096" z="7271"> </waypoint>
<!-- # 18 --><waypoint x="-16749" z="7526"> </waypoint>
<!-- # 19 --><waypoint x="-17219" z="7875"> </waypoint>
<!-- # 20 --><waypoint x="-17487" z="7335"> </waypoint>
<!-- # 21 --><waypoint x="-17772" z="6946"> </waypoint>
<!-- # 22 --><waypoint x="-18361" z="6841">__WPL:reverse(); </waypoint>
Code: Select all
Clearing target.
Kal Turok King Heads: 210
Moving to waypoint #5, (-18508, 7843)
Kal Turok King Heads: 210
Moving to waypoint #18, (-16749, 7526)
AND
Moving to waypoint #7, (-17914, 7222)
Moving to waypoint #6, (-18223, 7741)
Kal Turok King Heads: 304
Moving to waypoint #5, (-18508, 7843)
Kal Turok King Heads: 304
Moving to waypoint #17, (-17096, 7271)