Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trouble with amulet widgets...

Featured Replies

I am trying to turn a gold bar into a gold amulet and I am having trouble with getting the correct widgets.

 

Using the widget debugger tool it is telling me that the widget parent and child are 446, 34 so I tried this:

 

RS2Widget ammy = getWidgets().get(446, 34);

Script.sleep(Script.random(1000, 3000));

ammy.interact("Make 10");

 

But it isn't working. I have read here it is best to get widgets by getWidgets().getWidgetContainingText() 

 

I tried that too with "Amulet", "amulet", "Gold amulet (u)", and just "mulet" but none of them are working.

 

Any advice would be appreciated.

 

The widget debugger also displays actions if you scroll down a bit. If there is no "Make 10" action present in there then chances are that you are not trying to interact with the right widget. Using left and right clicks instead of methods like interact will always be more accurate when interacting with widgets.

  • Author

The widget debugger also displays actions if you scroll down a bit. If there is no "Make 10" action present in there then chances are that you are not trying to interact with the right widget. Using left and right clicks instead of methods like interact will always be more accurate when interacting with widgets.

 

 

You are correct, I see no "Make 10" action for the widget and child 446, 34 so I clearly have the wrong widget. As best I can tell that is what the debugger is telling me, I am unsure where to go from here:

 

widget.png

You are correct, I see no "Make 10" action for the widget and child 446, 34 so I clearly have the wrong widget. As best I can tell that is what the debugger is telling me, I am unsure where to go from here:

 

widget.png

Just do like I said, stop using widgets and go for clicks

I made a script like this fully functioning making afk misclicks etc. It's Make-10. Notice the - inbetween the word and number. Widgets need to be 100 correctly spelled. 5223a7f10c9433dc37860fd97a055000.png

 

EDIT: No spaces either just "Make-10". And why don't you use Make-X??

 

EDIT2: 

RS2Widget wid = this.client.getMethods().getWidgets().get(446,34);
if(wid != null) {
String[] actions = wid.getInteractActions();
wid.interact(actions[3].toString()); 

Notice how String[] actions makes an array of all the possiblities of the widget. Saying to interact with the 4th of the array [3] will do Make-X if I'd put [2] it would doe Make-10

Edited by Xerifos

  • Author

Just do like I said, stop using widgets and go for clicks

 

 

Good advice, I should have taken it the first time. Thanks!

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.