investmentideas Posted March 29, 2019 Share Posted March 29, 2019 I have created a webwalk event however it will not use the altar teleport I have in inventory, I have set use of teleports to true, any suggestions? WebWalkEvent walkingevent = new WebWalkEvent(attackZone); PathPreferenceProfile pathPreferenceProfile = new PathPreferenceProfile(); pathPreferenceProfile.setAllowObstacles(true); pathPreferenceProfile.setAllowTeleports(true); pathPreferenceProfile.checkInventoryForItems(true); walkingevent.setEnergyThreshold(1); walkingevent.setPathPreferenceProfile(pathPreferenceProfile); execute(walkingevent); new ConditionalSleep(1000, 500) { @Override public boolean condition() throws InterruptedException { log("We are now in attack zone"); return (attackZone.contains(myPosition())); } }.sleep(); Quote Link to comment Share on other sites More sharing options...
investmentideas Posted March 30, 2019 Author Share Posted March 30, 2019 8 minutes ago, Malcolm said: Just interact with it manually if it's not working and then set your event from the location that you teleport from. that isn't very effective if the target area is 5 tiles away, it will teleport and then run instead of just running there. I am guessing the webwalk doesnt consider the mind altar teleport? 11 minutes ago, Malcolm said: Just interact with it manually if it's not working and then set your event from the location that you teleport from. is there a way to determine : if my distance is > 20 tiles from the target area? I can try to incorporate it into the coding Quote Link to comment Share on other sites More sharing options...
Juggles Posted March 30, 2019 Share Posted March 30, 2019 8 minutes ago, investmentideas said: that isn't very effective if the target area is 5 tiles away, it will teleport and then run instead of just running there. I am guessing the webwalk doesnt consider the mind altar teleport? is there a way to determine : if my distance is > 20 tiles from the target area? I can try to incorporate it into the coding map.distance Quote Link to comment Share on other sites More sharing options...
investmentideas Posted March 30, 2019 Author Share Posted March 30, 2019 5 minutes ago, Juggles said: map.distance thanks will try to do an if then using the distance to use the tele manually do you know if the webwalk function has an issue with using the altar teleport? Quote Link to comment Share on other sites More sharing options...
Juggles Posted March 30, 2019 Share Posted March 30, 2019 5 minutes ago, investmentideas said: thanks will try to do an if then using the distance to use the tele manually do you know if the webwalk function has an issue with using the altar teleport? Might not be supported. Only Patrick knows which webwalker links are supported Quote Link to comment Share on other sites More sharing options...