AdrenalineX Forums

General => AdrenalineX Development => Topic started by: [ISG]BoT on May 19, 2015, 10:51:26 am

Title: AdrenalineX Low FPS Detected [LFD]
Post by: [ISG]BoT on May 19, 2015, 10:51:26 am
mooman Please Fix your FPS system. always at the middle/near finish of race i get that message.
Cuz this low fps system missed many records.

(http://i.imgur.com/6LW0fKV.jpg)
(http://i.imgur.com/2Bz1xYv.jpg)

Solution
Code: [Select]
public OnPlayerEnterRaceCheckpoint(playerid)
{
     if(PlayerProgress[playerid] == gMaxRaceCheckpoints-2) // if player is last 2nd checkpoint then
     {
           if(PlayerFps[playerid] > 30)  // if player fps is over than 30 then
           {
                 AddRecord[playerid] = true;  // record making variable true/1
           }
     }
}
I hope you will do something....
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: Dandy on May 19, 2015, 11:40:38 am
Yeah plz
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: musicloveR on May 19, 2015, 12:20:21 pm
its not mooman's script, script is made by karlis
LEAVE MOOMAN ALONE :|
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: [ISG]BoT on May 19, 2015, 12:38:01 pm
ok then where is karlis ?
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: SuperNova on May 19, 2015, 01:08:51 pm
Just be patient and wait his answer when he'll see it
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: nero on May 19, 2015, 05:07:27 pm
OMG, Karlis not replying withing 12 hours, he must be dead.

 ::)
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: [ISG]BoT on May 21, 2015, 08:00:21 am
(http://i.imgur.com/ySZqJaY.jpg)
bug abuse will count when player will play at below then 30 FPS.
I have new solution:
Code: [Select]
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;
}

I think that code will be the best for all players (low/high pingers)
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: Terrorfist on May 21, 2015, 09:20:33 am
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)
Title: Re: AdrenalineX Low FPS Detected [LFD]
Post by: Rider_Blade on May 21, 2015, 02:23:47 pm
In this topic the answer: http://forum.adrenalinex.co.uk/index.php/topic,6067.msg146448.html#msg146448