Games keep crashing after about 100 turns

When I try to load the saved game file with the issue, it crashes immediately now

I told you above ;).
But strange that you don't get more error messages :confused:. If it was a graphical problem, then you should definitely get some exceptions.
Only suggestion would be to start a new game with the .dll, and hope that the error appears again :dunno:.
 
Yea, no other error messages at all. I took out the unit pack before I tried using the .dll file you sent to me, though. Would the damage by the unit pack already be done to the saved game file, and that's what's causing the saved game to be corrupted?
 
Ok, I've attached the mods that I still have installed (the four leaderheads and the new civilization). The leaderheads are the Hitler one for Germany, as well as the three from CivIV:Colonization. Also, a custom Civ that I made called Peeps. The leader's name is Ryan. I also included the saved game file, called Americans).
 

Attachments

It seems that the problem is with a bad color definition - You have PLAYERCOLOR_BLUEGREEN defined in CIV4CivilizationInfos.xml, but the game doesn't know this color.
You should either change it or define it in CIV4PlayerColorInfos.xml.

In the save file you already have color '44' for player 0, but the colors defined only reach 43. (unless you're using some kind of custom assets?)

Adding PLAYERCOLOR_BLUEGREEN to the file I told you (make it the last one) should solve it.

EDIT: you're also missing some definitions - for example the Art Define Tag for babylon.
Compare your Civ4CivilizationInfos.xml with the original to find these.
 
I forgot about that. I did add the color bluegreen to civ4colorvals, so it shows up properly in the game.

I didn't know about the art define tag definitions, though. I'll search that now.
 
That's weird about the missing definitions. I didn't even mess with Babylon. I guess that's something left over from Siam's unit set. That whole file might be messed up, so I'll probably just need to delete it and start from scratch.

Did you notice any other files with issues? Were you able to get the saved game running properly?
 
Proves, that it's a graphical problem.

If there's no CvGameCoreDll in the assets folder of your mod, then put the attached debug dll into there (it's not mine, phungus compiled it, but i can't find the thread). If you then play in windowed mode, you should get some more exceptions on startup, which should tell you where the problem is (but you can't play the savegame with that .dll, you'll have to take it out again before further playing).

Thanks :goodjob:

I do have a couple of questions regarding the messages. Is there a thread that explains the different expressions.
 
Thanks everybody for your help! It turns out, it was the Civ4CivilizationInfos.xml file from Siam's set that was causing the crashes.

I copied over the original Civ4CivilizationInfos.xml file from BtS and just added what I needed for my mods, and now the game works fine.
 
You somehow must have done something wrong with the .dll, because it should definitely have caught the errors :confused:.

Thanks :goodjob:

I do have a couple of questions regarding the messages. Is there a thread that explains the different expressions.

I'm not aware of a thread for this.
-> open a new one in the SDK section ;).
 
Back
Top Bottom