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.

Local Scripts Not Appearing (I have script manifest)

Featured Replies

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import org.osbot.rs07.api.ui.Message;

import java.awt.*;

@ScriptManifest(author = "TEst", name = "Test", info = "Test", version = 0.1, logo = "")
public final class Test extends Script  {
    @Override
    public final int onLoop() throws InterruptedException {
        return 0;
    }

    @Override
    public final void onStart() {
        log("Started");
    }

    @Override
    public final void onExit() {
        log("Exiting");
    }

    @Override
    public final void onMessage(final Message message) {
        log("Message Hook : A message arrived in the chatbox: " + message.getMessage());
    }

    @Override
    public void onPaint(final Graphics2D g) {
        g.drawString("Paint", 10, 10);
    }
}


I compile it, goes into the OSBot/Scripts folder and I refresh my scripts and viola still none.

 

HELP PLZ

Check if your java language level has been set to 8

  • Author

  

58 minutes ago, Sibbernski said:

Check if your java language level has been set to 8

It wasn't but even still the problem persists

 

  

40 minutes ago, Khaleesi said:

Looks good to me! You sure its in the right folder?


I thought it did too, confusing right!

 

Still having this issue - here are my settings

 

https://u.teknik.io/4NZWN.mp4

 

EDIT

 

Just saw that I don't have the right JDK version - changed it and still I'm having the problem

Edited by bigbob420
MAYBE A FIX

  • Author
16 minutes ago, Gunman said:

@bigbob420Pretty sure project SDK needs to be set to java 8 and in artifacts you don't put the osbot jar there and you're not exporting the script file. Open test element and double click the test out file

Thanks @Gunman - it was because I wasn't exporting the test compile output

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.