[3.5] Issues with some lua errors

Horem

Emperor
Joined
Apr 1, 2010
Messages
1,721
Location
Wales, UK
Firstly I want to point out that the errors I am getting ONLY appear when I have a ModMod active(The Resource Adaptation mentioned here).

These are the errors:
Code:
[1277.788] Runtime Error: C:\Users\Horem\Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\TW_Init.lua:393: attempt to index field '?' (a nil value)
stack traceback:
	C:\Users\Horem\Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\TW_Init.lua:393: in function 'GetDefaultBuildingStatText'
	C:\Users\Horem\Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\TW_Init.lua:650: in main chunk
	=[C]: ?
[1277.788] Runtime Error: Error loading C:\Users\Horem\Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\TW_Init.lua.

[1294.761] ProductionPopup: WARN   Turn 0   GetHelpTextForPromotion: stat data is nil for PROMOTION_IGNORE_TERRAIN_COST_NOUPGRADE!
[1294.761] Runtime Error: C:\Users\Horem\Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\Tools\TooltipWriter\InfoTooltipInclude.lua:135: attempt to index local 'section' (a nil value)

Looked at both lua files involved and can not for the life of me see why they are failing, I did read about a similar error in this thread. But I belive that was purley with no other mods active. I am testing with the English(Since the celts act funny since 3.4), I can get around both errors by excluding the TooltipWriter(Adding an underscore to the folder) but that seems a bit drastic :) am I missing some value I need to add that has been added by CEP to resources? Or is it more severe than that?
 
Back
Top Bottom