Eitlaek Posted July 24, 2022 Share Posted July 24, 2022 Hi Community, I followed the tutorial for setting up inteliij and ended up building this script. import com.epicbot.api.shared.APIContext; import com.epicbot.api.shared.GameType; import com.epicbot.api.shared.script.LoopScript; import com.epicbot.api.shared.script.ScriptManifest; import com.epicbot.api.shared.util.paint.frame.PaintFrame; import java.awt.*; @ScriptManifest(name = "Test Script", gameType = GameType.OS) public class TestClass extends LoopScript { @Override public boolean onStart(String... strings) { return true; } @Override protected int loop() { return 50; } @Override protected void onPaint(Graphics2D g, APIContext ctx) { PaintFrame frame = new PaintFrame("Test Script"); frame.addLine("Title", "Value"); frame.draw(g, 0, 170, ctx); } } When I start EpicBot the following message appears and I don't see my Script in the list. Anyone has any idea what is wrong? Quote Link to comment Share on other sites More sharing options...
SomeGuy420 Posted July 25, 2022 Share Posted July 25, 2022 (edited) are you using java 8? Edited July 25, 2022 by dante7204 Quote Link to comment Share on other sites More sharing options...
Eitlaek Posted July 25, 2022 Author Share Posted July 25, 2022 1 hour ago, dante7204 said: are you using java 8? Thank you for the response, I figured this through Discord! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.