Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • How To Add Web Nodes?


    pharaoh

    Recommended Posts

    Hello DB community,

     

    Writing a script to mine at the Isle of Souls. Mining is fine but the script does not walk to the Soul Wars Lobby nor back to the quarry. I believe it is due to no web nodes on the island, but this is just a theory.

    What would be the proper way to approach this situation?

    banktask;

    
    
    public class BankTask extends TaskNode {
    
        private final Area soulsBankArea = new Area(2210, 2860, 2214, 2857);
        private Tile bankTile = new Tile(2212, 2859, 0);
        private Tile quarryTile = new Tile(2193, 2797, 0);
    
        @Override
        public boolean accept() {
            return Inventory.isFull();
        }
    
        @Override
        public int execute() {
    
            if (Inventory.isFull()) {
                   if (Walking.shouldWalk()) {
                       Walking.walk(bankTile);
                       PMiner.status = "walking to bank";
                       log("[info] walking to bank");
                   }
                //Sleep.sleepUntil(() -> soulsBankArea.contains(Players.getLocal()), 5000);
            }
    
            return Calculations.random(600, 900);
        }
    }

    WwzqK73.png

    Link to comment
    Share on other sites

    2 hours ago, Pandemic said:

    I've just mapped that area so starting on your next script start it should be supported.

    In the future you can add your own via the WebFInder class, I think there are some guides on the forums somewhere.

    thats what i figured- it is not a commonly traversed area.

    i believe it was Hashtag who wrote a bit on another thread, i will try to find that that again

    thanks for confirming :

    Link to comment
    Share on other sites

    On 11/15/2022 at 7:49 PM, Pandemic said:

    I've just mapped that area so starting on your next script start it should be supported.

    In the future you can add your own via the WebFInder class, I think there are some guides on the forums somewhere.

    Just quoting you on this to confirm that it is working now! Phaaat bet, thanks sir.

    Link to comment
    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
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.