General > AdrenalineX Development
AdrenalineX Low FPS Detected [LFD]
nero:
OMG, Karlis not replying withing 12 hours, he must be dead.
::)
[ISG]BoT:
bug abuse will count when player will play at below then 30 FPS.
I have new solution:
--- Code: ---new WarningCount[MAX_PLAYERS];
public OnPlayerEnterRaceCheckpoint(playerid)
{
if(PlayerFps[playerid] < 30 && WarningCount[playerid] < 3) // check if player's fps is under 30 & player's warning is not == 3 then
{
WarningCount[playerid]++; // count warning
}
if(PlayerProgress[playerid] == gMaxRaceCheckpoints-2 && WarningCount[playerid] < 3) // if player is last 2nd checkpoint & his warning is below then 3 then
{
if(PlayerFps[playerid] > 30) // if player fps is over than 30 then
{
AddRecord[playerid] = true; // record making activated variable true/1
}
}
else AddRecord[playerid] = false // record making deactivated variable false/0
}
public OnPlayerDisconnect(playerid, reason)
{
WarningCount[playerid] = 0;
}
--- End code ---
I think that code will be the best for all players (low/high pingers)
Terrorfist:
The FPS System depends on your internet connection. Once your ping spikes up or you get packet loss the server will think that the player have a low FPS. You wouldn't have this problem if this was client-sided (I mean..Download the scripts first before playing)
Rider_Blade:
In this topic the answer: http://forum.adrenalinex.co.uk/index.php/topic,6067.msg146448.html#msg146448
Navigation
[0] Message Index
[*] Previous page
Go to full version