Jump to content

Home

g_needpass 1?


Pacifist [1J]

Recommended Posts

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

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...