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 Working - 2.3.63

Featured Replies

  • Author

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

  • Author

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?

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

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

Use IntelliJ IDE and export the compiled .class files

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

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
  • Author

Yeah I do have java 8.

Edited by Argron

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.