LoneGazebo / Community-Patch-DLL

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

Barbarians (Crom) turn takes too long. #11223

Open vaderkos opened 3 months ago

vaderkos commented 3 months ago

1. Mod Version (4.15.2). Current Version: 4.15.2 Multiplayer: true Modpack: 4.15.2_VP-SSEMSU-EUI.zip From: https://drive.google.com/drive/folders/1Qq5mWnGGv2uuEPA62azseUhw-pE4--3O

2. DirectX Version 11

3. List of Other Mods As mentioned in modpack

4. Describe the Issue Barbarians (Crom) turn takes too long after turn 129. Like 1-2 minutes.


5. Save Game From 1 Turn Before (ALWAYS ATTACH THIS IF POSSIBLE) Includes autosaves before the issue k Theodora_0130 AD-0375.zip

6. Logs (ALWAYS ATTACH THESE IF POSSIBLE) Logs.zip

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

8. Steps to reproduce the Issue (Optional) Load the save _k Theodora0130 AD-0375

9. Screenshots of the Issue (Optional) N/A

_10. Other

axatin commented 3 months ago

One of Hanoi's units is stuck somewhere, and it seems in multiplayer the game intentionally tries to move it 1,000 times image Is anyone familiar with that part of the code? Why it is necessary to retry it that often in MP?

And: In light of the assert message, should it not happen at all that units get stuck, should something be fixed there?

Cyclopia31 commented 3 months ago

Hi @axatin, @seroperson had already encountered this kind of problem, maybe this can help you?

  1. https://github.com/LoneGazebo/Community-Patch-DLL/pull/9783
  2. https://github.com/LoneGazebo/Community-Patch-DLL/issues/9885#issuecomment-1565546596
seroperson commented 3 months ago

I don't know why there is 1000 timeout for MP, maybe it really matters, but the problem is not the timeout itself, but likely some bug which leaves some unit unprocessed (like in issue which @Cyclopia31 mentioned). So, we need to find this unit and find why it wasn't marked as processed 👍 This bug affects both SP and MP, just it's not so noticeable in SP because of smaller timeout.