The scaling isn’t a perfect thing but it’s also not often you get such a case in current Rotmg with more people levelling than doing a quest event.
A better way would be to judge how powerful each character is and scale based on that.
Eg. an 8/8 contributes “8” to the total while a 1/8 contributes “1” but that could be cheesed if you leave your stats 1 away from max.
Could be done via the % of how maxed you are, eg you’re 74/75 att, 48/60 dex etc to get a quotient with 8/8 scoring “1”, an average roll scoring “0”.
But all that would be it a degree harder to calculate and recalculate than a simple playercount, maybe has negative effect on lag.
Smooth!