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.

Easy Chatbox Paint

Featured Replies

While working on my own paint, I liked the aesthetic of the chatbox so I wanted to keep the look and paint over it with the same or similar colors. I figured I'd share since others might find it useful.

Side note I just noticed there is a chatbox in the api which might have something to make this easier or better but I am too lazy to look into it at this point.

private static final int CHAT_BOX_X = 0;
private static final int CHAT_BOX_Y = 338;
private static final int CHAT_BOX_WIDTH = 519;
private static final int CHAT_BOX_HEIGHT = 142;
private static final int CHAT_BOX_PADDING = 6;

private static final Color CHAT_BOX_COLOR = new Color(200, 180, 150);

public void fillChatBoxPadded(final Graphics2D g) {
    int paddedX = CHAT_BOX_X + CHAT_BOX_PADDING;
    int paddedY = CHAT_BOX_Y + CHAT_BOX_PADDING;
    int paddedWidth = CHAT_BOX_WIDTH - (2 * CHAT_BOX_PADDING);
    int paddedHeight = CHAT_BOX_HEIGHT - (2 * CHAT_BOX_PADDING);

    g.setColor(CHAT_BOX_COLOR);
    g.fillRect(paddedX, paddedY, paddedWidth, paddedHeight);
    g.setColor(Color.black);
    g.drawRect(paddedX, paddedY, paddedWidth, paddedHeight);
}

public void fillChatBox(final Graphics2D g) {
    g.setColor(CHAT_BOX_COLOR);
    g.fillRect(CHAT_BOX_X, CHAT_BOX_Y, CHAT_BOX_WIDTH, CHAT_BOX_HEIGHT);
    g.setColor(Color.black);
    g.drawRect(CHAT_BOX_X, CHAT_BOX_Y, CHAT_BOX_WIDTH, CHAT_BOX_HEIGHT);
}

 

With padding
hC7xEvI.png

Without padding

qOWHJPC.png

 

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.