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.

interfaces interacting & nmz fightground

Featured Replies

Hi, im trying to make the bot press Accept in this interface:

 

f4dc0d5910.png

 

        RS2InterfaceChild accept = interfaces.get(187).getChild(1);            
if (accept != null) {
                interfaces.interactWithChild(187, 1, "Continue");
                sleep(random(700, 1400));
            }

it doesnt press continue on the accept button but when i drag my mouse over the accept button it presses accept i have no idea why it won't drag the mouse to the accept button

 

and i had another question how do i make my bot run in the middle of the fightground of nmz when i just enter? do i grab my position when i enter and make the bot run to that position but +10 to my current Y or X position or can it be done way simpler?

 

thanks for reading :)

RS2Widget accept = getWidgets().get(187, 1, 9);
if(accept != null) {
    accept.interact("Continue");
}

To get to the middle of the instance, find the localX and localY coordinates of where you want to go.

With these you can create valid positions like so:

new Position(getMap().getBaseX() + localX, getMap().getBaseY() + localY, zCoord)

Edited by FrostBug

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.