We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbd3c12 commit ee2a6deCopy full SHA for ee2a6de
server.py
@@ -292,15 +292,18 @@ def server_points(server):
292
else:
293
points += 1
294
295
- # 1 per month of age, limited to 8
296
- points += min(8, server["game_time"] / (60*60*24*30))
+ # 1/2 per month of age, limited to 2
+ points += min(2, server["game_time"] / (60*60*24*30) * (1/2))
297
+
298
+ # 1/8 per average client, limited to 1
299
+ points += min(1, server["pop_v"] * (1/8))
300
301
# -8 for unrealistic max_clients
302
if server["clients_max"] >= 128:
303
points -= 8
304
- # -8 per second of ping
- points -= server["ping"] * 8
305
+ # -6 per second of ping
306
+ points -= server["ping"] * 6
307
308
# Up to -8 for less than an hour of uptime (penalty linearly decreasing)
309
HOUR_SECS = 60 * 60
0 commit comments