Jump to content

Welcome to DreamBot

VIP Enhancement

Want to upgrade your DreamBot experience? Consider signing up for VIP!
VIP allows you to run as many accounts as you want, view the forums ad-free, receive 10% off all script purchases, and so much more!
Visit the store to learn about all of these great features!

Upgrade to VIP Now
News Ticker
  • New Forum Theme!
  • New Forum Chatbox (on the way)
  • Chatbox Mods Soon Needed
  • Suggest Forum Rank Colors
  • Forum Updates

DreamBot is the only Deadman Mode supported bot on the market!

Download the DreamBot client today!


Random Code snip bits to use in own coding projects.

Recommended Posts

Hello I will be going by JarjarBinksR2. I am currently learning coding. Anything I find that can help I will add it to this post.  If you have anything to add post it onto here and i'll add it.

// Draw mouse coordinates
public void onPaint(Graphics g) {
    int  MouseX = getMouse().getX();
    int  MouseY = getMouse().getY();
    g.drawString(("Mouse Location: " + MouseX + "   " + MouseY ), 10, 120);

120 is how far from the top. 

Hope this helps anyone I will be adding any random this that might help people code. 

Share this post

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