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.

Tutorial: How to make Kotlin work

Featured Replies

1. Follow this tutorial!
Script Development Setup

2. Create your base class script inside of src directory

@ScriptManifest(name = "Example", author = "Example", version = 1.0, info = "Example", logo = "")
class OsbotScriptTemplate : Script() {
    override fun onLoop(): Int {
        TODO("Not yet implemented")
    }
}

3. Build your project. (Build > Build Project)

4. You should see a lib folder with a bunch of kotlin library in it

5. Go back to File > Project Structure > Artifacts, assuming you followed step one correctly, you should already have an artifact. If not, go back to step 1!

unknown.png

6. On the right side under Available Elements you should see KotlinJavaRuntime , right click on this, and select extract into Output Root

unknown.png

7. Rebuild your project, and you should now be able to run your Kotlin based script!

Edited by Shmeekz

  • 4 months 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.