Jump to content

Webwalking does not teleport


Recommended Posts

Posted (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 by anderiel
Posted

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();
}

Posted

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.

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...