Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Tutorial Custom Script Mouse

Joined
Dec 13, 2013
Messages
105
I got the answer from arbiter on how you can replace the standard white dot with a white trail mouse that RuneMate comes with in your script.

It's really simple so I'm just going to post the code for it:

Add this anywhere in the script.
Code:
private Mouse.PathRenderer pathRenderer = new Mouse.PathRenderer() {
        @Override
        public void render(Graphics2D graphics2D) {
            //Paint your mouse here.
        }
    };

Add this to the onStart() method
Code:
Mouse.setPathRenderer(pathRenderer);

If you have managed to do it correctly then it should work.

7424dc36991df5c5e8b0cbe13ab9ac95.gif
 
Joined
Dec 13, 2013
Messages
105
Quick side note if you are using intellij afterwards use it to replace the code into lambda to make it sexy aswell as make you look like an elite java programmer who codes bomb launch programs for ISIS (@Magorium)
 
Joined
Dec 10, 2014
Messages
3,377
Quick side note if you are using intellij afterwards use it to replace the code into lambda to make it sexy aswell as make you look like an elite java programmer who codes bomb launch programs for ISIS (@Magorium)

Or just learn how lambdas and do it that way to begin with ;)
 
Top