Replay server could not be started

0

Soon after a game starts (not a replay but an actual game), I get an error message "Replay Server Could Not Be Started" and the game loading screen freezes. I have reinstalled FA several times to no avail. Please help.

This is what is in the error screen:
Unhandled exception:

state->m_rootState == m_state

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game_16154787.log /replay C:\ProgramData\FAForever\cache\temp.scfareplay /replayid 16154787

Callstack:
unavailable.

Last 100 lines of log...

info: ADAPTIVE: optional_wreckage = \0001
info: ADAPTIVE: optional_naval_wreckage = \0001
info: ADAPTIVE: optional_wreckage_middle = \0001
info: ADAPTIVE: optional_adaptive_faction_wreckage = \0001
info: ADAPTIVE: optional_civilian_base = \0001
info: ADAPTIVE: optional_civilian_defenses = \0001
info: ADAPTIVE: jamming = \0001
info: Debug: SetPlayableArea before round : 0, 200.5 1024, 830.5
info: Debug: SetPlayableArea after round : 0, 200 1024, 828
info: Hooked /lua/simsync.lua with /schook/lua/simsync.lua
info: Camera:SyncPlayableRect \000{ x0=0, x1=1024, y0=200, y1=828 }
info: Request: \000{
info: Name="WorldCamera",
info: Region={ x0=0, x1=1024, y0=200, y1=828 },
info: Type="CAMERA_SYNC_PLAYABLE_RECT"
info: }
info: ADAPTIVE: Activate map expansion script. expand_map = \0001
info: Hooked /lua/ui/game/gamemain.lua with /mods/additionalcamerastuff/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/supremescoreboard/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/selection.lua with /schook/lua/ui/game/selection.lua
warning: Unable to find file /mods/common/units.lua
warning: stack traceback:
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83>
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/mods/common/units.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83>
warning: Error running '/lua/ui/uimain.lua:StartGameUI': ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function error' ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import'
...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83> info: Hooked /lua/ui/game/gamemain.lua with /mods/additionalcamerastuff/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/supremescoreboard/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua warning: Unable to find file /mods/common/units.lua warning: stack traceback: warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:20>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(125): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:124>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(407): in function OnSync' warning: [string "OnSync()"](1): in main chunk warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/mods/common/units.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:20>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(125): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:124>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(407): in function OnSync' warning: [string "OnSync()"](1): in main chunk warning: Error running lua command: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): Error importing '/lua/ui/game/gamemain.lua' stack traceback: [C]: in function error'
...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import' ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:20> ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(125): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:124> ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(407): in function OnSync'
string "OnSync()": in main chunk
info: Hooked /lua/ui/game/gamemain.lua with /mods/additionalcamerastuff/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/supremescoreboard/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua
warning: Unable to find file /mods/common/units.lua
warning: stack traceback:
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/mods/common/units.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: Error importing /lua/ui/game/gamemain.lua:
Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function error' ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import'
warning: Error running '/lua/ui/game/gamemain.lua:OnBeat': attempt to index a nil value
stack traceback:

0

Download the common mods tools from the vault. One of your mods requires it, but can't find it: warning: Unable to find file /mods/common/units.lua

A work of art is never finished, merely abandoned

0

has not fixed problem but made it worse. There are 4 units updates in the mods folder for 2022 and I uploaded all of them. I now get this error:

Unhandled exception:

state->m_rootState == m_state

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game_16154787.log /replay C:\ProgramData\FAForever\cache\temp.scfareplay /replayid 16154787

Callstack:
Unknown symbol (address 0x008d462c)

Last 100 lines of log...

info: ADAPTIVE: optional_wreckage = \0001
info: ADAPTIVE: optional_naval_wreckage = \0001
info: ADAPTIVE: optional_wreckage_middle = \0001
info: ADAPTIVE: optional_adaptive_faction_wreckage = \0001
info: ADAPTIVE: optional_civilian_base = \0001
info: ADAPTIVE: optional_civilian_defenses = \0001
info: ADAPTIVE: jamming = \0001
info: Debug: SetPlayableArea before round : 0, 200.5 1024, 830.5
info: Debug: SetPlayableArea after round : 0, 200 1024, 828
info: Hooked /lua/simsync.lua with /schook/lua/simsync.lua
info: Camera:SyncPlayableRect \000{ x0=0, x1=1024, y0=200, y1=828 }
info: Request: \000{
info: Name="WorldCamera",
info: Region={ x0=0, x1=1024, y0=200, y1=828 },
info: Type="CAMERA_SYNC_PLAYABLE_RECT"
info: }
info: ADAPTIVE: Activate map expansion script. expand_map = \0001
info: Hooked /lua/ui/game/gamemain.lua with /mods/additionalcamerastuff/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/supremescoreboard/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/selection.lua with /schook/lua/ui/game/selection.lua
warning: Unable to find file /mods/common/units.lua
warning: stack traceback:
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83>
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/mods/common/units.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83>
warning: Error running '/lua/ui/uimain.lua:StartGameUI': ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function error' ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import'
...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83> info: Hooked /lua/ui/game/gamemain.lua with /mods/additionalcamerastuff/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/supremescoreboard/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua warning: Unable to find file /mods/common/units.lua warning: stack traceback: warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:20>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(125): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:124>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(407): in function OnSync' warning: [string "OnSync()"](1): in main chunk warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/mods/common/units.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:20>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(125): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:124>
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(407): in function OnSync' warning: [string "OnSync()"](1): in main chunk warning: Error running lua command: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): Error importing '/lua/ui/game/gamemain.lua' stack traceback: [C]: in function error'
...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import' ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(112): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:20> ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(125): in function <...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua:124> ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(407): in function OnSync'
string "OnSync()": in main chunk
info: Hooked /lua/ui/game/gamemain.lua with /mods/additionalcamerastuff/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/supremescoreboard/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua
warning: Unable to find file /mods/common/units.lua
warning: stack traceback:
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk warning: [C]: in function doscript'
warning: [C]: ?
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): Error importing '/mods/common/units.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import' warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(72): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1040): in main chunk
warning: [C]: in function doscript' warning: [C]: ? warning: ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(87): in function import'
warning: Error importing /lua/ui/game/gamemain.lua:
Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function error' ...ata\faforever\gamedata\lua.nx2\lua\system\import.lua(92): in function import'
warning: Error running '/lua/ui/game/gamemain.lua:OnBeat': attempt to index a nil value
stack traceback:

0

You still have the same error: warning: Unable to find file /mods/common/units.lua

Have you tried disabling all UI mods?

A work of art is never finished, merely abandoned

0

@jip How do you disable all UI mods. I'm not a programmer and have no idea how to do this. 😞

1

In the mods manager - you can click them to enable / disable them.

A work of art is never finished, merely abandoned