but now have a lv 13 guy that i want to powerlevel a little with fox tails in Lyk
it takes the quest from the board with my higher lvl class, uses the house fairy,
then it goes through the housekeepers menu and changes class with mouse clicks,
exits house and runs to the npc to hand the quest in,
runs back to housefairy enters, switches class back to primary
exits and starts all over
it all works fine except, i get a cpawn error when i enter house,
if i start the macro inside the house it gets no error when i leave house, just when entering
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-29632" z="-16748" type="RUN"></waypoint>
<!-- # 2 --><waypoint x="-29591" z="-16648" type="RUN">
player:mouseclickL(440, 280, 825, 582); <!-- Blackboard -->
player:mouseclickL(440, 280, 825, 582); <!-- Blackboard -->
player:mouseclickL(150, 250, 825, 582); <!-- Blackboard -->
player:mouseclickL(150, 390, 825, 582); <!-- Blackboard -->
</waypoint>
<!-- # 3 --><waypoint x="-29632" z="-16748" type="RUN"></waypoint>
<!-- # 4 --><waypoint x="-29551" z="-16680" type="RUN">
player:scan_for_NPC("Fenati");
player:mouseclickL(150, 195, 825, 582); <!-- house fairy -->
player:rest(10);
</waypoint>
<!-- # 5 --><waypoint x="-3" z="66" type="RUN"></waypoint>
<!-- # 6 --><waypoint x="6" z="27" type="RUN">
player:rest(1);
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:rest(1);
player:mouseclickL(150, 260, 825, 582); <!-- change class option -->
player:rest(1);
player:mouseclickL(200, 120, 825, 582); <!-- drop down menu on class select -->
player:rest(1);
player:mouseclickL(160, 170, 825, 582); <!-- secondary class on drop down menu -->
player:rest(1);
player:mouseclickL(70, 220, 825, 582); <!-- confirm -->
player:rest(1);
player:mouseclickL(370, 155, 825, 582); <!-- yes -->
player:rest(1);
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:rest(1);
player:mouseclickL(150, 275, 825, 582); <!-- leave house -->
player:rest(8);
</waypoint>
<!-- # 7 --><waypoint x="-29831" z="-16980" type="RUN"></waypoint>
<!-- # 8 --><waypoint x="-29830" z="-17035" type="RUN">
player:scan_for_NPC("Adair");
player:mouseclickL(150, 340, 825, 582); <!-- ADAIR -->
</waypoint>
<!-- # 9 --><waypoint x="-29632" z="-16748" type="RUN"></waypoint>
<!-- # 10 --><waypoint x="-29551" z="-16680" type="RUN">
player:scan_for_NPC("Fenati");
player:mouseclickL(150, 195, 825, 582); <!-- house fairy -->
player:rest(8);
</waypoint>
<!-- # 11 --><waypoint x="-3" z="66" type="RUN"></waypoint>
<!-- # 12 --><waypoint x="6" z="27" type="RUN">
player:rest(1);
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:rest(1);
player:mouseclickL(150, 260, 825, 582); <!-- change class option -->
player:rest(1);
player:mouseclickL(200, 120, 825, 582); <!-- drop down menu on class select -->
player:rest(1);
player:mouseclickL(160, 160, 825, 582); <!-- primary class on drop down menu -->
player:rest(1);
player:mouseclickL(70, 220, 825, 582); <!-- confirm -->
player:rest(1);
player:mouseclickL(370, 155, 825, 582); <!-- yes -->
player:rest(1);
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:mouseclickL(370, 310, 825, 582); <!-- housekeeper -->
player:rest(1);
player:mouseclickL(150, 275, 825, 582); <!-- leave house -->
player:rest(8);
</waypoint>
</waypoints>
the error when entering house is .....scripts/rom/classes/pawn.lua:201: Error reading memory in CPawn:update()
i also cannot seem to get the targetnpc by name to work, as you can see im using the harvest scan thing still, and inside the house , scanning doesnt work for the housekeeper, so i used 2 waypoints to line me up and mouse clicks to select and enter the inhouse menu
any help would be appreciated