Fatal Error during game startup [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Fatal Error during game startup

Postby Mattes » 26 Oct 2018, 16:23

Hi,

Whenever I attempt to join a game using Downlords FaF client, Forged Alliance crashes immediatly with this error:

Code: Select all
Failed to setup initial search path.

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game.log /gpgnet 127.0.0.1:59930 /mean 1500.0 /deviation 500.0 /savereplay gpgnet://127.0.0.1:15001/8741780/Mattes.SCFAreplay /country DE /numgames 0

Callstack:
   Unknown symbol (address 0x008cef50)

Last 100 lines of log...

warning: Running "C:\ProgramData\FAForever\bin\init.lua" failed: cannot read C:\ProgramData\FAForever\bin\..\fa_path.lua: No such file or directory
         stack traceback:
            [C]: in function `dofile'
            C:\ProgramData\FAForever\bin\init.lua(2): in main chunk

I have seen one other topic on this, but unfortunately it didn't work for me.
If you need any additional logs or files, let me know.

Sincerely,
Mattes
User avatar
Mattes
 
Posts: 8
Joined: 26 Oct 2018, 16:16
Has liked: 1 time
Been liked: 0 time
FAF User Name: Mattes

Re: Fatal Error during game startup

Postby PhilipJFry » 26 Oct 2018, 16:42

try running the game once via the original client
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Fatal Error during game startup

Postby Mattes » 26 Oct 2018, 17:13

Installed the Original Client, got this instead:
Code: Select all
Traceback (most recent call last):
  File "src\coop\_coopwidget.py", line 196, in coopListDoubleClicked
  File "src\fa\check.py", line 133, in check
  File "src\fa\updater.py", line 299, in run
  File "src\fa\updater.py", line 571, in doUpdate
  File "src\fa\updater.py", line 763, in failureDialog
Exception: Update started at 2018-10-26 17:12:56
Using appdata: C:\ProgramData\FAForever
Connected to update server at 2018-10-26 17:12:56
EXCEPTION: [WinError 5] Zugriff verweigert: 'C:\\ProgramData\\FAForever\\bin\\BsSndRpt.exe'
Disconnected from server at 2018-10-26 17:12:56

Runtime info:

FAF Username: Mattes
FAF Version: 0.18.1+3081
FAF Environment: production
FAF Directory: C:\ProgramData\FAForever
FA Path: : G:/Steam/steamapps/common/!!Supreme Commander Forged Alliance - Kopie
Home Directory: C:/Users/Mattes/Documents
Platform: Windows-10-10.0.17134
Uname: uname_result(system='Windows', node='DESKTOP-8RTIJNP', release='10', version='10.0.17134', machine='AMD64', processor='Intel64 Family 6 Model 60 Stepping 3, GenuineIntel')
User avatar
Mattes
 
Posts: 8
Joined: 26 Oct 2018, 16:16
Has liked: 1 time
Been liked: 0 time
FAF User Name: Mattes

Re: Fatal Error during game startup

Postby PhilipJFry » 30 Oct 2018, 12:24

sorry for not responding in a timely fashion...
your error sounds like you have some permission issue

this can be caused by messed up file/folder permissions (happens when you have run the client in admin mode previously) or by some overprotective Antivirus
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Fatal Error during game startup

Postby Mattes » 30 Oct 2018, 19:58

Thanks, after uninstalling my AV (ZoneAlarm for future reference) and running Downlords FaF in admin mode, the game now starts.
The standard FaF client still returns this when I attempt to start a coop mission
Code: Select all
Traceback (most recent call last):
  File "src\coop\_coopwidget.py", line 196, in coopListDoubleClicked
  File "src\fa\check.py", line 133, in check
  File "src\fa\updater.py", line 299, in run
  File "src\fa\updater.py", line 571, in doUpdate
  File "src\fa\updater.py", line 763, in failureDialog
Exception: Update started at 2018-10-30 18:58:05
Using appdata: C:\ProgramData\FAForever
Connected to update server at 2018-10-30 18:58:05
EXCEPTION: [WinError 5] Zugriff verweigert: 'C:\\ProgramData\\FAForever\\bin\\BsSndRpt.exe'
Disconnected from server at 2018-10-30 18:58:05

Runtime info:

FAF Username: Mattes
FAF Version: 0.18.1+3081
FAF Environment: production
FAF Directory: C:\ProgramData\FAForever
FA Path: : G:/Steam/steamapps/common/Supreme Commander Forged Alliance
Home Directory: C:/Users/Mattes/Documents
Platform: Windows-10-10.0.17134
Uname: uname_result(system='Windows', node='DESKTOP-8RTIJNP', release='10', version='10.0.17134', machine='AMD64', processor='Intel64 Family 6 Model 60 Stepping 3, GenuineIntel')

Unfortunatly, when using Downlords FaF client everything is black when the game gets in focus. Tabbing in and out shifts it from the standard gray back to black in approx 3 seconds. Any ideas?
User avatar
Mattes
 
Posts: 8
Joined: 26 Oct 2018, 16:16
Has liked: 1 time
Been liked: 0 time
FAF User Name: Mattes

Re: Fatal Error during game startup  [SOLVED]

Postby Uveso » 31 Oct 2018, 05:23

Code: Select all
EXCEPTION: [WinError 5] Zugriff verweigert: 'C:\\ProgramData\\FAForever\\bin\\BsSndRpt.exe'


1. Please uninstall the FAF client.
2. Delete manually the folder C:\\ProgramData\\FAForever\ (this will delete all files and all permissions)
3. Reinstall the FAF client.
4. Don't start the client as admin.

If you start a programm with admin rights, it will write all init files, updates and cache with admin rights.
After this you can't run the programm as normal user because you don't have the permission to change files with admin privileges.
Then you get the "Zugriff verweigert" error.
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Fatal Error during game startup

Postby Mattes » 31 Oct 2018, 14:55

Thank you! Its all working now.
For future reference: this path C:\\ProgramData\\FAForever\ won't get you anywhere, best is to manually navigate it to where your installation should be.
/Close as resolved.
User avatar
Mattes
 
Posts: 8
Joined: 26 Oct 2018, 16:16
Has liked: 1 time
Been liked: 0 time
FAF User Name: Mattes


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest