Password Protected Servers
-
I have noticed that when entering in a password for your server in your config file on the
set g_password ""
line it just doesn't make anyone enter in the password but would rather instead let them join without entering in any password at all. Is there gonna be a fix for this or am I doing something potentially wrong? -
There probably won't be a fix for the current server browser.
Clients will have to set the password through the console before joining. -
TheReiko69 This is only an issue on T4SP dedis because the original game did not have dedicated servers for Singleplayer. We need to re-add the password checks when a user connects. This will be added back into the game soon.
-
I have a solution for this. You need to lock all slots in the .cfg file and set a private password.
Set a private password:
set sv_privatePassword "(your password)"
And then then change the number of private clients to 4:
set sv_privateclients "0" ----> set sv_privateclients "4"
This will make all slots private and a player will have to enter the command:
password (your password) in the console, otherwise he will not be able to join. I have tested this and confirm it does work. -
DXontheradio Does this also work on singleplayer servers?
-
RektInator I tried it for zombies, both original and custom maps. I havent tried coop but I would assume it works too.
-
DXontheradio Thanks for the fix! Will definitely use this until a fix for the client server browser is added.