SRCDS Steam group


TF2 mp_waitingforplayers_time
#1
Hello all,

I've been having issues getting my waiting for players timer to work correctly in TF2. Sometimes it'll work. Other times it will start counting down from 30 seconds and then at 24 it will just go right to the setup timer or start the game. This is obviously a problem on certain maps. Any ideas?

My config (excluding rcon password, hostname, sv_contact, etc) is as follows...

Quote:/ *********** GAME SETTINGS, YOU CAN CHANGE THESE THE WAY YOU LIKE IT ***************

// TEAMBALANCING
// Toggles the forcing of clients to join teams to make it balanced. 1=on and 0=off
mp_autoteambalance 1
// Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teams_unbalance_limit 1

// ROUND AND MAP TIMES
// Max number of rounds to play before server changes maps
mp_maxrounds 5
// Max number of rounds one team can win before a server changes maps
mp_winlimit 3
// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_enableroundwaittime 1
// Time after round win until round restarts (in seconds)
mp_bonusroundtime 10
// Timelimit (in seconds) of the stalemate round
mp_stalemate_timelimit 240
// game time per map in minutes
mp_timelimit 40

// IDLE
// After this many seconds without a message from a client, the client is dropped
sv_timeout 40
// Prevent people from being auto kicked
mp_disable_autokick
//Deals with Idle Players. 1 = Sends them into Spectator
mp_idledealmethod 1

// SPECTATORS
// Restricts spectator camera view for dead players. 1=on and 0=off
mp_forcecamera 1
// toggles whether the server allows spectator mode or not. 1=on and 0=off
mp_allowspectators 1

// ************ IF YOU HAVE LAG ISSUES YOU CAN CHANGE THESE SETTINGS, IF YOU KNOW WHAT YOU ARE DOING *****************
// SET RATES
// Max bandwidth rate allowed on server, 0=unlimited, max=20000
sv_maxrate 10000
// Min bandwidth rate allowed on server, 0=unlimited, 4000=good to keep dialup gamers off the server
sv_minrate 4000
// Frame rate limiter
fps_max 300

// DOWNLOAD
// Allow clients to download files
sv_allowdownload 1
// Allow clients to upload customizations files like logospray files
sv_allowupload 1

// *********** IF YOU KNOW WHAT YOU ARE DOING YOU CAN CHANGE THESE SETTINGS AS WELL *************
// SERVER LOGGING, creates a logfile (needed for statsprograms), "log off" to turn off logging
log on
// Collect CPU usage stats
sv_stats 1
// log ips and ids
writeid
writeip
// Log server information in the log file.
sv_logfile 1
// Log server bans in the server logs.
sv_logbans 1
// Echo log information to the console.
sv_logecho 1
// VOICE disabled, if you want VOICE enabled then change 0 into 1
sv_voiceenable 1

// CHEATS & PAUSE
sv_cheats 0
// disable clients' ability to pause the server
sv_pausable 0

// Exec files on startup...these are placed in the "**\tf2\orangebox\tf\cfg\" folder.
exec banned_user.cfg
exec banned_ip.cfg

// Set the waiting for players time
sm_cvar mp_waitingforplayers_time 30
Reply
#2
I'm having the exact same problem, although on my server it's not even displaying the round timer, it's just "0:00". Then, after about 3 or 4 minutes, it goes to the stalemate round.

Very frustrating.

As soon as I figure it out, I'll let you know.
Reply
#3
A lot of guys are having this problem, might be a bug?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#4
I think its issues with the script in the server.cfg file. I've been tinkering with different examples around the forum, and I think I've corrected the problem. I'll post a solution when I find it.
Reply
#5
Hey that would be great, thanks.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#6
Ah finally a thread about my specific problem! Can't tell you how I've scrounged the net for this...

Anyway I can't get the "Waiting for Players" period to ever end. When the round starts, the timer starts at 30 seconds and counts down to 0 from there. Once it hits 0 it stays at zero, the timer never goes away, and the round never starts.

On some maps I get a little box in the middle of the screen saying "Round will start in 30 seconds" right about when the "Waiting for Players" box (at the top of the screen) say there's 15 seconds left... then I get a box in the middle saying "Round will start in 10 seconds" about 10 or 15 seconds after the box at the top has stopped at 0.

All of this happens consistently no matter what I set the mp_waitingforplayers cvars to, no matter if they are set in server.cfg or set manually in game. Yar! I think this is more than a configuration problem personally... seems buggy, and I haven't found any other people with the same problem until now, save for this thread, which I am currently investigating.

So anyone got an answer yet?
Reply
#7
Just to let everyone know the answer to my problem.

I originally had "sm_cvar mp_waitingforplayers_time 30" in my config.

This was using SourceMod to change the locked mp_waitingforplayers_time cvar. I took that one line above out of my config and it works fine. Apparently there's no need to set this waiting for player time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)