raystuttgart
Civ4Col Modder
Hi ray,
please find attached a savegame (current SVN 580).
You can Play with autoplay but if you try to play a round manually the game will crash.
Thanks, I will try to take a look.
(But probably I will only get to thoroughly analyze next weekend.
I will go to bed quite early because I need to get up at 5am tomorrow morning.)
@Nightinggale:
If you could take a look before next weekend, that would be really great.
Thus Schmiddie could continue testing the upcoming release.
Edit:
While debugging I already found out, that there is an "Integer Division by Zero" somewhere.
But when I tried to get to Visual Studio to break and analyze, Visual Studio crashed...
I will try again next weekend.
Should be possible to get to the point in the code that is causing the problem.
Edit 2:
It is this line here in CvCityAI.cpp :
Code:
iPercentWasted = 100 - (100 * std::max(0, iYieldOutput - iLoss)) / iYieldOutput;
I just don't know yet, why it is causing a division by zero now and did not do so earlier.
Will need to do a thorough analyzes what could have happen next weekend.
But don't worry, I will get this figured out and solved.
Edit 3:
Might be related to negative productivity modifiers by negative CityHealth.
or
Might be related in some way to the new performance improvments considering Yields.
I will need more time (next weekend) to figure out.