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.

A few bugs in the skills API

Featured Replies

While making a script, I have noticed that a couple of methods in the skills API return wrong values.

 

The methods that return wrong values are:

  • getExperience(Skill skill)
  • getCurrentLevel(Skill skill)

 

Also, the getLevelExperience array also returns an incorrect experience value for the specified level.

Edited by Peter

I experienced the same thing:

  • getExperience(Skill.CRAFTING) ------- returns 2107
  • getCurrentLevel(Skill.CRAFTING) ----- returns 0

At least getLevel(Skill skill) works :)

I experienced the same thing:

  • getExperience(Skill.CRAFTING) ------- returns 2107
  • getCurrentLevel(Skill.CRAFTING) ----- returns 0

At least getLevel(Skill skill) works smile.png

 

getExperience has been working for me, it may just be with CRAFTING though.

Hi again, the experience does not match the players' experience:
 
log("XP = "+client.getSkills().getExperience(Skill.ATTACK)) ----- prints: XP = 83
log("XP = "+client.getSkills().getExperience(Skill.AGILITY)) ----- prints: XP =  3523
log("XP = "+client.getSkills().getExperience(Skill.CONSTRUCTION)) ----- prints: XP =  7028
 
I'm not sure what is going on but, by the looks of it, all skills are bugged...?
 
If anyone else is getting different numbers please share smile.png

Edited by TheAnswer

  • Author

As I said, the method isn't working properly.

Edited by Xyssto

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.