SupCom Crashing on Startup
-
SupCom keeps crashing when I try to start or host a game. The following error occurs in the output log:
warning: Error running lua script: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): attempt to call methodHasBuilderList' (a nil value) stack traceback: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): in function
ExecutePlan'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(822): in functionExecutePlan' ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(794): in function
EvaluateAIPlanList'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(771): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:762>
warning: Error running lua script: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): attempt to call methodHasBuilderList' (a nil value) stack traceback: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): in function
ExecutePlan'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(822): in function `ExecutePlan'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(804): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:799> -
Any Mods?
-
@dragun101 Even without any mods or modded maps, the game still crashes with the same error message.
edit: just tried to run SupCom without any mods on a vanilla map, and received this error message:
warning: Unable to find file /lua/options/optionslogic.lua
warning: stack traceback:
warning: [C]: in functiondoscript' warning: [C]: in function
pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function
import'
warning: ...amdata\faforever\gamedata\lua.nx2\lua\user\prefs.lua(9): in main chunk
warning: [C]: in functiondoscript' warning: [C]: in function
pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function
import'
warning: ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(11): in main chunk
warning: [C]: in functiondoscript' warning: [C]: in function
pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/options/optionslogic.lua' warning: stack traceback: warning: [C]: in function
error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function
import'
warning: ...amdata\faforever\gamedata\lua.nx2\lua\user\prefs.lua(9): in main chunk
warning: [C]: in functiondoscript' warning: [C]: in function
pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function
import'
warning: ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(11): in main chunk
warning: [C]: in functiondoscript' warning: [C]: in function
pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/user/prefs.lua' warning: stack traceback: warning: [C]: in function
error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in functionimport' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function
import'
warning: ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(11): in main chunk
warning: [C]: in functiondoscript' warning: [C]: in function
pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in functionimport' warning: Error importing /lua/keymap/keymapper.lua: Error importing '/lua/keymap/keymapper.lua' stack traceback: [C]: in function
error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import' -
It says it can not load in the prefs file either - did you start the game on Steam once to make a profile?
-
Just tried to launch SupCom from steam, and it crashed almost immediately. I'm verifying the file integrity in case a file went missing somewhere.
-
Found the problem: I was missing four files in the steam installation folder. I must have moved them or done something to corrupt them.