Page 1 of 1

Crash when shutting down game - AI Interface changed?

Posted: 23 Oct 2008, 19:25
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.

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

Posted: 24 Oct 2008, 15:15
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.