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.

Blinking widgets, mouse clicks and tut island progress track

Featured Replies

Hi,

Wanted to give me some scripting challenge so decided to make my personal tutorial island script and got few question to talk about.

First of all how do you deal with blinking widgets? They are switching between e.g. 194, 35 to 194, 48. 194, 35 being wrench widget and other whole bar. Tried using wrench widgets but it simple doesn't click it.

To solve this at least for now I implemented simple mouse click. So what you think about using simple mouse clicks in scripts in general? At first I though it just so easy to detect because of clicking same exact pixel every time, but later I though if I just measure approx area where the widget is and make rand num generating so it wouldn't click the pixel every time so this in my mind could be quite easy solutions in some situations and also in this case there won't be any headaches when widget id changes :)

And lastly still haven't fully sorted out how to track progress in tutorial island. Maybe with items in inventory? With others maybe icons and just go backwards. Like:

if(runes is inventory){
mageGuide();

} else if(friends widget is visible{

monkGuide();

}

and etc. :) 

Definitely as FuryShark said, configs are a must for any quest like task. I think for tutorial island the config id you will be using is 281.

If you want to get a widget based on an interaction you can do something like this:

private RS2Widget getWidgetContainingInteraction(String interaction) {
    for (RS2Widget widget : getWidgets().getAll()) {
        String[] actions = widget.getInteractActions();
        if (actions != null)
            for (String action : actions) {
                if (action != null && action.equals(interaction))
                    return widget;
            }
    }
    return null;
}

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.