Persistent CTD toward the end of the game

Joined
Jun 7, 2008
Messages
6,145
Location
Just wonder...
I recently tried some games, most of them autoplayed by AI, removing all the "early" victory conditions like Cultural and Space Race as I'd like to see more wars in the modern era. But on 4 games out of 4 the game is CTD without a warning toward the end of the modern era. It's not a MAF, it must be something different. I would try and debug it myself as I've already solved a bug like this more than 1 year ago (something about bombing roads, IIRC, and at the time I built my own dll that wasn't crashing), but I don't have my testing setup on my new pc, so I don't know if it's the same bug returning with the current version or if it's somethind different entirely). So if someone wants to have a look, here are 4 saves of 4 different games: when you pass to the next turn, the game will CTD. Any advice or insight? Thanks.
 

Attachments

  • Stalin-Totestra-1 AD-1984-July.CivBeyondSwordSave
    2.6 MB · Views: 13
  • Jackal-Russia-PM4 AD-2009-January.CivBeyondSwordSave
    4.5 MB · Views: 2,161
  • Jackal-Russia-PM3 AD-2043-July.CivBeyondSwordSave
    4.1 MB · Views: 134
  • Jackal-Russia-PM2 AD-2048-January.CivBeyondSwordSave
    4.2 MB · Views: 1,143
Version? If it's the release version (3.61), there's a high chance it was already caught and fixed, among other stuff, but I'll take a look anyway once I know what to load.
 
The saves will definitely be incompatible with SVN due to the amount of changes by this time. I actually have another "suspect" even before opening the saves, as I see Russia being mentioned - might the crash happen around the time when Russia gets advanced fighters? This one is buggy in 3.61 and causes CTDs.
 
The saves will definitely be incompatible with SVN due to the amount of changes by this time. I actually have another "suspect" even before opening the saves, as I see Russia being mentioned - might the crash happen around the time when Russia gets advanced fighters? This one is buggy in 3.61 and causes CTDs.

I'm not sure, true that all the saves are played with Russia, but I think I recall in other games I've been able to reach the future techs and have all the units upgraded without issues.I'll run some test again and I'll let you know.
 
Thanks - specifically the Russian advanced fighter bug is known and fixed, but if that's not related, it can be investigated. Also if it IS the advanced fighter bug, and you want it fixed in your 3.61, that can be done.
 
Mmmm, can you point me out to what was the problem with the advanced fighter? I've been able to continue my first game by removing every "attack aircraft". It looks like it doesn't crash like that. But I've noticed that if I autoplay the game for a few turns, although the game can go on, i can't reload any autosave after using autoplay.
I thought about changing the unit model causing troubles, I know how to do it, but before I mess up things if you have any advice, it's more than welcome. Thanks!
 
It is indeed the unit model.

Thanks, fixed it and it works. I downloaded the new model from the SVN and changed with it the one in my version, it works. Thanks again, great work!
 
Last edited:
If/when you have time, may I ask how you tracked it? I've always had troubles finding corrupted models in my mod and I ended up with long and boring testing sessions. Is there an easy way to track this kind of problems?
 
Sorry, forgot to reply to this one. TBH, there isn't much to tell. I got a report that selecting this particular unit led to a CTD. Checked, reproduced. Saw that the nif had some crucial bits missing somehow (which led to the unit being perfectly serviceable in Pedia, but not in-game). Used it as an excuse for myself to convert a better-looking model from the End of Days mod.
 
Top Bottom