fearthereaper
Pack Leader
Why does windows keep crashing my game a few turns into a game ever since i installed patch 2.37.
Dunno, specify ur OS.
If your playing a large map it could be civ's memory leak causing issues on your systems. If you can reload from a save and play on further fine (without changing what moves you did) it's definitely that.
I'm playing a huge map with me being the Borg and with 5 other allies fighting 1 civ. I have reloaded the save about 3 times and it has crashed at the same spot.
<iMaxGlobalInstances>-1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances>
In FF, cannotTrain doesn't do anything - there is a "return False" right after the arglist processing. You can disable that callback if you haven't added anything.
The getCityFoundValue callback is what it uses to rate a plot as to how desireable it is to settle there. The rating the callback does is dependant only on the planets in the system. This is why it colonizes systems on the opposite side of the universe: there is no reduction of the rating for distance from the capital (or anything along those lines).
The unitCostMod callback could be eliminated by implementing some "missing" tags in the civics or units. All it is used for in FF is the cost reductions for various unit types if you are using one of the 3 "doctrine" civics (like Capital Ship Doctine reduces the cost of battleships by 20%). This could be done by adding either a UnitClassProductionModifier (or something like that) tag to the civic info xml, or (perhaps more in line with how similar things are done in civ) by adding a ProductionCivic (like the ProductionTrait) tag to the unit info xml.
If a crash happens at the same spot every single time, then it probably isn't a memory issue. Could you attach a save from right before the crash?