LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
287 stars 159 forks source link

CTD upon discovery of city state in hotseat (with human players in the same team) #9194

Closed sofrondr closed 2 years ago

sofrondr commented 2 years ago

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

COMMUNITY PATCH ONLY 2.6 as modpack created by me (plays ok in singleplayer, city states can be met) .dll hotfix does not fix this issue

2. DirectX Version

DX 10&11

3. List of Other Mods

No other mods, just changed 18 to allow more AI on small map in MP_MODSPACK/Override/CIV5Units.xml

4. Describe the Issue

While sending any unit to discover any city state, the game crashes. To describe the game: Hotseat with 2 humans in one team against 10 AI and 10 CS on small Pangea (Xml changed to allow more AI, see 3). Event system active but all kinds of events turned off. Random personalities, Policy saving, Time victory turned off but otherwise no changes in setup.


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

Wu Zetian_0013 BC-3480.zip

6. Logs (ALWAYS ATTACH THESE IF POSSIBLE)

Logs.zip

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

CvMiniDump.zip

8. Steps to reproduce the Issue (Optional)

Move the Chinese warrior north-east, as to explore the city state. The game crashes before revealing new tiles.

9. Screenshots of the Issue (Optional)

sofrondr commented 2 years ago

I have tested several game setups and I am now confident that it has something to do with human players being on the same team (sharing line of sight and thus discovering a city state in the same moment? Maybe city states cannot deal with that?).

What I tried several times: 1) Exact same setup, but human players in different teams (new map + new random civs/CS)-> city states can be met normally 2) Exact same setup as I originally reported (new map + new random civs/CS)-> CTD upon discovery of city state

So, if I might generalize reproduction steps: 1) Start Hotseat with 2 human players in the same team and with city states present (I can provide setup values, but that doesnt seem to matter). 2) As soon as you make a move resulting in contact with city state, the game crashes before revealing the new territory

It doesnt seem to care about number of AIs as the behavior is the same in both scenarios (tested 4 AIs / 10 AIs).