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.

[Question/Suggestion] Pug - isReachable()

Featured Replies

is it me or did there used to be a isReachable for objects / npc's / groundItems? and if there still is where is it because i cant find it within the index of the API? Seems to be a pretty basic but extremely necessary bit of code to stop constant walking against gates/walls etc. Correct me if i am wrong of course :)

You can use map.canReach(Position) / map.canReach(Entity)

 

I'm the 100th.

 

ufvPHYJ.png

  • Author

You can use map.canReach(Position) / map.canReach(Entity)

perfect tyvm <3

perfect tyvm QwPha8E.png

 

I dont think that this will return true if something is behind a door/gate though. I used it a while back and I think it was something like that, but I cant really remember. :p

I dont think that this will return true if something is behind a door/gate though. I used it a while back and I think it was something like that, but I cant really remember. tongue.png

 

I think it will actually return just that (and not just if the tile is loaded), not 100% sure though.

@Alek ?

  • Author

im sure i saw something like ' isReachable' not to long ago =/ like since OSB2 has been released. idk if its been deleted or something. bit of clarification main man @Alek would be good ^_^

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.