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.

Interacting without #interact?

Featured Replies

Basically, the API has become so noob-friendly that methods such as entity#interact will attempt to rotate the camera/walk to the entity. I've tried using hover() followed by menu.selectAction however that seems to fail unless the menu is actually open.

 

Anyone else got any ideas?

  • Author

InteractionEvent, have a look into that.

 

Yeah, I've seen the events but are they executed on a different thread? 

 

 

 

EntityDestination targetDest = new EntityDestination(getBot(), RS2OBJECTHERE);

if (getMouse().click(targetDest)) {
// opens menu, then use menu api
}
 
is the emergency back-up

 

 

Yeah, although that's a very hacky way.

 

EDIT:

 

I created a simple method that firsts hovers the entity, then checks the menu's tooltip to see if it's left click. If not it will right click and open the menu then try and select the action.

Edited by Zee Best

Yeah, I've seen the events but are they executed on a different thread?

 

By default no; but if you call Event#setAsync on it before executing it, it will be executed on a different thread in a non-blocking way

Edited by FrostBug

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.