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.

How to blur/unfocus client

Featured Replies

I have this snippet of code that will move the mouse offscreen. It works fine. See the code below:

private void antiBanMoveMouseOffscreen() {
    int myMouseOffscreenAverage = random(learningData.MOUSE_OFFSCREEN_START, learningData.MOUSE_OFFSCREEN_END);

    paint.state("[Anti-Ban] Moving mouse offscreen for " + myMouseOffscreenAverage + "ms to simulate AFK...");

    getMouse().moveOutsideScreen();
    Sleep.sleepUntil(() -> false, myMouseOffscreenAverage);

    paint.state("[Anti-Ban] Complete!");
}

I want to unfocus the OSBuddy client after I do this. I see a method to check if the client is focused:

getClient().hasFocus()

But I don't see an equivalent "getClient().setFocus()".

Anyone know how to do this in OSBot?

Thanks!

Edited by Lansana Camara

There's an array of frames in the JFrame class:

JFrame.getFrames()[0].setFocus(false)

 

  • 2 years later...

Does anyone else know how to do this? I tried what liverare suggested and it didn't work at all. It brought up a widget debugging window.

 

 

 

edit: nvm, figured it out

Edited by adelmas

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.