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.

Did we break something in the recent update?

Featured Replies

Hi, i'm coding my script and it's not finding objects. Refer to picture below. Maybe bad code? Idk but using this line to check if an object nearby has always worked in the past.
 

I added some debugging because I wanted to make sure but in the top left you'll see 9348 is being called a null even though you can see (through Entity hover debug) there is a 9348 object right there (Bird snare with Tropical wagtail in it)

What's going on?

VWfMlfYsTaOo9vCygNwDSQ.png

 

37 minutes ago, Project said:

Would try to help if I could understand the logic. :( 

Same. 

Edit: figured it out. I think i was having similar issues yesterday. Most Players with spaces in their name were ==null for some reason even if they existed. Maybe it has something to do with spaces NPCs Objects and Players

Edited by Juggles

  • Author
On 9/14/2017 at 9:17 PM, Juggles said:

Same. 

Edit: figured it out. I think i was having similar issues yesterday. Most Players with spaces in their name were ==null for some reason even if they existed. Maybe it has something to do with spaces NPCs Objects and Players

So how do we correct the issue? Does OSBot's API recognize underscores in place of spaces?

5 minutes ago, TTScripts said:

So how do we correct the issue? Does OSBot's API recognize underscores in place of spaces?

Access entities via getAll() methods instead of closest() and process the collection until you obtain the desired result

  • Author
Just now, Token said:

Access entities via getAll() methods instead of closest() and process the collection until you obtain the desired result

Not a bad idea bro, i'll try it!

Create an account or sign in to comment

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.