anderiel Posted August 14, 2016 Share Posted August 14, 2016 (edited) So i returned to one of my scripts that was working fine a month back, and now when i use walking.webWalk(Area) it does not use teleports. It uses charterboats instead which is way slower. Am i missing something, was there some update which requires me to set the priorities somehow, or were teleports removed from webwalking? It was using teleports when last i ran it month and a half back. Edited August 14, 2016 by anderiel Quote Link to comment Share on other sites More sharing options...
Alek Posted August 14, 2016 Share Posted August 14, 2016 Create a new WebWalkEvent and use setPreferenceProfile. Create a new PathPreferenceProfile and set teleports to true. Quote Link to comment Share on other sites More sharing options...
anderiel Posted August 14, 2016 Author Share Posted August 14, 2016 When i used an event and set the PathPreferenceProfile to a new one with allowed teleports the only change is that the bot started using teleportation jewellery. code that i am using right now: WebWalkEvent event = new WebWalkEvent(locations[nextLocationIndex]); event.setPathPreferenceProfile(PathPreferenceProfile.DEFAULT.setAllowTeleports(true)); if(!this.execute(event).hasFailed()) { changeState(); } Quote Link to comment Share on other sites More sharing options...
anderiel Posted August 16, 2016 Author Share Posted August 16, 2016 Ok i found the solution. Or rather i found the bug/imperfection in the webwalking that was causing my problems. It would seem that the webwalking only checks if i have runes in inventory and does not bother about anything else, hence when i had law runes water runes and air staff equipped it did not realise i could teleport and decided to walk instead. Quote Link to comment Share on other sites More sharing options...