August 24, 20169 yr 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 #. Thanks!
August 24, 20169 yr RS2Widget widget = getWidgets().get(PARENT, CHILD); if(widget != null) if(widget.isVisible() && widget.interact(ACTION HERE)) [Sleep here] Edited August 24, 20169 yr by Precise
August 24, 20169 yr 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 #. 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 August 24, 20169 yr by Imateamcape
August 24, 20169 yr 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
August 24, 20169 yr 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. 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
August 24, 20169 yr double hpPercent = getSkills().getDynamic(Skill.HITPOINTS) * 100 / getSkills().getStatic(Skill.HITPOINTS); for hp percent
August 24, 20169 yr Author double hpPercent = getSkills().getDynamic(Skill.HITPOINTS) * 100 / getSkills().getStatic(Skill.HITPOINTS); for hp percent much thanks !!!
August 24, 20169 yr 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