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.

how do i terminate webwalking?

Featured Replies

After an hour of running my script, it ran into this problem

 

578375158081131a679f926334b56d0f.gif

 

[iNFO][bot #1][03/12 03:19:30 AM]: [debug] starting walking

 

a0cdd3bb52.png

 

it's stuck in webwalking, constantly trying to reach the place.. i would like a 10 second timeout or something, that after a while it will just move away, or do something that will fix it

 

 

 

559ae43cfdf8d02404fd76fa4f49a72d.gif

 

while ::toggleroofs might fix it, there are definitely cases where it wouldn't, so how does this work in cases where it doesnt fix it?

use WebWalkEvent and you can set Break conditions. http://osbot.org/api/org/osbot/rs07/event/WebWalkEvent.html

 

Reasoning for it being like that: Uses the default WebWalkEvent which has a threshold distance. So if it comes within a certain amount of tiles (I think the threshold is 2/3 can't remember then it will return true as it arriving at the position).

Edited by Extreme Scripts


WebWalkEvent toDestination = new WebWalkEvent(INodeRouteFinder.createAdvanced(), destination); //can do Position position || try area.getRandomPosition();

toDestination.setBreakCondition(new Condition() { //if true, break the walker.

@Override

public boolean evaluate() {

return condition; //area.contains(myPos) || pos.distance() <= threshold

}

});

execute(toDestination);

Edited by Sinatra

  • Author
WebWalkEvent toDestination = new WebWalkEvent(INodeRouteFinder.createAdvanced(), destination); //can do Position position || try area.getRandomPosition();
toDestination.setBreakCondition(new Condition() { //if true, break the walker.
      @Override
      public boolean evaluate() {
          return condition; //area.contains(myPos) || pos.distance() <= threshold
      }
 });
execute(toDestination);

tyvm for the snippet <3 ill have a look at it later, 3;39 am now ayy lmao

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.