Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: HaRmonY on June 10, 2011, 03:02:10 PM

Title: sv_login 2 doesn't work
Post by: HaRmonY on June 10, 2011, 03:02:10 PM
Hello,

im admin of the server Multi-Cups.de Public and my question is why the setting cvar_set sv_login 2 doesn't work.

I have set this in config and ingame in console, but newbies still can join.
Whats wrong?

EDIT: when you type "players" in console there aren't the player-ids. Look picture below

(http://img200.imageshack.us/img200/5716/sshot0003.jpg) (http://imageshack.us/photo/my-images/200/sshot0003.jpg/)



Thank you for Help,
HaRmonY
Title: Re: sv_login 2 doesn't work
Post by: ic3y on June 10, 2011, 03:28:31 PM
A screenshot without command use is useless
Title: Re: sv_login 2 doesn't work
Post by: payl on June 10, 2011, 03:32:16 PM
Looks like you have sv_login 0 - noone is logged..
Maybe post whole configuration so someone might find mistake in it..
Title: Re: sv_login 2 doesn't work
Post by: HaRmonY on June 10, 2011, 03:43:31 PM
click here (http://www.file-upload.net/download-3497789/server.cfg.html)
Title: Re: sv_login 2 doesn't work
Post by: ic3y on June 10, 2011, 03:47:07 PM
Copy & Paste ftw.

Code: [Select]
set numpasses 5
set oppass1      ""
set oppass1level 1
set oppass2      ""
set oppass2level 2
set oppass3      ""
set oppass3level 3
set oppass4      ""
set oppass4level 10

set rcon_password ""

should be

Code: [Select]
set numpasses 4
set oppass1      ""
set oppass1level 1
set oppass2      ""
set oppass2level 2
set oppass3      ""
set oppass3level 3
set oppass4      ""
set oppass4level 10

set rcon_password ""

Try it.

Works -> gj
not -> Copy & Paste Commands.txt

Had a bug there few month ago
Title: Re: sv_login 2 doesn't work
Post by: HaRmonY on June 10, 2011, 03:52:14 PM
and thats all?

i must ask flashfish (our sponsor) for restart, then it must work i think :)
Title: Re: sv_login 2 doesn't work
Post by: KiLo on June 10, 2011, 06:50:14 PM
I wouldn't think that that would affect sv_login 2. It has literally nothing to do with sv_login 2 whatsoever. If that truly is the problem then it must be some sort of coding fail. :)
Title: Re: sv_login 2 doesn't work
Post by: jitspoe on June 10, 2011, 07:50:36 PM
Did you try to cvar_get sv_login to see what it was set to?
Title: Re: sv_login 2 doesn't work
Post by: HaRmonY on June 11, 2011, 04:22:47 AM
yes, my console says it is set to 2.
Title: Re: sv_login 2 doesn't work
Post by: ic3y on June 11, 2011, 05:09:05 AM
I wouldn't think that that would affect sv_login 2. It has literally nothing to do with sv_login 2 whatsoever. If that truly is the problem then it must be some sort of coding fail. :)

Post your commands.cfg.
Maybe here is an error. I had a bug there, that everyone can kick. Maybe there is a problem with cvar_set
Title: Re: sv_login 2 doesn't work
Post by: HaRmonY on June 11, 2011, 06:12:03 AM
attached commands.txt
Title: Re: sv_login 2 doesn't work
Post by: Gamabunta on June 11, 2011, 06:16:53 AM
id 1? Make it 0, not sure but it might be that.
Title: Re: sv_login 2 doesn't work
Post by: ic3y on June 11, 2011, 07:34:12 AM
EOF at the end is missing
Title: Re: sv_login 2 doesn't work
Post by: T3RR0R15T on June 11, 2011, 08:18:06 AM
How do you start the server ?

You need to write the "exec server.cfg" command before the "map ..." command to load the config file correctly.
Title: Re: sv_login 2 doesn't work
Post by: HaRmonY on June 11, 2011, 10:45:00 AM
flashfish (server-owner) starts this server in putty but always with exec.
Title: Re: sv_login 2 doesn't work
Post by: T3RR0R15T on June 11, 2011, 11:25:54 AM
And the exec command comes before the map command?
Title: Re: sv_login 2 doesn't work
Post by: ic3y on June 11, 2011, 12:48:40 PM
You need to write the "exec server.cfg" command before the "map ..." command to load the config file correctly.

I load the config at the end and all works fine
Title: Re: sv_login 2 doesn't work
Post by: T3RR0R15T on June 11, 2011, 03:55:05 PM
Not until a player connect and change the map.

Kill the server, change the timelimit to 5 and start the server. You should have the time at 20 minutes now and at 5 minutes, after a mapchange. If you write the exec command in front of the map command, you have the 5 minutes timelimit directly.
Title: Re: sv_login 2 doesn't work
Post by: HaRmonY on July 01, 2011, 10:21:23 AM
old settings are back. After a new restart of the server the settings are working nice.
Hope to see you on our Pub ;)
Title: Re: sv_login 2 doesn't work
Post by: webhead on July 01, 2011, 04:28:42 PM
good to hear!