Jump to content

Local Scripts Not Appearing (I have script manifest)


Recommended Posts

Posted
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

Posted (edited)

  

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...