Crash when shutting down game - AI Interface changed?

Crash when shutting down game - AI Interface changed?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Crash when shutting down game - AI Interface changed?

Post by submarine »

I noticed AAI suddenly crashes when closing the game; crash occurs in the destructor, when calling

Code: Select all

ai->cb->GetValue(AIVAL_LOCATE_FILE_W, filename); 
(to get the path where AAI can store its "learning" data)

This has not been a problem before, so I guess there must have been some changes to the AI Interface.
Reth
AI Developer
Posts: 70
Joined: 15 Aug 2006, 14:05

Re: Crash when shutting down game - AI Interface changed?

Post by Reth »

I was under the impression that the callback never worked in the destructor... It was causing a crash for me several versions back when I was testing something.
Post Reply

Return to “AI”