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.

Some Errors

Featured Replies

3d860f6dd8d8f45b7c561b340666d1a6.png

 

fc35214205cbe9902b68dfb004b78b9a.png

 

what can i do about these errors?

add skype: defectiversps

if need be

 

fixed and now running... good to see my (nearly) 2 year paint coming back to life.... sort of... nothing works atm haha

 

5bbd0ba860a7330f526227e67a953ab9.png

 

in saying that... how can i get ingame messages to work, cant seem to figure it out from the API

 

public void onMessage(Message message) {
if (message.equals("You get some oak logs.")) {
       this.logsChopped += 1;
       this.expGained += 37;
     }
     if (message.equals("A bird's nest falls out of the tree.")) {
       this.foundNest += 1;
    log("Nest Found");
     }
}

this is what i have but doesnt work...

Edited by PwneRL33T

  • Author

ok removed legacy but still getting errors

 

ac4b75b6ef42523fcfe227bdaac05748.png

 

fixed Skill.WOODCUTTING

 

but still stuck on getSkills()

 

f398279cdf97dc2d8d508fb924bd3667.png

 

Edited by PwneRL33T

what can i use instead of legacy?

 

The 07 api. 

 

As for your first screenie, replace the errors with:

this.skills.getExperience(Skill.WOODCUTTING)

for your get.level, (Last error) (I don't think its in the API anymore) - use:

this.skills.getDynamic(Skill.WOODCUTTING)
  • Author

 

The 07 api. 

 

As for your first screenie, replace the errors with:

this.skills.getExperience(Skill.WOODCUTTING)

for your get.level, (Last error) (I don't think its in the API anymore) - use:

this.skills.getDynamic(Skill.WOODCUTTING)

 

ah thanks very much smile.png would you know about the getElapsed error?

 

the only suggestion i get from eclipse is "add cast to 'runTime'"

 

and this is what i have in my timer class that has anything to do with getElapsed

 

c9b374b0c221f544a9e48fd133bf4fd6.png

Edited by PwneRL33T

Learn Java is all I can say, because your "errors" are just lack of knowledge of programming. Your never going to make anything of worth without knowing the basics of Java.

The reason why you get error on timer is because you imported the java timer. Rather the importing your class Timer facep.gif  

  • Author

The reason why you get error on timer is because you imported the java timer. Rather the importing your class Timer facep.gif  

ahahah omfg i did not even realize that lol, thanks man

  • Author

ok now i've tried to implement the actually loop of the script and now i'm just riddled with problems. i've searched the API for many of these but no avail...

 

478d46c88a154888c4139b1a003c8ce6.png

 

85c597d4e5c81abfa9d85bd215c567a7.png

 

d66b2bf1d6d9fd11fb1e7f953c4df4a8.png

 

i have tried to search all these in the API but no avail

facep.gif Look into the new api. We barley use the client instance now. They organized the api. So anything inventory related, they have it in the inventory class. Which could be then access with the new inventory instance. Go to the api, and look at the MethodProvider class and youll understand what i mean

 

for examples:

  • map.walk......
  • localWalker.walk........
  • camera.toEntity........
  • objects.closest.......

Edited by josedpay

  • Author

 

facep.gif Look into the new api. We barley use the client instance now. They organized the api. So anything inventory related, they have it in the inventory class. Which could be then access with the new inventory instance. Go to the api, and look at the MethodProvider class and youll understand what i mean

 

for examples:

  • map.walk......
  • localWalker.walk........
  • camera.toEntity........
  • objects.closest.......

 

 

ok fixed the ones you listed and a couple more, but just can't find these

 

bb13aada53eebc6243b18eea80b3ab15.png

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.