Pacifist [1J] Posted May 5, 2002 Share Posted May 5, 2002 how come through my remote configuration i can set the sv_password but not g_needpass ??? its telling me its "read only" meaning i cant change it to value of 1, to lock the server why is that?? is it another bug that the new patch will fix?? Link to comment Share on other sites More sharing options...
SuperCharlie Posted May 5, 2002 Share Posted May 5, 2002 g_password (game password) determines if the g_needpass is 1 or 0. SC Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 5, 2002 Share Posted May 5, 2002 That and g_needpass is really just informational anyway. It's a way to let game browsers know that the server is "locked". Link to comment Share on other sites More sharing options...
Pacifist [1J] Posted May 5, 2002 Author Share Posted May 5, 2002 yeah...so how are we supposed to lock the server? because, i can set the password, but when i disconnect, and have sv_privatepassword set, it recognizes the password, but does not say "password invalid" if you put nothing in.....the password will be set but anyone can get in, so how is it able to be locked? thats my only problem, the server is not in reach, i have to remote access it only Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 6, 2002 Share Posted May 6, 2002 There's a couple different passwords you can have: g_password -- this is what is used to "lock" the server so that only people with this password can get in sv_privatePassword -- this is what is used to access private slots on a public server. The number of private slots is set using sv_privateClients Now, when you set g_password, the privatePassword becomes irrelevant. There's no such thing as private slots on a passworded server--at least not ones you can access. I think you are confusing the privatePassword with the regular password. Link to comment Share on other sites More sharing options...
GooglyMoogly Posted May 6, 2002 Share Posted May 6, 2002 I cannot get the privateClient slots to work. I set both g_privateClients 1 and g_privatePassword "mypassword". The server reflects that I now have 1 fewer public slots, but when I try to connect I never get prompted for a password. The server reports itself as full. To get around this I just lock one slot down, then when I want to play I use rcon to set g_privateClients 0 and connect right away. So is this feature broken or am I missing something? Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 6, 2002 Share Posted May 6, 2002 You need to set the password in your client before you join. You can just click the button at the bottom of the in-game browser that says "password", enter the password in the box, and hit ok. Then join your server. Viola! You are using the private slot. Link to comment Share on other sites More sharing options...
Pacifist [1J] Posted May 6, 2002 Author Share Posted May 6, 2002 ok, everything works except ONE THING.... i SET the g_password now how do i remove the password to make the server public once more?? Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 7, 2002 Share Posted May 7, 2002 One way would be to change the config like so: seta g_password "" If you need to remove it via rcon you need to use: /rcon set g_password none That assumes you've previously set the rconpassword in the console. You might ask, "why none?" The answer is that you can't just use "" because the console strips out quotes--which is the same reason it's so hard to kick players with spaces in their names. Of course, if you have a password set in your config, this will not remove it. So, if the server gets restarted, it will revert back to being locked. However, it will at least temporarily unlock it until you can change the setting in the config or until you want to lock it again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.