alternative Merchant-waypoint
Posted: Sat Mar 20, 2010 7:10 am
Hiho,
I want to add to my profile/waypoint an alternative waypoint, if i have more then x items in my bag or the durabily of my armor/weapon is too low.
On the wiki-page i´ve read all i need, but it still don´t get back on the "main-waypoint"
this is my code (first i had the code in the profile in the onload-tag, now in the waypoint without onload - both works):
in the micromacro-window it show me for example "63" at start and say that it loads "waypoint_merchant.xml".
If the Merchant-Waypoint ends, i have at the end of "waypoint_merchant.xml" linked back:
But after the bot arrived the end of "waypoint_merchant.xml" it restart the merchant-waypoint and don´t load the main-waypoint to make the check to farm the main-waypoint 
someone know that problem and can tell me, what could be wrong?
thx
nofuture
I want to add to my profile/waypoint an alternative waypoint, if i have more then x items in my bag or the durabily of my armor/weapon is too low.
On the wiki-page i´ve read all i need, but it still don´t get back on the "main-waypoint"
this is my code (first i had the code in the profile in the onload-tag, now in the waypoint without onload - both works):
Code: Select all
<waypoints>
inventory:update();
occupiedSlots, totalSlots = sendMacro("GetBagCount();");
if( occupiedSlots > 60 ) then
printf( occupiedSlots );
loadPaths( "waypoint_merchant" );
end;
<!-- # 1 --><waypoint x="-..." z="..."> </waypoint>
</waypoints>
If the Merchant-Waypoint ends, i have at the end of "waypoint_merchant.xml" linked back:
Code: Select all
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-..." z="..." type="NORMAL"> </waypoint>
...
loadPaths( "waypoint" );
</waypoints>

someone know that problem and can tell me, what could be wrong?
thx
nofuture