[f=0000000] Warning: AI for team 0 (ID: 0) failed handling event with topic 6, error: -5 [f=0000001] Warning: AI for team 0 (ID: 0) failed handling event with topic 3, error: -5
Seeing these errors a lot. What do they mean? And is there a place where I could look up what those error codes mean myself?
the meaning of the error is a harder thing. the error coudl happen in the native part of the ai interface (if AI is Java:, the java part, the OO wrapper) or the AI itsself.
most likely, you are throwing exceptions or other throwables in your event handling code. simply try to catch them.
Thanks, that helped me narrow it down. Apparently every frame I was trying to access a List<Unit> that hadn't been initialized yet. I guess I was expecting a null reference exception.
Users browsing this forum: No registered users and 1 guest
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