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.

Opening tabs doesn't work

Featured Replies

Hello,

Not sure if this is a bug but when I try to open a tab it won't open it. I've tried this on the friends/ignore/inventory tab.

For me it works as expected. I've isolated the code in a empty script:

@Override
public void onStart() throws InterruptedException {
    getTabs().open(Tab.FRIENDS);
    sleep(1000);
    getTabs().open(Tab.INVENTORY);
    sleep(1000);
    getTabs().open(Tab.IGNORES);
}

Only thing that seems wrong is that the friends and ignores tab seem to be swapped. This code opens the ignores tab first.

Next time you have a problem try isolating the problem and adding print statements. This solves most problems for me.

  • Author

For me it isn't able to open any of those tabs and I've added print statements all around my code. I'm not using reflection and using the 2.5.8 client. 

 

 

1 hour ago, OELABOELA2 said:

For me it isn't able to open any of those tabs and I've added print statements all around my code. I'm not using reflection and using the 2.5.8 client. 

 

 

Strange. So you literally have something like this in your code;

log("About to open tab");
getTabs().openTab(Tab.Inventory);
log("Opened tab");

and it only prints those 2 lines and doesn't open tab?

In that case I guess its a bug in the API :(

  • Author

Are you also using the 2.5.8 client? I've ran your script and it doesn't wanna open any tabs at all. Tried it on two different machines (using the same jar)

This "bug" started happening after the latest update. My script opens the ignore tab instead of friends, so I guess we'll just have to wait until they update their API

Use widgets instead. You have to adjust to what's given to you. It'll be fixed soon but in the meantime find other ways to continue your farms 

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.