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
  • Wish my script would stop doing this


    luminlumin

    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));
    }
    
    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

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