Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java installed
  • 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 gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • WindMouse - Custom Mouse Movement Algorithm


    Recommended Posts

    Nice example code to do a custom mouse thingy, it saved me some time so ty!

    It seems like the code is almost always crashing into 

    Math.hypot(veloX, veloY) > maxStep
    
    

    so going to do some re-implementation, but the example and concepts are very useful :)

    Link to post
    Share on other sites
    On 2/19/2021 at 11:03 AM, Aeglen said:

    Nice example code to do a custom mouse thingy, it saved me some time so ty!

    It seems like the code is almost always crashing into 

    Math.hypot(veloX, veloY) > maxStep
    
    

    so going to do some re-implementation, but the example and concepts are very useful :)

    Interesting, I haven't had any errors with this code but maybe I made some tweaks after posting this. I'll check and if I have, I'll update the OP.

    I don't think I had those privileges yet when I originally posted this.

    Link to post
    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...