June 12, 20205 yr I'm trying to learn how to make a bot and I'm not sure what I'm doing wrong. I've taken the skeleton code from here and set up IntelliJ to use the OSBot library so that all the keywords are recognized. When building the artifact jar there doesn't appear to be any issues, and I'm putting it into the OSBot scripts folder. When I open OSBot and hit refresh on scripts, the logger simply says "Failed to load local script : FirstBot.class". I did change the class name from Skeleton to FirstBot when I took the skeleton code. Does anyone have any guesses as to what I'm doing wrong? Edited June 12, 20205 yr by FyredUp
June 12, 20205 yr This problem can occur while using the wrong java version when building out the jar. In IntelliJ go to File -> Project Structure -> Project Set the Project SDK to 1.8 Set the Project language level to 8 Edited June 12, 20205 yr by BravoTaco
June 12, 20205 yr Author 2 hours ago, BravoTaco said: This problem can occur while using the wrong java version when building out the jar. In IntelliJ go to File -> Project Structure -> Project Set the Project SDK to 1.8 Set the Project language level to 8 Oh that's almost certainly it. Haven't gotten back to my computer yet but I'd bet money that's my issue. Thank you!
Create an account or sign in to comment