hmm weird, it does the swap, doesn't set up MACRO though, anything changed in last revision?
the
Used to work fine but now it won't do anything. Might need to try a debug thingy.
Edit:
I think I was just trying to do much at once, I added in more WP and just had a couple things in each WP. Seems to be doing ok now.
Update Edit:
I was trying to do all of it in a function but it seemed to have issues with that, currently I have it setup to do each part in a different waypoint and seems to be working, it works but not as streamlined as I had hoped. Seemed to be an issue with me putting so much together ina function and purhaps the time involved for each task.
The following WP does everything I need to be done, including the reset of the lvl for onlevelup
Code: Select all
<!-- #7 --><waypoint x="-439" z="-5955">
player:target_NPC("Meydo");
sendMacro("ChoiceOption(1);"); yrest(1000);
player:target_NPC("Meydo");
sendMacro("ChoiceOption(4);"); yrest(1000);
sendMacro("ExchangeClass(EXCHANGECLASS_SUBCLASS, EXCHANGECLASS_MAINCLASS)");
</waypoint>
<!-- #8 --><waypoint x="-439" z="-5970">
setupMacros()
</waypoint>
<!-- #9 --><waypoint x="-439" z="-5980">
sendMacro("SwapEquipmentItem();");
</waypoint>
<!-- #10 --><waypoint x="-439" z="-5990">
setactionbar()
</waypoint>
<!-- #11 --><waypoint x="-439" z="-6000">
setranged()
</waypoint>
<!-- #12 --><waypoint x="-439" z="-6015">
player = CPlayer.new()
player.level_detect_levelup = player.Level;
</waypoint>
<!-- #13 --><waypoint x="-439" z="-6025">
checkskilllvl()
</waypoint>
<!-- #14 --><waypoint x="-439" z="-6035">
loadPaths("ty16");
</waypoint>