Page 1 of 1

Reproducible CTD - save file

Posted: Thu Jun 10, 2010 8:28 am
by CptWaspLuca
With this save file, after 5 minutes (21:02) the game crashes to desktop.




RE: Reproducible CTD - save file

Posted: Thu Jun 10, 2010 9:52 am
by CptWaspLuca
I discovered that if you reattach units from FS with paused game the game instantly crashes, even at 20:57. Maybe it's useful to you :)

RE: Reproducible CTD - save file

Posted: Thu Jun 10, 2010 10:27 am
by Panther Paul
Hi,

Added to our bug tracker.

Thanks.

RE: Reproducible CTD - save file

Posted: Thu Jun 10, 2010 5:37 pm
by CptWaspLuca
Maybe I discovered the cause. It's the unit I VAK 402.
If I select and reattach it the game instantly crashes. If I try to alter its orders the game crashes after minutes.
Hope it helps.

RE: Reproducible CTD - save file

Posted: Fri Jun 11, 2010 10:40 pm
by Panther Paul
ORIGINAL: CptWasp

Maybe I discovered the cause. It's the unit I VAK 402.
If I select and reattach it the game instantly crashes. If I try to alter its orders the game crashes after minutes.
Hope it helps.

Hi,

Yes that was the unit with the problem. Every unit should have a reassessment event, after it is processed a new one is placed on the queue. This units event was missing! Our auto test code picks this up (it fires on your saved game), but never did during testing. Possibly because it does not reproduce player interation, just test Ai code.

Any way I have done two things, fixed it so if this ever occurs it will be detected and a new event automaticly generated. Also located two places where it might occur (even though the comments say it shouldn't!) and I have made sure that a new event is created in thos spots if needed.

Thanks for your report.

RE: Reproducible CTD - save file

Posted: Mon Jun 14, 2010 12:59 pm
by CptWaspLuca
Thank you; will the fix work for old saved games too?

RE: Reproducible CTD - save file

Posted: Mon Jun 14, 2010 10:34 pm
by Panther Paul
ORIGINAL: CptWasp

Thank you; will the fix work for old saved games too?

Yes. I fixed the underlying cause (which had happened early in your game, before the save) but also added some code that detects the problem and fixes it. I can nnow play your saved game through to the end and it does not crash.

So if you keep a copy of it you should be able to complete it when the patch comes out.

RE: Reproducible CTD - save file

Posted: Tue Jun 15, 2010 4:58 am
by CptWaspLuca
Perfect thank you