Sata Zero Posted March 6, 2020 Share Posted March 6, 2020 Hi! I'm coming back after a long hiatus to try and write some of my own scripts. My script has all of the necessary imports/set ups that were discussed in one of the stickied scripting tutorials, and when I compile it to a JAR, it is not appearing in the script selector. Here is the code: import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; import java.util.Calendar; import java.text.SimpleDateFormat; @ScriptManifest(name = "Test Script", author = "satazero", version = 0.1, info = "A simple test script.", logo = "") public class testScript extends Script { @Override public void onStart() { log("Script started."); } @Override public final int onLoop() throws InterruptedException { for (int i = 0; i < 10; i ++) { log(i); } return 100; } @Override public void onExit() { log("Script has exited."); } @Override public void onPaint(Graphics2D g) { } } Quote Link to comment Share on other sites More sharing options...
Sib Posted March 6, 2020 Share Posted March 6, 2020 Check if java level is 8 Quote Link to comment Share on other sites More sharing options...
Naked Posted March 6, 2020 Share Posted March 6, 2020 Make sure you're exporting the jar to the right place (your osbot scripts folder) Quote Link to comment Share on other sites More sharing options...