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.

client.blahblah

Featured Replies

For OSBot 1:

client.getSkills().getLevel(Skill HUNTER);

For OSBot 2:

getSkills().getStatic(Skill HUNTER); // This returns the player's TRUE level.

getSkills().getDynamic(Skill HUNTER); // This returns the players temp level.  (The level on the left that is affected by pots/drains)
int currenthp = getSkills().getDynamic(Skill HITPOINTS);

int HPlevel = getSkills().getStatic(Skill HITPOINTS); 

int halfofhp = (getSkills().getStatic(Skill HITPOINTS) / 2);
if (currenthp <= halfofhp) {
     // eat
}

I did not leave out "client" on accident. 

You don't use it anymore for things like this. Hopefully this helps somebody out there.

Edited by Bitter

God, osbot 2 is worse than I thought. Not a huge improvement.

 

 

It's simply more efficient, or at least it WILL be when it's all there.

It's simply more efficient, or at least it WILL be when it's all there.

 

Not at all, please study programming languages before making claims like this.

 

This new API is a step back as far as I'm concerned.

Not at all, please study programming languages before making claims like this.

 

This new API is a step back as far as I'm concerned.

 

I must agree. Some parts are better, but they took out some things that just made me shake my head.

Not at all, please study programming languages before making claims like this.

 

This new API is a step back as far as I'm concerned.

 

 

I wasn't referring to scripting. I was talking about performance.

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.