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.

Method to check if poisoned

Featured Replies

I did a quick check through the API and couldn't find anything on checking if you're poisoned or not.

Could this be added to the API? Thanks.

I did a quick check through the API and couldn't find anything on checking if you're poisoned or not.

Could this be added to the API? Thanks.

Poison has a config value, not too sure what is it but "1" returns your player poisoned and "0" not poisoned.

Just have a look at the config value I think it's like (178) or something but defo 100% sure that's not it.

private boolean poisoned() {

return client.getConfig(102)>0 ;

}

 

 

1 = poisoned, 0 - not poisoned, and <0 means you have immunity from poison. When you drin an antipoison pot the value drops to -100 or so, and slowly retrurns to 0.

  • Author

 

private boolean poisoned() {
return client.getConfig(102)>0 ;
}
 
 
1 = poisoned, 0 - not poisoned, and <0 means you have immunity from poison. When you drin an antipoison pot the value drops to -100 or so, and slowly retrurns to 0.

 

 

Thank you sir. And thanks to everybody else who posted <3.

private boolean poisoned() {

return client.getConfig(102)>0 ;

}

1 = poisoned, 0 - not poisoned, and <0 means you have immunity from poison. When you drin an antipoison pot the value drops to -100 or so, and slowly retrurns to 0.

Was only 76 off :troll:

  • 1 month later...

In 2.1.18 these methods are added:

 

Added Combat method isPoisoned()
Added Combat method isPoisonImmune()
Added Combat method isDiseased()
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.