Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Crosshair in onPaint(Graphics2D g)?

Featured Replies

After hours on working on my powerchopper i finally got it to work (thanks everyone who helped me)

But now i just want to add one single thing before im done for today, Is it possible to make an simple chair in onPaint(Graphics2D g) that Will show My mouse

I have googled it but could not seem to find anything.

Edited by atoo

Have a snippet for a simple cross which I use in my unicows script:

 

aeffbeb263b3af2d1c6046ea2420e8b8.png

	@Override
	public void onPaint(Graphics2D g) {
		g.setRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING,
				RenderingHints.VALUE_ANTIALIAS_ON)); //anti aliasing		
g.drawLine(script.mouse.getPosition().x - 5,
				script.mouse.getPosition().y + 5,
				script.mouse.getPosition().x + 5,
				script.mouse.getPosition().y - 5); //line 1
		g.drawLine(script.mouse.getPosition().x + 5,
				script.mouse.getPosition().y + 5,
				script.mouse.getPosition().x - 5,
				script.mouse.getPosition().y - 5); //line 2
}

apa

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.