LoneGazebo / Community-Patch-DLL

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

CTD after next turn #11292

Closed Teronis closed 1 month ago

Teronis commented 1 month ago

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

I am using the 4.16.0_BigPack2.zip from here https://drive.google.com/drive/folders/1gkF-7g075fsW2hEoouNv0J5dc5tR3Bf-

PLEASE NOTE that I am playing this game solo with the multiplayer modpack installed. This is because I usually play multiplayer but this game I just accessed it via the single player menu (I have managed games this way before all the way through - as far as I am aware there are no issues with doing so)

2. DirectX Version

Not a graphical issue

3. List of Other Mods

No mods other than what is included in that 'big pack'

4. Describe the Issue

CTD after going to my next turn. I have provided more info in section 8 below.


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

AutoSave_0161 AD-1010.zip

6. Logs (ALWAYS ATTACH THESE IF POSSIBLE)

Turn 161 Arabia-Giggsidan.zip

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

CvMiniDump.zip

8. Steps to reproduce the Issue (Optional)

I have provided a save from the turn before the CTD. You'll see I (Arabia) am about to take Berlin. I do so and then move a few other units and end my turn, and then at the start of the next turn I receive a few leader screens (declaration of friendship, etc.) and I see a popup saying I have a monopoly on Amber and then just before I am actually given control to play my turn, the game CTDs. I cleared my cache and tried doing the same thing again and the CTD happened again. I also tried to redo the turn without taking Berlin to see if that was the problem, but the game still CTDs.

9. Screenshots of the Issue (Optional)

skodkim commented 1 month ago

Would be possible to fix this CTD issue regardless of the ongoing 4UC-work? It's really game breaking right now. I've tried multiple times but the game always starts crashing in the Medieval age or so.

KungCheops commented 1 month ago

It seems like the issue is caused by using the route-to worker action. As a temporary workaround you can stop using that.

skodkim commented 1 month ago

Seriously, it's that easy? And there's nothing with ai's using the action that can cause the crash?

If not, whoop whoop - of to play again 🤩

KungCheops commented 1 month ago

Seriously, it's that easy? And there's nothing with ai's using the action that can cause the crash?

If not, whoop whoop - of to play again 🤩

it's a human only mechanic :)

skodkim commented 1 month ago

@KungCheops , just tried booting up my save game where the game crashes upon turnover. I went through ALL workers who were performing a route to action and cancelled the order. Unfortunately, the game still crashes.

I then tried loading the game again and also cancelled all normal create road order just to test, but it still crashes.

This is a heavily modded game, but apart from minor changes changes no mod has been updated except from this since the setup was stable.

Is there any chance you could have a look at my minidump file? REALLY looking forward to playing the game again but crashes have been consistent over several games right about the medieval age!

CvMiniDump.dmp

skodkim commented 1 month ago

Could it be bacause I already had some "route to" orders that had been executed this turn (the game was saved after "end Turn" but there was a unit missing orders after moving?

KungCheops commented 1 month ago

could be that there is a separate issue causing CTDs around medieval

skodkim commented 1 month ago

My guess is as good as yours. That's why I was hoping the minidump file could help.

skodkim commented 1 month ago

And it can't be because I already had half finished routes that were started with "route to"?

Teronis commented 1 month ago

It seems like the issue is caused by using the route-to worker action. As a temporary workaround you can stop using that.

Thanks. Yep, I reloaded the save and cancelled my workers' route-to actions and I can finally move past that turn. It's amazing that something like that could cause a crash; do you have any more info as to why?

KungCheops commented 1 month ago

there's an infinite loop that happens when two workers are standing in the same tile and trying to figure out which road to build

skodkim commented 1 month ago

Hmmm, that doesn't sound like the ctd I'm experiencing...

skodkim commented 1 month ago

Maybe I should elaborate. I have no workers on the same plots at all and the ctd always happens when the last ai country get its turn.

KungCheops commented 1 month ago

then it's probably a different bug

axatin commented 1 month ago

That's a different bug then, please upload a save game

skodkim commented 1 month ago

I'll do that as soon as i get the chance. But just to check A you're still interested even though I run other mods and B should I upload (link to) these as well?

Thanks for the help!!!

skodkim commented 1 month ago

OK, so Savegame from end of turn just before the CTD it here along with two different minidump files and full mod collection

https://www.dropbox.com/scl/fi/9uybzvn5ba7rbxg3qcgbx/Bug_Report_20240929.ZIP?rlkey=3plf5r5lyw0z21mxjhxlhttye&dl=0

axatin commented 1 month ago

OK, so Savegame from end of turn just before the CTD it here along with two different minidump files and full mod collection

https://www.dropbox.com/scl/fi/9uybzvn5ba7rbxg3qcgbx/Bug_Report_20240929.ZIP?rlkey=3plf5r5lyw0z21mxjhxlhttye&dl=0

fixed for the next version. it was helpful that you uploaded all the mods, that made it much easier to reproduce the issue.

skodkim commented 1 month ago

I'm the one who's grateful here! Looking very much forward to being able to play again 😊