PDA

View Full Version : Problems with privatepassword


balth
04-20-2004, 11:21 AM
Hi!

I have troubles with private clients connections. In the config I have:

seta g_privatepassword "xxxx"
seta sv_maxclients "35"
seta sv_privateclients "5"

and public slots are occupied up to 35. I cannot find what's wrong
:-(
Similarly with g_password - if I set it I cannot connect using proper password.
Anybody can help? Maybe someone can post proper (runing) config?

thx in adv

PS. Server is patched to 1.3.
________
M12 (http://www.bmw-tech.org/wiki/BMW_M12)

rudedog
04-20-2004, 04:14 PM
seta g_privatepassword "xxxx"
set sv_maxclients "35"
set sv_privateclients "5"

Instead of
seta g_privatepassword "xxxx"
seta sv_maxclients "35"
seta sv_privateclients "5"

Notice the set instead of seta for both maxclients and privateclients

Anex
04-21-2004, 01:12 AM
Oh rude, you blind ol fool lol

Here's the correct code to use balth:

set sv_maxclients "35"
set sv_privateclients "5"
set sv_privatepassword "xxxx"

It's sv_privatepassword, NOT g_privatepassword :wink:

Also balth, you cannot use g_password and sv_privateclients at the same time; you have to choose one or the other. g_password applys the password to the entire server, requring everyone to connnect using it. sv_privatepassword and sv_privateclients are used so that only a select few (how ever many slots you have assigned to sv_privateclients) can enter a password to join. If you leave sv_privateclients set and use g_password, you will lose the number of slots you assigned to sv_privateclients (i.e. in your scenario, your server would only support 30 people, the remaining 5 slots would never be used).

Keep this in mind when setting these cvars.

rudedog
04-21-2004, 06:46 AM
LOL, thanks :oops:

still trying to catch up on my sleep since my return from vacation.

balth
04-21-2004, 11:38 AM
Thx guys. I will try new params in a moment. Will write 'bout effects :)

bye

balth
________
Expert insurance (http://xpertinsurance.com/)

balth
04-22-2004, 06:59 AM
Hi.

Thanx for advices - of course all things work well. :)

bye

balth
________
Bimota 250Rr (http://www.cyclechaos.com/wiki/Bimota_250RR)