It is possible for a dedicated server to stop being a server, instead reverting to standard client behavior (server-only commands not working, possible to connect to other servers, etc) except without a GUI.
Steps to reproduce
Start a dedicated server with openttd -d.
Run the console command connect. The command fails with ERROR: This command is not available to a network server.
Run the console command part. This command succeeds when it should either fail or act the same as exit.
Run the console command connect again. Notice this time the command doesn't fail, as the dedicated server process is no longer a server.
Version of OpenTTD
jgrpp-0.57.1
Expected result
A dedicated server should always be a server.
Actual result
It is possible for a dedicated server to stop being a server, instead reverting to standard client behavior (server-only commands not working, possible to connect to other servers, etc) except without a GUI.
Steps to reproduce
openttd -d
.connect
. The command fails withERROR: This command is not available to a network server.
part
. This command succeeds when it should either fail or act the same asexit
.connect
again. Notice this time the command doesn't fail, as the dedicated server process is no longer a server.