Upvote Upvoted 1 Downvote Downvoted
Ultiduo Baloo limiting players
posted in Q/A Help
1
#1
0 Frags +

Question, for some reason the server won't limit the players to two players per team. If a game is currently going on (1 soldier, 1 medic per team) a third person can jump onto either team and be a soldier or medic and play on the current game.

I suppose it would be prudent to post my server.cfg file.

// Official ETF2L League Config - has to be used for every ETF2L match!

hostname Bro Ultidou

rcon_password ***

decalfrequency 60 			
host_framerate 0 			
log on 				

tv_chattimelimit 1 			
tv_delay 90 				
tv_delaymapchange 1 			
tv_transmitall 1 

mp_allowspectators 1 		
mp_autocrosshair 0 		
mp_autoteambalance 0 		
mp_bonusroundtime 0 		
mp_chattime 10 		
mp_disable_respawn_times 0
mp_enableroundwaittime 1 	
mp_fadetoblack 0 		
mp_falldamage 1 			
mp_footsteps 1 		
mp_forcecamera 1 		
mp_fraglimit 0 		
mp_idledealmethod 0 		
mp_idlemaxtime 0 		
mp_maxrounds 0
mp_respawnwavetime 10.0 
mp_match_end_at_timelimit 1	
mp_stalemate_enable 0	
mp_stalemate_timelimit 0 	
mp_teams_unbalance_limit 0 		
mp_teamplay 0 				
mp_time_between_capscoring 30 	
mp_timelimit 30 	
mp_tournament 1	
mp_tournament_allow_non_admin_restart 0	
mp_tournament_stopwatch 1	
mp_weaponstay 0 	
mp_windifference 5
mp_winlimit 1 
mp_tournament_whitelist "C:\Users\Server\Desktop\Tf2Server\tf2\tf\cfg\whitelist.txt"

sv_allow_color_correction 0 	
sv_allow_wait_command 0	
sv_downloadurl "***"
sv_allowdownload 1
sv_allowupload 1	
net_maxfilesize 64		
sv_alltalk 0 			
sv_cheats 0 			
sv_client_cmdrate_difference 30 
sv_client_max_interp_ratio 1
sv_client_min_interp_ratio 1 	
sv_client_predict 1
sv_minrate 20000
sv_maxrate 60000
sv_maxupdaterate 66
sv_minupdaterate 40
sv_maxcmdrate 66
sv_mincmdrate 40 		
sv_pausable 1 			
sv_pure_kick_clients 1 	
sv_pure 2 	

tf_arena_first_blood 0
tf_clamp_airducks 1
tf_ctf_bonus_time 0
tf_damage_disablespread 1						
tf_flag_caps_per_round 0	
tf_tournament_hide_domination_icons 1 
tf_weapon_criticals 0
tf_use_fixed_weaponspreads 1
tf_teamtalk 1

tf_tournament_classlimit_soldier 1
tf_tournament_classlimit_medic 1
tf_tournament_classlimit_scout 0
tf_tournament_classlimit_demoman 0
tf_tournament_classlimit_pyro 0
tf_tournament_classlimit_sniper 0
tf_tournament_classlimit_heavy 0
tf_tournament_classlimit_engineer 0
tf_tournament_classlimit_spy 0

sm_advertisements_enabled 1
sm_advertisements_interval 300

mp_tournament_restart

say ETF2L (www.etf2l.org) - Official League Config loaded (Version Date: 24.01.10) - Good Luck & Have Fun!
say This version is modified for ultiduo by -|F|- angel (01.03.11):
say * mp_timelimit 0
say * mp_winlimit 2
say * class limit: 1 soldier, 1 medic, 0 - all the rest
Question, for some reason the server won't limit the players to two players per team. If a game is currently going on (1 soldier, 1 medic per team) a third person can jump onto either team and be a soldier or medic and play on the current game.

I suppose it would be prudent to post my server.cfg file.

[code]// Official ETF2L League Config - has to be used for every ETF2L match!

hostname Bro Ultidou

rcon_password ***

decalfrequency 60
host_framerate 0
log on


tv_chattimelimit 1
tv_delay 90
tv_delaymapchange 1
tv_transmitall 1


mp_allowspectators 1
mp_autocrosshair 0
mp_autoteambalance 0
mp_bonusroundtime 0
mp_chattime 10
mp_disable_respawn_times 0
mp_enableroundwaittime 1
mp_fadetoblack 0
mp_falldamage 1
mp_footsteps 1
mp_forcecamera 1
mp_fraglimit 0
mp_idledealmethod 0
mp_idlemaxtime 0
mp_maxrounds 0
mp_respawnwavetime 10.0
mp_match_end_at_timelimit 1
mp_stalemate_enable 0
mp_stalemate_timelimit 0
mp_teams_unbalance_limit 0
mp_teamplay 0
mp_time_between_capscoring 30
mp_timelimit 30
mp_tournament 1
mp_tournament_allow_non_admin_restart 0
mp_tournament_stopwatch 1
mp_weaponstay 0
mp_windifference 5
mp_winlimit 1
mp_tournament_whitelist "C:\Users\Server\Desktop\Tf2Server\tf2\tf\cfg\whitelist.txt"

sv_allow_color_correction 0
sv_allow_wait_command 0
sv_downloadurl "***"
sv_allowdownload 1
sv_allowupload 1
net_maxfilesize 64
sv_alltalk 0
sv_cheats 0
sv_client_cmdrate_difference 30
sv_client_max_interp_ratio 1
sv_client_min_interp_ratio 1
sv_client_predict 1
sv_minrate 20000
sv_maxrate 60000
sv_maxupdaterate 66
sv_minupdaterate 40
sv_maxcmdrate 66
sv_mincmdrate 40
sv_pausable 1
sv_pure_kick_clients 1
sv_pure 2


tf_arena_first_blood 0
tf_clamp_airducks 1
tf_ctf_bonus_time 0
tf_damage_disablespread 1
tf_flag_caps_per_round 0
tf_tournament_hide_domination_icons 1
tf_weapon_criticals 0
tf_use_fixed_weaponspreads 1
tf_teamtalk 1

tf_tournament_classlimit_soldier 1
tf_tournament_classlimit_medic 1
tf_tournament_classlimit_scout 0
tf_tournament_classlimit_demoman 0
tf_tournament_classlimit_pyro 0
tf_tournament_classlimit_sniper 0
tf_tournament_classlimit_heavy 0
tf_tournament_classlimit_engineer 0
tf_tournament_classlimit_spy 0

sm_advertisements_enabled 1
sm_advertisements_interval 300


mp_tournament_restart

say ETF2L (www.etf2l.org) - Official League Config loaded (Version Date: 24.01.10) - Good Luck & Have Fun!
say This version is modified for ultiduo by -|F|- angel (01.03.11):
say * mp_timelimit 0
say * mp_winlimit 2
say * class limit: 1 soldier, 1 medic, 0 - all the rest[/code]
2
#2
5 Frags +

Try to do this all under one thread, like the other thread you already made about your server.

Try to do this all under one thread, like the other thread you already made about your server.
3
#3
1 Frags +

I will try to refrain from making any more topics, its just that my other ones weren't a "general Server help" kind of topic, it was more specific, so I didn't want to confuse. I will consider this in the future :)

I will try to refrain from making any more topics, its just that my other ones weren't a "general Server help" kind of topic, it was more specific, so I didn't want to confuse. I will consider this in the future :)
4
#4
0 Frags +

Anyone else wanna chime in? ^^;

Anyone else wanna chime in? ^^;
5
#5
0 Frags +

sv_maxplayers 4?

sv_maxplayers 4?
6
#6
0 Frags +

Is that to limit how many players can be playing, not spectating?

Is that to limit how many players can be playing, not spectating?
7
#7
0 Frags +
DaMeiNIs that to limit how many players can be playing, not spectating?

Yes, if you go that route you would have to have spectators use source tv.

I would recommend that you find a Sourcemod plugin to limit 2 players per team.

[quote=DaMeiN]Is that to limit how many players can be playing, not spectating?[/quote]

Yes, if you go that route you would have to have spectators use source tv.

I would recommend that you find a Sourcemod plugin to limit 2 players per team.
8
#8
0 Frags +

Hmm, I found the plugin for Class Restriction and maybe if I just put that in and set it to 1 and 1 for each, it will fix the problem.

Here's to hoping.

Hmm, I found the plugin for Class Restriction and maybe if I just put that in and set it to 1 and 1 for each, it will fix the problem.

Here's to hoping.
9
#9
0 Frags +

If you want to have only four max players along with spectators, a sourcemod plugin would be needed. I have on the #tf2.pug.na servers a plugin which limits the number of total players to a number defined by the sm_maxplayers convar (by default it's 12). So in your case, you would set sm_maxplayers to 4, and then any more than 4 players will be moved to spectator automatically.

https://www.dropbox.com/s/d6zk11belt5gh18/tf2limit12players.smx

Let me know if this works for you.

If you want to have only four max players along with spectators, a sourcemod plugin would be needed. I have on the #tf2.pug.na servers a plugin which limits the number of total players to a number defined by the sm_maxplayers convar (by default it's 12). So in your case, you would set sm_maxplayers to 4, and then any more than 4 players will be moved to spectator automatically.

https://www.dropbox.com/s/d6zk11belt5gh18/tf2limit12players.smx

Let me know if this works for you.
10
#10
0 Frags +

I decided to also create one for fun. Mine limits red and blue to two players each but allows an admin with the generic flag to bypass the restriction.

https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.smx
https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.sp (source)

I decided to also create one for fun. Mine limits red and blue to two players each but allows an admin with the generic flag to bypass the restriction.

https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.smx
https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.sp (source)
11
#11
0 Frags +
HurpDurpI decided to also create one for fun. Mine limits red and blue to two players each but allows an admin with the generic flag to bypass the restriction.

https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.smx
https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.sp (source)

Nice, but it's never really a good idea to hardcode values. I'd prefer using cvars to set the number of players per team.

[quote=HurpDurp]I decided to also create one for fun. Mine limits red and blue to two players each but allows an admin with the generic flag to bypass the restriction.

https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.smx
https://dl.dropboxusercontent.com/u/86778387/Sourcemod/teamlimit.sp (source)[/quote] Nice, but it's never really a good idea to hardcode values. I'd prefer using cvars to set the number of players per team.
12
#12
0 Frags +
FogNice, but it's never really a good idea to hardcode values. I'd prefer using cvars to set the number of players per team.

Thanks for the suggestion. Updated the link.

Edit:
Convars are sm_teamlimit_red and sm_teamlimit_blu (default 2)

[quote=Fog]Nice, but it's never really a good idea to hardcode values. I'd prefer using cvars to set the number of players per team.[/quote]

Thanks for the suggestion. Updated the link.

Edit:
Convars are sm_teamlimit_red and sm_teamlimit_blu (default 2)
13
#13
0 Frags +
FogIf you want to have only four max players along with spectators, a sourcemod plugin would be needed. I have on the #tf2.pug.na servers a plugin which limits the number of total players to a number defined by the sm_maxplayers convar (by default it's 12). So in your case, you would set sm_maxplayers to 4, and then any more than 4 players will be moved to spectator automatically.

https://www.dropbox.com/s/d6zk11belt5gh18/tf2limit12players.smx

Let me know if this works for you.

I have this loaded, and I have in my config

sm_maxplayers 4

With no other "maxplayers" besides the default 12 that I have set to be allowed in the game, but I can still have 3 players on the same team.

[quote=Fog]If you want to have only four max players along with spectators, a sourcemod plugin would be needed. I have on the #tf2.pug.na servers a plugin which limits the number of total players to a number defined by the sm_maxplayers convar (by default it's 12). So in your case, you would set sm_maxplayers to 4, and then any more than 4 players will be moved to spectator automatically.

https://www.dropbox.com/s/d6zk11belt5gh18/tf2limit12players.smx

Let me know if this works for you.[/quote]

I have this loaded, and I have in my config

sm_maxplayers 4

With no other "maxplayers" besides the default 12 that I have set to be allowed in the game, but I can still have 3 players on the same team.
Please sign in through STEAM to post a comment.