January 16, 20251 yr hello, I tried to use a old version of eclipse that I know how to write scripts on but my JRE isn't compatible with it... I also tried the modern eclipse IDE and idk how to get started. plzz help.
January 16, 20251 yr This one needs to be Java 8, be careful it says JavaSE-21 there, need to right click project -> configure build path -> select jre system library -> edit... -> java 8 or java 1.8
January 17, 20251 yr Author On 1/16/2025 at 5:39 PM, Czar said: This one needs to be Java 8, be careful it says JavaSE-21 there, need to right click project -> configure build path -> select jre system library -> edit... -> java 8 or java 1.8 I love how Czar takes me under his wing regardless of a decade year long "mutial relationship" :))) ty Czar, I wasn't sure if I needed JDK 8 or if JRE 21 would have worked but I will give it a shot. tytytyty EDIT: Java 1.8 Worked ty ! Edited January 17, 20251 yr by Cmontryme
January 18, 20251 yr Any time glad it worked, and I’m always happy to help please lemme know if you have any other questions, because I have another video guide releasing on youtube but this one is different from the previously sponsored one glgl :))
January 18, 20251 yr Author when I try to "Run As" it tells me to "Select Java Application" pls help idk how to compile my script Edited January 18, 20251 yr by Cmontryme
January 18, 20251 yr Author 1 hour ago, skillerkidos1 said: I followed every step of the guide exactly and still nothing shows in my scripts folder or in my OSBot client scripts
January 18, 20251 yr 12 hours ago, Cmontryme said: I followed every step of the guide exactly and still nothing shows in my scripts folder or in my OSBot client scripts add me on discord
January 18, 20251 yr Author 5 hours ago, skillerkidos1 said: add me on discord +rep @skillerkidos1 for solving the confuration mystery out for me.
January 20, 20251 yr Author Could someone figure out how to setup a script skeleton and compile it in the modern version of eclipse? I am going to have to dodge this IntelliJ trial but I really like the eclipse look. plzzzzz
January 22, 20251 yr On 1/20/2025 at 7:26 AM, Cmontryme said: Could someone figure out how to setup a script skeleton and compile it in the modern version of eclipse? I am going to have to dodge this IntelliJ trial but I really like the eclipse look. plzzzzz Intellij is free, just make sure you get the community edition. Or if you stick with Eclipse, watch a few videos on how to compile java code to a jar file. make sure you main.java looks a bit like this: Spoiler import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Skeleton", author = "Wack", version = 1.0, info = "", logo = "") public class Skeleton extends Script { @Override public void onStart() { //Code here will execute at the start of the script only ones! //often used for guis etc. } @Override public void onExit() { //Code here will execute after the script gets stopped } @Override public int onLoop() { //here goes your script! //e.g. if (!Banks.GRAND_EXCHANGE.contain(myPosition())) { getWalking().webWalk(Banks.GRAND_EXCHANGE); } return 100; //The amount of time in milliseconds before the loop starts over 600ms is one game tick ^^ } @Override public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) } } Just adding this maybe usefull?
Create an account or sign in to comment