Jump to content

Webwalking does not teleport


anderiel

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...