What happened?
I can connect successfully to a vanilla Linux FXServer running in Docker, but my FiveM client crashes when connecting to a Linux/Docker server that enables:
I bisected this down to the enforced game build setting itself. The same server setup does not crash when that line is removed.
Environment
- Host OS: Windows
- Server runtime: FXServer on Linux in Docker
- Reproduced with:
spritsail/fivem:latest
- custom Docker image using FiveM Linux artifact
- Also reproduced with an empty resource, so this does not appear to depend on my resource code
What happens
- Server starts normally
info.json is reachable
- Client gets to
Connecting to server
- FiveM client crashes during/after connect when
sv_enforceGameBuild 3751 is enabled
When I remove sv_enforceGameBuild 3751, the same Docker/Linux server can be joined successfully.
Expected result
If the server is reachable and otherwise valid, enabling: cfg sv_enforceGameBuild 3751 should not crash the client.
Reproduction steps
1. Start a completely vanilla server in Docker
This works.
docker run --name spritsail-fivem-vanilla -p 30122:30120/tcp -p 30122:30120/udp -e LICENSE_KEY=<redacted> -itd spritsail/fivem
This vanilla server responds on:
http://127.0.0.1:30122/info.json
and can be joined without crashing.
2. Start a minimal custom-config server with an empty resource
I created a minimal empty resource:
fx_version 'cerulean'
game 'gta5'
3. Test configs
Working baseline
This does not crash:
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
ensure emptytest
sv_scriptHookAllowed 0
sv_hostname "Project - Compat Empty Test"
sv_endpointprivacy true
sv_maxclients 32
sv_licenseKey <redacted>
set steam_webApiKey ""
Test: only sv_maxclients 48
This does not crash:
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
ensure emptytest
sv_scriptHookAllowed 0
sv_hostname "Project - Test MaxClients"
sv_endpointprivacy true
sv_maxclients 48
sv_licenseKey <redacted>
set steam_webApiKey ""
Test: only sv_enforceGameBuild 3751
This does crash:
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
ensure emptytest
sv_scriptHookAllowed 0
sv_hostname "Project - Test Build"
sv_endpointprivacy true
sv_maxclients 32
sv_enforceGameBuild 3751
sv_licenseKey <redacted>
set steam_webApiKey ""
Test: sv_enforceGameBuild 3751 + sv_maxclients 48
This also crashes:
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
ensure emptytest
sv_scriptHookAllowed 0
sv_hostname "Project - Test Build And MaxClients"
sv_endpointprivacy true
sv_maxclients 48
sv_enforceGameBuild 3751
sv_licenseKey <redacted>
set steam_webApiKey ""
Importancy
Crash
Area(s)
FXServer, FiveM
Specific version(s)
FXServer-master v1.0.0.30707 linux
Additional information
No response
What happened?
I can connect successfully to a vanilla Linux FXServer running in Docker, but my FiveM client crashes when connecting to a Linux/Docker server that enables:
sv_enforceGameBuild 3751I bisected this down to the enforced game build setting itself. The same server setup does not crash when that line is removed.
Environment
spritsail/fivem:latestWhat happens
info.jsonis reachableConnecting to serversv_enforceGameBuild 3751is enabledWhen I remove
sv_enforceGameBuild 3751, the same Docker/Linux server can be joined successfully.Expected result
If the server is reachable and otherwise valid, enabling: cfg sv_enforceGameBuild 3751 should not crash the client.
Reproduction steps
1. Start a completely vanilla server in Docker
This works.
This vanilla server responds on:
and can be joined without crashing.
2. Start a minimal custom-config server with an empty resource
I created a minimal empty resource:
3. Test configs
Working baseline
This does not crash:
Test: only
sv_maxclients 48This does not crash:
Test: only
sv_enforceGameBuild 3751This does crash:
Test:
sv_enforceGameBuild 3751+sv_maxclients 48This also crashes:
Importancy
Crash
Area(s)
FXServer, FiveM
Specific version(s)
FXServer-master v1.0.0.30707 linux
Additional information
No response