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.

getActivePrayer

Featured Replies

I was just curious, what would be the best way to make a method to get the active prayer. Or is there any Prayer class someone has? It'll save me a lot of time to make, if you don't like spoonfeeding, at least help me out here. 

 

Thenks guise.

I assume it will be all interface texture ids or at least something like that. Just find the interface + child for one of the prayers, open it up in the interface debugger window thing, then activate the prayer and refresh it in the debugger and find what changes.

  • Author

I assume it will be all interface texture ids or at least something like that. Just find the interface + child for one of the prayers, open it up in the interface debugger window thing, then activate the prayer and refresh it in the debugger and find what changes.

I already tried that...guess what. Nothing changed. :/ But each prayer has every other child id.

 

So Protect from Range is 39, and in the debugger, the hover on change thingy(forgot what it's called, scroll down, you'll see it) is false. When i change it to 40, it becomes true, curious about what it is. :/

I already tried that...guess what. Nothing changed. :/ But each prayer has every other child id.

So Protect from Range is 39, and in the debugger, the hover on change thingy(forgot what it's called, scroll down, you'll see it) is false. When i change it to 40, it becomes true, curious about what it is. :/

I'm not entirely sure what you are saying but I just thought that maybe prayer on and prayer off are different interface children. There are a few things where this happens. If you can't seem to get it with interfaces, you could look for a setting.

 

 

edit: I just had a proper look and you need to use configs. It's pretty simple, just tick configs in the options menu then just wait for the log to spew out all the configs, then whenever a config changes, it will say in the log so just enable/disable the prayer to get the information you need. For example, if config 97 is 1, then protect from melee is on, if it is 0 then it's off.

Edited by Diclonius

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.