Now on to my issue. I am completely retarded when it comes to programming. I have tried to use the following waypoint code from rock5 to get my bot to repair.
Code: Select all
local dura = inventory:getMainHandDurability();
printf("Durability:%s\n", dura);
if( dura < 0.9 ) then
loadPaths("your_repair_path.xml");
endI have added the code between the <waypoint x= y=> CODE HERE </waypoint> in my Main waypoint file and have edited the "your_repair_path.xml" to "49-50-DDC/49-50-DDC.xml" .
Is there a function I need to add into my profile? If not then what should I do differently? All of my gear is under 50% dura and still nothing happens.
Thank you in advance.