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?