Basically, every time I try to host a game and have the GAZ_UI mod enabled the game crashes during the loading screen (and it only crashes for me, my friend was playing with me and he said that the game loaded just fine).
Here's the crash log (and the reason I think the mod is causing it):
Unhandled exception:
state->m_rootState == m_state
Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /ratingcolor 00000000 /numgames 4 /rating 0 /init init_faf.lua /log C:\ProgramData\FAForever\logs\game.log /savereplay gpgnet://localhost/57645/SpaceTank.SCFAreplay /nobugreport /gpgnet faforever.com:7001
Callstack:
Unknown symbol (address 0x008d3ecc)
Last 100 lines of log...
debug: Loading module '\000/lua/ui/game/gamemain.lua\000'
info: Hooked /lua/ui/game/gamemain.lua with /schook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/gaz_ui_v6.1/hook/lua/ui/game/gamemain.lua
debug: Loading module '\000/mods/gaz_ui/modules/keymapping.lua\000'
warning: Unable to find file /mods/gaz_ui/modules/keymapping.lua
warning: stack traceback:
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...d alliance\gamedata\lua.scd\lua\ui\game\gamemain.lua(1500): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...ed alliance\gamedata\lua.scd\lua\ui\game\economy.lua(16): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...ta\faforever\gamedata\faforever.faf\lua\usersync.lua(97): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/gaz_ui/modules/keymapping.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...d alliance\gamedata\lua.scd\lua\ui\game\gamemain.lua(1500): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...ed alliance\gamedata\lua.scd\lua\ui\game\economy.lua(16): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...ta\faforever\gamedata\faforever.faf\lua\usersync.lua(97): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/gamemain.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...ed alliance\gamedata\lua.scd\lua\ui\game\economy.lua(16): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...ta\faforever\gamedata\faforever.faf\lua\usersync.lua(97): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/economy.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...ta\faforever\gamedata\faforever.faf\lua\usersync.lua(97): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: Error running lua command: ...ta\faforever\gamedata\faforever.faf\lua\usersync.lua(97): Error importing '/lua/ui/game/missiontext.lua'
stack traceback:
[C]: in function `error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
...ta\faforever\gamedata\faforever.faf\lua\usersync.lua(97): in function `OnSync'
[string "OnSync()"](1): in main chunk
debug: Loading module '\000/lua/ui/game/gamemain.lua\000'
info: Hooked /lua/ui/game/gamemain.lua with /schook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/gaz_ui_v6.1/hook/lua/ui/game/gamemain.lua
debug: Loading module '\000/mods/gaz_ui/modules/keymapping.lua\000'
warning: Unable to find file /mods/gaz_ui/modules/keymapping.lua
warning: stack traceback:
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...d alliance\gamedata\lua.scd\lua\ui\game\gamemain.lua(1500): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/gaz_ui/modules/keymapping.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...d alliance\gamedata\lua.scd\lua\ui\game\gamemain.lua(1500): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: Error importing /lua/ui/game/gamemain.lua:
Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function `error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: Error running '/lua/ui/game/gamemain.lua:OnBeat': attempt to index a nil value
stack traceback:
Notice how it says "warning: Unable to find file /mods/gaz_ui/modules/keymapping.lua" while the file is exactly where it said it should be, I just checked.
Any ideas?Maybe I need to map the keys before launching the mod or something?And if so...how do I do it?