new strg1[256], strg2[256]; new PlayerName[16]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if ((wfps > 0 ) && (wfps < 25 )) pFPS[playerid]= wfps; format(strg1, sizeof(strg1), "%s has been kicked from the Server. Reason - Average fps is %d", PlayerName, pFPS); SendClientMessageToAll(COLOR_GREEN, strg1); format(strg2, sizeof(strg2), "You have been kicked from the server. Reason - Average fps is %d", pFPS); SendClientMessage(playerid, COLOR_GREEN, strg2); Kick(playerid);
#define MAX_PING 180
public OnPlayerUpdate(playerid) { new string[256], string2[256]; new PlayerName[16]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(GetPlayerPing(playerid) >= MAX_PING) { format(string, sizeof(string), "%s has been kicked from the Server. Reason - Average ping is %d", PlayerName, MAX_PING); SendClientMessageToAll(COLOR_GREEN, string); format(string2, sizeof(string2), "You have been kicked from the server. Reason - Average ping is %d", MAX_PING); SendClientMessage(playerid, COLOR_GREEN, string2); Kick(playerid); } // handle fps counters. new drunknew; drunknew = GetPlayerDrunkLevel(playerid); if (drunknew < 100) { // go back up, keep cycling. SetPlayerDrunkLevel(playerid, 2000); } else { if (pDrunkLevelLast[playerid] != drunknew) { new wfps = pDrunkLevelLast[playerid] - drunknew; if ((wfps > 0) && (wfps < 200)) pFPS[playerid] = wfps; pDrunkLevelLast[playerid] = drunknew; new strg1[256], strg2[256]; - 388 new PlayerName[16]; - 389 GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if ((wfps > 0 ) && (wfps < 25 )) pFPS[playerid]= wfps; format(strg1, sizeof(strg1), "%s has been kicked from the Server. Reason - Average fps is %d", PlayerName, pFPS); SendClientMessageToAll(COLOR_GREEN, strg1); format(strg2, sizeof(strg2), "You have been kicked from the server. Reason - Average fps is %d", pFPS); SendClientMessage(playerid, COLOR_GREEN, strg2); Kick(playerid); } } }
Why on earth kick people with low FPS? This doesn't affect anyone but themselves.
|
Why on earth kick people with low FPS? This doesn't affect anyone but themselves.
|
This is not even nearly logical. FPS = frames rendered per second for the player. This can't affect online gaming at all. Updaterates and latency, however, does.
|
It does. I've been DMing for a long time and I've DMed with people that they had either high pings or low fps.
Believe me! You don't want to duel a player with 1 fps, he doesn't get damage from bullets at all while he's moving. However, if he doesn't move, then he gets damage. I was admin on that server and I could check if he was cheating or not and he didn't. I've tried to slap/drop him and he was getting damage. As I said, fps can affect the game and low fps can give you advantages to a lot of things. However, the game is lagging so bad and you can't play normally. |