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

Question Are Web paths really "resource intensive"?

Discussion in 'Developer Support' started by SuperBotter, Jun 28, 2016.

?

Web paths or force the user to start near the botting location

  1. Web path

    7 vote(s)
    77.8%
  2. Force user

    2 vote(s)
    22.2%
  1. SuperBotter

    SuperBotter Super Bot Author

    Joined:
    Jun 24, 2016
    Messages:
    151
    Likes Received:
    52
    In Eagles13's API overview, he says:
    Is this true? I know that Bresenham paths are the only other alternative for long distance travel, but they ignore obstacles. Should I use "resource intensive" Web paths or should I force the user to start near the botting location (as I can't prepare the bot to make Bresenham paths from anywhere in the world without getting stuck)?
     
  2. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    "Technically". When you ask to generate a WebPath with the default web, you actually send a request to the RM server, which generates the path and sends it back.

    If end-users had to generate paths on their local machines using the default web, it would be incredibly performance costly (just ask Slash).

    Basically we're good guiz.
     
  3. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,198
    Likes Received:
    1,041
    Ehh, it depends. The default web does all of the pathbuilding on RuneMates servers, as it's so large that it used to use tonnes of resources when built on the users machine. Smaller custom webs aren't all that bad though.
     
  4. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Basically, feel free to use WebPath but if the users too lazy to use their common sense and start it nearby, then they don't really deserve to be using the bot 8)
     
    American Express likes this.
  5. SuperBotter

    SuperBotter Super Bot Author

    Joined:
    Jun 24, 2016
    Messages:
    151
    Likes Received:
    52
    @Party @SlashnHax
    Thanks for your replies, they helped me a lot. Time to replace all of my Bresenham paths with Web paths :)
     
  6. AlexH666

    AlexH666 Χ Ξ Σ

    Joined:
    Apr 15, 2016
    Messages:
    379
    Likes Received:
    101
    Keep bresenham paths as fallbacks.
     
  7. SuperBotter

    SuperBotter Super Bot Author

    Joined:
    Jun 24, 2016
    Messages:
    151
    Likes Received:
    52
    Wouldn't it be possible for the Bresenham paths to get the player stuck? And how could a Web path need a fallback? It can go all over RuneScape while accounting for obstacles in the path to the destination.
     
  8. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Sometimes you can't generate a path with the default web, so you need to revert to fallbacks.
     
    American Express and AlexH666 like this.
  9. Emrys

    Joined:
    Sep 21, 2018
    Messages:
    21
    Likes Received:
    2
    what are the alternatives when you need your bot to operate obstacles? if webwalking continues to give you nulls?
    How can i build a custom web walker, or an area?
     

Share This Page

Loading...