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
  • Try asking for help in the chatbox
  • Wish my script would stop doing this


    luminlumin
     Share

    Recommended Posts

    It keeps clicking on minimap when it's walking to an area, how do I make it stop clicking until it gets to the position it clicked? I would rather have it walk slower rather than spazzing out with the clicks. It looks ridiculous in some areas where the pathing is all fucked.

    Link to comment
    Share on other sites

    It keeps clicking on minimap when it's walking to an area, how do I make it stop clicking until it gets to the position it clicked? I would rather have it walk slower rather than spazzing out with the clicks. It looks ridiculous in some areas where the pathing is all fucked.

     

    if (Walking.getDestinationDistance() > 3) {

    sleep;

    }

     

    Something along the lines of that would do what you want. might want to play around with it a bit.

    Link to comment
    Share on other sites

    Awesome, thanks.

     

    You could do something like this (assuming your walking logic is inside a loop). 

    if (getWalking().walk(destination)) {
        sleepUntil(() -> getWalking().shouldWalk(Calculations.random(3, 6)), Calculations.random(1500, 3000));
    }
    
    Edited by distraction
    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
     Share

    ×
    ×
    • 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.