I just started my own Skirmisch AI with the java interface and currently i get errors like "Warning: AI for team <some number> failed handling event with topic <some number>, error <some number>" inside a running game.
Is there a place where i could lookup whats causing the error for some combinations off numbers?
If not, does somebody knows what causes the error with topic 6: error 2?
look at rts/ExternalAI/Interface/AISEvents.h there is a list of the topics, and you will see what topic 6 is. make sure your AIInfo.lua file is correct, and that the right one is used by spring. in your event handling methods, cover everything with this:
Code:
try { ... } catch (Throwable t) { // Throwable covers more then Exception t.printStackTrace(); }
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum