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.

Wilderness ditch

Featured Replies

I'm making a script for new accounts that requires walking into the wilderness. I'm using webwalk to get to that location, however the wilderness ditch warning stops it. I have code to click Enter wilderness but will not run because web walk hasn't reached the destination. Is there a more optimal solution than making two Areas and web walking to ditch and then web walking to wilderness location? Anything to interrupt the one webwalk method? or something similar

47 minutes ago, rjames94 said:

I'm making a script for new accounts that requires walking into the wilderness. I'm using webwalk to get to that location, however the wilderness ditch warning stops it. I have code to click Enter wilderness but will not run because web walk hasn't reached the destination. Is there a more optimal solution than making two Areas and web walking to ditch and then web walking to wilderness location? Anything to interrupt the one webwalk method? or something similar

WebWalkEvent and set break condition
https://osbot.org/api/org/osbot/rs07/event/WebWalkEvent.html

  • Author
1 hour ago, Gunman said:

So I have it working, but there's quite a big delay before clicking. I found some other threads on this about setting the event mode to async, I did that but the mouse moves rapidly and double clicks and not very reliable. Here's the code I have so far.

if (state == 1 && !isMyWidgetWorking()) {
            WebWalkEvent webWalkEvent = new WebWalkEvent(obeliskArea);
            webWalkEvent.setBreakCondition(new Condition() {
                @Override
                public boolean evaluate() {
                    return isMyWidgetWorking();
                }
            });
            execute(webWalkEvent);

        } else {
                getMyWidget().interact();
            }

https://imgur.com/afyCFDL

21 minutes ago, rjames94 said:

So I have it working, but there's quite a big delay before clicking. I found some other threads on this about setting the event mode to async, I did that but the mouse moves rapidly and double clicks and not very reliable. Here's the code I have so far.

if (state == 1 && !isMyWidgetWorking()) {
            WebWalkEvent webWalkEvent = new WebWalkEvent(obeliskArea);
            webWalkEvent.setBreakCondition(new Condition() {
                @Override
                public boolean evaluate() {
                    return isMyWidgetWorking();
                }
            });
            execute(webWalkEvent);

        } else {
                getMyWidget().interact();
            }

https://imgur.com/afyCFDL

https://osbot.org/api/org/osbot/rs07/event/WebWalkEvent.html#setHighBreakPriority-boolean-

Honestly, weird, this is not a feature of the webwalk. Could be a boolean to allow it to jump the wildy ditch.

@rjames94 you could make a feature request for this.

Create an account or sign in to comment

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.