Jump to content

Local Scripts Not Working - 2.3.63


Argron

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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