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 to break mid webWalk?

Featured Replies

After  fiddling around with the api I finally got my bot to do everything he needs to, I just wonder if there is a way to run a loop during the web walk that I could run my own anti ban or if there was a better way to just afk mid walk.

if (!getInventory().isFull() && !mineArea.contains(myPlayer()) && !getBank().isOpen() ) {
			state = "Walking to Mining spots.";
			walking.webWalk(mineArea);
		}

When the bot is navigating it follows the road in alkharid and the same line in the dessert everytime. 

  • Author

There are no obstacles in the way, I just want it to afk randomly at least. I'm not really sure how to correctly implement WebWalkEvent either.

There are no obstacles in the way, I just want it to afk randomly at least. I'm not really sure how to correctly implement WebWalkEvent either.

I think something like this would work:

 

Position dst = new Position(0,0,0);
INodeRouteFinder nrf = INodeRouteFinder.threadSafeWrapper(INodeRouteFinder.createAdvanced());
WebWalkEvent e = new WebWalkEvent(nrf, dst);
e.setBreakCondition(new Condition() {
     @Override
     public boolean evaluate() {
          return random(100) == 1;
     }
});

boolean success = execute(e).hasFinished();
        
if(!success) {
    // Couldn't walk to dst or we breaked
}

You can either add a sleep in the evaluate of the break condition or if success = false

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.