Raised This Month: $51 Target: $400
 12% 

[l4d2] how to prevent auto team shuffling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tiphong
Member
Join Date: Aug 2022
Location: Taiwan
Old 06-13-2023 , 02:41   [l4d2] how to prevent auto team shuffling
Reply With Quote #1

hi I have a versus server and I have a problem in it on new map change, sometimes people will be swapped around, not every time but sometimes 1, 2 or more players will be swapped around.

Things I have done to try to prevent this -
set mp_autoteambalance to 0
set mp_autoteambalance to 1

set mp_autoteambalance to 1 and mp_teams_unbalance_limit to different values from 0-3

can anyone help me with this issue ?
tiphong is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 06-13-2023 , 14:29   Re: [l4d2] how to prevent auto team shuffling
Reply With Quote #2

mp_teams_unbalance_limit : 1 : , "nf", "rep", "cl", "launcher" : Teams are unbalanced when one team has this many more players than the other team. (0 disables check)

I think if you set it a big value (like mp_teams_unbalance_limit 32) it will never "balance" the game.

But in theory should be just a "mp_autoteambalance 0"

Where are you setting these cvars?

dedicated server or listen server?

What outputs at the end of match if you type "!cvar mp_autoteambalance" in chat?
__________________

Last edited by Marttt; 06-13-2023 at 14:31.
Marttt is offline
tiphong
Member
Join Date: Aug 2022
Location: Taiwan
Old 06-13-2023 , 17:27   Re: [l4d2] how to prevent auto team shuffling
Reply With Quote #3

using a dedicated server, i set the cvars in server.cfg

sm_cvar mp_autoteambalance x
sm_cvar mp_teams_unbalance_limit x

I tried mp_teams_unbalance_limit 32 but i was swapped on the first map change
and the output is [SM] Value of cvar "mp_autoteambalance": "1" or 0 if I set it to 0, it is not autochanged and also the mp_teams_unbalance_limit doesn't autochange either.
tiphong is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 06-13-2023 , 17:30   Re: [l4d2] how to prevent auto team shuffling
Reply With Quote #4

https://github.com/SirPlease/L4D2-Co...eam_shuffle.sp
__________________
HarryPotter is offline
tiphong
Member
Join Date: Aug 2022
Location: Taiwan
Old 06-13-2023 , 17:41   Re: [l4d2] how to prevent auto team shuffling
Reply With Quote #5

Quote:
Originally Posted by HarryPotter View Post
i was using this plugin and it was perfect apart from however there's a weird bug, sometimes on the new map it will constantly swap some players around, i was thinking to disable team switching until the round starts however that will break the functionality of this plugin. i believe others are having similar issues even on vanilla VS server. im not using any team manager plugin. setting vs_max_team_switches didn't make a difference. maybe i will just deal with the spam but it is quite annoying

Last edited by tiphong; 06-13-2023 at 20:18.
tiphong is offline
tiphong
Member
Join Date: Aug 2022
Location: Taiwan
Old 06-13-2023 , 20:18   Re: [l4d2] how to prevent auto team shuffling
Reply With Quote #6

just tested and setting mp_autoteambalance to 0 and mp_teams_unbalance_limit to 1 seems to work but not 100% confirmed, but setting both to 0 causes some swapping sometimes, lol probably an issue by valve

Last edited by tiphong; 06-13-2023 at 20:19.
tiphong is offline
DonProof
Junior Member
Join Date: Jun 2021
Old 02-19-2024 , 20:28   Re: [l4d2] how to prevent auto team shuffling
Reply With Quote #7

Quote:
Originally Posted by HarryPotter View Post
This doesn't work
I put the cvars like the previous comment and the teams still mixed up, that plugin doesn't work
DonProof is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode