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
  • Best way to check if attack speed is off/on cooldown?


    Recommended Posts

    Working on a script to manage attack speeds for end-game PvM bots with heaps of gear switching and DPS checks. Current workaround involves checking the weapon item ID, manually determining the tick count for each item, and using onGameTick() to count ticks after each hit.

    This works okay but if it goes of sync for one reason or another it breaks.. wondering if there's a more efficient way to check if an attack is on cooldown. Have I missed a class or method in the API that handles this ? Any tips or alternative approaches would be really appreciated. Thanks

    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.