Permalink
Browse files

Tune server ranking (again)

  • Loading branch information...
sfan5 committed Nov 11, 2018
1 parent e7c4d2c commit 6f51e2f00f9dc07489a26e8f183dcff2123bc5d3
Showing with 2 additions and 2 deletions.
  1. +2 −2 server.py
@@ -331,10 +331,10 @@ def server_points(server):
points = server["clients"] / 4

# 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
# if you have guests.
cap = int(server["clients_max"] * 0.90)
cap = int(server["clients_max"] * 0.80)
if server["clients"] > cap:
points -= server["clients"] - cap

0 comments on commit 6f51e2f

Please sign in to comment.