Search

Search found 6 matches

by eaglei337
08 Nov 2013, 18:28
Forum: AI
Topic: AI dies on startup
Replies: 8
Views: 3031

Re: AI dies on startup

Here's the init method from my JavaCBRAI class. I basically copied it from the NullJavaOOAI and then edited it. I think that it's got a problem before the initialize log stage because I have no AI log files in the folder for the JavaCBRAI. @Override public int init(int skirmishAIId, OOAICallback cal...
by eaglei337
08 Nov 2013, 18:22
Forum: AI
Topic: AI dies on startup
Replies: 8
Views: 3031

Re: AI dies on startup

Thanks! Got that cleared up, and now its down to this message [f=0000000] Error: Failed to initialize an AI for team 0 (ID: 0), error: 1 [f=0000031] Skirmish AI "Bot1" (ID:0), which controlled team 0 is now dead I could be overlooking something, but I'm not seeing other lines relating to t...
by eaglei337
08 Nov 2013, 05:27
Forum: AI
Topic: AI dies on startup
Replies: 8
Views: 3031

Re: AI dies on startup

Thank you! I went ahead and switched it back to the original starting unit (a tank). I think these lines describe the error I'm having: [f=0000000] Error: Unknown skirmish AI specified: [f=0000003] Skirmish AI "Bot1" (ID:0), which controlled team 0 is now dead and here's the full log: Usin...
by eaglei337
07 Nov 2013, 21:03
Forum: AI
Topic: AI dies on startup
Replies: 8
Views: 3031

Re: AI dies on startup

My assumption is that my AI is not getting initialized properly, and that is why it is just saying the AI is dead.
by eaglei337
07 Nov 2013, 21:01
Forum: AI
Topic: AI dies on startup
Replies: 8
Views: 3031

Re: AI dies on startup

Thanks! I'm using the Example Mod (http://springfiles.com/spring/games/example-mod) The only thing I have changed is I switched out the starting unit for a unit I have defined, but this did not cause problems when the bots used the NullOOJavaAI. the infolog.txt is as follows: Using configuration sou...
by eaglei337
07 Nov 2013, 17:32
Forum: AI
Topic: AI dies on startup
Replies: 8
Views: 3031

AI dies on startup

I am in the process of creating a Java AI. I copied and edited the NullOOJavaAI, and set up the file structure as described in http://springrts.com/wiki/AI:Development:Lang:Java. Every time I start up the game with my AI for one of the bots, I get the message that the AI has died when the game begin...

Go to advanced search