Single Player bugs and crashes v38 plus (SVN) - After the 20th of February 2018

Those aren't that bad and they happened since forever, and happen randomly.

I think Thunderbird or someone would have to start new game or scenario over 20 times before getting crash during map generation or scenario startup.

That is crash on scenario startup or map generation could be possibly vanilla Civilization 4 bug.

Cache is created even if you disable it in Civ4 config.
I guess most basic cache is created then.
Those very rare crashes might disappear, if you delete cache found in those folders:
C:\Users\<USERNAME>\AppData\Local\My Games\Beyond the Sword <-- I only recently knew about this one.
C:\Users\<USERNAME>\Documents\My Games\Beyond the Sword <--- This one is commonly known.
Those paths are for Windows 7.

It appears cache is always only in first folder path - one containing appdata.
No CTD's with 10153 svn dll build.
 
No CTD's with 10153 svn dll build.
I told you they are very rare.
Those aren't repeatable too.

If you started new game only few times, then its very likely, that you won't get CTD on map generation/scenario startup.
I launch new map/scenario a lot, when I modify techs or buildings to see my changes in game.
I can load any existing scenario (premade map) within 2 minutes after double clicking exe.
Game itself loads in 80 - 90 seconds on first startup.
And 40 - 45 seconds on subsequent startups until I reset computer.
Gigantic sided scenario (only two scenarios - both of them space maps) loads within 80 seconds.

So if I do extensive modding on some day I can start new game even 20 - 30 times during one day.
This was when revised tech tree or buildings for some mistakes like tech redundancies/placement or recosting errors in tech/building requirements or errors in resource/building/tech requirements in buildings.
This makes low probability random crash more probable.

I guess I forgot to mention when I quoted StrategyOnly or someone else, that I started new game/scenario A LOT.
Its like mentioning about fire and forgetting to mention you are firefighter :p
That is I made it as if low probability event was much more frequent.
 
Last edited:
SVN 10223
Culture Neanderthal has vanished after I captured city which built it.
I intentionally have postponed my attack until Siam city Bangkok has finished building Culture Neanderthal. I then captured Bangkok, destroying Siam civ. Only to find that I don't have Culture Neanderthal among list of cultures. Only base cultures are present (Asian from Siam and Middle Eastern from my Babylonian). Also, Culture Neanderthal cannot be built anymore.

I also have tried adding Culture Neanderthal (as wonder) via WorldBuilder, but same result - no such culture in the city.

Is it intentional or a bug?
 
SVN 10223
Culture Neanderthal has vanished after I captured city which built it.
I intentionally have postponed my attack until Siam city Bangkok has finished building Culture Neanderthal. I then captured Bangkok, destroying Siam civ. Only to find that I don't have Culture Neanderthal among list of cultures. Only base cultures are present (Asian from Siam and Middle Eastern from my Babylonian). Also, Culture Neanderthal cannot be built anymore.

I also have tried adding Culture Neanderthal (as wonder) via WorldBuilder, but same result - no such culture in the city.

Is it intentional or a bug?
Did you researched Sedentary Lifestyle?
World wonder, that gives Neanderthal culture obsoletes at Sedentary Lifestyle.
I guess that civ didn't research Sedentary Lifestyle yet, which might mean you are playing on too low handicap.
 
I told you they are very rare.
Those aren't repeatable too.
I've experienced it a couple of times, I've also experienced it when loading saves for the first time since game launch in about 1 of 30 loads or so.
The CTD happens at the exact moment when the game map should become visible.

I have a small theory regarding the CTD that I've had when loading the first save after game launch:
It seems only to happen the times I'm very quick at clicking (single player → load game → select file) after the main menu becomes available. Like the exe or dll stumbles due to something happening earlier than it expects it to happen, maybe my PPIO modmod does the python stuff that happens during init, and within the main menu, too quickly and allows the player to interact with the menu too early for the exe's/dll's liking?

Might be something else entirely though, like a caching issue...
I should try returning these two ini file settings back to default:

; Disable caching of file system (may slow initialization)
DisableFileCaching = 1

; Disable caching of xml and file system (may slow initialization)
DisableCaching = 1

Default is zero for both, I believe Raxo also have them at 1.
 
Last edited:
I've experienced it a couple of times, I've also experienced it when loading saves for the first time since game launch in about 1 of 30 loads or so.
The CTD happens at the exact moment when the game map should become visible.

I have a small theory regarding the CTD that I've had when loading the first save after game launch:
It seems only to happen the times I'm very quick at clicking (single player → load game → select file) after the main menu becomes available. Like the exe or dll stumbles due to something happening earlier than it expects it to happen, maybe my PPIO modmod does the python stuff that happens during init, and within the main menu, too quickly and allows the player to interact with the menu too early for the exe's/dll's liking?
Might be something else entirely though, like a caching issue...

I should try returning these two ini file settings back to default:
DisableFileCaching = 1
DisableCaching = 1
Default is zero for both, I believe Raxo also have them at 1.
I have disabled caching.
I guess its vanilla civ bug.

StrategyOnly encouraged other flavor of that CTD - he crashed when he generated map with SmartMap mapscript.
He doesn't use modmods.
 
Last edited:
Did you researched Sedentary Lifestyle?
World wonder, that gives Neanderthal culture obsoletes at Sedentary Lifestyle.
I guess that civ didn't research Sedentary Lifestyle yet, which might mean you are playing on too low handicap.
No civ has researched Sedentary Lifestyle. There was some guy, who has completed greatest work of his life called "Most advanced civilizations of the world". And my Babilonian civ was named most advanced. And I haven't even researched Tribalism. It's ~140000 BC in game.

It was such a good plan...
I've checked number of turns for Siam to finish building Culture Neanderthal. When only 11 turns were left, I moved out my invasion force. 7 moves in forced march, then cancel forced march, then 3 moves to heal after crossing desert in forced march, then Siam completes Culture, then 2 turns to cross the border (war declared) and deploy in designated squares.
Such comprehensive plan. And such disappointment :cry:
 
SVN 10223
Culture Neanderthal has vanished after I captured city which built it.
I intentionally have postponed my attack until Siam city Bangkok has finished building Culture Neanderthal. I then captured Bangkok, destroying Siam civ. Only to find that I don't have Culture Neanderthal among list of cultures. Only base cultures are present (Asian from Siam and Middle Eastern from my Babylonian). Also, Culture Neanderthal cannot be built anymore.

I also have tried adding Culture Neanderthal (as wonder) via WorldBuilder, but same result - no such culture in the city.

Is it intentional or a bug?
Cultures have the default (building) chance of being destroyed when a city is captured. Although some will disapear because you don't have the right prerequisites. Either way they are wonders that have been built so they can't be built again.
 
Having recently started a game with version 10154 (according to ingame info) I hit a reproduceable endless in "Waiting for other Civilization" problem. I activated the log option for AI logging after I encountered this problem but sadly there is no BBAI log when I tried to get past this turn again (waited 15 Min before closed the game). So I hope the autosave alone will be enough this time.
To reproduce just let the unites skip the turn and then finish it.

Edit: loading the autosave from some round before I also have the issue once I hit 102010 so it might be a building or event script.
Edit2: A fast look over the AI city showed only normal buildings and units to be finished (no wonders).
Edit3: Updating to the last SVN and Recalculating got me past this bug. (SVN still show as 10154 ingame)
 

Attachments

Last edited:
No civ has researched Sedentary Lifestyle. There was some guy, who has completed greatest work of his life called "Most advanced civilizations of the world". And my Babilonian civ was named most advanced. And I haven't even researched Tribalism. It's ~140000 BC in game.

It was such a good plan...
I've checked number of turns for Siam to finish building Culture Neanderthal. When only 11 turns were left, I moved out my invasion force. 7 moves in forced march, then cancel forced march, then 3 moves to heal after crossing desert in forced march, then Siam completes Culture, then 2 turns to cross the border (war declared) and deploy in designated squares.
Such comprehensive plan. And such disappointment :cry:
Weren't you in Ancient era, when I fixed this artstyle wall bug?
Or its other game now?
 
Weren't you in Ancient era, when I fixed this artstyle wall bug?
Or its other game now?
I've started new game. With all stock files except for CIV4CultureLevelInfo.xml. And also I've turned off Revolutions option. So I have no Revolutions scripts running now. So far I didn't have a single CTD. I even intentionally save-loaded a lot. Still no crashes.
 
Cultures have the default (building) chance of being destroyed when a city is captured. Although some will disapear because you don't have the right prerequisites. Either way they are wonders that have been built so they can't be built again.
I see. Thank you. So if I try to capture the city again, there is a chance that that building (Culture) won't be destroyed?
 
I've started new game. With all stock files except for CIV4CultureLevelInfo.xml. And also I've turned off Revolutions option. So I have no Revolutions scripts running now. So far I didn't have a single CTD. I even intentionally save-loaded a lot. Still no crashes.
Ah so I guess this CTDs (crash on starting new map/scenario) are only happening very rarely with Toffer's pedia and/or with SmartMap and other complex mapscripts then.
I think I scared some people with CTDs as I forgot to say, that those are very rare :p
 
I see. Thank you. So if I try to capture the city again, there is a chance that that building (Culture) won't be destroyed?
I suspect that those should have their chance to capture set to 100%. I am not sure what the default is. It may be that chance to capture defaults to 0%. If so you can never capture any of the built Cultures. The Base Cultures can be captured but only if the city is not captured by barbarians or criminals.
 
I suspect that those should have their chance to capture set to 100%. I am not sure what the default is. It may be that chance to capture defaults to 0%. If so you can never capture any of the built Cultures. The Base Cultures can be captured but only if the city is not captured by barbarians or criminals.
Would you please be so kind to point out the file in which "chance to capture" should be checked?

Is it
Code:
<bNukeImmune>1</bNukeImmune>
in Cultures_CIV4BuildingInfos.xml?

<Type>BUILDING_CULTURE_NEANDERTHAL</Type> has it.
 
Last edited:
Would you please be so kind to point out the file in which "chance to capture" should be checked?

Is it
Code:
<bNukeImmune>1</bNukeImmune>
in Cultures_CIV4BuildingInfos.xml?

<Type>BUILDING_CULTURE_NEANDERTHAL</Type> has it.
Wrong tag - this one determinates if building can be destroyed by nuke.

<iConquestProb> dictates chance of capture.
It is set at 100.
 
Last edited:
  • Like
Reactions: DC0
Then why is it not being captured? I was looking at the base cultures:rolleyes:, that is what happens when you party all weekend:lol:.
No idea - BUILDING_NEANDERTHAL_EMBASSY is like any other building, it just gives culture resource.
Building isn't overwritten in module.

Maybe stone or caves, that is in vicinity still is under other civs border?
 
Got the reproduceable endless "Waiting for other Civilization" problem now again after the update to SVN Version 10224. I set the AI Log Flags as mentioned in the 1st posting but can't find the BBAI log despite I played some normal turns so I again only upload the save. (I'm stupid just read that I have to activate them ingame as well and not only in the ini)
 

Attachments

Got the reproduceable endless "Waiting for other Civilization" problem now again after the update to SVN Version 10224. I set the AI Log Flags as mentioned in the 1st posting but can't find the BBAI log despite I played some normal turns so I again only upload the save. (I'm stupid just read that I have to activate them ingame as well and not only in the ini)
Weird, I could continue that save normally.
 
Last edited:
Back
Top Bottom