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.

Smithing Widget Help

Featured Replies

I can't seem to figure out which widget contains the options for smithing bars. When I look through the widgets each widget's tooltip seems to be one of the options. I would prefer to work with widgets in this context as opposed to MouseDestinations. Anybody worked with this before?

  • Author
3 minutes ago, Kurisu said:

use the widget debugger & check which has the action message.

Edit: sec ill find an acc to check and give u it

I spent like 20 minutes going through all the widgets in the furnace interface. Maybe I was missing something obvious...

get the bars xy, go to widget debugger and check isVisible=yes just it.

in code use widget interact "make x" or "make all" i dont remenber

Edited by RuneMaker4657

  • Author
31 minutes ago, Kurisu said:

try this


	RS2Widget barSelection = getWidgets().getWidgetContainingText("Bronze"); // Blurite, ...
        if (barSelection != null && barSelection.isVisible()){
            if (barSelection.interact("Smelt X")){
                //your conditional sleep
            }
        }
 

Yah, I've been doing that. Even tried out your code. It doesn't work for choosing any of the options because the widget containing "Bronze" doesn't have the options in it if you look at the debugger. Neither does the widget below it which is larger. :(

Take a look at Explvs example smitthing script in his guide 

im off to bed GL

You can actually find the widget through code if the widget debugger fails to find it due to many widgets being on top of each other. But do you really need to find the widget which has that action?

  • Author

I'm actually an idiot... Thank you so much for the help. I'm just coming back to scripting in osrs and for some reason, I forgot that the interaction event required includes the word of the bar type so "Make X Bronze" instead of "Make X" for the specific Widget. I think I'll do just what you said with the Enum too. Hopefully, I can give back to the community somehow and thanks again!

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.