Single Player bugs and crashes v40 plus (SVN) - After Oct 2019

Can you please point me at a revision in SVN where this was fixed? I'll see if I could manually cherry-pick the changes...
It was purely dll fix - so can't be really cherrypicked.
Space games were broken at SVN 11143, prereq fix is at 11147.

This may not work since some DLL changes are coupled with XML/python changes.
 
Damn :( Perhaps, I could replace the terrain type that has been removed via WorldBuilder, and update to latest SVN... Which terrain type(s) were removed?
 
Damn :( Perhaps, I could replace the terrain type that has been removed via WorldBuilder, and update to latest SVN... Which terrain type(s) were removed?
It was renamed not removed.
Rename TERRAIN_SPACE to TERRAIN_CISLUNAR_SPACE
 
Well, I could rename this terrain type in XML assets and/or Python scripts (if necessary), but won't this just cause a crash when I try to load my save?
 
Well, I could rename this terrain type in XML assets and/or Python scripts (if necessary), but won't this just cause a crash when I try to load my save?
You would have to update that forever or at least when you are done with that save.
So safest way is just save it in worldbuilder and then rename terrain in that scenario-save.
 
Ah, so I could actually edit WB save files in text editor? Never tried that, will give it a go, thank you!
Yeah, use notepad++ as its better for editing text files.
 
for some reason the "steam tank" cant be put in auto build?? u have to use single build all the time??
 

Attachments

  • steam.JPG
    steam.JPG
    345.9 KB · Views: 63
for some reason the "steam tank" cant be put in auto build?? u have to use single build all the time??
Its national unit.

It may be checking if its national unit even with unlimited units option.
 
not what i asked. even national units can be put on auto build till they r done with the 15 build limit, but this one does NOT do it for some reason . . .am i right or wrong here??
 
Last edited:
not what i asked. even national units can be put on auto build till they r done with the 15 build limit, but this one does NOT do it for some reason . . .am i right or wrong here??
I guess it can't store things for later. This means you can't have unit with limit of 1 on auto built.
On faster gamespeeds or more productive cities this would be apparent with units with higher limits.
 
Hello. On maps C2C_PerfectWorld2f, C2C_PerfectMongoose_v310 and may be all other maps (I don't know - I tried to use only those maps because they have Old World) the option Culturally Link Starts working incorrectly or partial correctly.

I'm playing for Armenia, but my neighbors are Sweden, Denmark and Egypt. Egypt is ok, but Sweden and Denmark I guess not. Below Denmark are Georgia, Persia, Korea, Japan and France. Arabia is located on other part of continent.

New-Bitmap-Image.png

New-Bitmap-Image.png

New-Bitmap-Image.png
 
I guess on same mapscripts Culturally Linked Starts doesn't work.
@Toffer90 can look at it
Culturally linked start code is independent of mapscripts.

I think it works as well as it can do without choosing new plots as starting plots. The culturally linked start code gets the start plots as input, it only gets as many start plots as there are starting civs in the game, then it tries to reassign which civ gets what start plot based on a coordinate that is hardcoded for each civ. None of these starting plots it gets as input are close to being the correct coordinate for any of the starting civs in most cases, so it has to do some funky math to find out what starting plot assignment permutation (it checks for all possible permutations [combinations]) that has the least overall error with the hardcoded coordinates of all the starting civs.

The option undermines the mechanic of higher difficulty civs getting weaker starting plots as it shuffles what civ gets what starting plot without care for yields and bonuses in starting plot fat cross.
I see no value in the option, so you should definitively not ask me to look into making it better as I'd sooner remove it from C2C.

Spoiler These are the hardcoded coordinates. I don't know what the code does with civs that don't have coordinates. :

("CIVILIZATION_ARABIA", 21.423, 39.826)
("CIVILIZATION_ABORIGINES", -25.215, 130.282)
("CIVILIZATION_AUSTRALIA", -25.585, 134.504)
("CIVILIZATION_NEWZEALAND", -44.056, 70.354)
("CIVILIZATION_MAORI", -35.442, 173.820)
("CIVILIZATION_POLYNESIA", -14.209, -169.553)
("CIVILIZATION_DENE", 39.898, 5.040)
("CIVILIZATION_UPAAJUT", 63.747, -68.522)
("CIVILIZATION_CANADA", 45.389, -75.681)
("CIVILIZATION_TILLIKUM", 53.265, -131.990)
("CIVILIZATION_UNITED_STATES", 38.895, -77.037)
("CIVILIZATION_CUBA", 23.132, -82.367)
("CIVILIZATION_HAITI", 39.893, 5.035)
("CIVILIZATION_MEXICO", 19.431, -99.133)
("CIVILIZATION_OLMEC", 37.680, -122.127)
("CIVILIZATION_PALEO", 33.425, -111.937)
("CIVILIZATION_WESTINDIES", 14.525, -75.818)
("CIVILIZATION_CHILE", -35.786, -71.674)
("CIVILIZATION_VENEZUELA", 7.665, -66.145)
("CIVILIZATION_BRAZIL", -22.908, -43.196)
("CIVILIZATION_HONDURAS", 14.975, -86.264)
("CIVILIZATION_BOLIVARIAN", 10.487, -66.886)
("CIVILIZATION_ARGENTINA", -34.608, -58.373)
("CIVILIZATION_AZTEC", 19.808, -96.917)
("CIVILIZATION_TUPI", -7.833, -36.366)
("CIVILIZATION_NAZCA", -14.880, -74.994)
("CIVILIZATION_ZAPOTEC", 17.036, -96.784)
("CIVILIZATION_NATIVE_AMERICA", 39.883, 5.025)
("CIVILIZATION_SIOUX", 43.75, -102.5)
("CIVILIZATION_LOWER_SIOUX", 44.550, -94.987)
("CIVILIZATION_AMERICAN_CONFEDERACY", 37.540, -77.433)
("CIVILIZATION_CHIPPEWA", 46.759, -92.613)
("CIVILIZATION_GREAT_PLAINS", 47.086, -109.282)
("CIVILIZATION_MIDWEST", 41.884, -87.632)
("CIVILIZATION_IROQUOIS", 43.080, -79.071)
("CIVILIZATION_INCA", -13.508, -71.972)
("CIVILIZATION_MAYA", 14.632, -90.549)
("CIVILIZATION_JIVARO", 20.468, -89.213)
("CIVILIZATION_APACHE", 32.769, -108.275)
("CIVILIZATION_CHEROKEE", 34.679, -83.325)
("CIVILIZATION_NAVAJO", 35.399, -110.321)
("CIVILIZATION_ANASAZI", 36.060, -107.970)
("CIVILIZATION_COMANCHE", 34.605, -98.389)
("CIVILIZATION_PIRATES", 17.938, -76.840)
("CIVILIZATION_NAZI_GERMANY", 52.516, 13.376)
("CIVILIZATION_FINLAND", 60.186, 24.931)
("CIVILIZATION_GERMANY", 50.112, 8.683)
("CIVILIZATION_AUSTRIA", 48.243, 16.375)
("CIVILIZATION_POLAND", 52.228, 21.006)
("CIVILIZATION_GOTHS", 58.361, 15.780)
("CIVILIZATION_NORWAY", 59.924, 10.752)
("CIVILIZATION_DENMARK", 55.690, 12.571)
("CIVILIZATION_NETHERLANDS", 52.330, 4.864)
("CIVILIZATION_ICELAND", 49.554, 20.125)
("CIVILIZATION_IRELAND", 49.553, 20.126)
("CIVILIZATION_WALES", 49.552, 20.127)
("CIVILIZATION_SCOTLAND", 49.551, 20.128)
("CIVILIZATION_ENGLAND", 51.508, -0.128)
("CIVILIZATION_BELGIUM", 49.549, 20.130)
("CIVILIZATION_BULGARIA", 49.548, 20.131)
("CIVILIZATION_SWEDEN", 49.547, 20.132)
("CIVILIZATION_SWISS_CONFEDERACY", 49.546, 20.133)
("CIVILIZATION_LITHUANIA", 49.545, 20.134)
("CIVILIZATION_LATVIA", 49.544, 20.135)
("CIVILIZATION_MAGYAR", 49.543, 20.136)
("CIVILIZATION_FRANCE", 48.856, 2.341)
("CIVILIZATION_SPAIN", 40.413, -3.704)
("CIVILIZATION_PORTUGAL", 38.717, -9.167)
("CIVILIZATION_ITALY", 41.895, 12.476)
("CIVILIZATION_PAPAL", 49.538, 20.145)
("CIVILIZATION_GREECE", 37.731, 22.756)
("CIVILIZATION_MINOANS", 35.299, 25.170)
("CIVILIZATION_MICROSTATESEUR", 49.536, 20.146)
("CIVILIZATION_ROMANIA", 49.535, 20.147)
("CIVILIZATION_CROATIA", 49.534, 20.148)
("CIVILIZATION_SLOVENIA", 49.533, 20.149)
("CIVILIZATION_CZECH", 49.532, 20.150)
("CIVILIZATION_SLOVAKIA", 48.149, 17.106)
("CIVILIZATION_BIH", 49.563, 20.151)
("CIVILIZATION_SERBIA", 49.564, 20.152)
("CIVILIZATION_ARMENIA", 40.207, 44.556)
("CIVILIZATION_KOSOVO", 49.565, 20.153)
("CIVILIZATION_UKRAINE", 49.566, 20.154)
("CIVILIZATION_RUSSIA", 55.756, 37.615)
("CIVILIZATION_GEORGIA", 49.568, 20.156)
("CIVILIZATION_CHECHNYA", 49.569, 20.157)
("CIVILIZATION_ROME", 41.883, 12.483)
("CIVILIZATION_BAKTRIA", 49.529, 20.159)
("CIVILIZATION_KAZAKH", 45.046, 45.752)
("CIVILIZATION_UZBEK", 41.320, 69.306)
("CIVILIZATION_XIONGNU", 41.775, 84.244)
("CIVILIZATION_YANGSHAO", 36.042, 114.983)
("CIVILIZATION_MANCHURIA", 41.787, 123.404)
("CIVILIZATION_AFGHANISTAN", 45.044, 45.754)
("CIVILIZATION_CENTRALASUN", 45.043, 45.755)
("CIVILIZATION_UYGHUR", 45.042, 45.756)
("CIVILIZATION_MONGOL", 47.198, 102.821)
("CIVILIZATION_HUNS", 45.041, 45.758)
("CIVILIZATION_JAPAN", 35.017, 135.767)
("CIVILIZATION_AINU", 45.040, 45.771)
("CIVILIZATION_KOREA", 39.019, 125.738)
("CIVILIZATION_CHINA", 34.455, 113.025)
("CIVILIZATION_TIBET", 29.650, 91.100)
("CIVILIZATION_VIETNAM", 21.033, 105.850)
("CIVILIZATION_KHMER", 13.433, 103.833)
("CIVILIZATION_BURMA", 45.034, 45.761)
("CIVILIZATION_BANGLADESH", 45.033, 45.760)
("CIVILIZATION_INDIA", 25.611, 85.144)
("CIVILIZATION_PAKISTAN", 45.031, 45.758)
("CIVILIZATION_SIAM", 17.021, 99.704)
("CIVILIZATION_MALAYSIA", 45.029, 45.768)
("CIVILIZATION_MICROSTATESA", 45.028, 45.769)
("CIVILIZATION_INDONESIA", 45.027, 45.770)
("CIVILIZATION_PHILIPPINES", 45.026, 45.771)
("CIVILIZATION_ASSYRIA", 35.457, 43.263)
("CIVILIZATION_ARMENIA", 21.433, 39.837)
("CIVILIZATION_ALBANIA", 21.432, 39.836)
("CIVILIZATION_OTTOMAN", 21.431, 39.835)
("CIVILIZATION_LEBANON", 21.430, 39.834)
("CIVILIZATION_ISRAEL", 31.783, 35.216)
("CIVILIZATION_PALMYRA", 21.428, 39.832)
("CIVILIZATION_IRAQ", 21.427, 39.831)
("CIVILIZATION_IRAN", 21.426, 39.830)
("CIVILIZATION_SOMALIA", 2.033, 45.333)
("CIVILIZATION_YEMEN", 21.424, 39.828)
("CIVILIZATION_ETHIOPIA", 14.117, 38.733)
("CIVILIZATION_EGYPT", 26.333, 31.900)
("CIVILIZATION_PHOENICIA", 35.602, 35.782)
("CIVILIZATION_SUDAN", 21.420, 39.824)
("CIVILIZATION_GARAMANTES", 21.419, 39.823)
("CIVILIZATION_ABYSSINIANS", 21.418, 39.822)
("CIVILIZATION_MORROCO", 21.417, 39.821)
("CIVILIZATION_KANEMBORNU", 10.418, 29.825)
("CIVILIZATION_MALI", 13.890, -4.540)
("CIVILIZATION_BENIN", 10.416, 29.823)
("CIVILIZATION_NIGERIA", 10.415, 29.822)
("CIVILIZATION_MANDE", 10.414, 29.821)
("CIVILIZATION_GHANA", 10.413, 29.820)
("CIVILIZATION_CONGO", -6.267, 14.250)
("CIVILIZATION_TOGO", 10.411, 29.818)
("CIVILIZATION_KITARA", 10.410, 29.817)
("CIVILIZATION_MAASAI", 10.409, 29.816)
("CIVILIZATION_MUTAPA", 10.408, 29.815)
("CIVILIZATION_SOUTH_AFRICA", 10.407, 29.814)
("CIVILIZATION_KHOISAN", 10.406, 29.813)
("CIVILIZATION_MALAGASY", 10.405, 29.812)
("CIVILIZATION_ZULU", -28.317, 31.417)
("CIVILIZATION_BABYLON", 32.536, 44.421)
("CIVILIZATION_BYZANTIUM", 41.009, 28.976)
("CIVILIZATION_CARTHAGE", 36.887, 10.315)
("CIVILIZATION_CELT", 46.923, 4.038)
("CIVILIZATION_PICTS", 46.923, 4.037)
("CIVILIZATION_HITTITES", 41.016, 28.966)
("CIVILIZATION_HOLY_ROMAN", 50.775, 6.084)
("CIVILIZATION_PERSIA", 30.012, 52.408)
("CIVILIZATION_SUMERIA", 31.322, 45.636)
("CIVILIZATION_VIKING", 63.420, 10.393)
("CIVILIZATION_NEANDERTHAL", 51.227, 6.951)
("CIVILIZATION_ARAWAK", 14.53, -75.82)
 
Last edited:
I guess coordinates are wrong. For example, Armenia and Georgia must be closed to each other. Chechnya is closed to Georgia, but Armenia is not.
("CIVILIZATION_GEORGIA", 49.568, 20.156)
("CIVILIZATION_CHECHNYA", 49.569, 20.157)
("CIVILIZATION_ARMENIA", 21.433, 39.837)
 
These are the hardcoded coordinates. I don't know what the code does with civs that don't have coordinates.
They didn't even make tags for this? ugh...
 
there must be something terribly wrong with "ALL" planes when trying to use Air Strike Mode, i tried with early planes, then jet planes, and now interceptors and all the same does not work, it stalls the games each and every time . . .
 

Attachments

there must be something terribly wrong with "ALL" planes when trying to use Air Strike Mode, i tried with early planes, then jet planes, and now interceptors and all the same does not work, it stalls the games each and every time . . .
There were some bugs left from AND that have never been resolved there and perhaps some other adjustments did something funny to it. Will take a look when I can.
 
The option undermines the mechanic of higher difficulty civs getting weaker starting plots as it shuffles what civ gets what starting plot without care for yields and bonuses in starting plot fat cross.
I see no value in the option, so you should definitively not ask me to look into making it better as I'd sooner remove it from C2C.
+1 and I sure won't ask either! ;)
 
Back
Top Bottom