Ann0ying What usually happens is that the top player gets moved to the other (loosing) team.
This happened to me in 6 or 7 straight games. I get moved to the other team and I end-up loosing the match.
@snowguy Maybe the top player shouldn't be moved, but the second or third?
Currently, the balancer is set to find the best balance when swapping two players. Previously, it was swapping two players based on time in game (most of the time). Although this swapping based on time in game seemed to be the fairest for players in the match the longest, it often made the balance horrible and also triggered a bug where players would be changed even if it made teams worse 😓
If teams are not even by size there is still some swapping of one player based on time in game. The logic seems strangely complex so I haven't done anything to improve this section yet.
Ultimately, I hope to create some type of team allegiance weighting while still trying to make teams as even as possible when changes must happen.
For everyone else who wrote about the !teams command. Today, I found a loophole/bug that would allow the teams command, if typed by more than one player, to affect the balance even if it was already below the configured threshold for team changes. This should be fixed now and spamming teams by multiple players should now truly have no effect unless there is an actual imbalance. As usual, I will be keeping a close eye on the results before moving on to the next improvement.
I am reading all the comments here and adding them to the notes / issues list for later consideration when working on the appropriate areas of the code.