Jump to content
daxmagex

Universal Web Walker [Open Source]

Recommended Posts

8 hours ago, montime said:

Can you provide smaller private key subscription for scripter who only write script for himself?

e.g. 1 call per second

I don't have an automatic payment system for the distribution keys so it's currently pseudo automatic. I don't want to spend all my time managing a lot of keys with different limits.

 

Share this post


Link to post
Share on other sites

Does this currently work? A few of the scripts I typically use (CombatAIO, Elite Woodcutter, even your DaxCombat) appear to use this web walker for banking, etc. Example error below:

https://gyazo.com/234b95b00ee57e36f193ba0cb079f567

When it 'sometimes' works - it takes extremely odd routes for banking. Example: it ran from edgeville chaos druids -> grand exchange -> spirit tree to tree gnome stronghold -> ran up grand tree -> flew glider to alkharid -> ran to lumby castle -> banked in basement. ???

Am I doing something wrong because it just doesn't look like its working for any scripts. 

Share this post


Link to post
Share on other sites
1 hour ago, blessthefall said:

Does this currently work? A few of the scripts I typically use (CombatAIO, Elite Woodcutter, even your DaxCombat) appear to use this web walker for banking, etc. Example error below:

https://gyazo.com/234b95b00ee57e36f193ba0cb079f567

When it 'sometimes' works - it takes extremely odd routes for banking. Example: it ran from edgeville chaos druids -> grand exchange -> spirit tree to tree gnome stronghold -> ran up grand tree -> flew glider to alkharid -> ran to lumby castle -> banked in basement. ???

Am I doing something wrong because it just doesn't look like its working for any scripts. 

The scripts you are using need to get their own webwalker key if the scripts are going to continue working, as they are using the public key which has a shared, limited number of calls per minute. 
I can't tell you why it took that path to the bank, depends on what info was in the request.

Share this post


Link to post
Share on other sites

Someone in discord said if I use

WebWalker.walkTo(new RSTile(x, y, z));

The script will spam request your api. Is it true?

I read two source code from other scripters,

they use WebWalker.walkTo(new RSTile(x, y, z));

but not WebWalker.walkTo(new RSTile(x, y, z), walkingCondition);

 

How do I add walkingCondition?

 

Share this post


Link to post
Share on other sites
6 hours ago, montime said:

Someone in discord said if I use

WebWalker.walkTo(new RSTile(x, y, z));

The script will spam request your api. Is it true?

I read two source code from other scripters,

they use WebWalker.walkTo(new RSTile(x, y, z));

but not WebWalker.walkTo(new RSTile(x, y, z), walkingCondition);

 

How do I add walkingCondition?

 

It's just an argument, you initialize a new object of it as the second argument.

You will only spam api if you don't do a wait condition or other method before you reach the target location, because the walkTo method returns true as soon as it clicks the final tile in the path. A walking condition just allows you to exit the walker early or do predefined actions during the walking method.

Share this post


Link to post
Share on other sites
6 minutes ago, FALSkills said:

It's just an argument, you initialize a new object of it as the second argument.

You will only spam api if you don't do a wait condition or other method before you reach the target location, because the walkTo method returns true as soon as it clicks the final tile in the path. A walking condition just allows you to exit the walker early or do predefined actions during the walking method.

Thanks,

Is WebWalker.walkTo(tile); block the program flow?

So it won't spam api?

 

Why there are more than 10 GET requests and Response in the Bot Debug when I just called once?

Edited by montime

Share this post


Link to post
Share on other sites
2 hours ago, montime said:

Thanks,

Is WebWalker.walkTo(tile); block the program flow?

So it won't spam api?

 

Why there are more than 10 GET requests and Response in the Bot Debug when I just called once?

It does spam, when you have teleport tab, equip, items, in your inventory or equiped.

That's why we need at least 6.6 calls per second:idea:

Edited by montime

Share this post


Link to post
Share on other sites

Seems like public key has been hit with a lot of calls lately. 

 

I've just reached 10 subscribers for API keys and server costs are covered 2x so I've upped to public api key limit to 600.

Should be a lot better now for public key users. :)

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
3 hours ago, daxmagex said:

Seems like public key has been hit with a lot of calls lately. 

 

I've just reached 10 subscribers for API keys and server costs are covered 2x so I've upped to public api key limit to 600.

Should be a lot better now for public key users. :)

Let me know how i can help you out. Glad to see you are more active now homie.

Share this post


Link to post
Share on other sites

@daxmagex

Are there any plans to expend the web-walker/add places that aren't currently supported? It would be fantastic to have a walker that is truly all purpose. Perhaps people could gather data for you to add nodes/obstacles/areas/etc that aren't yet added.

Also, when interacting with the pillar at great Kourend, the walker will rarely left click/search the pillar, which brings up an interface with some text. The walker will keep trying to click the pillar while this interface is up, and it gets stuck because the interface covers the screen.

  • Like 1

Share this post


Link to post
Share on other sites
9 minutes ago, Adventure_Time said:

@daxmagex

Are there any plans to expend the web-walker/add places that aren't currently supported? It would be fantastic to have a walker that is truly all purpose. Perhaps people could gather data for you to add nodes/obstacles/areas/etc that aren't yet added.

Also, when interacting with the pillar at great Kourend, the walker will rarely left click/search the pillar, which brings up an interface with some text. The walker will keep trying to click the pillar while this interface is up, and it gets stuck because the interface covers the screen.

I believe he does this in the background. He was offering to get any help possible. I personally messaged him to see if i can do anything to help him in anyway. I think being a patreon helps him focus more on it as he wouldn't need to worry about paying for the support of this walker. Also, i think the walker has a bit of hiccups, sometimes it clicks to climb over the fence at the cow pen south of fally and clicks on it multiple times so it hops back and forth a couple times before continuing to the destination. I would be interested in helping him with mapping the rest of the game. I actually have a github map that could be used for coords. It is very detailed and done very well. I am not familiar with the process of actually helping but if it is explained, most likely i would understand to help :)

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for offering help on the webwalker. I can usually add more locations as long as someone lend me the accounts with the reqs. I'm usualy available to do that on the weekends. I stack up all the updates before pushing to server otherwise it would result in frequent downtimes.

The engine is available for anyone to pull request into it for updates.

 

I'm usually pushing updates to the develop branch, and haven't merged with master yet. I'll need more feedback on the develop branch before doing so.

Edited by daxmagex

Share this post


Link to post
Share on other sites
On 28/03/2018 at 7:44 PM, contemporary said:

Can't enter Brimhaven dungeon, it gets stuck in a loop trying to repeatedly pay Saniboch.

Do you know how to check Game settings? Check the setting when entering as code wise it looks fine.

    case BRIMHAVEN_DUNGEON:
                if (Game.getSetting(393) != 1) {
                    if (!InteractionHelper.click(InteractionHelper.getRSNPC(Filters.NPCs.nameEquals("Saniboch")), "Pay")) {
                        getInstance().log("Could not pay saniboch");
                        break;
                    }
                    NPCInteraction.handleConversation();
                    return true;
                } else {
                    if (clickObject(Filters.Objects.nameEquals("Dungeon entrance"), "Enter", () -> Player.getPosition().getY() > 4000 ?
                            WaitFor.Return.SUCCESS : WaitFor.Return.IGNORE)) {
                        return true;
                    } else {
                        getInstance().log("Could not enter dungeon");
                    }
                }
                break;

 

Share this post


Link to post
Share on other sites

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

  • Similar Content

    • By igotacat
      I purchased dax aio combat 2 days ago and have spent countless hours trying to figure out how to set up custom banking with no luck. Other people have tried to help me and also had no idea so I'm just wondering if anyone that has experience with the script can teach me atleast the basics to setting it up so I can figure it out.
    • By daxmagex
      For the past week, I've been on my own webwalker since Tribot's Webwalker is lacking functionality and accuracy.
      Here are some images of my current work in progress.
      Wizards Tower (Different Planes)
      Simple demonstration of pathfinding from different planes. Jagex tends to put dungeons not on the the plane directly below, but really far away coordinates, which is pretty annoying.
       
      Stronghold of Security (Level 1)
      Haven't really collected all the data yet for dungeons, since I have to edit nodes by hand to remove door collision data. Here's a path generated from the first floor of the dungeon. My Walker Engine will be handling the stronghold doors.
       
      Semi-Far Distances (Lumbridge -> Grand Exchange)
      So far, semi-long paths are being computed pretty quickly. Will see how it'll do when I map P2P areas to calculate longer distances.

       
      Here's a visual of how it finds the path slowed down (By a LOT).

       
       
      Path Requirements
      Currently, I assume all paths are accessible to you. But once I incorporate the code into tribot, it should be pretty simple.
       
      One-Direction Paths
      An example of a directional path is the main door of Draynor Manor. You can only enter it one way. Here's a small demonstration of how the walker will act in these cases.  
      From outside -> inside

       
      From inside -> Outside

       
      Walker Engine
      0% done
  • Our picks

    • This update will:

      Fix GE inventory item positioning bug


      Fix broken object hooks
        • Like
      • 23 replies
    • This release will:

      Fix some ClosedChannelException bug


      Fix bug in RSObject#getAllTiles


      Add game tab support for "Kourend Favour"
        • Like
      • 15 replies
    • This release will:

      Fix Settings UI placement bug


      Fix game object location bug


      Fix small layout bug making the client shift up and down


      Fix client crashing bug where loading the client with a small display area will cause the client to crash


      Fix annoying Linux bug relating to painting events and peers


      Fix settings saving bug where settings are saved to disk more often than they should


      Fix RSInterface#isBeingDrawn bug affecting a limited amount of people


      Drop Java 1.7 bytecode version for 1.8


      Important: Since the downloadable RS client uses Java 7, it will no longer be compatible with Looking Glass. To make up for this, we will add support for using other clients such as RuneLite (at a later date).


      This change was necessary to allow us to use Java 8 syntax. It also paves the way for Java 9/10/11 support.
        • Like
      • 40 replies
    • This update will:

      Fix the RSMenuNode bug which also fixes the bug with bank opening


      Fix the incorrect object positions bug


      Fix and re-enable the LG Objects API Accelerator


      Fix the RSObject#getAllTiles bug
        • Like
      • 22 replies
    • Try our development release by checking "Development Release" on the TRiBot Loader. Note that these new features are currently in beta.

      This release features:

      Re-sizable mode support for both LG and the regular client


      Slightly improved login bot


      Removed final access modifiers from API classes


      Added RSServer hook wrapper to get the client's cached list of server/world info


      [NEW] Bug fix for intelligent banking


      [NEW] Improvement to the stability of LG over time


      [NEW] Vastly improved the reliability and speed of Screen#getColorAt on both LG and the regular client


      [NEW] Fix LG login problems


      [NEW] Fixed re-sizable mode container bug


      [NEW] Fixed re-sizable mode mouse bug


      [NEW] Use of public constants in the Banking API


      [NEW] Use of other various constants such as Projection#NULL_PT and Screen#EMPTY_COLOR



      More features to come very soon!

      Please test it and let us know here if there are any new bugs introduced in this release.
        • Thanks
        • Like
      • 12 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×