Eitlaek
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Store
Posts posted by Eitlaek
-
-
1 hour ago, dante7204 said:
are you using java 8?
Thank you for the response, I figured this through Discord!
-
Mind want to check if you have your Java version set on 8.
-
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?
Issue with dialogue continuation
in Software & Script Development Discussion
Posted
Yes, you would want to get options[0] or options[1]