7.4 Can't finish game (but what a game!)

The Godjester

Chieftain
Joined
Oct 17, 2010
Messages
23
Hi all, hi Thal:
so, finally got to play a complete game of 7.4, and wow... probably the most interesting (diplomatic-wise) game of Civ V I've played so far. Only problem is... I can't finish it! Attached is the save-game, and exactly 4-5 turns from there the game will crash to desktop. Running only Thal's Balance and City State Diplomacy, all dlcs including Vikings. Hope it will be useful, great job! :goodjob:
 

Attachments

Exactly same problem for me. Not that far into my game but at the end of my turn the game crashes straight to desktop.

I'm not using any other mods. Have tried the basic fixes - delete cache etc.

Really enjoying what I've seen so far though. Please help!
 

Attachments

Just tried checking them, twice to be sure, then ran the savegame... exactly 5 turns, and ctd... I'll try a new game soon, see if I can replicate with a fresh one. Probably it's just a one time bug, never encountered it before with the mod.
 
Ok, so new game, same deal as before but using the tectonics mapscript (just for the record): so now the game crashes at turn 96! So the savegame attached will replicate the bug immediately, hopefully. Hope it helps!:)
 

Attachments

And I finally got up from my lazy bum and installed the Live Tuner, maybe it will be more helpful? Anyway, here it is.

Hi! Nice to see you again.
[ Lua State = Main State ]
InstalledPanel: Refreshing Mods
InstalledPanel: Refreshing Mods
InstalledPanel: Refreshing Mods
Runtime Error: [string "C:\Users\Zio\Documents\My Games\Sid Meier's..."]:19: attempt to index global 'MapModData' (a nil value)
Runtime Error: [string "Assets\Gameplay\Lua\AssignStartingPlots.lua"]:18: attempt to index global 'Events' (a nil value)
CivilopediaScreen: SetSelectedCategory(12)
CivilopediaScreen: CivilopediaCategory[CategoryTerrain].DisplayList
CivilopediaScreen: SetSelectedCategory(1)
CivilopediaScreen: CivilopediaCategory[CategoryHomePage].DisplayList
Tutorial: Enabling Tutorial
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmImprovementRebuildPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\CityPlotManagementPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmCommandPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\MinorCivEnterTerritoryPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\LiberateMinorPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ReturnCivilianPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\AnnexCityPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\DeclareWarMovePopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\BarbarianRansomPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmGiftPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmCityTaskPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\PuppetCityPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\DeclareWarRangeStrikePopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmPolicyBranchPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\MinorCivGoldPopup.lua
BC - Events: DEBUG Barbarian Skirmisher on ARCTIC (total=41.71 hill=0.04 desert=0.00 arctic=0.29 veggie=0.02)
Tutorial: City building complete
NotificationPanel: Unknown Notification, Adding generic 92
 
Also, tried the first game when i got the problem, and oddly enough, this time I went around 20-30 turns ahead before the crash! Also, got this from the lua console:

Hi! Nice to see you again.
[ Lua State = Main State ]
InstalledPanel: Refreshing Mods
InstalledPanel: Refreshing Mods
InstalledPanel: Refreshing Mods
InstalledPanel: Refreshing Mods
CivilopediaScreen: SetSelectedCategory(12)
CivilopediaScreen: CivilopediaCategory[CategoryTerrain].DisplayList
CivilopediaScreen: SetSelectedCategory(1)
CivilopediaScreen: CivilopediaCategory[CategoryHomePage].DisplayList
Tutorial: Enabling Tutorial
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmImprovementRebuildPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\CityPlotManagementPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmCommandPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\MinorCivEnterTerritoryPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\LiberateMinorPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ReturnCivilianPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\AnnexCityPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\DeclareWarMovePopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\BarbarianRansomPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmGiftPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmCityTaskPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\PuppetCityPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\DeclareWarRangeStrikePopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\ConfirmPolicyBranchPopup.lua
GenericPopup: Loaded Popup - Assets\UI\InGame\PopupsGeneric\MinorCivGoldPopup.lua
BC - Events: DEBUG Barbarian Mercenary on ARCTIC (total=33.30 hill=0.04 desert=0.00 arctic=0.08 veggie=0.00)
BC - Events: DEBUG Barbarian Musketman on VEGGIE (total=36.00 hill=0.01 desert=0.00 arctic=0.00 veggie=0.04)
NotificationPanel: Unknown Notification, Adding generic 840
ActionInfoPanel: UI thinks that we can't end turn, but the notification system disagrees
Tutorial: City building complete
BC - Events: DEBUG Barbarian Robber on ARCTIC (total=37.59 hill=0.07 desert=0.00 arctic=0.16 veggie=0.00)
BC - Events: INFO CityCaptured()
BC - Events: DEBUG Best unit: UNIT_INFANTRY
BC - Events: DEBUG Partisans
BC - Events: INFO CityCaptured()
BC - Events: DEBUG Best unit: UNIT_INFANTRY
BC - Events: DEBUG Partisans
NotificationPanel: Unknown Notification, Adding generic 862
BC - Events: DEBUG Quebec City Cannon on ARCTIC (total=33.30 hill=0.12 desert=0.00 arctic=0.23 veggie=0.03)
NotificationPanel: Unknown Notification, Adding generic 866
BC - Events: INFO CityCaptured()
BC - Events: DEBUG Best unit: UNIT_INFANTRY
BC - Events: DEBUG Partisans
BC - Events: INFO CityCaptured()
BC - Events: DEBUG Best unit: UNIT_INFANTRY
BC - Events: DEBUG Partisans
NotificationPanel: Unknown Notification, Adding generic 877
ChooseFreeItem: Displaying Choose Free Item Popup
ChooseFreeItem: Adding unit UNIT_ENGINEER
BC - Events: INFO CityCaptured()
BC - Events: DEBUG Best unit: UNIT_INFANTRY
BC - Events: DEBUG Partisans
NotificationPanel: Unknown Notification, Adding generic 886
BC - Events: INFO CityCaptured()
NotificationPanel: Unknown Notification, Adding generic 905
NotificationPanel: Unknown Notification, Adding generic 908
NotificationPanel: Unknown Notification, Adding generic 909
NotificationPanel: Unknown Notification, Adding generic 910
BC - Events: DEBUG Quebec City Anti-Aircraft Gun on ARCTIC (total=37.59 hill=0.11 desert=0.00 arctic=0.21 veggie=0.03)
BC - Events: DEBUG Barbarian Partisan on ARCTIC (total=34.83 hill=0.03 desert=0.00 arctic=0.15 veggie=0.00)
BC - Events: DEBUG Barbarian Partisan on ARCTIC (total=20.45 hill=0.04 desert=0.00 arctic=0.36 veggie=0.02)
ActionInfoPanel: UI thinks that we can't end turn, but the notification system disagrees
\Users\Zio\Documents\My Games\Sid Meier's Civilization 5\MODS\Unofficial Patch and Thals Balance (v 74)\CiVUP - Civ V Unofficial Patch\Thal Utilities\TU - Event Registration: INFO GiveMilitaristicRewards Isabella rateMod=1.00 turnRate=15
\Users\Zio\Documents\My Games\Sid Meier's Civilization 5\MODS\Unofficial Patch and Thals Balance (v 74)\CiVUP - Civ V Unofficial Patch\Thal Utilities\TU - Event Registration: DEBUG Reward=UNIT_ROCKET_ARTILLERY XP=60
NotificationPanel: Unknown Notification, Adding generic 945
BC - Events: DEBUG Barbarian Partisan on ARCTIC (total=34.83 hill=0.03 desert=0.00 arctic=0.15 veggie=0.00)
BC - Events: DEBUG Barbarian Bandit on VEGGIE (total=40.86 hill=0.01 desert=0.00 arctic=0.00 veggie=0.03)
UnitFlagManager: ERROR Flag not found for DoNewUnitRefresh: Player[0] Unit[868377]
 
Thanks for the tuner output, that will be helpful for me to figure out where the issue is. It looks like there's a problem with some custom notification. It's difficult to track down custom notification errors because of the way some things work internally in Civ (contexts) but I'll work on it.

Could you attach your mods, cache, and moduserdata folders as well?
 
I guess a custom notification makes sense because my game crashes on the same turn each time.
Hope you can find out what the problem is. Thanks for your help so far.
 
I've uploaded v7.3 back to the two places (blog and mod browser) so hopefully that will work for everyone until I can figure out how to solve this problem.

The "unknown notification" problem is turning out to be frustratingly difficult to figure out, because my execution trace went back to a part of the code we don't have access to (in the c++).

It wasn't hard to track down where the "unknown" message itself occurs... a function is attempting to make a notification with type 0, which does not exist. The function that does it is not accessible to us, so I know the bug can't be there because I can't change it. This means it must not be a problem with the code itself at all. It's some sort of meta-error with how I have the files organized in the project and contexts set up in the notification event xml definitions.

I did some re-organizing lately, and somehow I put a file in the wrong place or have a typo in the "update database" statements, and there's hundreds of them. I'm diligently searching for the source but this is proving difficult.
 
In the worst case scenario I'll just start with the last version that worked, and re-apply all the changes from the patch notes. It's easy to miss a bug when looking at it, but harder when actually writing it.
 
Back
Top Bottom