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.

Map.canReach(Position) do not check Z coordinate

Featured Replies

1. OSBot Version (do NOT put "current version", be specific)

2.4.121

2. A description of the issue. Include relevant logs.

Map.canReach(Position) do not check Z coordinate.

3. Are you receiving any errors in the client canvas or the logger? 

Nope

4. How can you replicate the issue?

Pass Position with Z coordinate different from bot's current position and still get TRUE result from map.canReach().

5. Has this issue persisted through multiple versions? If so, how far back?

I think yes, from the time when Area didnt have z coordinate.

Oh sorry posted to wrong section. Dont sure what can i do now.

Please moderators move to https://osbot.org/forum/forum/102-client-bugs-suggestions/

or just delete it.

Thanks.

On 5/1/2017 at 0:45 PM, Polymorphism said:

1. wrong section

 

2. if(entity.getZ()==myPosition().getZ() && map.canReach(entity))


public void canReach(Entity e) {
  return entity.getZ()==myPosition().getZ() && map.canReach(entity);
}

15 minutes ago, dmmslaver said:


public void canReach(Entity e) {
  return entity.getZ()==myPosition().getZ() && map.canReach(entity);
}

too bad this would fail

4 minutes ago, Polymorphism said:

too bad this would fail

antileech

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.