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.

Widget not working

Featured Replies

I trying to write a smelt script, but idk why this code is not working

if (getWidgets().isVisible(311, 4))

                {

                    getWidgets().interact(311, 4, "Smelt X");

The script already click at furnance > click smelt > but when this widget is visible it not click Smelt X just stay with the mouse pointer at widget.

Have other way to click smelt x or i doing something wrong ? i already wrote an flax spinner using this to click flax widget > click Make X, but here its not working.

Sem título.png

The "Smelt X" action is not bound to the widget you are trying to interact with, there are many stacked widgets on top of each other and one of them has this action. Open the widget debugger and go through them until you find it.

32 minutes ago, RuneMaker4657 said:

I trying to write a smelt script, but idk why this code is not working


if (getWidgets().isVisible(311, 4))

                {

                    getWidgets().interact(311, 4, "Smelt X");

The script already click at furnance > click smelt > but when this widget is visible it not click Smelt X just stay with the mouse pointer at widget.

Have other way to click smelt x or i doing something wrong ? i already wrote an flax spinner using this to click flax widget > click Make X, but here its not working.

Sem título.png

Don't use static widget IDs. Use this instead:

if (getWidgets().getWidgetContainingText("Bronze").isVisible()) {
	getWidgets().getWidgetContainingText("Bronze").interact("Smelt X Bronze");
}

 

  • Author
Just now, The Undefeated said:

if (getWidgets().getWidgetContainingText("Bronze").isVisible()) { getWidgets().getWidgetContainingText("Bronze").interact("Smelt X Bronze"); }

ill try it, looks better.

28 minutes ago, Kurisu said:

plz null check

Finally, wheeeew

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.