Jump 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.

strabe30

Members
  • Joined

  • Last visited

  1. immediately after posting this I'm realizing that one is the left click down, another is left click up, and i'm not sure what the third is. But all I care about is catching the mouse click down. Answered my own question. This thread now documents my shame
  2. think I'm doing something wrong, if somebody can help me out.. public class Example extends Script { @Override public void onStart() { bot.addMouseListener(listener); } @Override public void onExit() { bot.removeMouseListener(listener); } @Override public int onLoop() { return 200; } @Override public void onPaint(Graphics2D g) { } BotMouseListener listener = new BotMouseListener() { @Override public void checkMouseEvent(MouseEvent e) { log(e.getPoint()); } }; } two clicks results in this from the log [INFO][Bot #1][11/03 06:37:10 PM]: java.awt.Point[x=29,y=40] [INFO][Bot #1][11/03 06:37:10 PM]: java.awt.Point[x=29,y=40] [INFO][Bot #1][11/03 06:37:10 PM]: java.awt.Point[x=29,y=40] [INFO][Bot #1][11/03 06:37:12 PM]: java.awt.Point[x=64,y=29] [INFO][Bot #1][11/03 06:37:12 PM]: java.awt.Point[x=64,y=29] [INFO][Bot #1][11/03 06:37:12 PM]: java.awt.Point[x=64,y=29] I'd just ignore it if it wasn't causing occasionally weird behavior i tried searching the forums for it, as far as i can tell based on previous tutorials I'm using the mouse listener properly. I appreciate your time

Account

Navigation

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.