I found this with my SecretGarden waypoint and have been getting the same with my daily quest as well. Instead of going to the waypoint specified it would instead go the the one after it, but it would only do this on the 2nd run and all those after.
else
buyAndSplitPoison()
__WPL:setWaypointIndex(__WPL:findWaypointTag("Quest"));
end
Both had either __WPL:setDirection(WPT_FORWARD); or the BACKWARD equivalent after setting the waypoint, could that be causing it to move to the next waypoint in one direction or the other?
Yes that's what happens when you change direction. It adds or removes 2 from the current waypoint. This is as it's supposed to be but can cause problems when changing the next waypoint.
You should be able to avoid any such issues if you make sure to always change direction before setting the waypoint.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.