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.

getGraphicObjects to spare my ass cheeks

Featured Replies

Hey. Getting clapped by p3 wardens. Gonna probably make auto eat scrip in osbot. From my experience it's not detected as much as other bots. Other bots, i would just hand play in the bot client without scripts and id get auto bandos for botting. 

Anyway. There's the ba-ba balder. It spawns above a tile and casts a shadow on the client. I believe it's a graphics object.

I guess you have to use getGraphicObjects, to figure out if it's at a tile.

java.util.List<GraphicsObject> lol = getGraphicObjects().filter((Filter<GraphicsObject>) position);

uhhh, yeah i'm don't know what im doing. I googled this getgraphicsobject method, and it's never mentioned anywhere on the forums besides in teh api 

can someone make a quick snippet for me how to detect a graphics object at a tile

@sexyrussian Probs some shit like this

    private GraphicsObject getGraphicsObjectOnPosition(final Position position) {
        final List<GraphicsObject> graphicsObjectList = getGraphicObjects().getAll();
        if (position == null || graphicsObjectList == null || graphicsObjectList.isEmpty()) {
            return null;
        }
        return graphicsObjectList.stream().filter(g -> g != null && g.getPosition() == position)
                .findFirst().orElse(null);
    }
  • Author
20 hours ago, Gunman said:

@sexyrussian Probs some shit like this

    private GraphicsObject getGraphicsObjectOnPosition(final Position position) {
        final List<GraphicsObject> graphicsObjectList = getGraphicObjects().getAll();
        if (position == null || graphicsObjectList == null || graphicsObjectList.isEmpty()) {
            return null;
        }
        return graphicsObjectList.stream().filter(g -> g != null && g.getPosition() == position)
                .findFirst().orElse(null);
    }

That actually looks legit AF. Don't have like fang and shadow, so I'm probably just gonna crank the difficulty to 400 and use the bot to not make mistakes 

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.