-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck on Starting Game - Default server configuration missing (solved) #2334
Comments
pls upload dump kthx <3 |
@Vivi4n Attaching WinDbg to your running process results in memory protected access violations. I'm not a reverse engineer, so if you have any hints on how to debug the exception properly, lay me a hand. I hope the dump enlightens you to find the root cause of the bug! |
So I was digging deeper into the issue and found that the manual described in https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/#windows apparently forgot to mention that the installation of an extra framework like ESX is required to get a proper basic FiveM server running on windows localhost. I'm not proposing another pull request for this there due to the PR's being pending for this project since 2020 (unmaintained?). So I solved this myself and found a ESX standalone here https://github.com/S-ESX/S-ESX-V1F and after applying the SQL query to a custom MySQL database, I altered the provided server.cfg and now the game is proceeding: From a developer's perspective, I would suggest throwing an exception if the server is misconfigured (like e.g. missing any additional resources) or didn't let the server start if essential components (like a MySQL database) are missing. Thank you anyway for tuning into this @Vivi4n :) and if it is allowed, I may create a GitHub Page showing the whole process of setting up a basic fivem server on windows localhost for every person interested. |
Huh- you don't need any 'additional framework' or 'MySQL database' to get in game, the existing cfx-server-data repository (as is described on that page!) is sufficient, though if you did deploy it as is described there, this not working would be a little bit weird. I do agree that this is a bit of a convoluted extra step, however - some work was planned to at least bundle the content of the cfx-server-data repository into the server artifacts container itself and perhaps have a default configuration because this really does not fail very gracefully. |
I agree on you. Then it was my mistake interpreting the screen as if the game wasn't launched properly by your client or the connection to the windows localhost server didn't work. And yes, I would add an addition for users that if the server is not owning a proper default configuration, then it could look like the setup hasn't been finished successfully or something isn't working the way it was intended. Re-closing this. |
What happened?
FiveM is unable to launch the game properly. The process halts in the state while the game is starting.
Expected result
Successfully started game
Reproduction steps
Importancy
Crash
Area(s)
FiveM
Specific version(s)
FiveM b1604, FiveM Server 7290
Additional information
Creating a .dmp file of the FiveM_GTAProcess.exe process reveals a Break instruction exception on my system. Analyzing the file with the WinDbg debugger app results in the following output to debug:
The text was updated successfully, but these errors were encountered: