LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
289 stars 160 forks source link

Unable to add CIV #10082

Open Murderologist opened 1 year ago

Murderologist commented 1 year ago

1. Mod Version (X.Y.Z). Current Version: 3.7.12

Using Current Version 3.7.12 with EUI

2. DirectX Version

10/11

3. List of Other Mods

VP mods and IGE

4. Describe the Issue

I have a custom scenario I created on a very large map. Everything works fine cities are places there is currently 6 civs places on the map and 14+ city states. If I load the game in this state with VP it launches just fine. I do this to test the stability. If I add another civ in WB to the scenario and load up the game it will crash when I click "start game". If I turn off VP and start that same game with the 7th civ added it will start the game. If I turn VP back on and remove the 7th civ it will start the game. Why can I not add anymore civs to the game on 128x90 map? I have run it in the past with VP before no issues.


5. Save Game From 1 Turn Before (ALWAYS ATTACH THIS IF POSSIBLE)

6. Logs (ALWAYS ATTACH THESE IF POSSIBLE)

[31976.718] Validating Game Database * [31979.187] Performing Localization Checks [31979.187] Checking Tag Format... [31979.187] Note: Tags must only use [A-Z_] characters, start with 'TXTKEY', and be under 128 characters long. [31979.203] Validating UnitGameplay2DScripts [31979.203] Missing Entry for UNIT_BARBARIAN_HORSEMAN [31979.203] VALIDATION FAILED * [31979.203] Validation Took 2.495039 seconds [31979.703] Validating Prefetch Process * [31979.703] Validation Success * [31979.703] SetGlobalActionInfo [31979.703] -- SQLite Memory Statistics -- Memory Usage: [Cur] [Max] Malloc: 6218552 75878648 PageCache: 6 12 LookAside: 0 0 Scratch: 0 1

Static Buffer Overflows: [TooLarge] [NoSpace] PageCache: 5803560 62917176 Scratch: 0 0

Largest Allocations: Malloc: 262144 PageCache: 1172 Scratch: 6640

Prepared Statements: Current: 6

[31979.734] Validating Game Database * [31982.187] Performing Localization Checks [31982.187] Checking Tag Format... [31982.187] Note: Tags must only use [A-Z_] characters, start with 'TXTKEY', and be under 128 characters long. [31982.203] Validating UnitGameplay2DScripts [31982.203] Missing Entry for UNIT_BARBARIAN_HORSEMAN [31982.203] VALIDATION FAILED * [31982.203] Validation Took 2.461926 seconds [31982.671] Validating Prefetch Process * [31982.671] Validation Success * [31982.671] SetGlobalActionInfo [31982.671] -- SQLite Memory Statistics -- Memory Usage: [Cur] [Max] Malloc: 6219728 75878648 PageCache: 6 12 LookAside: 0 0 Scratch: 0 1

Static Buffer Overflows: [TooLarge] [NoSpace] PageCache: 5804736 62917176 Scratch: 0 0

Largest Allocations: Malloc: 262144 PageCache: 1172 Scratch: 6640

Prepared Statements: Current: 6

[32015.234] Validating Game Database * [32015.234] Table 'ArtDefineUnitMemberCombatWeapons' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'MinorCivilizations' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'MultiplayerOptions' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'ReplayDataSets' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'HistoricRankings' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'FakeFeatures' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'GreatWorkSlots' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'GreatWorkClasses' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'GreatWorks' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'GreatWorkArtifactClasses' contains 'ID' column that starts at 1 instead of 0. [32015.250] Table 'Leaders' contains 'ID' column that starts at 1 instead of 0. [32015.265] Table 'Events' contains 'ID' column that starts at 1 instead of 0. [32015.265] Table 'EventChoices' contains 'ID' column that starts at 1 instead of 0. [32015.265] Table 'CityEvents' contains 'ID' column that starts at 1 instead of 0. [32015.265] Table 'CityEventChoices' contains 'ID' column that starts at 1 instead of 0. [32019.625] Performing Localization Checks [32019.625] Checking Tag Format... [32019.625] Note: Tags must only use [A-Z] characters, start with 'TXTKEY', and be under 128 characters long. [32019.640] Validating UnitGameplay2DScripts [32019.640] VALIDATION FAILED * [32019.640] Validation Took 4.406816 seconds [32021.312] Validating Prefetch Process * [32021.312] Validation Success * [32021.328] SetGlobalActionInfo [32021.328] -- SQLite Memory Statistics -- Memory Usage: [Cur] [Max] Malloc: 9833936 75878648 PageCache: 10 16 LookAside: 0 0 Scratch: 0 1

Static Buffer Overflows: [TooLarge] [NoSpace] PageCache: 9048144 63005376 Scratch: 0 0

Largest Allocations: Malloc: 262144 PageCache: 1172 Scratch: 6640

Prepared Statements: Current: 10

[31967.281] columns StrategicViewType, TileType are not unique [31967.281] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)' [31968.828] no such table: ContentPackage.LocalizedText [31968.828] no such table: ContentPackage.LocalizedText [31968.828] no such table: ContentPackage.LocalizedText [31969.875] no such table: ContentPackage.LocalizedText [31971.375] columns StrategicViewType, TileType are not unique [31971.375] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)' [31972.218] no such table: ContentPackage.LocalizedText [31972.218] no such table: ContentPackage.LocalizedText [31972.218] no such table: ContentPackage.LocalizedText [31976.718] Validating Foreign Key Constraints... [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31976.718] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.187] Failed Validation. [31979.703] -- SQLite Memory Statistics -- Memory Usage: [Cur] [Max] Malloc: 6218552 75878648 PageCache: 6 12 LookAside: 0 0 Scratch: 0 1

Static Buffer Overflows: [TooLarge] [NoSpace] PageCache: 5803560 62917176 Scratch: 0 0

Largest Allocations: Malloc: 262144 PageCache: 1172 Scratch: 6640

Prepared Statements: Current: 6

[31979.750] Validating Foreign Key Constraints... [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31979.750] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes [31982.187] Failed Validation. [31982.671] -- SQLite Memory Statistics -- Memory Usage: [Cur] [Max] Malloc: 6219728 75878648 PageCache: 6 12 LookAside: 0 0 Scratch: 0 1

Static Buffer Overflows: [TooLarge] [NoSpace] PageCache: 5804736 62917176 Scratch: 0 0

Largest Allocations: Malloc: 262144 PageCache: 1172 Scratch: 6640

Prepared Statements: Current: 6

[32007.421] columns StrategicViewType, TileType are not unique [32007.421] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)' [32008.187] no such table: ContentPackage.LocalizedText [32008.187] no such table: ContentPackage.LocalizedText [32012.750] no such table: Language_zh_CN [32012.750] In Query - insert into Language_zh_CN('Tag', 'Text') values (?, ?); [32012.750] In XMLSerializer while updating table Language_zh_CN from file Localization/IGE_ZH_CN.xml. [32015.265] Validating Foreign Key Constraints... [32019.625] Passed Validation. [32021.328] -- SQLite Memory Statistics -- Memory Usage: [Cur] [Max] Malloc: 9833936 75878648 PageCache: 10 16 LookAside: 0 0 Scratch: 0 1

Static Buffer Overflows: [TooLarge] [NoSpace] PageCache: 9048144 63005376 Scratch: 0 0

Largest Allocations: Malloc: 262144 PageCache: 1172 Scratch: 6640

Prepared Statements: Current: 10

7. CvMiniDump.dmp File (ATTACH IF REPORTING A GAME CRASH)

Not supported to drag how am i supposed to get this file to you?

Windbug best i could do

Microsoft (R) Windows Debugger Version 10.0.10586.567 AMD64 Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization V\CvMiniDump.dmp] User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv* Executable search path is: Windows 8 Version 9200 MP (4 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS Personal Machine Name: Debug session time: Tue Aug 15 00:56:56.000 2023 (UTC - 4:00) System Uptime: not available Process Uptime: 0 days 0:01:46.000 ................................................................ ................................................................ .................................. This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (10fc.b28): Access violation - code c0000005 (first/second chance not available) eax=00000000 ebx=0696dc64 ecx=00000000 edx=00000000 esi=00001bd4 edi=0696db84 eip=77b7398c esp=0696d17c ebp=0696d188 iopl=0 nv up ei pl nz na po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202 ntdll!NtGetContextThread+0xc: 77b7398c c20800 ret 8 0:000> g ^ No runnable debuggees error in 'g'

8. Steps to reproduce the Issue (Optional)

9. Screenshots of the Issue (Optional)

Database.log Lua.log xml.log

Murderologist commented 1 year ago

I did a little bit more digging into the matter and found the last version I was able to use for the past few months was VP 2.7. The very next update VP 2.7.1 is small but features a specific fix to WB Maps which is what im using. From that point forward I have not been able to use any of the large custom WB maps. Whatever happened from 2.7 to now if blocking WB Custom maps again. Hope this helps any. I can get all the way to "Start game" upon clicking start game from 2.7 up Instant crash. Again if remove that additional 7th civ however the game starts. Please help I have not been able to play an updated version of VP since 2.7

axatin commented 7 months ago

@mwhiter They are referring to your commit https://github.com/LoneGazebo/Community-Patch-DLL/commit/6efee6b98bffe235cd7e60ea088dcdf82bac8998, can you investigate the issue? Also, if you're familiar with world builder, can you maybe share your thoughts on #10456 ?