Crash when loading etc.
Posted: Tue Jan 03, 2012 8:09 am
I've conquered Soviet Union (as Germany, others AI) early, got funny Barbarossa-related option selection boxes half a year after SSSR had already died.
Anyhow, the serious one is the bug which prevents from continuing the game - both my own save and the autosave fail to load. In the ConsoleOut.txt the last line is:
[thread: 5352, -2] ERROR: line 559 in ai_data.csv has incorrect variable name (91)!
I've had a look at this file, 559 (and 558 and 560 as well :/), and can't find anything weird about it even if I compare to an unrelated save.
Rows of the file ai_data.csv, country portion where line 559 is. I highlighted 559 with row numbering starting at 1 in the text editor I use - I imagine the internal numbering might start from 0.
Country;21
MakesSeaInvasions;1
MaxNumberOfFrontsForSeaInvasion;3
FortLevelToHoldAtAllCost;4
ExtraCitiesToGarrison;128;118;142;130;117;114
SeaZonesToPatrol;282;1;281;1;278;1;127;1;112;1;104;1;79;1;54;1;44;1;285;1;280;1;263;1;262;1;261;1;260;1;259;1;258;1;257;1;256;1;255;1;254;1;253;1;252;1;251;1;250;1;249;1;248;1;247;1;246;1;245;1;244;1;243;1;242;1;241;1;240;1;239;1;238;1;237;1;236;1;235;1;234;1;233;1;232;1;231;1;230;1;229;1;225;1;224;1;222;1;149;1;137;1;121;1;120;1;119;1;118;1;114;1;52;1;104;0;110;1;109;1;104;0;102;1;101;1;51;1;45;1;6;1;126;1;125;1;124;1;123;1;122;1;22;0;23;0;123;0;122;0;80;0;31;0;46;0;60;0;88;0;59;0;34;0;33;0;32;0;91;0;15;0;1;0;57;0;94;0;102;0;98;0;100;0
DesiredLandForcesStructure;5;30;40;20;10
DesiredTechLevels;3;2;2;3;2;4;0
DesiredStrategicMovementPoints;18
NewUnitPurchasePreferences;15;15;10;5;5;0;0;2;2;0;0;3;5;5
CurrentSeaInvasionTarget;-1
MultipleSideAttackPreferences;2;2;0
OneSideAttackPreferences;3;2;1
AllianceEntryPolicy;0
CountriesToPress;26;27
TransportsUnitsToFrontsBySea;1
PurchaseQueue;4
NewUnitPurchaseData;3;127.500000;20;30.000000;41;120.000000
MinRatioToPatchFront;2.500000
MaxUnitCountOnFront;10
MaxCoveringUnitDistance;3
MaxSafeMoveCost;4
ShoreBombardmentSingleUse;100.000000;100.000000
CarrierTargetsPriorities;90;80;70;60;50;40;30;20;10
DoNotAttackCitiesMode;0
SeaZoneToPatrolEnemyBomberMaxValue;90.00
MaxPPPerUnitInInitialReinforcement;60.00
SafeDistanceMultiplierForAirUnitWithdraw;0.7000
CoastDefense_ChanceForPatrolWhenEnemyShipPresent;75;75;75;75;100;100
Anyhow, the serious one is the bug which prevents from continuing the game - both my own save and the autosave fail to load. In the ConsoleOut.txt the last line is:
[thread: 5352, -2] ERROR: line 559 in ai_data.csv has incorrect variable name (91)!
I've had a look at this file, 559 (and 558 and 560 as well :/), and can't find anything weird about it even if I compare to an unrelated save.
Rows of the file ai_data.csv, country portion where line 559 is. I highlighted 559 with row numbering starting at 1 in the text editor I use - I imagine the internal numbering might start from 0.
Country;21
MakesSeaInvasions;1
MaxNumberOfFrontsForSeaInvasion;3
FortLevelToHoldAtAllCost;4
ExtraCitiesToGarrison;128;118;142;130;117;114
SeaZonesToPatrol;282;1;281;1;278;1;127;1;112;1;104;1;79;1;54;1;44;1;285;1;280;1;263;1;262;1;261;1;260;1;259;1;258;1;257;1;256;1;255;1;254;1;253;1;252;1;251;1;250;1;249;1;248;1;247;1;246;1;245;1;244;1;243;1;242;1;241;1;240;1;239;1;238;1;237;1;236;1;235;1;234;1;233;1;232;1;231;1;230;1;229;1;225;1;224;1;222;1;149;1;137;1;121;1;120;1;119;1;118;1;114;1;52;1;104;0;110;1;109;1;104;0;102;1;101;1;51;1;45;1;6;1;126;1;125;1;124;1;123;1;122;1;22;0;23;0;123;0;122;0;80;0;31;0;46;0;60;0;88;0;59;0;34;0;33;0;32;0;91;0;15;0;1;0;57;0;94;0;102;0;98;0;100;0
DesiredLandForcesStructure;5;30;40;20;10
DesiredTechLevels;3;2;2;3;2;4;0
DesiredStrategicMovementPoints;18
NewUnitPurchasePreferences;15;15;10;5;5;0;0;2;2;0;0;3;5;5
CurrentSeaInvasionTarget;-1
MultipleSideAttackPreferences;2;2;0
OneSideAttackPreferences;3;2;1
AllianceEntryPolicy;0
CountriesToPress;26;27
TransportsUnitsToFrontsBySea;1
PurchaseQueue;4
NewUnitPurchaseData;3;127.500000;20;30.000000;41;120.000000
MinRatioToPatchFront;2.500000
MaxUnitCountOnFront;10
MaxCoveringUnitDistance;3
MaxSafeMoveCost;4
ShoreBombardmentSingleUse;100.000000;100.000000
CarrierTargetsPriorities;90;80;70;60;50;40;30;20;10
DoNotAttackCitiesMode;0
SeaZoneToPatrolEnemyBomberMaxValue;90.00
MaxPPPerUnitInInitialReinforcement;60.00
SafeDistanceMultiplierForAirUnitWithdraw;0.7000
CoastDefense_ChanceForPatrolWhenEnemyShipPresent;75;75;75;75;100;100