March 6, 20179 yr hey guys, I have been trying to get web walking to work with teleports and amulets to save me time making my own paths and interactions for heaps of walking; I swear i saw someone say that web walking does that automatically; So my question is, how exactly do I get it to do that ? Do i just have the items in inventory or equipped (when its an amulet or ring) ? Thanks for any help !
March 6, 20179 yr I've heard you need to configure something in webwalk settings, but will leave it to someone more experienced to answer
March 6, 20179 yr Author 1 minute ago, Chris said: use WebWalkEvent and PathPreferenceProfile Does this also work with equipment eg. amulets and rings ?
March 6, 20179 yr Author WebWalkEvent event = new WebWalkEvent(Area2); event.setPathPreferenceProfile(PathPreferenceProfile.DEFAULT.setAllowTeleports(true)); event.getWalking().webWalk(Area2); i suppose going to test if it uses amulets and stuff; @Chris does this look right ?
March 6, 20179 yr Author Doesnt seem to work just sits there spamming magic tab and opening inventory tab ):
March 6, 20179 yr something like this public void webToDestination(Position destination){ //log("Walking to " + destination); WebWalkEvent event = new WebWalkEvent(destination); PathPreferenceProfile ppp = new PathPreferenceProfile(); ppp.setAllowTeleports(true); event.setPathPreferenceProfile(ppp); event.prefetchRequirements(getBot().getMethods()); execute(event); }
Create an account or sign in to comment