View topic - failed handling event with ...



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 10 Mar 2010, 15:26 

Joined: 24 Feb 2009, 19:18
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?

thanks


Top
 Offline Profile  
 
PostPosted: 11 Mar 2010, 07:52 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
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();
}


Top
 Offline Profile  
 
PostPosted: 14 Mar 2010, 17:52 

Joined: 24 Feb 2009, 19:18
thx


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.