TitanHaxz Posted December 11, 2020 Posted December 11, 2020 Hello so I am rather new to java and botting in general, I have followed a few tutorials and I am a bit stuck. I have only a Main java class in my script and when I export my script and insert it into my OSBot/Scripts folder it does not appear in my bots when I start my client, anyone know how to fix this?
Gunman Posted December 12, 2020 Posted December 12, 2020 15 hours ago, TitanHaxz said: Hello so I am rather new to java and botting in general, I have followed a few tutorials and I am a bit stuck. I have only a Main java class in my script and when I export my script and insert it into my OSBot/Scripts folder it does not appear in my bots when I start my client, anyone know how to fix this? Make sure you have the script manifest. @ScriptManifest(author = "Gunman", info = "", name = "Spaghetti Island", version = 420.69, logo = "") public class Main extends Script { Can change the info to whatever you want but make sure it's all filled out. 1
BravoTaco Posted December 12, 2020 Posted December 12, 2020 (edited) Are you building the script into a .jar file? Or just exporting the script file directly into the OSBots script folder? If you are building it into a .jar file make sure you are building it with the correct java version, which is java 8 I believe. Also make sure you do have the script manifest as Gunman has said. Edited December 12, 2020 by BravoTaco 1
TitanHaxz Posted December 12, 2020 Author Posted December 12, 2020 Okay that might be the problem I was using Java 14 to build my project. Thanks for the help!!! 1