Balance

Hello everyone, because the server is not performing autobalancing between the teams.

I noticed that there can be 5 players and leave 4 on one team and 1 on the other.

does not make the decision to self-balance

set scr_teambalance 1

@MAD_DAD @Sh3llK0de

For the server to make the decision to balance, it has to be like this, right?

because I am not doing it, but I do remember that I did it before. Could it be that a change has to be made somewhere else?

how have you got the bots joining… autoassign?
or is this just players?

You could force players to autoassign…
in the _menus.gsx file on line 154 to 171 if using notepad++

change:

if( response == "endgame" )
			continue;

		if( menu == game["menu_team"] )
		{
			switch(response)
			{
			case "allies":
				self [[level.allies]]();
				break;

				case "axis":
				self [[level.axis]]();
				break;

			case "autoassign":
				self [[level.autoassign]]();
				break;

to:

if( response == "endgame" )
			continue;

		if( menu == game["menu_team"] )
		{
			switch(response)
			{
			case "allies":
				self [[level.autoassign]]();
				break;

				case "axis":
				self [[level.autoassign]]();
				break;

			case "autoassign":
				self [[level.autoassign]]();
				break;

So no matter which team players choose they will be autoassigned to the team with the lowest number of players

1 Like

Thanks friend, if it turned out that way for me.
but I really preferred the old way. the one that informed you that you were going to be autobalanced. because this way the player recognizes that he was changed teams because he is unbalanced.

the modification you make. It’s like it’s a server error. Do you get me.

For now I will continue using the way you recommended.

But it seems curious to me that now you can’t use autobalance and I don’t remember what was used for that. one could even set the check time before balancing and could set a message that was autobalanced.