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.

Walking to a specific tile

Featured Replies

Hi all

I am trying to walk to a specific tile using 

getLocalWalker().walk(myTile);

however this will walk the player to the tile or any one of the surrounding ones. If the player is close (3-4 blocks away) to the position he will not walk at all.

 

How can I walk to THE specific position?

Hi all

I am trying to walk to a specific tile using 

getLocalWalker().walk(myTile);

however this will walk the player to the tile or any one of the surrounding ones. If the player is close (3-4 blocks away) to the position he will not walk at all.

 

How can I walk to THE specific position?

WalkingEvent walkingEvent = new WalkingEvent(position);
walkingEvent.setMinDistanceThreshold(0);
execute(walkingEvent);

Edited by Explv

  • Author
new WalkingEvent(position).setMinDistanceThreshold(0).execute();

 

Tried it and kept getting this crash

 

3981204f43ce9f0111e1142d02fddedf.png

Create a walking event to a path of one tile and then set the minimap and min distance to 0 like so:

WalkingEvent walkingPath = new WalkingEvent(PositionName);
walkingPath.setMiniMapDistanceThreshold(0);
walkingPath.setMinDistanceThreshold(0);
execute(walkingPath);

 

This has always worked for me.

 

 

Edited by steve498

Tried it and kept getting this crash

 

3981204f43ce9f0111e1142d02fddedf.png

 

My bad i thought you could chain them.

 

In that case just separate it like this:

WalkingEvent walkingEvent = new WalkingEvent(position);
walkingEvent.setMinDistanceThreshold(0);
execute(walkingEvent);

Edited by Explv

  • Author

Create a walking event to a path of one tile and then set the minimap and min distance to 0 like so:

WalkingEvent walkingPath = new WalkingEvent(PositionName);
walkingPath.setMiniMapDistanceThreshold(0);
walkingPath.setMinDistanceThreshold(0);
execute(walkingPath);

 

This has always worked for me.

 

Same problem, walking to one of the adjacent tiles and won't walk if he is 3 tiles close to the destination.

Same problem, walking to one of the adjacent tiles and won't walk if he is 3 tiles close to the destination.

 

Paste your exact code?

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.