Jump to content

Crafting interface cant figure out...


Recommended Posts

Posted

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

Posted

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:

uMNbI8j.png

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...