01-13-2010, 07:07 AM
(01-03-2010, 01:01 AM)fugitif Wrote: Do you think I should lower the minimum number of fps to 15 or 18 ?It depends how players act on the server. For example in CSS players quite often alt-tab to windows. The FPS drops while they are in Windows and they might get kicked then.
I recommend you look at the sort key in function "kick_low_raters".
Code:
if ($player->{rate_max} < $server->{ratelimit}) {
You can change the rate_max value to rate_avg or rate_min. Then adjust the ratelimit accordingly. The current implementation uses rate_max because rate_avg and rate_min are affected by alt-tabbing to windows. The min rate goes to something like 17.5/s (I'm not sure why, but everybody when in Windows have ~17/s rate) and at the same time also the average also decreases. In my newest unpublished version I also have rate_median, which is the median of all values. It's probably better than the average, but I'm not sure which would be good all-around solution.
I've been trying to think of settings which would allow normal alt-tabbing to windows without getting kicked, but which would identify low raters quite fast. In different games players behave differently. For example in TF2 players probably don't alt-tab to windows because there's no time!

(01-03-2010, 01:01 AM)fugitif Wrote: The server is a good machine with 2x1Gb/s bandwidth, 8Gb RAM, Quad Core Xeon and 3x1 To RAID 5 disk.
Where are you hosted?