I'm having problems when starting in modern era (i have only industrial, modern and future eras in my mod). The game crashes right after I start it. Industrial start works fine. So I attached VC to my mod and debugged the crash. It seems to crash when the game calculates the player's score and tries to divide with 0. 
So I hunted down the code that could change the m_iMaxTech (which is returned by getMaxTech()) and the only place where it seems to be changed is when the map is regenerated!
How on earth is that possible? And why do you think only industrial era start works fine?
EDIT: The future era start works too. I think it could be a xml problem. I'll need to check that...

So I hunted down the code that could change the m_iMaxTech (which is returned by getMaxTech()) and the only place where it seems to be changed is when the map is regenerated!

How on earth is that possible? And why do you think only industrial era start works fine?
EDIT: The future era start works too. I think it could be a xml problem. I'll need to check that...