cetteup/bf2-auto-spectator-controller

Idle players are considered when calculating rotation server scores

cetteup opened this issue · 1 comments

The rotation server score is currently calculated based on human players, meaning idle players are taken into account. Especially "smaller" servers tend to have a higher number of idle players. If such servers are given a high weight, their score is inflated significantly.

With the changes implemented to fix #115, it should be possible to use getActivePlayers instead of getHumanPlayers without immediately leaving a server when a new round starts (all players will be detected as inactive).