[157.2] Error in VEL_Events.lua

skodkim

Deity
Joined
Jan 16, 2004
Messages
2,418
Location
Denmark
Hi

Using 157.2 (and CSD+other mods) I sometimes see the following error in the Firetuner lua log window.

Spoiler :
[266.870] IGE_UnitsPanel: IGE_UnitsPanel
[266.948] IGE_PlayersPanel: IGE_PlayersPanel
[267.026] IGE_TechsPanel: IGE_TechsPanel
[267.089] IGE_PoliciesPanel: IGE_PoliciesPanel
[267.151] IGE_ConfirmPopup: IGE_ConfirmPopup
[267.869] IGE_Window: IGE_Window
[267.869] IGE_Window: IGE loaded
[268.040] Syntax Error: [string "C:\Users\hollenbo\Documents\My Games\Sid Meier's Civilization 5..."]:144: nesting of [[...]] is deprecated near '['
[268.040] Runtime Error: Error loading C:\Users\hollenbo\Documents\My Games\Sid Meier's Civilization 5\MODS\Unofficial Patch and Vanilla Enhanced (v 157)\VEM_VanillaEnhancedMod/Leaders/VEL_Events.lua.
[270.614] CiVUP_Events: WARN Turn 237 1.797 seconds loading HasTerrainCulture
[270.739] CiVUP_Events: WARN Turn 237 0.122 seconds loading FreeFlavorBuilding
[270.880] TriggerPopup: WARN Turn 237 0.046 seconds loading Triggers
[271.004] WWGD_Events: WARN Turn 237 0.005 seconds loading EverAtWarWithHuman
[272.720] Demographics: Dequeuing demographics
[272.720] Demographics: Dequeuing demographics
[302.501] VET_Events: UpdatePlotYields Start
[431.358] TU_Initialize: INFO Turn 237 OnTurnEnd
[431.982] TU_Initialize: INFO Turn 237 AIPurchase Elizabeth 200/254 spent for UNIT_SCOUT
[432.606] TU_Initialize: INFO Turn 237 AIPurchase Hiawatha no affordable unit of FLAVOR_TILE_IMPROVEMENT
[433.136] TU_Initialize: INFO Turn 237 AIPurchase Oda Nobunaga no affordable unit of FLAVOR_TILE_IMPROVEMENT
[433.136] TU_Initialize: INFO Turn 237 AIPurchase Oda Nobunaga 200/203 spent for UNIT_SCOUT
[433.869] TU_Initialize: INFO Turn 237 AIPurchase Sejong 200/419 spent for UNIT_SCOUT
[433.869] TU_Initialize: INFO Turn 237 AIPurchase Sejong 200/219 spent for UNIT_SCOUT
[434.057] TU_Initialize: INFO Turn 237 AIPurchase Washington 210/342 spent for UNIT_SCOUT
[437.988] TU_Initialize: INFO Turn 237 OnTurnEnd Total 6.630 seconds
[448.877] InfoAddictHistoricalData: INFO: Total time for DrawGraph(score): 0.033s

I dont know if it's only related to loading situations as this one seems to be but I'll try to keep an lookout.

\Skodkim
 
I noticed this too, and it should be fixed in the latest version.

Great :goodjob:

Can I just copy the lines from v158 If I want to fix it in the game I'm currently playing with 157.2?

Was it one of the leader traits not working?

\Skodkim
 
I'd commented out a section of code which included another comment, something Lua doesn't allow. It prevented the file from loading, so all scripted leader effects would do nothing.
 
Top Bottom