Environment
-
Operating System: Windows
-
Previous artifact (working): b30819
-
Current artifacts tested: b31623 and b31689
Description
After updating from Windows artifact b30819 to b31623, the server started printing the following notice during startup:
[ citizen-server-impl] -- [server notice: hostname_rework]
[ citizen-server-impl] You don't have sv_projectName/sv_projectDesc set.
[ citizen-server-impl] These variables augment sv_hostname and fix your server name being cut off in the server list.
[ citizen-server-impl] Use `sets sv_projectName ..` and `sets sv_projectDesc ..` to set them.
The same notice is also present on artifact b31689.
However, both variables are already configured in server.cfg:
sv_hostname "MyServer Test"
sets sv_projectName "MyServer Test"
sets sv_projectDesc "Test Server - Closed for now"
After startup, running cmdlist confirms that both ConVars are correctly registered:
sv_projectName = MyServer Test
sv_projectDesc = Test Server - Closed for now
The exact same server.cfg was used on all tested artifacts.
Expected behavior
No hostname_rework notice should be printed when sv_projectName and sv_projectDesc are already configured.
Actual behavior
The hostname_rework notice is printed during startup even though both ConVars are correctly configured and available after initialization.
Steps to reproduce
-
Start a server using Windows artifact b31623 or b31689.
-
Configure the following in
server.cfg:
sv_hostname "MyServer Test"
sets sv_projectName "MyServer Test"
sets sv_projectDesc "Test Server - Closed for now"
-
Start the server normally (
FXServer.exe, which launches txAdmin). -
Observe the
hostname_reworknotice during startup. -
Run
cmdlist. -
Verify that:
sv_projectName = MyServer Test sv_projectDesc = Test Server - Closed for now
Regression
-
Windows b30819:
No warning. -
Windows b31623:
Warning is printed. -
Windows b31689:
Warning is still printed.
The only change between the working and non-working tests is the FXServer artifact version. This appears to be a regression or a false-positive check introduced after b30819.