[Mutator] Even Match (Onslaught team balancer)

Anything about UT2004 mapping, Uscripting & more
User avatar
EmanReleipS
Administrator
Posts: 2932
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: 1817
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: 2932
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
DaveTheBlaze
Posts: 26
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: 314
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: 314
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.