Digital Paint Discussion Board
Paintball 2: The Game => Server Discussion => Topic started by: sk89q on September 29, 2007, 01:45:07 PM
-
http://dplogin.com/forums/index.php?topic=9317.0
You can now test (almost) any IP address ;D
I have not thoroughly tested the abuse recognition system, but it should theoretically work fine from what I gather.
Here's what it checks, by the way:
<?php
if(count($unique_ips) > 5)
$errors[] = "You have tested too many unique IPs in a 15 minute period.";
if($incorrect_rcon_pws > 5)
$errors[] = "You have failed to provide the correct RCON password too often in a 30 minute period.";
if($incorrect_rcon_pws_long > 15)
$errors[] = "You have failed to provide the correct RCON password too often in a 24 hour period.";
if(count($errors) == 0 && $last_time)
$errors[] = "Please wait $left seconds to try again.";
?>
Comments, suggestions, etc.? :D