Carrera Posted July 23, 2021 Share Posted July 23, 2021 I just started writing my first script and followed @Token's tutorial part 1 (see below) This is my script so far, just logs for now to test if it works. import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Me", info = "Test", logo = "", name = "Example Script", version = 1) public class ExampleScript extends Script { @Override public void onStart() { log("Starting the script."); } @Override public int onLoop() throws InterruptedException { log("loop"); return random(200, 300); } @Override public void onExit() { log("Exiting the script."); } } I can build the jar and run it in osbot. But nothing is being printed in the console. Does anyone have an idea what could be the issue? Quote Link to comment Share on other sites More sharing options...
Token Posted July 23, 2021 Share Posted July 23, 2021 Open the client logger, bottom right corner Quote Link to comment Share on other sites More sharing options...
Carrera Posted July 23, 2021 Author Share Posted July 23, 2021 1 hour ago, Token said: Open the client logger, bottom right corner Thanks but I already had it open. It's showing some logs but none of my script. Gif Quote Link to comment Share on other sites More sharing options...
Articuz Posted July 23, 2021 Share Posted July 23, 2021 (edited) 7 minutes ago, Carrera said: Thanks but I already had it open. It's showing some logs but none of my script. Gif So from what I saw earlier is that you every time you build the .jar file, you most refresh scripts to update the script. Edited July 23, 2021 by Articuz 1 Quote Link to comment Share on other sites More sharing options...
Carrera Posted July 23, 2021 Author Share Posted July 23, 2021 25 minutes ago, Articuz said: So from what I saw earlier is that you every time you build the .jar file, you most refresh scripts to update the script. Refreshing the scripts fixed it, thank you! Quote Link to comment Share on other sites More sharing options...
Articuz Posted July 23, 2021 Share Posted July 23, 2021 1 hour ago, Carrera said: Refreshing the scripts fixed it, thank you! Glad it worked man, good luck on your journey with writing scripts and don't quit if it get hard. Trial and error can be pain so don't forget to take breaks so you don't burn out and end up losing motivation! 1 1 Quote Link to comment Share on other sites More sharing options...