[Mutator] Even Match (Onslaught team balancer)

Anything about UT2004 mapping, Uscripting & more
User avatar
EmanReleipS
Administrator
Posts: 3327
Joined: Wed 2. Oct 2013, 23:18
Description: Pancake Fairy
Location: Germany

[Mutator] Even Match (Onslaught team balancer)

Post by EmanReleipS »

Miauz55555 wrote: Sun 20. Mar 2022, 23:35 May changing some again:

SoftRebalanceDelay=10
ForcedRebalanceDelay=40
ValuablePlayerRankingPct=60

I think 50 secconds until the ballancing starts is to long.
Also 60% give some more options for the ballancer.
https://github.com/TheRealWormbo/EvenMa ... /README.md
I think the SoftRebalanceDelay shouldn't be too close to the beginning of the match, when players are still loading the map and leaving. We might end up with too much shuffling around that way. Maybe something like 30 seconds?

Btw, I'm not sure if the "evenmatch" command works as intended. Tonight on Storage we had too many bots twice and I used the "evenmatch" command because I wanted to kick the excess bot.

Well, the first time the balancer ended up swithing me depite me being the highest ranked player on my team. We thereby ended up with 4 human players vs 2 human players. I switched back manually, which again resulted in too many bots, tried "evenmatch" again and it just switched another one of our humans to the other team, instead of removing a bot. That way we were down to 2 human players vs 4 players again. Ankee went to spec out of frustration, leaving me as the only human vs 4... :lol:
(Ankee came back on my team and asked me wth is going on. Sorry about that, Ankee!)

Anyhow, what is your experience with the evenmatch command? Because it doesn't seem to help when you just want to get rid of an excess bot...
Image
User avatar
Miauz55555
Posts: 2025
Joined: Sun 7. Jun 2015, 22:12
Description: https://discord.gg/X4V8THM
Location: Germany

[Mutator] Even Match (Onslaught team balancer)

Post by Miauz55555 »

Are you sure that it was evenmatch which swapped, and not titan team fix? Because the SoftRebalanceDelay means that it will simply do nothing for that ammong of secconds after calling that command. Also evenmatch is not sending the higher ranked players, that's what ValuablePlayerRankingPct is for. At the moment it's 50% .. so with 4 players the last two will be able to shwitch and the first two, not. TitanTeam fix is just looking at the numbers and will switch randomly.
May looking in the logs will help to figure out.

Generell with player count where bots are, our current ballancing is not optimal. When someone switch the bots may stay, may not. At round start or quick round, when no one joins or leaves, it's fine.

SoftRebalanceDelay 10 means that after 10s, when nothing happend, the next death player which fullfills the ValuablePlayerRankingPct criteria will be switched.

Are there documentations on how the TitanTeamFix works and what settings you have? I wound otherwise still say to remove titan and let evenmatch do all the work while we change some settings. We could also take a look at what omni had done so far with evenmatch.
Image
User avatar
EmanReleipS
Administrator
Posts: 3327
Joined: Wed 2. Oct 2013, 23:18
Description: Pancake Fairy
Location: Germany

[Mutator] Even Match (Onslaught team balancer)

Post by EmanReleipS »

Pretty sure it was evenmatch. I used the "evenmatch" command and there was a line "EmanReleipS asked for a balance check" or something like that. But yes, it shouldn't swap the highest ranking player.

As far as I know, we are using the TTF for ONS Plus, which would be this configuration:

; This is a config profile optimised for use with my ONSPlus mutator, combined with ONSPlus...TitanTeamFix does not remove your server from standard servers
[ONSPlus TTeamFixConfigProfile]
bCheckOnExit=True
bSpectateMeansExit=True
PlayerExitEvent=EXIT_Countdown
ExitCountdown=15
bCheckOnDeath=False
PlayerDeathEvent=DEATH_CountdownOrDeath
DeathCountdown=15
JoinTimeLeniancy=120
MinSwitchCandidates=1
MaxSwitchCandidates=5
bDisablePreferredTeam=True
bPreferLosingTeam=True
bDisableTTeamFix=False
bForceOnTeamDeath=False
bNotifySwitchedPlayer=True
SwitchedMessage=TitanTeamFix: You have been switched to balance the teams
bAnnounceSwitch=True
bSkipSwitchedAnnounce=True
AnnounceMessage=TitanTeamFix: %p has been switched to balance the teams
MultipleAnnounceMessage=TitanTeamFix: %p have been switched to balance the teams
bAnnounceImbalance=True
ImbalanceMessage=TitanTeamFix: The teams have become uneven
bAnnounceSlotOpened=True
SlotOpenedMessage=TitanTeamFix: A slot has opened, another player can join the game
MessageColor=(R=145,G=135,B=181)
bCustomMutHandling=True
CustomMutHandle=ONSPlus_101beta31.ONSPlusMutHack

To be honest there isn't a whole lot to change here...
Image
User avatar
DaveTheBlaze
Posts: 83
Joined: Sun 15. Mar 2020, 18:28
Description: CovidFreeMapper

[Mutator] Even Match (Onslaught team balancer)

Post by DaveTheBlaze »

Hey guys,
I don't know if it was mentioned on the previous 14 pages but there is one thing that bugs me about the new manual balancer.
Whenever there are bots present, they will count as players, too. We often end up with 1 vs 4 (human players) after manual balancing, since the bots fill the remaining spots of the players leaving. Kind of annoying.
Can't you more or less exclude bots from the team balancer code or add another 'if none human player' clause? Although it could raise other balancing related problems. I don't know, anyone smart on here to solve this issue?


Nevermind, Miauz already mentioned it. I should have stayed on page 15 :think:
So I guess there is no solution to this.
joeblow
Posts: 325
Joined: Sun 16. Feb 2014, 20:41
Description: male gamer
Location: tennessee,usa

[Mutator] Even Match (Onslaught team balancer)

Post by joeblow »

Yeah I took one for the team on that one last night.

What I used to do on DW server is "kill all bots" do the balance and then add in some bots later in the match. At least you start off with same players vs players.

Solution is turn off the balancer with low player numbers or in my case dont play during slow hours and find another hobby.
joeblow
Posts: 325
Joined: Sun 16. Feb 2014, 20:41
Description: male gamer
Location: tennessee,usa

[Mutator] Even Match (Onslaught team balancer)

Post by joeblow »

Image

Picture of said match discussed above.
User avatar
Miauz55555
Posts: 2025
Joined: Sun 7. Jun 2015, 22:12
Description: https://discord.gg/X4V8THM
Location: Germany

[Mutator] Even Match (Onslaught team balancer)

Post by Miauz55555 »

Can we take another look at the settings?
Miauz55555 wrote: Sun 27. Mar 2022, 14:30 Are you sure that it was evenmatch which swapped, and not titan team fix? Because the SoftRebalanceDelay means that it will simply do nothing for that ammong of secconds after calling that command. Also evenmatch is not sending the higher ranked players, that's what ValuablePlayerRankingPct is for. At the moment it's 50% .. so with 4 players the last two will be able to shwitch and the first two, not. TitanTeam fix is just looking at the numbers and will switch randomly.
May looking in the logs will help to figure out.

Generell with player count where bots are, our current ballancing is not optimal. When someone switch the bots may stay, may not. At round start or quick round, when no one joins or leaves, it's fine.

SoftRebalanceDelay 10 means that after 10s, when nothing happend, the next death player which fullfills the ValuablePlayerRankingPct criteria will be switched.

Are there documentations on how the TitanTeamFix works and what settings you have? I wound otherwise still say to remove titan and let evenmatch do all the work while we change some settings. We could also take a look at what omni had done so far with evenmatch.
Image
User avatar
EmanReleipS
Administrator
Posts: 3327
Joined: Wed 2. Oct 2013, 23:18
Description: Pancake Fairy
Location: Germany

[Mutator] Even Match (Onslaught team balancer)

Post by EmanReleipS »

Okay, so I think the topic of balancing requires a little longer post from me, because there have been some very recent changes.
The past few weeks the balance has been off for 2 reasons:

1) OpenSpy Info Mutator

The OpenSpy info mutator, which informs players about the new community master server and gives them the option to auto configure their settings to use the new master server, is unfortunately messing with our teams a lot. It seems to place all new players on the blue team by default. I received a new version of this mutator, which was supposed to work better with Evenmatch, but I added it to the server this week and it just causes the same issues.

I removed this mutator last night between matches. I hope that most of our players have changed their ut2004.inis by now, or added CEONSS to their Favorites. I will also make more announcements on Discord and Steam to inform players how to change the master server themselves, which should make it unnecessary to run the OpenSpy Info mutator again.

2) TitanTeamFix and UTComp/ONSPlus


The configuration of TitanTeamFix (which handles mid-game balancing) was still connected to ONSPlus, which we disabled when we started using UTComp in November. So this might be why the balance has been out of whack, albeit less obvious then the past few days with the OpenSpy mutator, since November. I noticed that TitanTeamFix would announce a player imbalance, but failed to switch someone.

After comparing the different profile settings for TitanTeamFix, I changed bCustomMutHandling=True to bCustomMutHandling=False. Later, I was able to confirm in-game that TitanTeamFix switched players again.


On a seperate note, the "Evenmatch" call string to manually thrigger balancing really does not work well, so I have removed it today and also removed the corresponding entry in our RSS message feed.

Current settings (changes marked in red):


Balances teams at the beginning of matches:
[EvenMatchV2b2.mutTeamBalance]
ActivationDelay=10
MinDesiredFirstRoundDuration=7
bShuffleTeamsAtMatchStart=True
bRandomlyStartWithSidesSwapped=False
bAssignConnectingPlayerTeam=True
bIgnoreConnectingPlayerTeamPreference=True
bAnnounceTeamChange=True
bIgnoreBotsForTeamSize=False
bBalanceTeamsBetweenRounds=True
bBalanceTeamsWhilePlaying=False
bBalanceTeamsDuringOvertime=False
bBalanceTeamsOnPlayerRequest=False
bBalanceTeamsOnAdminRequest=False
bDisplayRoundProgressIndicator=True
SmallTeamProgressThreshold=0.300000
SoftRebalanceDelay=50
ForcedRebalanceDelay=50
SwitchToWinnerProgressLimit=0.600000
ValuablePlayerRankingPct=50
RecentBalancingPlayerTime=240
NoBalancingUndoTime=1
MinPlayerCount=2
TeamsCallString=
DeletePlayerPPHAfterDaysNotSeen=180
bDebug=False
Balances during matches:
[ONSPlus TTeamFixConfigProfile]
bCheckOnExit=True
bSpectateMeansExit=True
PlayerExitEvent=EXIT_Countdown
ExitCountdown=15
bCheckOnDeath=False
PlayerDeathEvent=DEATH_CountdownOrDeath
DeathCountdown=15
JoinTimeLeniancy=120
MinSwitchCandidates=1
MaxSwitchCandidates=5
bDisablePreferredTeam=True
bPreferLosingTeam=True
bDisableTTeamFix=False
bForceOnTeamDeath=False
bNotifySwitchedPlayer=True
SwitchedMessage=TitanTeamFix: You have been switched to balance the teams
bAnnounceSwitch=True
bSkipSwitchedAnnounce=True
AnnounceMessage=TitanTeamFix: %p has been switched to balance the teams
MultipleAnnounceMessage=TitanTeamFix: %p have been switched to balance the teams
bAnnounceImbalance=True
ImbalanceMessage=TitanTeamFix: The teams have become uneven
bAnnounceSlotOpened=True
SlotOpenedMessage=TitanTeamFix: A slot has opened, another player can join the game
MessageColor=(R=145,G=135,B=181)
bCustomMutHandling=False
CustomMutHandle=ONSPlus_101beta31.ONSPlusMutHack
Now that the OpenSpy mutator is disabled and TitanTeamFix should work again, I hope the balance will feel alright going forward.

Please keep in mind that these mutators won't change players instantly (which would result in a lot of player switching and make peeps unhappy as well). I've had players ask me what to do immediately once someone left a team and there was a 1 player difference.

I understand that everyone is very conscious of the balance or imbalance of teams right now due to the messiness mentioned above. Please give the mutators some time to balance automatically.

Please let me know how it goes over the next few days, in particular if you notice anything off with TitanTeamFix.

(If anyone has the readme/instructions for TitanTeamFix, please send it to me. I could only find the instructions for the UT3 version of it.)
Image