Gedemon / Civ6-YnAMP

Yet (not) Another Maps Pack for Civilization VI
184 stars 122 forks source link

Broken create game screen #125

Open FelipeBodelon opened 4 years ago

FelipeBodelon commented 4 years ago

As some other people, I believe this mod breaks that screen. My game is fully updated (steam version), and it's just the base game (no DLC).

The mod sometimes work, I get the create game screen perfectly but when starting a game it stops me and asks me to change mods, after that the screen remains broken.

When it does work (showing the screen correctly), is when managing mods and selecting a setup after startup of the game. When it doesn't work is when I have a mod setup with YnAMP selected from startup. To fix it I need to close the game and validate files via Steam, where I get a message telling me 3 files are missing/corrupt.

Thanks on this great work of a mod btw, hope I can get a fix. Would it be better if I install manually?

Database.log before starting any game (just selecting the create game screen):

[290586.857] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[290598.436] [Localization]: Validating Foreign Key Constraints...
[290598.437] [Localization]: Passed Validation.
[290598.458] [Configuration]: Validating Foreign Key Constraints...
[290598.459] [Configuration]: Passed Validation.
[290609.336] [FullTextSearch]: Initializing FullTextSearch
[290611.954] [Gameplay]: Validating Foreign Key Constraints...
[290611.969] [Gameplay]: Passed Validation.
[290613.195] [Localization] ERROR: Database::XMLSerializer (ConfigText_ko_KR.xml): Duplicate column names detected in <Row>. Name: Replace, Value: 
[290613.196] [Localization]: In XMLSerializer while updating table LocalizedText from file ConfigText_ko_KR.xml.
[290614.747] [Configuration]: Validating Foreign Key Constraints...
[290614.749] [Configuration]: Passed Validation.
[290619.709] [HallofFame]: Database found. Checking versions...
[290619.714] [HallofFame]: Database is up-to-date!
[290624.896] [FullTextSearch]: FTS - Creating Context
[290670.075] [Localization] ERROR: Database::XMLSerializer (ConfigText_ko_KR.xml): Duplicate column names detected in <Row>. Name: Replace, Value: 
[290670.075] [Localization]: In XMLSerializer while updating table LocalizedText from file ConfigText_ko_KR.xml.
[290670.300] [Configuration]: Validating Foreign Key Constraints...
[290670.301] [Configuration]: Passed Validation.
[290672.917] [Localization] ERROR: Database::XMLSerializer (ConfigText_ko_KR.xml): Duplicate column names detected in <Row>. Name: Replace, Value: 
[290672.917] [Localization]: In XMLSerializer while updating table LocalizedText from file ConfigText_ko_KR.xml.
[290673.107] [Configuration]: Validating Foreign Key Constraints...
[290673.107] [Configuration]: Passed Validation.

Lua.log:

Mods: FinalFreak16: Loading Mod - Enhanced Mod Manager.
MainMenu: Loading MainMenu.lua for YnAMP...
MainMenu: Game version : 1.0.0.341 (443561)
Test: Test.LUA loaded!
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
AdvancedSetup: loading AdvancedSetup for Yet (not) Another Maps Pack...
Runtime Error: D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:878: attempt to index a nil value
stack traceback:
    D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:878: in function 'OnShow'
Lua callstack:
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
AdvancedSetup: Building Game Setup
AdvancedSetup: Player Count Changed
AdvancedSetup: There are 6 participating players.
Runtime Error: D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\PlayerSetupLogic.lua:667: attempt to index a nil value
stack traceback:
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\PlayerSetupLogic.lua:667: in function 'SetupLeaderPulldown'
    D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:775: in function 'RefreshPlayerSlots'
    D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:856: in function 'GameSetup_PlayerCountChanged'
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\GameSetupLogic.lua:82: in function 'GameParameters_WriteAuxParameterValues'
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Scripts\SetupParameters.lua:658: in function 'SetupParameters:Config_WriteParameterValues'
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Scripts\SetupParameters.lua:307: in function 'SetupParameters:UpdateParameters'
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Scripts\SetupParameters.lua:200: in function 'SetupParameters:FullRefresh'
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\GameSetupLogic.lua:569: in function 'BuildGameSetup'
    D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\PlayerSetupLogic.lua:1079: in function 'GameSetup_RefreshParameters'
    D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:849: in function 'OnFinishedGameplayContentConfigure'
AdvancedSetup: Hiding Game Setup
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
Runtime Error: D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:878: attempt to index a nil value
stack traceback:
    D:\SteamLibrary\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:878: in function 'OnShow'
Lua callstack:
AdvancedSetup: ------------------------------------------------------
AdvancedSetup: YnAMP checking for number of players limit on Start...
AdvancedSetup: num. players = 6, num. CS = 10
AdvancedSetup: ------------------------------------------------------
AdvancedSetup: YnAMP setting specific CS slots...
AdvancedSetup: free slots = 10
AdvancedSetup:  - Free slots left for random CS = 10
AdvancedSetup: ------------------------------------------------------
AdvancedSetup: Setup Player slots :
AdvancedSetup: 0    LEADER_JRA_LEADER_CUSTOM    LEADER_JRA_LEADER_CUSTOM    CIVILIZATION_JRA_CIV_CUSTOM LOC_LEADER_JRA_LEADER_CUSTOM_NAME   SS_COMPUTER CIVILIZATION_LEVEL_FULL_CIV true
AdvancedSetup: 1    nil nil nil LOC_RANDOM_LEADER   SS_COMPUTER CIVILIZATION_LEVEL_FULL_CIV true
AdvancedSetup: 2    nil nil nil LOC_RANDOM_LEADER   SS_COMPUTER CIVILIZATION_LEVEL_FULL_CIV true
AdvancedSetup: 3    nil nil nil LOC_RANDOM_LEADER   SS_COMPUTER CIVILIZATION_LEVEL_FULL_CIV true
AdvancedSetup: 4    nil nil nil LOC_RANDOM_LEADER   SS_COMPUTER CIVILIZATION_LEVEL_FULL_CIV true
AdvancedSetup: 5    nil nil nil LOC_RANDOM_LEADER   SS_COMPUTER CIVILIZATION_LEVEL_FULL_CIV true
AdvancedSetup: 6    nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 7    nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 8    nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 9    nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 10   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 11   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 12   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 13   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 14   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 15   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 16   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 17   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 18   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 19   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 20   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 21   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 22   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 23   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 24   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 25   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 26   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 27   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 28   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 29   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 30   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 31   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 32   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 33   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 34   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 35   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 36   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 37   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 38   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 39   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 40   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 41   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 42   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 43   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 44   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 45   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 46   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 47   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 48   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 49   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 50   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 51   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 52   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 53   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 54   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 55   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 56   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 57   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 58   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 59   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 60   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 61   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 62   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
AdvancedSetup: 63   nil nil nil LOC_SLOTTYPE_CLOSED SS_CLOSED   UNK LEVEL   false
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
AdvancedSetup: Hiding Game Setup
LoadScreen: Loading LoadScreen.lua from Better Loading Screen v1.7
LoadScreen: OK loaded LoadScreen.lua from Better Loading Screen
LoadScreen: OnLoadGameViewStateDone
Mods: FinalFreak16: Loading Mod - Enhanced Mod Manager.
MainMenu: Loading MainMenu.lua for YnAMP...
MainMenu: Game version : 1.0.0.341 (443561)
Test: Test.LUA loaded!
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
JoiningRoom: OnFinishedGameplayContentConfigure() g_waitingForContentConfigure=true
Gedemon commented 4 years ago

Thanks for the logs, can you replicate the issue without the other "FrontEnd" mods (Enhanced Mod Manager, Better Loading Screen, ...) ?

It could be an incompatibility issue between mods changing the same parts of the setup.

The "3 files are missing/corrupt" happens every time you check the files, it's not relevant.