LoneGazebo / Community-Patch-DLL

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

4.5.1 CTD on end turn 304 #10704

Closed DhuBleidd closed 8 months ago

DhuBleidd commented 8 months ago

_1. Mod Version (X.Y.Z). Current Version: 4.5.1 4.5.1 with EUI

2. DirectX Version DX 10 & 11

3. List of Other Mods R.E.D Modpack Calypsos Colored Religious Icons Great Prophet Historical Names Really Advanced Setup Reforestation Units wake up when upgradeable Wonder race UI - Improved City View (Vox Populi EUI)

4. Describe the Issue CTD on ending turn 304 no matter what I do on the preceding turns. Game was completely fine up until now - it is the turn of first World Congress vote which is the only new thing AFAIK. I have also been using the same list of mods for ages with no issues.


5. Save Game From 1 Turn Before (ALWAYS ATTACH THIS IF POSSIBLE) AutoSave_0302 AD-1410.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) Do whatever in the last turn, click next turn on turn 304 and game crashes.

9. Screenshots of the Issue (Optional)

Apologies if I forgot something or missed something obvious its my first time submitting here.

ilteroi commented 8 months ago

minidump points to CvEspionageAI::BuildOffenseCityList()

        TeamTypes eTargetTeam = GET_PLAYER(eTargetPlayer).getTeam();
        CvDiplomacyAI* pTargetDiploAI = GET_PLAYER(eTargetPlayer).GetDiplomacyAI();

don't see the problem though - eTargetPlayer is valid?

axatin commented 8 months ago

Fixed by 695a227