Single Player bugs and crashes v40 download - After Oct 2019

That folder has PythonErr2 instead of PythonDbg (as well as assets, init, resmgr and xml):
Delete mod and get V41, since you are on V40.
Never overwrite old version of mod with new one.

Either way delete mod together with user settings in it, at it seems like your install is corrupt.
V41 will break your V40 save though.
 
Last edited:
That folder has PythonErr2 instead of PythonDbg (as well as assets, init, resmgr and xml):
Ah, I think you need to change a line in:
...\Documents\My Games\Beyond the Sword\CivilizationIV.ini​
loggingenabled = 1

Another one that is convenient for us modders that you have is:
hidepythonexceptions = 0

Edit: {
Hmm, perhaps your CivilizationIV.ini is missing the [DEBUG] section header?
From pyErr2 file:
TRACE: No section: 'DEBUG'

Try to delete your CivilizationIV.ini file, a new one will be created when launching the game.​
}
 
I tried playing around with the mod a bit but only got increasingly weird errors, so I uninstalled and then re-installed Civ 4 as a whole, and then installed C2C v41, which now works without error messages and with the tech screen working. Thanks for the help
 
Most likely been brought up a few times, so forgive me.
Installed the mod by download, did the Steam beta switch, but the game keeps crashing once I start building the various bug collector buildings in the pre-historic age.
Loading the saves gets me a few turns then it crashes back to the desktop again.
Has this issue been addressed already? It may simply be the save is too large as this has happened in vanilla for me when I had a MASSIVE save file.
 
Most likely been brought up a few times, so forgive me.
Installed the mod by download, did the Steam beta switch, but the game keeps crashing once I start building the various bug collector buildings in the pre-historic age.
Loading the saves gets me a few turns then it crashes back to the desktop again.
Has this issue been addressed already? It may simply be the save is too large as this has happened in vanilla for me when I had a MASSIVE save file.
Don't play on oversized maps.

I bet you did something like 200x200 on Smartmap mapscript.
That won't work in this game.

If your save is big in Prehistoric, then you are playing on map, that is much bigger than mod can actually support.

You can upload save.
 
Don't play on oversized maps.

I bet you did something like 200x200 on Smartmap mapscript.
That won't work in this game.

If your save is big in Prehistoric, then you are playing on map, that is much bigger than mod can actually support.

You can upload save.

Started with huge and a star map, figured that was the issue so moved to tiny with only 4 civs. Same thing began to happen.
I'll upload a save later today.
 
Started with huge and a star map, figured that was the issue so moved to tiny with only 4 civs. Same thing began to happen.
I'll upload a save later today.
Are you using V40 by the way?

There is V41 out since last few months.
Disable BBAI logging in BUG options.

Upload User Settings by the way - its in mod folder.
 
Last edited:
Are you using V40 by the way?

There is V41 out since last few months.
Disable BBAI logging in BUG options.

Upload User Settings by the way - its in mod folder.

I am using V41, did I miss the dedicated thread for its bugs? My bad.

I disabled that logging but still have the issue. This line pops up and then when I end my turn I'm sent to the desktop.

Attached my most recent save and settings as requested.
 

Attachments

  • BUG.png
    BUG.png
    6.6 KB · Views: 60
  • AutoSave_BC-83676.CivBeyondSwordSave
    AutoSave_BC-83676.CivBeyondSwordSave
    1,010.5 KB · Views: 48
  • UserSettings - Copy.zip
    UserSettings - Copy.zip
    35.6 KB · Views: 50
I am using V41, did I miss the dedicated thread for its bugs? My bad.

I disabled that logging but still have the issue. This line pops up and then when I end my turn I'm sent to the desktop.

Attached my most recent save and settings as requested.
I fixed a couple of errors like the one you screenshotted there on the SVN after v41 was released.
Maybe you should try the SVN instead.
https://github.com/caveman2cosmos/Caveman2Cosmos/wiki/Using-SVN
Not as difficult as you might imagine to set up the SVN stuff.
 
I fixed a couple of errors like the one you screenshotted there on the SVN after v41 was released.
Maybe you should try the SVN instead.
https://github.com/caveman2cosmos/Caveman2Cosmos/wiki/Using-SVN
Not as difficult as you might imagine to set up the SVN stuff.

I saw the thread about SVN, as you can tell I'm not too bright about computer stuff so I avoided it for now.
But I'll give it a look and hope that fixes it, because this mod seems great.
Thanks for pointing me back to the right direction.
 
I saw the thread about SVN, as you can tell I'm not too bright about computer stuff so I avoided it for now.
But I'll give it a look and hope that fixes it, because this mod seems great.
Thanks for pointing me back to the right direction.
Also run game as admin - this is needed when game is on system drive.

Mod must be called Caveman2Cosmos exactly.
 
set
hidepythonexceptions = 0
in
...\Documents\My Games\Beyond the Sword\CivilizationIV.ini

You should get a proper error message pop-up in-game which would be helpful in debugging the error.
▬▬▬▬▬▬▬▬
You could also set
loggingenabled = 1

That way you can upload the
...\Documents\My Games\Beyond the Sword\Logs\PythonErr.log
file when you get such errors instead of making screenshots of the error pop up that the first setting gives you.
 
set
hidepythonexceptions = 0
in
...\Documents\My Games\Beyond the Sword\CivilizationIV.ini

You should get a proper error message pop-up in-game which would be helpful in debugging the error.
▬▬▬▬▬▬▬▬
You could also set
loggingenabled = 1

That way you can upload the
...\Documents\My Games\Beyond the Sword\Logs\PythonErr.log
file when you get such errors instead of making screenshots of the error pop up that the first setting gives you.

Traceback (most recent call last):
File "BugEventManager", line 307, in _handleDefaultEvent
File "CvEventManager", line 2521, in onCityBuilt
RuntimeError: unidentifiable C++ exception
 
Traceback (most recent call last):
File "BugEventManager", line 307, in _handleDefaultEvent
File "CvEventManager", line 2521, in onCityBuilt
RuntimeError: unidentifiable C++ exception
Ok, I'll look at your save.
This save (the autosave you posted a couple posts ago.) CTD's for you reputably when hitting end turn, right?
 
Ok, I'll look at your save.
This save (the autosave you posted a couple posts ago.) CTD's for you reputably when hitting end turn, right?
Use his user settings folder, that he provided too.

I'm not getting any errors.
 
Use his user settings folder, that he provided too.
No user settings were invovled in the error he got, but I used his user settings nevertheless.
Ok, I'll look at your save.
This save (the autosave you posted a couple posts ago.) CTD's for you reputably when hitting end turn, right?
Not getting any errors or crashes; played 50 turns on your (@Michael484) save.

Can you check if you can find UNIT_NEANDERTHAL_TRIBAL_GUARDIAN in:
...\Caveman2Cosmos\Assets\XML\Units\U_Neanderthals_CIV4UnitInfos.xml

Same with UNIT_TRIBAL_GUARDIAN in:
...\Caveman2Cosmos\Assets\XML\Units\CIV4UnitInfos.xml

My best bet at the moment is that you don't have one, or both, of these units defined in those files.
 
Last edited:
No user settings were invovled in the error he got, but I used his user settings nevertheless.

Not getting any errors or crashes played 50 turns on your (@Michael484) save.

Can you check if you can find UNIT_NEANDERTHAL_TRIBAL_GUARDIAN in:
...\Caveman2Cosmos\Assets\XML\Units\U_Neanderthals_CIV4UnitInfos.xml

Same with UNIT_TRIBAL_GUARDIAN in:
...\Caveman2Cosmos\Assets\XML\Units\CIV4UnitInfos.xml

My best bet at the moment is that you don't have one, or both, of these units defined in those files.

Thanks for the replies guys. Yeah the error will pop up in game, and then when I end turn I get sent to the desktop. I'll check for these lines right fast.
 
Both lines were present.
 
Back
Top Bottom