Mmm maybe small but 1 more error.. sometimes at the end of the return pathway, it will repeat the return pathway, and not go to the normal waypoint file. eg at the end of return waypoint, it says continuing to waypoint 1...
Code: Select all
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="main.xml" /> <!-- leave empty to show a list -->
<option name="RETURNPATH" value="return.xml" />
Normal waypoints, no additional code at all,
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="10322" z="6988"> </waypoint>
<!-- # 2 --><waypoint x="10215" z="6959"> </waypoint>
I added the autorepair to the return path on this one
RETURN.XML. (i couldnt get waypoint TRAVEL though due to how it came up, if can help with that too lol)
Code: Select all
<?xml version="1.0" encoding="utf-8"?> <waypoints>
<!-- # 1 --><waypoint x="12218" z="5756"> </waypoint>
<!-- # 2 --><waypoint x="12162" z="5868"> </waypoint>
etc etc
<!-- # 7 --><waypoint x="12184" z="6499">
if inventory:getMainHandDurability() > 80 then -- don't need repair
__WPL:setWaypointIndex(__WPL:findWaypointTag("normalpath"));
end
</waypoint>
<!-- # 8 --><waypoint x="12287" z="6488"> </waypoint>
etc
etc
<!-- # 43 --><waypoint x="10561" z="6870"> </waypoint>
<!-- # 44 --><waypoint x="10460" z="6919"> </waypoint>
</waypoints>
end of waypoint
From return waypoint file 44, it should move onto main waypoint
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="10322" z="6988"> </waypoint>
<!-- # 2 --><waypoint x="10215" z="6959"> </waypoint>
Instead it runs back to return.xml waypoint 1....