Jump to content

Help with Wilderness Walking + HP %!


Recommended Posts

Posted

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!

Posted (edited)

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
  • Like 1
Posted

 

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 :)

Posted
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 :)

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...