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.

Script Development Setup

Featured Replies

Guide is still pretty accurate on the setup process. One thing I had to do though, was on step 4.4, I had to click "Ok"  (before putting file into output root since it was greyed out) and then return to the menu and right click on the available elements and put into output root (in case it helps someone else).

Also, where do we request git access formally?

Edited by darkblitz
clarification

50 minutes ago, darkblitz said:

Guide is still pretty accurate on the setup process. One thing I had to do though, was on step 4.4, I had to click "Ok"  (before putting file into output root since it was greyed out) and then return to the menu and right click on the available elements and put into output root (in case it helps someone else).

Also, where do we request git access formally?

https://osbot.org/forum/forum/181-sdn-requests/

  • 1 year later...
  • 6 months later...

If after the last step of part 1 your script is not appearing in the client or folder: 
Simply search your system for the classname
Then drag the file into osbot/scripts

And you are all set !

Spoiler

I'm using jdk.1.8.0_371

My manifest is right there !

Can you spot why my examplescript is not uploading into my osb client?

Build log:

Executing pre-compile tasks...
Running 'before' tasks
Checking sources
Parsing java… [scripts]
Writing classes… [scripts]
Checking dependencies… [scripts]
Dependency analysis found 0 affected files
Updating dependency information… [scripts]
Adding nullability assertions… [scripts]
Adding threading assertions… [scripts]
Adding pattern assertions… [scripts]
Building artifact 'scripts_jar'…
Deleting outdated files…
Building artifact 'scripts_jar': copying files…
Building archives…
Building ${user.home}/OSBot/Scripts//scripts_jar.jar…
Copying archives…
Running 'after' tasks
javac 8 was used to compile java sources
Finished, saving caches…
Executing post-compile tasks...
Finished, saving caches…
Synchronizing output directories...
01/06/2023, 18:32 - Build completed successfully in 4 sec, 108 ms

 

 

ExampleScript.java class:

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;

@ScriptManifest(author = "Me", info = "Test", logo = "", name = "Example Script", version = 1)
public class ExampleScript extends Script {
@Override
public int onLoop() throws InterruptedException {
return 0;
}
 
 

Edited by BackToRS

  • 6 months later...

outdated please update!! impossible for new developers to contribute 

  • 4 weeks later...

ditto to lad above, there is only JavaFX to create project with and it says it doesn't accept java 8 (1.8)

  • 2 months later...
  • 5 months later...

is there any updated doc?

 

fix: have to actually put the location as OSBot/Scripts and then build. 

Edited by arb28
fixed

  • 4 weeks later...

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.