Jump to content
daxmagex

daxWalker [Open Source] [Walk Anywhere]

Recommended Posts

I noticed one thing while integrating this into my project.

 

Sometimes the WebWalker.walkTo() function returns true without seeming to start. I am not sure why. Sometimes if I restart the script it is fixed, but there does not seem to be a correlation between the players current tile and the bug. Neither with the tile I want to walk to.

Share this post


Link to post
Share on other sites
52 minutes ago, Duhstin said:

:heart: When do you think charter ships will be added as well? 

 

This is great!

 

I'm thinking within this week

 

17 minutes ago, orange451 said:

I noticed one thing while integrating this into my project.

 

Sometimes the WebWalker.walkTo() function returns true without seeming to start. I am not sure why. Sometimes if I restart the script it is fixed, but there does not seem to be a correlation between the players current tile and the bug. Neither with the tile I want to walk to.

 

Are you sure it returns true?

Do you have the logs

Share this post


Link to post
Share on other sites
40 minutes ago, daxmagex said:

Are you sure it returns true?

Do you have the logs

It's essentially this:

return WebWalker.walkTo( location, condition );

> true

 

It's not erroring, so no logs that I can find. :mellow:

I'll keep trying to make it 100% reproducible though.

Edited by orange451

Share this post


Link to post
Share on other sites

Another bug I discovered while inside the Draynor Sewer.

 

Your webwalker can easily figure out how to get into the sewer, but it can't seem to figure out how to get out.

 

Here is the printout from locating every f2p bank:

Quote
  • [21:54:46] VARROK_EAST / 0 / 6252
  • [21:54:46] VARROK_WEST / 0 / 6231
  • [21:54:46] GRAND_EXCHANGE / 0 / 6181
  • [21:54:47] FALADOR_EAST / 0 / 6315
  • [21:54:47] FALADOR_WEST / 0 / 6303
  • [21:54:47] LUMBRIDGE / 0 / 6454
  • [21:54:47] ALKHARID / 0 / 6507
  • [21:54:47] DRAYNOR / 0 / 6428
  • [21:54:47] EDGEVILLE / 0 / 6177

The first number is the size of the array from: WebPath.getPath(location).

The second number is a plain distance check: player.distanceTo(location).

Share this post


Link to post
Share on other sites
8 hours ago, orange451 said:

Another bug I discovered while inside the Draynor Sewer.

 

Your webwalker can easily figure out how to get into the sewer, but it can't seem to figure out how to get out.

 

Here is the printout from locating every f2p bank:

The first number is the size of the array from: WebPath.getPath(location).

The second number is a plain distance check: player.distanceTo(location).

I'm not sure how to interpret that data.

 

8 hours ago, Duhstin said:

@daxmagex is Tutorial Island mapped as well? All/part?

Tutorial has not been mapped yet.

Share this post


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

I'm not sure how to interpret that data.

While inside the Draynor sewer, you cannot call any functions that relate to WebPath.getPath(), the resulting array will contain 0 tiles. So, my character gets stuck as he cannot pathfind his way out.

However, you can call functions that relate to WebPath.getPath() and get TO the Draynor sewer from anywhere.

Edited by orange451
  • Like 1

Share this post


Link to post
Share on other sites

I haven't used/tested it too much, but I was working on a script today and figured I'd use it since it makes life a lot easier :)

https://gyazo.com/8d7ccb162a58709e70e15ce18147d592

In that gif, I am walking to an arbitrary tile:

new RSTile(3308,3498,0)

As soon as my ID changes from -1 it tries to click to walk, even though I am animating and therefore can't walk. This is the first time I've tested a shortcut so I don't know if that's just a weird occurrence or not.

Share this post


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

I haven't used/tested it too much, but I was working on a script today and figured I'd use it since it makes life a lot easier :)

https://gyazo.com/8d7ccb162a58709e70e15ce18147d592

In that gif, I am walking to an arbitrary tile:

new RSTile(3308,3498,0)

As soon as my ID changes from -1 it tries to click to walk, even though I am animating and therefore can't walk. This is the first time I've tested a shortcut so I don't know if that's just a weird occurrence or not.

 

Quote
WebWalker.walkTo(X, Y, Z), new WalkingCondition() {
    @Override
    public State action() {
        if(Player.getAnimation() > 0){
            Timing.waitCondition(new Condition() {
                public boolean active() {
                    General.sleep(800, 1200);
                    return Player.getAnimation() == -1;
                }
            }, 1000);
        }
        return State.CONTINUE_WALKER;
    }
});

 

Try this, see if it works. Of course, change the XYZ

Share this post


Link to post
Share on other sites

Tried it out and works good, obviously has improvement areas but even though it's in beta it's seems to already better than tribot's official webwalker :P Though the walking method managed to get some of my accounts stuck due to them DC:ing and the method would just endlessly sleep within the webwalker method, so sadly I had to replace your webwalker call with the API webwalking method for now. I lost the stack trace but if I remember correctly, it occurred from a SleepCondition method (whereas the stack trace would end sleeping at line 35), called from WalkerEngine (line 186 if I'm not mistaken). Bit weird considering you've added timeouts, not quite sure what's up with that, though I'd let you know about this issue though.

  • Like 1

Share this post


Link to post
Share on other sites
12 minutes ago, swagg said:

Tried it out and works good, obviously has improvement areas but even though it's in beta it's seems to already better than tribot's official webwalker :P Though the walking method managed to get some of my accounts stuck due to them DC:ing and the method would just endlessly sleep within the webwalker method, so sadly I had to replace your webwalker call with the API webwalking method for now. I lost the stack trace but if I remember correctly, it occurred from a SleepCondition method (whereas the stack trace would end sleeping at line 35), called from WalkerEngine (line 186 if I'm not mistaken). Bit weird considering you've added timeouts, not quite sure what's up with that, though I'd let you know about this issue though.

Did you try using conditions? Cancel walker if login state isn't logged in?

Share this post


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

Did you try using conditions? Cancel walker if login state isn't logged in?

No I did not, that should probably solve it but it'd be quite ridiculous for everyone to keep that as a condition when the check just could be directly be implemented to the walking code. I should be able to solve the issue myself but thought to let Dax know about it so he can fix it, so everyone that downloads the updated code doesn't come across the same issue.

  • Like 1

Share this post


Link to post
Share on other sites
13 hours ago, swagg said:

Tried it out and works good, obviously has improvement areas but even though it's in beta it's seems to already better than tribot's official webwalker :P Though the walking method managed to get some of my accounts stuck due to them DC:ing and the method would just endlessly sleep within the webwalker method, so sadly I had to replace your webwalker call with the API webwalking method for now. I lost the stack trace but if I remember correctly, it occurred from a SleepCondition method (whereas the stack trace would end sleeping at line 35), called from WalkerEngine (line 186 if I'm not mistaken). Bit weird considering you've added timeouts, not quite sure what's up with that, though I'd let you know about this issue though.

Do you have tribot loginbot on?

Share this post


Link to post
Share on other sites

I've uploaded the new walker engine.

Chartering is supported, and so is 90% of Zeah.

Server - Client versions starting now should be backwards compatible unless I say so. However, you still won't be able to grab paths if the server isn't online. You will just be able to use the old version when the server is back up.

  • Like 1

Share this post


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

I've uploaded the new walker engine.

Chartering is supported, and so is 90% of Zeah.

Server - Client versions starting now should be backwards compatible unless I say so. However, you still won't be able to grab paths if the server isn't online. You will just be able to use the old version when the server is back up.

Thank you! Do you think you can add tutorial island? I'm sick of using DPathNavigator. The way it handles doors is so annoying sometimes.

Share this post


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

Do you have tribot loginbot on?

No the tribot loginbot is toggled off, I'm using my custom version which isn't run on a seperate thread like tribot's loginbot but is run on the main thread and logins in the beginning of the loop if the account isn't already logged in. The tribot login-thread might would've terminate or pause your webwalk method thus not being a problem, however the official webwalking method stops if the players logs out, which makes perfect sense as a method shouldn't endlessly loop if the player isn't logged in. I'll re-activate your webwalk code again and try get a proper stack trace again.

Edit: Looking quick at the code the problem could be within the while loop on line 57 of the WalkerEngine class, I'll add a isIngame check in the while condition, should probably fix it

Edit #2: You're probably aware of this, but the walk method can click tiles towards the destination that is a longer route, compared to clicking another tile outside that longer route area, which also is a problem with the API webwalking method. For example, I've seen one of my accounts being inside the lumbridge cow pen area and walking towards the northwest chicken area. I've seen the method going pretty much straight towards the chicken area, but ignoring the fence like it could walk through it, when the method should walk out the gate and continue on the path north instead of clicking tiles inside the cow pen area. 

Edited by swagg

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 Laniax
      Objective
      Kills level 13 Chaos Druids above ardougne for herbs(money) and combat experience.
       
      Requirements:
      - Level 46 Thieving to picklock the tower door.
       
      Need help gaining thieving levels? Check out my other script, LAN Thiever!
       

      Recommended:
      - Level 33 Agility to cross the log shortcut, otherwise we will walk over the bridge.
      - Recommended settings: loot everything above Harralanders.
       
      Features:
      Kills Chaos Druids in the tower above Ardougne and banks in the north bank of Ardougne. Advanced Antiban (ABC2) Level 10 Over 200k/hour GP depending on drops (Recommended settings: Loot everything above Harralanders) Fast combat - will hover over next druid when attacking the first (random by antiban) Intelligent right click menu over the next druid (ABC2) Will auto-detect if your agility is above level 33 and use the agility log shortcut for fast travel between bank and tower. Advanced unstuck system. Use whatever food you want. Bring how many food u want each trip. Only loots after combat. Toggles on run if we gathered some energy. Flawless through stability, even with little updates! Ability to loot any item over X value. Drops items that it looted by mistake. Notification system, get desktop alerts when someone PMs you (and much more!) Support for script arguments! You can auto-start this script without showing the GUI. See list of settings below. Settings are changeable during runtime. Screenshots:
       
      Settings Menu:

       
      Proggies:
       
      New proggies (ABC2)

      by @Gh0sty

      by @PowerGP

      by @Gh0sty

      by @danny689

      Old proggies (ABC1)

       
      How to get:

    • By fmtrick
      FmFeed'nFight 
      The circle of life. Fight barbarians and catch fish for food. 99% self sustaining!
      Features:
      Automatically changes options on startup if they are not set properly for the script (enables shift dropping in game, mouse camera, zoom, etc.) Fights barbarians in barbarian village When out of food, walks to barbarian village fishing spot and fishes trout and salmon, giving you have a fly fishing rod & feathers in inventory. Cooks the trout and salmon (Drops them if you don't have the cooking level for the particular food. Example: drops salmon if cooking level < 25) on the endless fire at barbarian village fishing spot. Drops burnt fish (all dropping uses shift click dropping) various ABC2 features including ABC2 eating, ABC2 waiting functions In the works:
      JavaFX GUI to toggle multi combat fighting (to attack other players npcs, since it's a multi-combat zone) Looting & burying bones toggle Attack style toggle Obtain supplies from bank (Maybe - This could be handy if the player dies) Implementing more ABC2  
      Known bugs:
      Can get stuck outside/inside the pub if target is inside/outside when player is not and door is closed. I'll fix this soon. (Doesn't happen often and when it does, it doesn't last long) FIXED I am aware that the majority of the script is broken - I do not have time to work on these scripts. It is open source so feel free to tweak it - just don't reupload to repo. Change log:
      09/07/2017 - Added an unstucker for the longhall - will not get stuck inside or outside of it anymore. 09/08/2017 - Replaced aStarWalk with daxWalker. ^^^^^^^^^^ - Fixed a cooking bug causing the bot not to use the raw fish on fire if fire not on screen. ^^^^^^^^^^ - Switched multi combat off - bot will only attack NPCs that are not already in combat. This will be toggle-able once GUI is put together. Source:
      https://github.com/fmtrick/FMFeednFight
      Repository:
      https://tribot.org/repository/script/id/2523
      Images:
       
      Proggies:
       
    • By fmtrick
      As per @vennykazam's request here, here is a quick script that softens clay by using already filled jugs of water - instead of filling up the jugs manually.
      Made the script in ~45 mins. tested and it works. Start at a bank with jugs of water and clay in the bank.
      Implements basic ABC2. I'll update it later today to have a basic paint, too, so you know what it's currently trying to do.
      repository: https://tribot.org/repository/script/id/2506
      source: https://pastebin.com/FuNPRsWt
    • 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 Yawodo
      Hello!
      I just created my first private script and as a learning process I want to look at some open source script code from experienced / compitenet scripters to see how you do things.
      Specifically i'm interested in ones that use banking and if possible item combining methods, I bet theirs a way to implement OSBuddys mousekeys into a script too for combining items? https://www.youtube.com/watch?v=hD30_74sCnE&t=95s
      Thanks!
       
    • 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
    • By Crimson
      Bank Evaluator
      Click here for the repo!
      Click here to view source!
       
      This is a simple Bank Evaluator. It will pull data from OSBuddy's Exchange API for each item in your bank, categorize by F2P/Member, and give totals.
      Why? I have accounts lying around with random stuff on them. They're all F2P, and I'm not paying OSBuddy money. This way I can evaluate my Member items easily on a F2P world.
      Why not use the RS GE api? RSBuddy updates automatically, and had less info to parse. In the future I'd like to have a gui to toggle between either. (or both?)
       
      Features:
      Will webwalk to nearest bank if you're not already in one.
      Implements FC Paint by FinalCalibur
      Uses OSBuddy API to get latest trade prices of Members items
      Outputs a log of all your items, your item's values, and totals to your .tribot/banks/ folder. (Also viewable from gui/bot debug)
       
      Images:
      (What the interface looks like)

       
      (What the log looks like)

       
      (The .tribot/banks output)

    • By Netami
      Hey guys, for my first script release I've put together a fairly simple Lumbridge miner. The point of this script is to get you to your desired level using the copper/tin rocks (picks randomly) in Lumbridge swamp. From there, you have the option to either log out or walk to the Motherlode Mine. Since this is my first release I am expecting a fair amount of bugs and possible improvements, so please provide all constructive criticism you can.
       
      Source code: http://pastebin.com/i4S1jFHA
       
      Get it HERE!
  • Our picks

    • This release includes:

      Fix updater bug which was causing a bunch of issues


      TRiBot will no longer require manual hook fixes every time the RS client updates - the updater has been fully patched for objects


      Hooked login fields


      Improved the login bot


      Ability to recognize the banned/locked messages again


      Ability to read the current input for username and password fields


      If the username or password is already entered correctly, it won't be erased


      If only part of the username or password is already entered correctly, it won't be erased. The login bot will fill in what's missing.


      If there are a few invalid characters after a valid substring of your username/password, only (approximately) those invalid characters will be erased. The login bot will then proceed to fill in the missing characters.





      Coming soon:

      Skull icon fix


      Improve screen rate and responsiveness of the RS client (both regular client and LG)


      Much more
        • Thanks
        • Like
      • 15 replies
    • This release includes:

      Fix shift clicking option selecting


      Fix high paint delay settings saving


      Update prayer IDs for the quick select menu


      Remove RS3 support


      Fix hooks



      RS3 Support Removed

      The RS3 client hasn't been updated since our Old-School version of TRiBot was released, as many of you may have noticed. Keeping all of the RS3 code in the client made the client as a whole harder to maintain, larger, slower, and messier. As hardly anyone still uses the RS3 client, and since the RS3 API was hardly functioning, we made the decision to completely remove it from TRiBot.

      For the average user, this means that the client will be smaller, cleaner, and faster. Future updates will also take less work meaning there will be more frequent updates.

      If you were one of the few users still using the RS3 client, we apologize for the inconvenience. No future support for RS3 is planned. There are many other botting clients which has support for RS3, so we recommend finding an alternative if you wish to continue botting on RS3.
        • Thanks
        • Like
      • 25 replies
    • Please welcome our new developers, @JoeDezzy1, @erickho123, @Encoded, and @wastedbro.

      These members will be responsible for working on, maintaining, and improving TRiBot.

      This means that bug fixes and improvements will now come at a much faster pace! We're committed to providing users with the best botting experience possible!
        • Thanks
        • Like
      • 30 replies
    • This release includes:

      More 3rd party libraries for script writers to use


      Apache Commons Codec


      Apache Commons Collections


      Apache Commons Configuration


      Apache Commons IO


      Apache Commons Lang


      Apache Commons Math


      GSON


      Guava


      JFoenix




      Hint arrow API


      Game#getHintArrowX


      Game#getHintArrowY




      Fix player hooks including Player#getSkullIcon and Prayer#getPrayerIcon
        • Thanks
        • Like
      • 49 replies
    • This update includes:

      Fix broken hooks


      Fix login bot for the message "No reply from login server. Please wait 1 minute and try again."


      Fix bug relating to which bot tab is sent human input


      General#randomLong bug fix involving negative numbers


      Fix GE API



      Please note: There are still some issues with the login bot due to a change in the game mechanisms handling the login screen. We're working on a fix and will upload it when ready.
        • Thanks
        • Like
      • 37 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×