Assertion on stopping the game

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Assertion on stopping the game

Post by GeekToo »

Since a couple of days I get this assertion when I abandon the game, or stop OTTD ( by ctrl-c or with the mouse ).

/ottdsvn/branches/noai/noai/src/ai/ai_threads.cpp:101: void AIFiber::Suspend(int): Assertion `this->state == RUNNING' failed.

I believe I did see these assertions before, but the last months they were gone. Just wondering, is it a bug in Convoy, or in NoAi?
I use Gentoo Linux, own build from svn (updated yesterday).
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: Assertion on stopping the game

Post by TrueBrain »

I personally don't have it, but I will check out what is causing it (well, I know what is causing it, it is a returning problem over and over, but you get what I mean ;)). I myself use Gentoo, so that should be relative easy :)

Btw, this problem should happen with any AI, so no worries, it most likely isn't your Convoy AI ;)
The only thing necessary for the triumph of evil is for good men to do nothing.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 35 guests