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.

Webwalker Exceeded attempt treshold

Featured Replies

  • Developer

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

2.4.60

 

 

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

Get stuck often while trying to traverse, sometimes after seeing the error message 4-5 times it does continue.

but sometimes after 5 mintues it still spamm the message every 5-15 seconds.

 

 

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

[INFO][Bot #1][05/23 09:57:46 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:57:51 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:57:56 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:58:00 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:58:05 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:58:10 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:58:15 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:58:29 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.
[INFO][Bot #1][05/23 09:58:40 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.

4. How can you replicate the issue?

Walk from Al kharis mine to lumbriudge bank

 

Inventory setup used:

58eca921a67ca728d8f8c14c8e7daa7c.png

 

Code used:

	public static void webWalkEvent(final Position[] positions, final int treshold, final Script script, boolean teleport) {

		WebWalkEvent event = new WebWalkEvent(positions);

		PathPreferenceProfile profile = new PathPreferenceProfile();
		profile.setAllowTeleports(teleport);
		event.setPathPreferenceProfile(profile);

		event.setBreakCondition(new Condition() {

			@Override
			public boolean evaluate() {
				for (Position pos : positions) {
					if (Utils.getDistance(pos, script.myPosition()) <= treshold && script.myPosition().getZ() == pos.getZ())
						return true;
				}

				return false;
			}
		});

		script.execute(event);
	}

5. Has this issue persisted through multiple versions? If so, how far back?

Never had this issue before, so probably since 2.4.60

 

 

I did not have this issue, in fact I was surprised that the agility shortcut in the Al-Kharid mine was used.

walking.webWalk(Banks.LUMBRIDGE_UPPER);

Also, threshold (I know you aren't a native English speaker).

  • Author
  • Developer

Found areas that give this error:

 

Falador-South cow field entrance (close to farming patches)

If you Open the Gate it will continue walking perfectly.

Replicate: Walk from gate towards Fishing guild (will take the boat fto karamja, then from karamja to catherby)

8a49df7129449aa768bd584d6c7b00fb.png

I think the issue I recently found may also be the reason why you're having trouble as well. I'll let you know when my issue is fixed and hopefully it fixes yours as well. What you can do for me is the following:

 

Check if from one side of that gate you can map.canReach() a position on the other side of the gate with the gate closed. Try it a few times and tell me if you have any strange findings.

  • Author
  • Developer

Conclusion about my tests:

 

- Positions behind the gate are not reachable.

- When gate is not visible, it will walk closer to it again.

- When you open the gate manually it will continue just fine

 

 

Here is another area where it happends:

Al-kharid mine

 

When walking towards the gate from al-kharid to lumbridge, it will suddenly continues walking

 

[iNFO][bot #1][05/26 11:32:27 AM]: Webwalking from: [x=3300, y=3290, z=0] To: [x=3109, y=3152, z=0]
[iNFO][bot #1][05/26 11:32:31 AM]: WebWalkingEvent; Terminated! Exceeded attempt threshold.

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.