ProductionPopup: Warn GetHelpTextForPromotion

expreign

Chieftain
Joined
Oct 4, 2015
Messages
5
Game is broken at turn 215 by this error according to the firetuner:
"ProductionPopup: Warn Turn 215 GetHelpTextForPromotion: stat data is nil for Promotion_Anti_Mounted_Noupgrade_1"
Can you advise if this is fixable in-game or if I have to start over?

Error is the old nothing happens when you press a production button.
I deleted all the spearmen and pikes I could see but to no avail.

There were alot of other interesting errors that you can view in the attached lualogging files.
 

Attachments

  • Logser100315.7z
    8.7 KB · Views: 206
I ran into the production screen block around turn 133.
Every time I reloaded that turn, it told me that stat data was nil for promotion_X.
These were all unique CEG promotions.
CAT's stat data table is hard to work with.
I ended up commenting out the promotions in CEP.
The result was the "attempt to index local "promoInfo" (a nil value).
It couldn't find the promo that was going to cause the game to freeze so it froze the game anyways.

Is there a way around this?
Why can't CAT have a continue feature for this kind of trivial exception?
There are many other runtime errors it just runs right through.
 

Attachments

  • Promoproblemss.zip
    266.3 KB · Views: 217
I got in twice now by using the trick of loading the savegame with only Communitas mods.
Then I exit to main menu and load with IGE and INfoaddict and UI Trade Opps.
I don't know why I keep getting those runtime errors but they don't always cause them production screen bug.
 
Turn 196.
I spent 4 hours last night trying to find a solution for load issue by mostly commenting out things that were being pointed to in lua log.
I even went back to the beginning with a new CEP/CAT with no others mods.
Game stuck at can't open production screen.

The log says the same as the other logs.
Spoiler :
tat data is nil for PROMOTION_CITY_ATTACK_II!
[830511.664] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830511.945] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data 830515.486] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830515.486] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830515.813] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830515.813] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830516.001] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830516.001] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830516.235] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830516.235] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830516.406] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830516.406] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830516.609] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830516.609] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830516.796] ProductionPopup: WARN Turn 198 GetHelpTextForPromotion: stat data is nil for PROMOTION_CAN_MOVE_AFTER_ATTACKING!
[830516.796] Runtime Error: D:\My Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:158: attempt to index local 'section' (a nil value)
[830518.231] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_CONSTABLE!
[830518.247] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_ARMORY!
[830518.247] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_BARRACKS!
[830518.263] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_CARAVANSARY!
[830518.263] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_CASTLE!
[830518.263] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_NATIONAL_TREASURY!
[830518.263] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_LIBRARY!
[830518.263] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_MARKET!
[830518.263] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_WORKSHOP!
[830518.278] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_UNIVERSITY!
[830518.278] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_WALLS!
[830518.278] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_COLOSSUS!
[830518.294] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_AQUEDUCT!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_COLOSSEUM!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_COURTHOUSE!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_GARDEN!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_GRANARY!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_HARBOR!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_LIGHTHOUSE!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_MONUMENT!
[830518.309] CityView: WARN Turn 198 GetHelpTextForBuilding: stat data is nil for BUILDING_SHRINE!


Advice would be welcome.
 
Top Bottom