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.

Prayer

Featured Replies

isPrayerOn() doesn't seem to work for Piety & Chivalry?

Works fine for all prayers apart from these two.

Anyone else experiencing this?

It goes to the prayer tab as if isPrayerOn is returning false, then when it goes to activate piety it stops itself when it realises that it is already on... I'm confused...

 

I do not believe this is anything to do with my code...

eaf56be6b74bb2c8709584897acc6bfb.png

 

90aed8f979ca3b5b6a83e699250c75ce.png

Also I understand that the setPrayer() automatically checks isPrayerOn but i tried deleting the !isprayeron in the if loop and it still did the same. 

Any input/help is appreciated. Like i said, works fine with all other prayers other than these.

  • Author

If it really doesn't work you can always use interfaces for those two prayers.

 

yeah I could. I'm just curious if/why it isn't working thats all.

Use a bitmask to check if the bit which represents Piety is turned on. You should be able to get it easy checking for config changes (pretty sure the config is 83).

Guest
This topic is now closed to further replies.

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.