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 can I Interrupt a webwalk?

Featured Replies

  • Author

AHHHHHHHHH i had .29 or something


Make sure your library is the latest osbot (dev build too probably)?

Works fine for me:

eef7ccccc2c6a23a7b2e61514751d710.png

		INodeRouteFinder nodeFinder = INodeRouteFinder.createSimple();
		if (!getArea(location).contains(myPlayer())) {
			try {
				WebWalkEvent evt = new WebWalkEvent(nodeFinder, destination);
				evt.setBreakCondition(new Condition() {

					@Override
					public boolean evaluate() {
						if (getObjects().closest("Gate") != null) {
							if (getObjects().closest("Gate").hasAction("Pay-toll(10gp)")) {
								getObjects().closest("Gate").interact("Pay-toll(10gp)");
							} else {
								getObjects().closest("Gate").interact("Open");
							}
							return false;
						}
						return true;
					}
				});
		                execute(evt);
			} catch (Exception e) {
				log(e);
			}

bby pls. it doesn't walk at all anymore. I tried removing the condition and just setting the WebWalk Event and execute(evt);

but it still doesnt walk....

java.lang.NoClassDefFoundError: org/osbot/rs07/api/webwalk/INodeRouteFinder
	at main.onLoop(main.java:163)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(we:22)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.osbot.rs07.api.webwalk.INodeRouteFinder
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 3 more

Edited by Paradox68

 My bad I'm multitasking I meant to ask if you could explain creating the conditionals and implementing them into WebWalkEvent breaks over teamviewer. lol

catch me in the chatboxx

  • Author

catch me in the chatboxx

 

 

I'm still banned on chatbox for something that happened like 7 months ago and stupid ass mods can't get over it.

 

AHHHHHHHHH i had .29 or something

		INodeRouteFinder nodeFinder = INodeRouteFinder.createSimple();
		if (!getArea(location).contains(myPlayer())) {
			try {
				WebWalkEvent evt = new WebWalkEvent(nodeFinder, destination);
				evt.setBreakCondition(new Condition() {

					@Override
					public boolean evaluate() {
						if (getObjects().closest("Gate") != null) {
							if (getObjects().closest("Gate").hasAction("Pay-toll(10gp)")) {
								getObjects().closest("Gate").interact("Pay-toll(10gp)");
							} else {
								getObjects().closest("Gate").interact("Open");
							}
							return false;
						}
						return true;
					}
				});
		                execute(evt);
			} catch (Exception e) {
				log(e);
			}

bby pls. it doesn't walk at all anymore. I tried removing the condition and just setting the WebWalk Event and execute(evt);

but it still doesnt walk....

java.lang.NoClassDefFoundError: org/osbot/rs07/api/webwalk/INodeRouteFinder
	at main.onLoop(main.java:163)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(we:22)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.osbot.rs07.api.webwalk.INodeRouteFinder
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 3 more

 

Run it on the same client version as you're compiling against.

 

Also please don't perform actual interactions within a condition. Do it after the condition interrupts the walker.

 

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.