This happens, if i try to activate the Defences Expand mod:
- Code: Select all
WARNING: Error running HandleEvent script in CScriptObject at 150d6800: ...mdata\faforever\repo\fa\lua\ui\lobby\modsmanager.lua(408): attempt to concatenate field `type' (a nil value)
stack traceback:
...mdata\faforever\repo\fa\lua\ui\lobby\modsmanager.lua(408): in function `GetModNameType'
...mdata\faforever\repo\fa\lua\ui\lobby\modsmanager.lua(823): in function `OnCheck'
...1.5.3603\gamedata\mohodata.scd\lua\maui\checkbox.lua(45): in function `SetCheck'
...1.5.3603\gamedata\mohodata.scd\lua\maui\checkbox.lua(53): in function `ToggleCheck'
...1.5.3603\gamedata\mohodata.scd\lua\maui\checkbox.lua(114): in function `OnClick'
...1.5.3603\gamedata\mohodata.scd\lua\maui\checkbox.lua(96): in function <...1.5.3603\gamedata\mohodata.scd\lua\maui\checkbox.lua:75>
This is line 408 inside modsmanager.lua:
- Code: Select all
return mod.type .. ' mod - '.. mod.title
mod.type is nil, because "ui_only = false" is missing inside mod_info.lua from "DefencesExpand v1.2 Enhanced" Mod.
There are 2 ways to fix this Error:
Inspexor:
1. Add "ui_only = false" to mod_info.lua inside the "DefencesExpand v1.2 Enhanced" Mod directory.
HUSSAR:
2. Change line 408 to:
- Code: Select all
return mod.type or "GAME" .. ' mod - '.. mod.title or "Unkown"
Greetings Uveso.