Tune server ranking (again)
This commit is contained in:
parent
e7c4d2c20a
commit
6f51e2f00f
@ -331,10 +331,10 @@ class ServerList:
|
|||||||
points = server["clients"] / 4
|
points = server["clients"] / 4
|
||||||
|
|
||||||
# Penalize highly loaded servers to improve player distribution.
|
# Penalize highly loaded servers to improve player distribution.
|
||||||
# Note: This doesn't just make more than 90% of max players stop
|
# Note: This doesn't just make more than 80% of max players stop
|
||||||
# increasing your points, it can actually reduce your points
|
# increasing your points, it can actually reduce your points
|
||||||
# if you have guests.
|
# if you have guests.
|
||||||
cap = int(server["clients_max"] * 0.90)
|
cap = int(server["clients_max"] * 0.80)
|
||||||
if server["clients"] > cap:
|
if server["clients"] > cap:
|
||||||
points -= server["clients"] - cap
|
points -= server["clients"] - cap
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user