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
  • DrawMouseUtil - Draw mouse trails and custom cursors


    holic

    Recommended Posts

    4 hours ago, Meteorite said:

    Love this, tysm. Only wish there was a way to make the mouse change size.

    Thanks man! As far as changing the mouse size, you can set the cursor thickness with

    setCursorStroke(new BasicStroke(<SIZE>))

    And to change the length of the cursors, change the "s" variable per method, with "s" meaning size:

    public void drawPlusMouse(Graphics g) {
    ...
    int s = 4; //Change this to a higher number for a longer cursor
    ...

    For circular cursors, change these lines (I know, didn't make this the friendliest):

    public void drawCircleMouse(Graphics g) {
    ...
    g2.drawOval(mX - 1, mY - 1, 4, 4)
    g2.drawOval(mX - 2, mY - 2, int width, int height)
    ...

    replacing width and height with your desired number. They're set to 4 by default

    Edited by holic
    Link to comment
    Share on other sites

    • 2 months later...
    41 minutes ago, xSam said:

    Great utility, and very easy set up! Will be incredibly useful. 👍👍

    Glad to hear it! I've got some improvements I'll post in a bit ;)

    Link to comment
    Share on other sites

    • 1 year later...

    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.