1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Webwalking cannot build a path.

Discussion in 'Developer Support' started by UltiScripts, Jul 29, 2020.

  1. UltiScripts

    Joined:
    Jul 8, 2020
    Messages:
    3
    Likes Received:
    1
    Code (Text):
    1.  
    2. private final Area areaStart = new Area.Rectangular(
    3.         new Coordinate(3226, 3239, 0),
    4.         new Coordinate(3233, 3242, 0)
    5. );
    6.  
    7. // This
    8. final WebPath path = Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(3228, 3240, 0));
    9. // Or this won't work
    10. final WebPath path = Traversal.getDefaultWeb().getPathBuilder().buildTo(areaStart.getRandomPosition());
    11.  
    12. if (path != null) {
    13.     path.step();
    14. }
    15. else {
    16.     System.out.println("Couldn't build a path.");
    17. }
    18.  
    Is there an issue with the webwalker, or am I forgetting something?

    Forgot to mention, I'm walking from rimmington mine to lumbridge in OSRS.
     
    #1 UltiScripts, Jul 29, 2020
    Last edited: Jul 29, 2020
    Yinz likes this.
  2. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Either your destination you are trying to build to is unreachable, or there is some other issue with traversal which has been present for a while.
     
    UltiScripts likes this.
  3. UltiScripts

    Joined:
    Jul 8, 2020
    Messages:
    3
    Likes Received:
    1
    I can't imagine rimmington mine to lumbridge pub would be unreachable. What a shame though, I was planning on porting my questing bot to Runemate. But that'll be a pain without webwalking.
     
  4. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Indeed it will be.
     
  5. Emrys

    Joined:
    Sep 21, 2018
    Messages:
    21
    Likes Received:
    2
    Im also trying out scripting an al kharid warrior fighter and the webwalking just sometimes doesn't want to work, it doesn't path through some doors
     
  6. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Yeah if it is just a simple one I would recommend using Areas and if you aren't in the area for the room with the warriors, check if the door is open before trying to path into it.
     
  7. Emrys

    Joined:
    Sep 21, 2018
    Messages:
    21
    Likes Received:
    2
    I could learn to build a map like that, but i wish there were some consistent ways to do things in the program. Most info is outdated etc..
     
  8. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    Its not easy, but it isn't impossible.
     

Share This Page

Loading...