Strange problem

Thalassicus

Bytes and Nibblers
Joined
Nov 9, 2005
Messages
11,057
Location
Texas
I have a segment of code which scans each building entry and stores it in a long table. Here's an excerpt:

Spoiler :
Code:
for pBuildingInfo in GameInfo.Buildings() do
    local iBuildingID = pBuildingInfo.ID
    stats.Buildings[iBuildingID] = {
    ...
    {"HappinessPerCity"                 , pBuildingInfo.HappinessPerCity },
    {"HappinessPerXPolicies"            , pBuildingInfo.HappinessPerXPolicies },
    {"UnhappinessModifier"              , pBuildingInfo.UnhappinessModifier },        
    {"NoOccupiedUnhappiness"            , pBuildingInfo.NoOccupiedUnhappiness },
    ... etc ...


This has worked without problems for the past half year. Recently, onea user encountered a problem on their computer and posted this error report from the tuner:

Spoiler :
Code:
LoadScreen: [string "Assets\UI\InGame\InfoTooltipInclude.lua"]:560: Cannot find key - MedianTechPercentChange
LoadScreen: [string "Assets\UI\InGame\InfoTooltipInclude.lua"]:576: Cannot find key - HappinessPerXPolicies
LoadScreen: [string "Assets\UI\InGame\InfoTooltipInclude.lua"]:577: Cannot find key - UnhappinessModifier
LoadScreen: [string "Assets\UI\InGame\InfoTooltipInclude.lua"]:594: Cannot find key - FreeGreatPeople
LoadScreen: [string "Assets\UI\InGame\InfoTooltipInclude.lua"]:596: Cannot find key - FreeBuildingThisCity
These are the only five keys causing a problem on their computer. The mod works without difficulties for other users and myself. What could cause this problem? I suggested they verify the integrity of their game files, but if that doesn't work I'm stumped. :confused:

  • Their version of Civ is up to date.
  • They deleted the cache and moduserdata folders.
  • They have no other mods installed.
  • They only have one version of this mod installed.
 
Back
Top Bottom