Jump to content

Sata Zero

Members
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Sata Zero's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. 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) { } }
  2. Could I have a trial please?
×
×
  • Create New...