LoneGazebo / Community-Patch-DLL

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

Occupied cities don't apply unhappiness correctly #9957

Closed Tesla101a closed 1 year ago

Tesla101a commented 1 year ago

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

3.6.2, but I've noticed this for a long time just never documented it until now

2. DirectX Version

11

3. List of Other Mods

meaningful colors v12 flagpromotions v7 global passable forts v3 goody huts - no maps v2 infoaddict v22 promotions - crossover v8 R.E.D. modpack v27 submarines ignore bhorders v3UI small resource icons v4 Units - cheap workboart v2

4. Describe the Issue

I don't know exactly what's going on, but it feels like when you annex an occupied city, it doesn't apply any happiness penalties. But once you build a courthouse, it applies them.


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

Casimir III_0509 AD-1919.zip

6. Logs (ALWAYS ATTACH THESE IF POSSIBLE)

Logs are in excess of 500MB, just let me know which log file is relevant and I'll send it

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

8. Steps to reproduce the Issue (Optional)

Attached save game just before finishing courthouse. Screenshots, too.

9. Screenshots of the Issue (Optional) courthouse courthouse city screen happiness level happiness level after courthouse

azum4roll commented 1 year ago

Next time please mention you're playing CP only.

Tesla101a commented 1 year ago

My mistake, sorry about that.

Tesla101a commented 1 year ago

Alright I have logs, screenshots, savegames. I see that it's the "Population in Occupied Cities" which seems to be off by 2 decimal places. See comparison screenshots between no Community Patch and Community Patch only 3.8.1. In Game Editor was used in both circumstances to capture a rival civs 1-population capital. On a large map in the vanilla game plus IGE, I suffer 1.34 unhappiness from population in occupied cities. But on a large map in Community Patch Only (v.3.8.1) only suffering 0.01 unhappiness from population in occupied cities. Courthouse does remove the penalties correctly, I've found. Vanilla game: Screenshot 2023-08-24 224314

Community Patch 3.8.1: Screenshot 2023-08-24 225310

Savefiles: savefiles.zip

Logs: logs.zip

Hope this helps, thanks, I appreciate your time.