I'm having a CTD when an ai city builds a new unit (not always), but the crash always occurs when I hit end turn when they are about to construct a unit, especially if they are building a non-combat unit, and especially if there is a combat unit already in their city square. If this last scenario is the case (this is most frequent, but occasionally the crash will occur if they have no units in the city), if I erase their combat unit in the editor (or destroy their city, for that matter), the game goes on without crashing.
Does civ have a log file of some sort that i can enable that tells you what exactly the game was doing when it crashed (like total war?)?
Or is there some sort of debugger I can run?
The files I've changed since the problem started occurring are these ones:
The colours of the menu in the theme files,
the opening menu screen itself
since i removed all civilizations and added 13 new ones, all the teamcolour and leaderhead art files (could it one of the flags or buttons?)
Civ4artdefines_civilization.xml
civ4artdefines_leaderhead.xml
civ4mainmenus.xml
civ4civilizationsinfos.xml
civ4leaderheadinfos.xml
civ4diplomacyinfos.xml
Edit:
Well, the good news is all these files are in proper working order.
The bad news is that the modder is a moron. I ran into the problem with a recent version of my mod, so jumped back to yesterdays version to see if the problems were still there. They seemed to be, but I forgot that the mod was still drawing its information from the newest folder, even if I was opening it from the backup folder...
Since yesterday I've gutted the units (left only a few basic units and unit types), events(left no events at all), buildings(left only the palace), and religions files, and I had only reassembled the religion files (but down to two religions)when I noticed the problem. If no one has any glaring ideas, I'm going to keep putting the others back together and see if the issue persists once it is all whole again.
Does civ have a log file of some sort that i can enable that tells you what exactly the game was doing when it crashed (like total war?)?
Or is there some sort of debugger I can run?
The files I've changed since the problem started occurring are these ones:
The colours of the menu in the theme files,
the opening menu screen itself
since i removed all civilizations and added 13 new ones, all the teamcolour and leaderhead art files (could it one of the flags or buttons?)
Civ4artdefines_civilization.xml
civ4artdefines_leaderhead.xml
civ4mainmenus.xml
civ4civilizationsinfos.xml
civ4leaderheadinfos.xml
civ4diplomacyinfos.xml
Edit:
Well, the good news is all these files are in proper working order.
The bad news is that the modder is a moron. I ran into the problem with a recent version of my mod, so jumped back to yesterdays version to see if the problems were still there. They seemed to be, but I forgot that the mod was still drawing its information from the newest folder, even if I was opening it from the backup folder...
Since yesterday I've gutted the units (left only a few basic units and unit types), events(left no events at all), buildings(left only the palace), and religions files, and I had only reassembled the religion files (but down to two religions)when I noticed the problem. If no one has any glaring ideas, I'm going to keep putting the others back together and see if the issue persists once it is all whole again.