Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold

Wonderdog

Registered
  • Content Count

    2
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

0 Neutral

About Wonderdog

  • Rank
    New Botter
  1. I seem not able to load my script onto the botting client and I noticed when looking through the botting debug I see this pop up. When I compile the code in eclipse I don't get any errors, and when I click view local scripts it shows up the .class file in there. I'm not sure if it's cause of eclipse using the JDK 14, I tried selecting a different option but all of them where the same JDK. Yes I do have @ScriptManifest in my file, I'm not sure if my Main method would cause an issue too. That's the only way I could get it to compile though.
  2. So I've been trying to get Tribot set up on Eclipse the past couple days and keep getting an error when I try to Run it, Pops up with an error "Unable to Launch, The selection cannot be launched, and there are no recent launches." I looked around people talking about setting up a run configuration. As it doesn't have the Main class, but when I search all that comes up is Tribot, not my script file "BasicScript.java" or my scripts package. If I manually type it "scripts.BasicScript" it'll allow me to run but then just says "Error: Could not find or load main class scripts.BasicScript Caused by: java.lang.NoClassDefFoundError: org/tribot/script/Script" any help would be greatly appreciated! EDIT: If any one else is having this issue, I ended up going back to the Properties>Java Build Path make sure your TriBot.jar file is in Classpath not under Modulepath. Once you do that you add an main function (public static void main(String[] args){} it will compile the code. If not make sure your Run> Run Configurations>Java Application then under main class is set to your main class of your script. Not sure why I had to add the main function, as I haven't seen other peoples code have it? I thought maybe the run method was all you needed.
×
×
  • Create New...