Bug in Unoff. patch + Enhanced Mod? - Too much production in city

martinpraha

Chieftain
Joined
Apr 21, 2013
Messages
15
Hello. I have installed Civ5+GK + 2 modes: Civ V Unofficial Patch v2.5.2 (GK) (v 1), G&K Enhanced Mod (v1.13.4) (v 1). I play large map, highlands, 12 civs instead of 10, Egypt, emperor, marathon.

It has happened to me 3 times that one of my cities (at my last game it was 3rd established city. In my previous games, I am not sure, but it was definitely 2nd, 3rd or 4th established city) get unusually high production which grows a lot. I believe it is a bug - when I establish the city, it has 2food + 5production in its city-hex while other cities have only 2food + 4production. However the production grows ridiculously over the time to be like 22production in 120 turns in its one city-hex (while other cities still have 2food + 4 production).

It has ruined me couple of games recently. Has anyone ever had similar issue? What causes it?

Also, is there any way to correct it (by some world builder or something like that - which I have never used) - I do not want to start again and again, play a day or two and then stop because of the bug.

Thank you for your answer.

PS: I am attaching screenshot. In it I have made all citizens "unemployed" to show that nothing else but buildings and the city-hex creates production. I am also attaching save from the time when I am going to establish that 3rd city (by chance, it is near barbarians however I tried to establish it somewhere else and it got bugged as well) and save from more or less turn no. 265.

Moderator Action: Moved to the respective subforum.
 

Attachments

  • Ramesses II_0143 BC-2070.Civ5Save
    Ramesses II_0143 BC-2070.Civ5Save
    1.1 MB · Views: 41
  • QuickSave.Civ5Save
    QuickSave.Civ5Save
    1.3 MB · Views: 89
  • screenshot.jpg
    screenshot.jpg
    212.1 KB · Views: 150
That certainly doesn't look right. If you click on the city icon in the center, does it place the unemployed citizens for you? You shouldn't need to, just thinking of your desire to keep the game going. The unemployed citizens may be contributing to production (I forget) and that might explain the production going up.
 
Sorry for not making it clearer. There is no unemployed citizens. It is not an issue. I can put all citizens back in the "field" with no problem.

I was just surprised about the very high production in this city. So I started to take "employed" citizens out of the job to (to see what hex is causing it) to find out that it is actually the city-hex. This only hex has production of 22 hammers (!) and it is gradually growing over time.
 
We've seen this issue before. , if it's the same sort of error. It wasn't very common relative to the issue with high production hill + resource cities that was fixed so it wasn't ever tracked down.

Immediate questions from that thread: Were there any opportunities involving that city? Is there a strategic resource on that tile? I can't tell if it's on a hill (surrounding terrain is clearly). And do you have any other versions of the mod in the mod folder?

A lua.log around the time it started (perhaps at city founding from the sound of it?) may help to narrow down if there's a problem with AI opportunities or some other cause.
 
mystikx21, thank you. Yes, it might be exactly the same issue. Shall I continue my thread here or start posting to the other one?

The tile is a standard Plains, Hill, River, Fresh Water, 2 Hammers. There is no resource on it, no horse. Iron is going to be discovered in 8 turns - so I have tested it and no iron appears. When I establish this bugged city I get 2 foods + 5 hammers which is strange as other cities have only 2 foods + 4 hammers. And the yield grows dramatically over the time. There might be other resources spawned later in the game but I do not know. However this bug has happened to me in other games and I think the chances are quite small as I play with Sparse resources (but of course it might happen).

The only strange thing is a barbarian camp on the hex beside. However I have tried to plant the city few hex away on a similar hex type and it made the bug again. So the barbarian camp probably does not matter.

Lua.log shows me only this: [9161.767] Initializing Lua 5.1.4
So I am not sure how to get info from a log. Please let me know.

If you/someone let me know I can test it more. I also have quite many saves I can upload/send.

Please find new screenshot attached.
 

Attachments

  • civ5-test.jpg
    civ5-test.jpg
    413.2 KB · Views: 78
Keeping it here is fine. To upload the lua.log, make sure you have logging enabled.

So what we know is there's a hill involved. You could use something like IGE to test to see if some other strategic is there (alum/coal/uranium), but my guess is that that bug has been fixed and this is still something else.

I'm pretty sure hills are supposed to have an extra production over flat cities, but they shouldn't be growing per turn. Does it always happen with a hill city?
 
It seems.

I have found a way (I think) to enable log. I loaded turn 143 where I established the city (which is bugged later on) and made few other things and clicked next turn. After that lua.log shows the following. I am not sure if I did it correctly though:

[23213.057] Initializing Lua 5.1.4
[23242.464] InstalledPanel: Refreshing Mods
[23242.464] InstalledPanel: GetModBrowserListings()
[23242.464] InstalledPanel: Refreshing Mods
[23242.464] InstalledPanel: GetModBrowserListings()
[23242.479] InstalledPanel: Refreshing Mods
[23242.479] InstalledPanel: GetModBrowserListings()
[23274.553] LoadScreen: INFO Turn 143 2 ms loading TurnAcquired
[23274.662] LoadScreen: INFO Turn 143 2 ms loading Yields
[23277.455] LoadScreen: INFO Turn 143 2788 ms loading PlotYields
[23287.891] ImprovedEvents: 1 ms loading CustomNotification.lua
[23287.907] GEA_Events: 1 ms loading CustomNotification.lua
[23287.907] NotificationPanel: 30 ms loading NotificationPanel.lua
[23288.000] InfoCorner: This is InfoCorner from the 'UI - Map Pins' mod
[23288.063] Tutorial: Loaded Additional Tutorial checks - Assets\DLC\Expansion\Tutorial\lua\TutorialInclude_Expansion1.lua
[23289.030] ChoosePantheonPopup: 30
[23289.030] ChoosePantheonPopup: 963
[23289.030] ChoosePantheonPopup: 993
[23289.264] MapPins: 2 ms loading MapPins.lua
[23289.295] OptionsScreen: 11 ms loading OptionsScreen.lua
[23289.342] YL_EventRegistration: 9 ms loading CustomNotification.lua
[23289.358] CiVUP_Events: 2 ms loading CustomNotification.lua
[23289.950] AT_Init: 515 ms loading Game.Fields
[23289.997] OppPopup: 38 ms loading Opp_Events.lua
[23289.997] OppPopup: 51 ms loading OppPopup.lua
[23290.028] GEAI_Events: WARN Turn 143 0.003 seconds loading EverAtWarWithHuman
[23290.278] Demographics: Dequeuing demographics
[23290.278] Demographics: Dequeuing demographics
[23293.367] GET_Events: UpdatePlotYields Start
[23304.490] CiVUP_Events: WARN Turn 143 recieved building
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase Gustavus Adolphus 480 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase William 293 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase Bismarck 116 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase Darius I 347 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase Alexander 157 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase Askia 361 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: INFO Turn 143 AIPurchase Oda Nobunaga 1011 available (900 threshold, 225 minimum)
[23317.937] MT_Initialize: ERROR City_GetBuildingsOfFlavor: BUILDING_MAUSOLEUM_HALICARNASSUS does not exist in GameInfo.Buildings (FlavorType=FLAVOR_GOLD)
[23317.937] MT_Initialize: ERROR City_GetBuildingsOfFlavor: BUILDING_MAUSOLEUM_HALICARNASSUS does not exist in GameInfo.Buildings (FlavorType=FLAVOR_GOLD)
[23317.937] MT_Initialize: INFO Turn 143 Oda Nobunaga no affordable building of FLAVOR_GOLD
[23317.953] MT_Initialize: INFO Turn 143 Oda Nobunaga no affordable building of FLAVOR_RELIGION
[23317.953] MT_Initialize: INFO Turn 143 Oda Nobunaga no affordable unit of FLAVOR_EXPANSION
[23317.953] MT_Initialize: INFO Turn 143 AIPurchase Wu Zetian 247 available (900 threshold, 225 minimum)
[23317.953] MT_Initialize: INFO Turn 143 AIPurchase Haile Selassie 113 available (900 threshold, 225 minimum)
[23317.953] MT_Initialize: INFO Turn 143 AIPurchase Maria Theresa 424 available (900 threshold, 225 minimum)
[23318.218] ActionInfoPanel: Player's turn not active
[23323.740] MT_Initialize: INFO Turn 144 AIPurchase Haile Selassie 0/426 spent for RIVER_FLOODING_3
[23324.286] TurnProcessing: Hiding TurnProcessing
 
Then I closed the game, deleted what was in lua.log (via notepad), restarted the game with modes and loaded my last save - from turn 266. Did few things in that turn like if I was playing, clicked next turn and lua.log shows this:

[23578.505] Initializing Lua 5.1.4
[23606.882] InstalledPanel: Refreshing Mods
[23606.882] InstalledPanel: GetModBrowserListings()
[23606.898] InstalledPanel: Refreshing Mods
[23606.898] InstalledPanel: GetModBrowserListings()
[23606.898] InstalledPanel: Refreshing Mods
[23606.898] InstalledPanel: GetModBrowserListings()
[23608.660] InstalledPanel: Refreshing Mods
[23608.660] InstalledPanel: GetModBrowserListings()
[23639.814] LoadScreen: INFO Turn 266 2 ms loading TurnAcquired
[23639.954] LoadScreen: INFO Turn 266 2 ms loading Yields
[23642.747] LoadScreen: INFO Turn 266 2790 ms loading PlotYields
[23653.308] ImprovedEvents: 2 ms loading CustomNotification.lua
[23653.323] GEA_Events: 1 ms loading CustomNotification.lua
[23653.323] NotificationPanel: 32 ms loading NotificationPanel.lua
[23653.433] InfoCorner: This is InfoCorner from the 'UI - Map Pins' mod
[23653.495] Tutorial: Loaded Additional Tutorial checks - Assets\DLC\Expansion\Tutorial\lua\TutorialInclude_Expansion1.lua
[23654.431] ChoosePantheonPopup: 30
[23654.431] ChoosePantheonPopup: 963
[23654.431] ChoosePantheonPopup: 993
[23654.696] MapPins: 2 ms loading MapPins.lua
[23654.728] OptionsScreen: 11 ms loading OptionsScreen.lua
[23654.774] YL_EventRegistration: 9 ms loading CustomNotification.lua
[23654.790] CiVUP_Events: 1 ms loading CustomNotification.lua
[23655.430] AT_Init: 532 ms loading Game.Fields
[23655.476] OppPopup: 38 ms loading Opp_Events.lua
[23655.476] OppPopup: 50 ms loading OppPopup.lua
[23655.508] GEAI_Events: WARN Turn 266 0.003 seconds loading EverAtWarWithHuman
[23655.773] Demographics: Dequeuing demographics
[23655.773] Demographics: Dequeuing demographics
[23660.375] GET_Events: UpdatePlotYields Start
[23732.400] MT_Initialize: INFO Turn 266 AIPurchase Bismarck 300 available (900 threshold, 225 minimum)
[23732.400] MT_Initialize: INFO Turn 266 AIPurchase Darius I 633 available (900 threshold, 225 minimum)
[23732.400] MT_Initialize: INFO Turn 266 AIPurchase Alexander 230 available (900 threshold, 225 minimum)
[23732.416] MT_Initialize: INFO Turn 266 AIPurchase Askia 395 available (900 threshold, 225 minimum)
[23732.416] MT_Initialize: INFO Turn 266 DeclareWarNearestCitystate Askia PERSONALITY_CONQUEROR
[23732.416] MT_Initialize: INFO Turn 266 Warsaw distance = 12
[23732.416] MT_Initialize: INFO Turn 266 AIPurchase Oda Nobunaga 219 available (900 threshold, 225 minimum)
[23732.416] MT_Initialize: INFO Turn 266 DeclareWarNearestCitystate Oda Nobunaga PERSONALITY_CONQUEROR
[23732.416] MT_Initialize: INFO Turn 266 AIPurchase Gandhi 109 available (900 threshold, 225 minimum)
[23732.416] MT_Initialize: INFO Turn 266 AIPurchase Wu Zetian 308 available (900 threshold, 225 minimum)
[23732.416] MT_Initialize: INFO Turn 266 AIPurchase Haile Selassie 167 available (900 threshold, 225 minimum)
[23732.432] MT_Initialize: INFO Turn 266 AIPurchase Maria Theresa 232 available (900 threshold, 225 minimum)
[23733.321] ActionInfoPanel: Player's turn not active
[23740.637] TurnProcessing: Hiding TurnProcessing
 
So, I have given it a chance and started to play few more times. I have found that the bug appears in EVERY CITY FOUNDED on HILL, regardless river. Also NPC CITIES have this big as you can see from the attached screenshot. It is ridiculous, cities have hundreds of hammers. Even few dozen turns old cities have dozens of hammers.

It sux because CiV without the unofficial patch and enhanced mode is not as good but... :( :confused:
 

Attachments

  • civ5_hill_bug_resize.jpg
    civ5_hill_bug_resize.jpg
    327 KB · Views: 57
Hi Martin,

This bug must be annoying. Are you sure you have no conflicting MODs installed together with CivUP and GEM? Did you check / try the following thigs / steps?

1) Did you check if you have the latest version of Civ5 + Gods & Kings? Mine is 1.0.2.44, I think this should be the latest.

2) Delete contents of "cache" and "ModUserData" folders in
C:\<username>\Documents\My Games\Sid Meier's Civilization 5\

3) Check the integrity of the game installation
https://support.steampowered.com/kb_article.php?ref=2037-QEUH-3335

4) Unsubscribe from CivUP and GEM, then delete all MODs from the MODS folder. (you can put them into Favorities in Steam, so that you will find them easily when you want to subscribe to them again)

5) Subscribe to CivUP and GEM in Steam Workshop again and reinstall them. The latest Steam versions should be CivUP 2.5.1 GK v.1 and GEM 1.13.4 v1.

6) Start a new game with the 2 MODs only (no other MODs) with settings: Continents / Standard / Epic. (You mention in OP that you played Highlands - could it be related ... ???)

I have experienced some funny behavior in the past when I installed 1 version of GEM manually and then later installed another version from the Steam Workshop. And I remember Thal saying somewhere the MOD was not compatible with certaion types of map scripts.
 
I do wonder if the Highlands map script is related now.

Map scripts could interact unpredictably, we've seen that before with this mod in a couple rare bugs. I'd be interested to see if that's the case here, but I'm not optimistic. It's been a really rare bug so tracking it down would be difficult, but someone using an odd map might be a plausible cause if nothing else.
 
Thank you for your replies. I use only those two modes, nothing else, and everything should be up to date as I re-installed the whole pc around a month ago. However I will check it and reinstall modes.

This new map is actually Continents.

I am now playing Highlands without modes, have cities on hills etc. and have no problems. It is just not as good as with those two modes :(
 
Hi Martin,

JFYI, I tried to load your Egyptian savegame and the production was correct - please refer to the screenshot below.

I would try unistalling whole Civ5 and G & K and then reinstalling everything again as a last resort. If even this does not help, then I am out of ideas ...
 

Attachments

  • civ-martin.jpg
    civ-martin.jpg
    93.7 KB · Views: 115
Dear vyyt, please can you try it again? The isue is NOT the city of Memphis you took screenshot of. The problem is in the city of Heliopolis.

If you try to load QuickSave (turn 265 or so) from the very first post and check Heliopolis you will see that the city hex has production 22 hammers (or something like that).

If you try to load Ramesses II_0143 BC-2070.Civ5Save you can establish the city of Heliopolis yourself. As I indicated on the screenshot in 5th post (http://forums.civfanatics.com/attachment.php?attachmentid=348924&d=1366708075) if you establish city just below barbarians or on another hilly place on the river you will get the bug - at start 5 hammers instead of 4 but this grows over time.

Can you please try those two saves and check/establish Heliopolis according to my screenshots? Thanks a lot.
 
Oh, I see! I tried the quicksave now and got the same bug as you :-( Heliopolis has crazy base production of 32 hammers / turn - exactly same as in your screenshot.

And you say you eventualy get the same bug even if your world settings are Continents / Large / Epic? I am asking because I had never seen (or noticed??) this bug before in my games and I have played Civ5 with Communitas a lot. My settings are almost always Continents / Standard or Large / Epic. I vaguely recall Thal was recommending these settings somewhere. I was experimenting with some European map script before, but it did not work with Communitas - the diplomacy was broken - so I reverted back to Continents.
 
Few posts above (May 12, 2013, 08:10 PM) I have posted another screenshot which is made from multiple screenshots showing computer character Maya and some of his cities with ridiculous production. It was by chance when I was winning the game but suddenly his score was climbing up and he was popping one wonder after another.

I think it is Continent, Large, Marathon game.

I have been playing CiV with no modes now and there are no issues like that (but it is not as good).
 
Back
Top Bottom