It might be just me but running a char on a new WP, it isn't skipping any waypoints, ever. It will run to a mob, turn round and go back to the last waypoint and then turn again and continue on even though there were 2 waypoints between the dead mob and the waypoint it walked back to.
If it is just me, any settings I might have messed up to make it not skip anymore?
Looks far to unnatural.
doesn't skip waypoint anymore
doesn't skip waypoint anymore
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: doesn't skip waypoint anymore
Try this in your onLeaveCombat event:
Code: Select all
<![CDATA[
local nwp = __WPL:getNearestWaypoint();
local cwp = __WPL.CurrentWaypoint;
if( math.abs(nwp - cwp) < 3 ) then
-- Within 2 waypoints, allow update
__WPL:setWaypointIndex(nwp);
elseif( nwp < 3 and cwp > math.abs(#__WPL.Waypoints - 2) ) then
-- Within 2 waypoints, but looping around to the beginning.
__WPL:setWaypointIndex(nwp);
end
]]>Re: doesn't skip waypoint anymore
Keeps returning this error.
I even commented out all but
and it still returned same error, which I find odd as it is just setting a string?
Code: Select all
nil value passed to distance()
Code: Select all
local nwp = __WPL:getNearestWaypoint();
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: doesn't skip waypoint anymore
Logically getNearestWaypoint should default to getting the nearest waypoint to the player, but it doesn't. This should work
Code: Select all
local nwp = __WPL:getNearestWaypoint(player.X, player.Z);- 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.”
- Ronald Reagan
Re: doesn't skip waypoint anymore
No errors anymore =)
Need to test it out more, first glance it does set to go to a different waypoint, trouble is it is now saying it is skipping that waypoint. So maybe it is doing the skip thing again now, lol, I need to test this more.
Need to test it out more, first glance it does set to go to a different waypoint, trouble is it is now saying it is skipping that waypoint. So maybe it is doing the skip thing again now, lol, I need to test this more.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual