Author Topic: sv_login 2 doesn't work  (Read 6342 times)

HaRmonY

  • VM-68
  • Posts: 211
sv_login 2 doesn't work
« on: June 10, 2011, 01: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





Thank you for Help,
HaRmonY
« Last Edit: June 10, 2011, 01:24:45 PM by HaRmonY »

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: sv_login 2 doesn't work
« Reply #1 on: June 10, 2011, 01:28:31 PM »
A screenshot without command use is useless

payl

  • 68 Carbine
  • Posts: 365
Re: sv_login 2 doesn't work
« Reply #2 on: June 10, 2011, 01:32:16 PM »
Looks like you have sv_login 0 - noone is logged..
Maybe post whole configuration so someone might find mistake in it..

HaRmonY

  • VM-68
  • Posts: 211
Re: sv_login 2 doesn't work
« Reply #3 on: June 10, 2011, 01:43:31 PM »
click here

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: sv_login 2 doesn't work
« Reply #4 on: June 10, 2011, 01: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

HaRmonY

  • VM-68
  • Posts: 211
Re: sv_login 2 doesn't work
« Reply #5 on: June 10, 2011, 01:52:14 PM »
and thats all?

i must ask flashfish (our sponsor) for restart, then it must work i think :)

KiLo

  • Autococker
  • Posts: 2086
Re: sv_login 2 doesn't work
« Reply #6 on: June 10, 2011, 04: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. :)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: sv_login 2 doesn't work
« Reply #7 on: June 10, 2011, 05:50:36 PM »
Did you try to cvar_get sv_login to see what it was set to?

HaRmonY

  • VM-68
  • Posts: 211
Re: sv_login 2 doesn't work
« Reply #8 on: June 11, 2011, 02:22:47 AM »
yes, my console says it is set to 2.

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: sv_login 2 doesn't work
« Reply #9 on: June 11, 2011, 03: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

HaRmonY

  • VM-68
  • Posts: 211
Re: sv_login 2 doesn't work
« Reply #10 on: June 11, 2011, 04:12:03 AM »
attached commands.txt

Gamabunta

  • Committee Member
  • Autococker
  • Posts: 703
Re: sv_login 2 doesn't work
« Reply #11 on: June 11, 2011, 04:16:53 AM »
id 1? Make it 0, not sure but it might be that.

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: sv_login 2 doesn't work
« Reply #12 on: June 11, 2011, 05:34:12 AM »
EOF at the end is missing

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: sv_login 2 doesn't work
« Reply #13 on: June 11, 2011, 06: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.

HaRmonY

  • VM-68
  • Posts: 211
Re: sv_login 2 doesn't work
« Reply #14 on: June 11, 2011, 08:45:00 AM »
flashfish (server-owner) starts this server in putty but always with exec.

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: sv_login 2 doesn't work
« Reply #15 on: June 11, 2011, 09:25:54 AM »
And the exec command comes before the map command?

ic3y

  • Committee Member
  • Autococker
  • Posts: 1398
Re: sv_login 2 doesn't work
« Reply #16 on: June 11, 2011, 10:48:40 AM »
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

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: sv_login 2 doesn't work
« Reply #17 on: June 11, 2011, 01: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.

HaRmonY

  • VM-68
  • Posts: 211
Re: sv_login 2 doesn't work
« Reply #18 on: July 01, 2011, 08: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 ;)

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: sv_login 2 doesn't work
« Reply #19 on: July 01, 2011, 02:28:42 PM »
good to hear!