RobsonDias
New Member
Im creating a "otserv-list", and i want to know if this is a good solution to check spoofing?
It's pretty simple, but I think no "normal" server will have more than 50 players beyond the limit, perhaps some GODs / GMs, but 50 players I think not, it is quite common on these spoofed servers.
sorry if I wrong a word, but I'm not very good in English
It's pretty simple, but I think no "normal" server will have more than 50 players beyond the limit, perhaps some GODs / GMs, but 50 players I think not, it is quite common on these spoofed servers.
Code:
$Players = 100;
$PlayersMax = 200;
$SpoofingRange = 50;
if($Players >= ($PlayersMax + $SpoofingRange)) {
echo 'spoofing';
} else {
echo 'not spoofing';
}
sorry if I wrong a word, but I'm not very good in English