Jump to content

Local Scripts Not Working - 2.3.63


Recommended Posts

Posted

Show me the Skeleton class please.

Probably full of errors 

 

Skeleton.java

package skeleton;

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

import java.awt.*;

@ScriptManifest(name = "ScriptSkeleton", author = "Argron", version = 0.01, info = "", logo = "")
public class ScriptSkeleton extends Script {

    @Override
    public void onStart() {
        log("Thanks for choosing ScriptSkeleton");

    }

    @Override
    public void onExit() {
        // Code here will execute after the script ends

    }

    @Override
    public int onLoop() {

        return 100; // The amount of time in milliseconds before the loop starts
                    // over
    }

    @Override
    public void onPaint(Graphics2D g) {
        // This is where you will put your code for paint(s)

    }

}

 

It's the skeleton posted by 'Alek'.

Posted

Hmm looks good, Also fill in "info" at the manifest ...

 

Strange ... 

What if you delete the clayMiner and only try to load the skeleton? 

 

khaleesi

 

Filled in Info... Nothing.

 

Delete clayMiner... Nothing..

 

Where are the local script suppose to display?

Posted

Hmm looks good, Also fill in "info" at the manifest ...

Strange ...

What if you delete the clayMiner and only try to load the skeleton?

khaleesi

hahahahahahaha this made me laugh so hard. He did give you what you told him :doge:

Skeleton.java

package skeleton;import org.osbot.rs07.script.Script;import org.osbot.rs07.script.ScriptManifest;import java.awt.*;@ScriptManifest(name = "ScriptSkeleton", author = "Argron", version = 0.01, info = "", logo = "")public class ScriptSkeleton extends Script {    @Override    public void onStart() {        log("Thanks for choosing ScriptSkeleton");    }    @Override    public void onExit() {        // Code here will execute after the script ends    }    @Override    public int onLoop() {        return 100; // The amount of time in milliseconds before the loop starts                    // over    }    @Override    public void onPaint(Graphics2D g) {        // This is where you will put your code for paint(s)    }}
It's the skeleton posted by 'Alek'.
your problem is that theyre not compiled into a jar file
Posted (edited)

hahahahahahaha this made me laugh so hard. He did give you what you told him doge.png

your problem is that theyre not compiled into a jar file

 

He is supposed to answer the question I ask right? 

 

hahahahaaahah you are wrong too xD

A ".jar" is just a "folder" ... just like a ".rar" file is a compressed folder smile.png

 

So obviously they don't need to be in a Jar file.

I output all my .class files to the script folder without making 1 jar in the previous 4 months xD

 

See:

ff4eecd2b4.png

Edited by Khaleesi
  • Like 1
Posted (edited)

Use IntelliJ IDE and export the compiled .class files

 

What has the IDE to do with it?

You can even complile a .java file from the command line... "javac" commant to strong xD

 

As you can see in hes printscreens, he is using the .class file.

hmOG4.png

 

 

@OP Do you have Java 8 installed on your computer?

Edited by Khaleesi
Posted

He is supposed to answer the question I ask right?

hahahahaaahah you are wrong too xD

A ".jar" is just a "folder" ... just like a ".rar" file is a compressed folder smile.png

So obviously they don't need to be in a Jar file.

I output all my .class files to the script folder without making 1 jar in the previous 4 months xD

See:

ff4eecd2b4.png

WHY DIDNT ANYONE TELL ME THIS PLS

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...