For my waypoints i use the following options :
You have to use an auto repair addon for repairing.
You have to use the addon Purchase In Quantities for buying pots.
Okay here is a way to repair and buy pots :
Code: Select all
showWindow(getWin(), sw.show);
player:target_NPC("Morgan")
yrest(3000);
player:mouseclickL(170, 230,1032, 714);
yrest(2000);
player:mouseclickL(749, 506,1032, 714);
yrest(1000);
player:mouseclickL(491, 560,1032, 714);
yrest(1000);
player:mouseclickL(491, 560,1032, 714);
yrest(1000);
player:mouseclickL(457, 170,1032, 714);
player:target_NPC("Morgan") // start a conversion with a NPC which has the repair ability
yrest(1000); //wait for the conversion. It is in ms so 1000 ms = 1 sec
player:mouseclickL(170, 230,1032, 714); /// you have to click somewhere to open the shop
/// use a tool to find this coordinates
The other clicks are for destroying an item , when your bag is full you can´t buy pots.
So repeat that with a NPC who sells pots.
And click the buy button from Purchase In Quantities
The addon Purchase In Quantities comes with a gui where you have to enter an index number for the item you want to buy and the quantity.
At first you will get an error when opening the shop. But when you enter an index and the quantity it won´t apear anymore.
The numbers are reset when you restart the game so you have to enter them again.