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.

OSBot 2 API preview

Featured Replies

  • Developer

Dear community,

 

We have decided that we would give you a preview of the OSBot 2 API by providing the java documentation to you. This should give you an idea of how the OSBot 2 API is structured. Note that the API is not finished and unfinished features are not included in this preview.

 

You can find the preview here: http://www.osbot.org/osbot2_api_preview/

 

As is OSBot 1, the root of the scripts is the MethodProvider which is located in the org.osbot.script package.

 

Have fun reading it,

 

OSBot.org 

Interesting, thanks for sharing.

Will you be able to make scripts work together with the Break Handler in OSBot 2.0? So for example if I'm using a hunter script it would be able to tell the bot is taking a break in 20 seconds, and therefore it should pick up all my traps. 

It's all looking great thus far, can't wait. :) 

  • Author
  • Developer

Interesting, thanks for sharing.

Will you be able to make scripts work together with the Break Handler in OSBot 2.0? So for example if I'm using a hunter script it would be able to tell the bot is taking a break in 20 seconds, and therefore it should pick up all my traps. 

This is possible in OSBot 1 with random behaviour hooks.

Maybe it's because I'm not to familiar with API's in general as this is the first one I've ever used, but in my opinion it looks even more disorganized than the one we have right now. Things like this:

5282230400107b38d3e6cd4bb9b63f23.png

 

Why not have it all in the main client class? Plus considering the only difference from the LoginStage/LoginState packages is one letter. It's more confusing to have it like this then just neatly organized in the main client class.

Edited by Swizzbeat

  • Author
  • Developer

Things like this:

5282230400107b38d3e6cd4bb9b63f23.png

 

Why not have it all in the main client class? Plus considering the only difference from the LoginStage/LoginState packages is one letter. It's more confusing to have it like this then just neatly organized in the main client class.

You should know by seeing this that the enums LoginStage and LoginState are declared in the Client class. Their respective fields are as well. So I'm not really sure what you said.

 

I suggest you start looking in the MethodProvider, which is the base for your script, the API and events.

I got 2 tabs up of bots at the moment and I go to check on the first one and turns out it never world hopped, a big issue with having 2-3 tabs on 1 client open or whatever, will this be fixed in OSBot 2 or not???????????

Sweet, will look at this for a bit smile.png

 

Edit: Can you show us how conditions function? Seems like an interesting idea

Edited by oTroll

Guest
This topic is now closed to further replies.

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.