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.

Help with Wilderness Walking + HP %!

Featured Replies

Hey! 

 

I need some help with when webWalking to the Wilderness. The Wilderness ditch is supported, but the Wilderness Warning isn't. You can toggle it after a few hops but I wanna be able to run it on a fresh account.

 

I tried adding this in my walk State:

webWalk.getWalking(destination);
if (RS2Widget.isVisible(###,###)) {
       (RS2Widget.Interact("Ok", ###, ###);}


or something along those lines. Thing is, it does nothing :P

 

 

I also am wondering if there is any snippets for detecting HP % so I can set it to heal below a % rather than fixed #. :D

 

Thanks!


RS2Widget widget = getWidgets().get(PARENT, CHILD);

if(widget != null)

if(widget.isVisible() && widget.interact(ACTION HERE))

[Sleep here]

Edited by Precise

Hey! 

 

I need some help with when webWalking to the Wilderness. The Wilderness ditch is supported, but the Wilderness Warning isn't. You can toggle it after a few hops but I wanna be able to run it on a fresh account.

 

I tried adding this in my walk State:

webWalk.getWalking(destination);
if (RS2Widget.isVisible(###,###)) {
       (RS2Widget.Interact("Ok", ###, ###);}


or something along those lines. Thing is, it does nothing :P

 

 

I also am wondering if there is any snippets for detecting HP % so I can set it to heal below a % rather than fixed #. biggrin.png

 

Thanks!

 

Would report this to @@Alek . There's a section for reporting walker bugs. If you need something in the meantime, here's this (had this from awhile ago)

 

@@Alek

	public boolean crossDitch() throws InterruptedException {
		if(objects.closest("Wilderness Ditch") != null) {
			if(objects.closest("Wilderness Ditch").interact("Cross")) {
				if(si.widgets.get(382, 24) != null) {
					return si.widgets.get(382, 24).interact();
				}
			}
		}
		return false;
	}

Edited by Imateamcape

 

Would report this to @@Alek . There's a section for reporting walker bugs. If you need something in the meantime, here's this (had this from awhile ago)

 

@@Alek

	public boolean crossDitch() throws InterruptedException {
		if(objects.closest("Wilderness Ditch") != null) {
			if(objects.closest("Wilderness Ditch").interact("Cross")) {
				if(si.widgets.get(382, 24) != null) {
					return si.widgets.get(382, 24).interact();
				}
			}
		}
		return false;
	}

 

The walking isnt the issue, but he wasn't sure how to handle widgets :)

  • Author
RS2Widget widget = getWidgets().get(PARENT, CHILD);

if(widget != null)
    if(widget.isVisible() && widget.interact(ACTION HERE))
        [Sleep here]


 

Thanks man! Will try this as soon as I get home. QwPha8E.png

 

Would report this to @@Alek . There's a section for reporting walker bugs. If you need something in the meantime, here's this (had this from awhile ago)

 

@@Alek

	public boolean crossDitch() throws InterruptedException {
		if(objects.closest("Wilderness Ditch") != null) {
			if(objects.closest("Wilderness Ditch").interact("Cross")) {
				if(si.widgets.get(382, 24) != null) {
					return si.widgets.get(382, 24).interact();
				}
			}
		}
		return false;
	}

 

Yeah the widget is the problem, but thanks anyways! The snippet still may be useful :)

double hpPercent = getSkills().getDynamic(Skill.HITPOINTS) * 100 / getSkills().getStatic(Skill.HITPOINTS);

for hp percent

  • Author
double hpPercent = getSkills().getDynamic(Skill.HITPOINTS) * 100 / getSkills().getStatic(Skill.HITPOINTS);

for hp percent

 

 

much QwPha8E.png QwPha8E.png  thanks !!!

Someone had the bright idea to add thousands of links without considering quests and settings such as Doom Slayer warnings. I already added the warning message for the Shantay Pass, might as well add one for the Wilderness Ditch too. 

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.