Code: Select all
load_paths("macro.xml"); <!-- macro path -->
and keeps looping my return path over and over"Loaded waypoint path macro.xml
Return path found with default naming: macro_return.xml
Loaded return path macro_return.xml
We are coming from a return_path. So we will going on using the returnpath macro_return.xml"
macro path:
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="0000" z="0000">
if( player.Fights-player.free_counter1 > 300 ) then <!--300 -->
player.free_counter1 = player.Fights;
player:rest(1);
load_paths("macro_return.xml");
end;
</waypoint>
<!-- # 2 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 3 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 4 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 5 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 6 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 7 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 8 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 9 --><waypoint x="0000" z="0000"></waypoint>
<!-- #10 --><waypoint x="0000" z="0000"></waypoint>
<!-- #11 --><waypoint x="0000" z="0000"></waypoint>
</waypoints>
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 2 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 3 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 4 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 5 --><waypoint x="0000" z="0000"></waypoint>
<!-- # 9 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #10 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #11 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #12 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #13 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #14 --><waypoint x="0000" z="0000" type="RUN" >
player:rest(2);
player:target_NPC("Merchant");
player:rest(1)
keyboardPress(key.VK_5); <!-- ingame macro to sell/buy -->
player:rest(5)
</waypoint>
<!-- #15 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #16 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #17 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #18 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #19 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #20 --><waypoint x="0000" z="0000" type="RUN" ></waypoint>
<!-- #21 --><waypoint x="0000" z="0000" ></waypoint>
<!-- #22 --><waypoint x="0000" z="0000" ></waypoint>
<!-- #23 --><waypoint x="0000" z="0000" ></waypoint>
<!-- #24 --><waypoint x="0000" z="0000" >
load_paths("macro.xml"); <!-- macro path -->
</waypoint>
</waypoints>
Code: Select all
<!-- #24 --><waypoint x="0000" z="0000" >
load_paths("macro.xml", "macro_return.xml"); <!-- macro path -->