Zezurge Posted August 17, 2017 Posted August 17, 2017 trying to make a glove maker but when i go it goes to the interface it just scrolls over gloves and doesnt click anything. if (inventory.contains("Thread") && inventory.contains("Needle")){ if (inventory.contains("Leather")){ interactItems("Needle", "Leather"); sleep(random(500,800)); RS2Widget craft = getWidgets().get(154, 127); if (craft != null){ craft.interact("Make All pairs of"); sleep(random(1000,2000)); } any help is appreciated
dreameo Posted August 17, 2017 Posted August 17, 2017 The string values for interact changed behind the scenes. You gotta find out the new string value of the interact from tooltip.
Zezurge Posted August 17, 2017 Author Posted August 17, 2017 52 minutes ago, dreameo said: The string values for interact changed behind the scenes. You gotta find out the new string value of the interact from tooltip. What is tooltip? How can I fix this?
Lemons Posted August 17, 2017 Posted August 17, 2017 craft.interact(widget.getTooltip()); Make sure the widget you are using has the correct tooltip you want, use the Widget Debugger to determine if it does. There will be like 4 widgets stacked on each other, you have 154, 127 so it could be that, 154, 126; 154, 125; or 154, 123. Here is an example for Smithing interface: 1
d0zza Posted August 18, 2017 Posted August 18, 2017 4 hours ago, Zezurge said: craft.interact("Make All pairs of"); Should be: craft.interact("Make All pairs of Leather gloves"); 1