Jump to content

WebWalking help


whipz

Recommended Posts

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 !

 

Link to comment
Share on other sites

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