NotJustin / SkillAutoBalance

12 stars 3 forks source link

For Regular Autobalance, use Kills per Round instead of Kills per Death #36

Closed NotJustin closed 3 years ago

NotJustin commented 3 years ago

The autobalance's main trigger is off of one team winning several rounds in a row. Each player's score is based off of their kills and deaths throughout the entirety of the current map.

My good pal Leap has thrown an idea at me that I am willing to roll with. The idea is to score players based off of their average kills per round, rather than their average kills per death. It makes sense to score players on a round-by-round basis, as the autobalance itself functions in this way.

After some discussion he has convinced me that this formula is ideal for scoring players in this new way:

image K = Running average kills per round by client k = Kills in current round by client n = Number of rounds played by client

I will consider a player to have participated in a round if they were alive at the start of the round. This means, I am going to have to keep track of the number of rounds each client has participated in for this new way of scoring them. The same goes for the number of kills the client has gained in the current round.

It's a bit annoying though, because these two new stats will be tracked in the core of this plugin, but only used in the Regular version.

NotJustin commented 3 years ago

After spending some more time thinking about this, it seems like this is describing a different player-scoring system and is outside of the scope of the auto balance.

The balance is not meant to score players, it is meant to sort by scores that are given to it.

I am interested in making a scoring system now though.

NotJustin commented 3 years ago

https://github.com/NotJustin/KPR-Rating