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
  • Walking.walk returns true prematurely


    Recommended Posts

    According to the javadocs of Walking.walk:

    true if tile was walked to successfully.


    In the current version (3.4.5) this is not the case, and the method returns true no matter what, this was not the case in previous versions, and this has caused my scripts to stop working as they relied on this logic.


    Confirmed by running 




    In a loop, the method returned true each time.

    Link to comment
    Share on other sites

    That method hasn't changed in a long time, and the docs are a bit off, as it returns true if it's able to create a path and make progress at all (not necessarily end up at the goal tile). Your logic should check distance to that tile, and only act on what Walking#walk returns if it's false.

    Link to comment
    Share on other sites


    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.