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.

WalkingEvent setMinDistanceThreshold(0) Not Working as Intended?

Featured Replies

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


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


 


I have created a walking event that, upon execution, will walk the player to a pre-defined area; this is around ten tiles.


 


I want the player to end on one of the tiles inside the area. So to do this, I used the setMinDistanceThreshold as on the API it says - "If you want the event to exactly walk to the destination, set this value to 0." However, after testing the walking event a few times the character will either end up inside the area (which is what I want) or will be 1-2 tiles away from the area. Because the player is outside of the area my script cannot progress as I cannot then use .contains(myPlayer()).


 


I'm not sure if this is a bug or something I am doing wrong???


 


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


4. How can you replicate the issue?:


 


By creating a walking event to an area of around ten tiles, setting the MinDistanceThreshold to 0 and then executing the event.


 


5. Has this issue persisted through multiple versions? If so, how far back?: Not sure I just encountered the problem.


 


Alek has commented on this problem (here) as someone else has created a thread about it. However, Alek said he would look into it and I haven't since heard anything.


 


Thanks :)


  • 2 weeks later...
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.