Skip 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.

Get the spell-state or item-use-state (Read Topic)

Featured Replies

For example:

 

It would be extremely beneficial going forward if developers can see if a spell is selected and ready to cast, aswell as if you are currently highlighting an item E.G. (Use Chisel -> Uncut emerald) It would also be cool if you could also get the target of this aswell...

 

So I guess I am asking for 5 new methods

 

boolean client.hasOptionSelected() (Would check if the client has an option selected E.G. Cast, Use)

 

String client.selectedType() (Would return I suppose null, "spell", "item")

 

String client selectedEntityName() (Would return the item name or spell name)

 

String client.currentPotentialTargetType() (Would return the type of whatever you are hovering over while the option is selected null, "NPC", "Item", etc)

 

Object client.currentPotentialTarget() (Would return the object of what you are hovering over while the option is selected null, NPC, Item, Interface)

 
Many Thanks,
Russell

 

boolean client.hasOptionSelected() (Would check if the client has an option selected E.G. Cast, Use)  

 

Wouldn't this be uptext.... You can make your own method for it. As well as all the other methods you stated here. 

  • Author

boolean client.hasOptionSelected() (Would check if the client has an option selected E.G. Cast, Use)  

 

Wouldn't this be uptext.... You can make your own method for it. As well as all the other methods you stated here. 

 

uptext?

 

Dude, I searched through this API for sooooo long and couldn't find anything, how would I get the uptext?

 

I even tried to use client.getInterface() to get the interface of it and read the message but everything I try returns an empty string...=\

 

- Russell

Nobody? Is it possible or not? :s

 

- Russell

Edited by AnonymousUser

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.