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.

canReach(Position position)?

Featured Replies

Please???

The closest you could get to doing this would be canReach perhaps an object within the game world.

  • Author

The closest you could get to doing this would be canReach perhaps an object within the game world.

 

I'm not looking for that.

 

There is nothing like that yet implemented in the API...

 

Could you perhaps tell me why you would need this, so I could perhaps help you with a workaround.

  • Author

There is nothing like that yet implemented in the API...

 

Could you perhaps tell me why you would need this, so I could perhaps help you with a workaround.

 

It's just something I would like to see part of the API.

Can you explain?  I'll try to write the method for you.

Edited by Swift

  • Author

Can you explain?  I'll try to write the method for you.

 

What there's to explain? Just suggesting a method to check whether or not my player is able to reach a position...

 

I'm not familiar with OSBot api so I'm assuming position is a tile, so you could use collision flags to check if the tile is reachable, not sure if devs have hooked collision flags though.

  • Author
if (realDistance(pos) == -1) {
    // you can't reach the destination
}

 

Thanks Maxi.

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.