-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#1
Post
by ZZZZZ » Sun May 04, 2014 3:31 am
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.
Code: Select all
<!-- # 1 --><waypoint x="-2559" z="1107" y="19" tag="Main">
doSpiceQuest()
player:mount()
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 2 --><waypoint x="-2539" z="1092" y="18" tag="Quest">
</waypoint>
<!-- # 3 --><waypoint x="-2482" z="1056" y="15"> </waypoint> -- skips to this one
<!-- # 4 --><waypoint x="-2257" z="785" y="9"> </waypoint>
Code: Select all
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?
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#2
Post
by rock5 » Sun May 04, 2014 5:49 am
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.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
ZZZZZ
- Posts: 513
- Joined: Sun Oct 21, 2012 1:42 am
#3
Post
by ZZZZZ » Sun May 04, 2014 6:07 am
Ahh ok, will keep that in mind for later use, thank you.
Who is online
Users browsing this forum: No registered users and 1 guest