-
Notifications
You must be signed in to change notification settings - Fork 0
Balancemode split_one_chevs v2
I created this balance mode because I was frustrated with games where new players (one chevs) would be distributed unevenly, creating lopsided games.
![](https://private-user-images.githubusercontent.com/1305569/328700736-c3b9bb36-75ee-405e-9a30-85407ca30ec0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NzIzNDMsIm5iZiI6MTczODg3MjA0MywicGF0aCI6Ii8xMzA1NTY5LzMyODcwMDczNi1jM2I5YmIzNi03NWVlLTQwNWUtOWEzMC04NTQwN2NhMzBlYzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMjAwMDQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjAzMmE5MjM3ZDg3ZTJjY2UxMTM4ODZlZjJhNGRjMTYxZDA3MGU0MWYxZDgyNDA1ODJhZTlkYTM0MzhkNTRmZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.y45RryDwghirV6SJce_vT-6TOgPaiHzWvQ0Vq2c-4Lw)
You need to be boss to enable it. Type these commands in lobby:
!boss <yourname>
!balancealgorithm split_one_chevs
From here on, whenever you press the balance button it will use my algo to balance players. You can also see what is the current algo in a lobby by the lobby command: $status
. You can see logs after a balance by the lobby command: $explain
.
Even if you unboss my balancer will remain. It will only reset to default when everyone leaves the lobby.
Visually the lobby won't appear any different. However, after you press balance, use lobby command: $explain
to see the logs. New players (1 and 2 chevs will be drafted last).
In order to understand this algo, it's important to understand the default algo written by Teifion. Teifion's algo works like a draft. The team with the lowest total OS gets to pick from the list of unpicked players. It will simply consider the person with the highest OS to be the best player and choose that one.
My algo is also a draft. When it's your team's turn to pick, your team will try and pick a player based on these criteria:
- Always pick experienced (3Chev+) players over noobs (1-2Chevs).
- Prefer higher OS for experienced players.
- Prefer lower uncertainty for noobs.
Which team that gets to pick is also determined slightly differently than Teifion's algo: The team that gets to pick is the one with the least amount of players and only if tied do we use lowest team OS to be the tie breaker. This ensures that one chevs are distributed evenly amongst teams.
No. In order to ensure even distribution of noobs I could not support parties. However, in the future I plan to improve the code by making it call a balancer that does support parties when there are less than two 2Chevs and no 1Chevs.
Go here: https://balance-algo-web.web.app/ And enter a past replay. Change algorithm to Split One Chevs v2