Author Topic: FPS Rule  (Read 1832 times)

0 Members and 1 Guest are viewing this topic.

Offline G[M]X

  • Posts: 162
    • View Profile
FPS Rule
« on: August 28, 2016, 01:52:51 am »
Well, FPS rule does not have a bug, its just bad made.
Its meant to block people who are abusing the 23fps bug, not to punish legit people who got little freezes or lag spikes.
Im one of those guys who barely can finish a race without getting FPS rule'd.

I don't see a reason to keep this rule tbh, but my suggestion is to check twice someone's fps to make sure its not a unlucky timing issue and the driver is really abusing this glitch.

Offline Queen|iPink

  • Admin
  • Posts: 463
    • View Profile
  • In-game name: Queen
Re: FPS Rule
« Reply #1 on: August 28, 2016, 11:27:08 am »
You said that it meant to block people from abusing and then you say there's no reason to keep it so lol...?

There's this super low percentage of players facing this problem caused by low net/pc etc reasons.
IMO it's more important to keep it and avoid abusers instead of getting rid of this rule when 90% records on ax are almost impossible to beat nowadays anyways (because all races are raped hard enough, espec old ones, not talking about new) so basically you lose nothing, couple of points only

If so.. There would be more abusers than players who are facing this "low fps" problem.

Quote
my suggestion is to check twice someone's fps to make sure its not a unlucky timing issue and the driver is really abusing this glitch.

It's possible only if real admins decide this one day, not autoadmin :D
« Last Edit: August 28, 2016, 11:29:03 am by Queen »

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #2 on: August 28, 2016, 04:32:11 pm »
Quote
It's possible only if real admins decide this one day, not autoadmin :D

Code: [Select]
SetTimerEx("CheckFPS", 5000, false, "i", playerid);
public CheckFPS(playerid)
{
    if(GetPlayerFPS(playerid) <= 30) FPSAbuse[playerid]++, SetTimerEx("DoubleCheckFPS", 2500, false, "i", playerid);
...
}
public DoubleCheckFPS(playerid)
{
   if(GetPlayerFPS(playerid) <= 30)
  {
      if(FPSAbuse[playerid] > 0 ) BlockRecord(playerid);
      else FPSAbuse[playerid]=0;
...
}

This will give a 2,5 sec to double check, unlucky timings will still exists but it will be harder to see.
2,5secs + 5sec from first timing = 7,5 secs is not enough to abuse.


@edit
(click to show/hide)
« Last Edit: August 28, 2016, 04:45:16 pm by G[M]X »

Offline Terrorfist

Re: FPS Rule
« Reply #3 on: August 28, 2016, 05:00:41 pm »
SA-MP pretty much disables everything hindering PC performance (motion blur is the one). But GTA SA is horribly optimized as shit even my Core 2 Quad system is puking to play SA at 1440x900 native res everything at max
Intel Core 2 Quad Q6600
GIGABYTE GA-P35-S3L
6GB DDR2 RAM
GeForce GT 730 1GB GDDR5 64-bit
Seagate Barracuda 250GB + Western Digital 320GB
Astone Enforcer Mid Tower Chassis

Offline [LSR]Jalicno

  • Admin
  • Posts: 12,382
    • View Profile
Re: FPS Rule
« Reply #4 on: August 29, 2016, 03:15:19 pm »
Procesor cores (quad)have nothing with resulution but video card does cause game was made 2004.

Offline Terrorfist

Re: FPS Rule
« Reply #5 on: August 29, 2016, 09:45:06 pm »
Game isn't well balanced when it comes to using hardware. It's using GPU too much even the PS2 couldn't handle the smoke they re-used Vice City (the smoke was cut in there btw only used in bank robbery mission)
Intel Core 2 Quad Q6600
GIGABYTE GA-P35-S3L
6GB DDR2 RAM
GeForce GT 730 1GB GDDR5 64-bit
Seagate Barracuda 250GB + Western Digital 320GB
Astone Enforcer Mid Tower Chassis

Offline [MAF]Karlis

Re: FPS Rule
« Reply #6 on: August 30, 2016, 07:49:39 pm »
Code: [Select]
...
1 - Low end PC
...
2 - Network problems.
...
The check is already more advanced than that - it checks your fps every server tick (5-10 times a second, not sure exactly), and adds an value that increases depending how far below the fps threshold it is. If you still get tagged for low fps, it means that it happens consistently enough to potentially give you some advantage.

Also, I recently tried out samp with just intel HD graphics 4600, and I never got the warning, even though that video card is in no way enough for any kind of normal gaming, so if your computer still can't run it, it's probably time to do something about it.

As for network troubles, that sucks, but unstable network is generally very hard and annoying to deal with for everyone involved either way and we can't really do anything about it. We might adjust the thresholds a little bit, but don't hold your breath.

Offline Terrorfist

Re: FPS Rule
« Reply #7 on: August 30, 2016, 10:10:51 pm »
Code: [Select]
...
1 - Low end PC
...
2 - Network problems.
...
The check is already more advanced than that - it checks your fps every server tick (5-10 times a second, not sure exactly), and adds an value that increases depending how far below the fps threshold it is. If you still get tagged for low fps, it means that it happens consistently enough to potentially give you some advantage.

Also, I recently tried out samp with just intel HD graphics 4600, and I never got the warning, even though that video card is in no way enough for any kind of normal gaming, so if your computer still can't run it, it's probably time to do something about it.

As for network troubles, that sucks, but unstable network is generally very hard and annoying to deal with for everyone involved either way and we can't really do anything about it. We might adjust the thresholds a little bit, but don't hold your breath.

Intel HD 4600 is on par with a Radeon HD 5570. You don't really need an entry-level graphics card if you're running on a Haswell system because even the HD 4400 is better than a Radeon R5 230.

I just realized why the game runs even bad on some players with a more modern system, the game is badly optimized. My friend was able to play the game at very high with a Radeon 9800 XT without huge drops.
« Last Edit: August 30, 2016, 10:12:23 pm by Terrorfist »
Intel Core 2 Quad Q6600
GIGABYTE GA-P35-S3L
6GB DDR2 RAM
GeForce GT 730 1GB GDDR5 64-bit
Seagate Barracuda 250GB + Western Digital 320GB
Astone Enforcer Mid Tower Chassis

Offline [LSR]Jalicno

  • Admin
  • Posts: 12,382
    • View Profile
Re: FPS Rule
« Reply #8 on: August 31, 2016, 01:49:56 am »
9800XT was top level(pure gaming) card 2003 with 256bit mem bus, thats why keeps good FPS rate. Comparing 64bit mem bus or even 32bit what are often in laptop or in integrated solutions is kinda silly...

Offline [MAF]Karlis

Re: FPS Rule
« Reply #9 on: August 31, 2016, 12:18:48 pm »
You don't really need an entry-level graphics card if you're running on a Haswell system because even the HD 4400 is better than a Radeon R5 230.

That's my point. You can buy a cheap laptop for a couple hundred (or a comparable used one for like 100) with integrated graphics and still be able to run this game. I understand that some can't afford a new computer right now, but some limit must be drawn, and, in my opinion, right now the limit is very reasonably low.

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #10 on: August 31, 2016, 03:03:36 pm »
As for network troubles, that sucks, but unstable network is generally very hard and annoying to deal with for everyone involved either way and we can't really do anything about it. We might adjust the thresholds a little bit, but don't hold your breath.

So i presume i get 0fps at every tick my connection miss and thats why i get blocked everytime.
Well, can you test what happens if you change to 30fps everytime my fps returns to 0?

Offline [LSR]Jalicno

  • Admin
  • Posts: 12,382
    • View Profile
Re: FPS Rule
« Reply #11 on: August 31, 2016, 06:58:03 pm »
It is ridiculous that in 2016 we talking about lower limit of game from 2004. If player can't reach decent FPS for sure he can't even browse youtube or similar stuffs. In less than 50 euro/ dollars there are plenty dual core intel's processors with ddr2 ram and some 3D video cards. Person who can't acquire that shouldn't play any online game...

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #12 on: August 31, 2016, 07:49:58 pm »
It is ridiculous that in 2016 we talking about lower limit of game from 2004. If player can't reach decent FPS for sure he can't even browse youtube or similar stuffs. In less than 50 euro/ dollars there are plenty dual core intel's processors with ddr2 ram and some 3D video cards. Person who can't acquire that shouldn't play any online game...

The problem here is not fps, but connection.

Offline [LSR]Jalicno

  • Admin
  • Posts: 12,382
    • View Profile
Re: FPS Rule
« Reply #13 on: August 31, 2016, 08:30:55 pm »
Connection comes over PC, so lets test couple facts:
1. make sure you have workable hard disk- bad sectors often makes game delay and traffic drops to zero.
2. Also take look on processes in your operating system, windows update(svchost) mostly cause cpu and ram overload - started with promotion of Windows 10 if system isn't proper updated.
3. Be sure torrent or other 3rd party program doesn't 'eat' your internet traffic.
4. and for sure you can't expect good internet conection if you whoring some unlocked(free) hotspot - common thing last couple years.

This stand for all players who have problems with sudden FPS drops.
« Last Edit: August 31, 2016, 08:33:10 pm by [LSR]Jalicno »

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #14 on: August 31, 2016, 11:10:42 pm »
Connection comes over PC, so lets test couple facts:
1. make sure you have workable hard disk- bad sectors often makes game delay and traffic drops to zero.
2. Also take look on processes in your operating system, windows update(svchost) mostly cause cpu and ram overload - started with promotion of Windows 10 if system isn't proper updated.
3. Be sure torrent or other 3rd party program doesn't 'eat' your internet traffic.
4. and for sure you can't expect good internet conection if you whoring some unlocked(free) hotspot - common thing last couple years.

This stand for all players who have problems with sudden FPS drops.

Im not having sudden FPS drops, im not having fps drops at all.
My problem is my internet provider sucks and im probably having some random packet loss.

Offline [FSR]Ush

  • Admin
  • Posts: 13,449
  • Aart
    • View Profile
Re: FPS Rule
« Reply #15 on: September 01, 2016, 10:13:05 am »
My problem is my internet provider sucks and im probably having some random packet loss.

Jup

Offline Terrorfist

Re: FPS Rule
« Reply #16 on: September 02, 2016, 06:59:27 am »
Everyone who gets packet loss or a sudden jump of ping will have this problem, even those people that are playing with 50ms of ping (because their ping will jump to over 100ms, even 80ms is bad).
Intel Core 2 Quad Q6600
GIGABYTE GA-P35-S3L
6GB DDR2 RAM
GeForce GT 730 1GB GDDR5 64-bit
Seagate Barracuda 250GB + Western Digital 320GB
Astone Enforcer Mid Tower Chassis

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #17 on: September 04, 2016, 11:06:39 pm »
Interesting thing i noticed.
With 20 players online, i got blocked every 10-20 seconds in a race.
Playing alone at night, i got blocked one time (i played for almost 3 hours)

Karlis, please:
So i presume i get 0fps at every tick my connection miss and thats why i get blocked everytime.
Well, can you test what happens if you change to 30fps 40fps everytime my fps returns to 0?

Offline [MAF]Karlis

Re: FPS Rule
« Reply #18 on: September 05, 2016, 12:00:04 pm »
That's not how it could work, plus if you have such lag spikes you ram anyone 30 meters after you, so I really don't see why would we support these kind of connections. I've played ax from 3G networks and even then its not even that bad.

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #19 on: September 05, 2016, 03:07:15 pm »
In the condominium i live there's only one option of internet connection, i dont have any other option to change.
Considering tapping (bikes) and the handbrake glitch are still able, blocking fps is like this: http://www.brogui.com/imagens/cancelarespeito.jpg
Since the addition of this rule, people almost dont create boat and airplane races anymore.
I don't think im the only one having this issue, maybe im the only one complaining about it, and i think thats why a lot of people just gave up the server, i stopped playing in april because i was sick of getting blocked every fucking time, and now i came back, and im still having this issue, and i have problems only here.

I dont know why you keep a rule like this, i think you're just proud of your code, but man, its just a meaningless code that makes AX more laggy for everybody. Cmon, even you dont play this server anymore.
Fixing your code is not supporting these kind of connections, fixing your code is stopping to punish people for issues that are beyond their control.
Dont let the server die.

Offline S

  • Posts: 1,435
    • View Profile
Re: FPS Rule
« Reply #20 on: September 05, 2016, 09:32:39 pm »
remove it tbh, everyone just uses 30fps instead which is basically the same thing, the cons easily outweigh the pros with this system

Offline Terrorfist

Re: FPS Rule
« Reply #21 on: September 05, 2016, 09:56:46 pm »
Really pisses me off when some says Upgrade your PC it's too old"

Game was made to run at 30 FPS. Yes people this game got problems with FPS Limiter only set to 25. SilentPatch fixes this.
Intel Core 2 Quad Q6600
GIGABYTE GA-P35-S3L
6GB DDR2 RAM
GeForce GT 730 1GB GDDR5 64-bit
Seagate Barracuda 250GB + Western Digital 320GB
Astone Enforcer Mid Tower Chassis

Offline [MAF]Karlis

Re: FPS Rule
« Reply #22 on: September 06, 2016, 08:15:36 am »
remove it tbh, everyone just uses 30fps instead which is basically the same thing, the cons easily outweigh the pros with this system

That would just mean that the system is not 100% effective, not that it doesn't work. <30 fps would be even worse.

Really pisses me off when some says Upgrade your PC it's too old"

Game was made to run at 30 FPS. Yes people this game got problems with FPS Limiter only set to 25. SilentPatch fixes this.

I don't care how it was made for poorly performing consoles 11 years ago. Almost anyone that can run 60 fps will find <40 fps really unpleasant and the system is made so that to get a record you don't have to get a unpleasant experience. You can still play, just don't expect to get a record while abusing faulty game mechanics.

Offline S

  • Posts: 1,435
    • View Profile
Re: FPS Rule
« Reply #23 on: September 06, 2016, 12:42:02 pm »
I don't care how it was made for poorly performing consoles 11 years ago. Almost anyone that can run 60 fps will find <40 fps really unpleasant and the system is made so that to get a record you don't have to get a unpleasant experience. You can still play, just don't expect to get a record while abusing faulty game mechanics.

why you call it '25 fps bug'?

remember SA is console (PS2) game ported to PC
console games are for 25 fps, and this is how SA was made/supposed to be run
anything diffrent from this value bugs game (increased acceleration, less sliding handling etc) but noone realises that, ya?
it's easier to say that 25 fps is bug, even tho it is how this game is supposed to be, than admit that actual playing at higher frame is?

funny how when ppl were trying to get as high fps as possible, overclocking their video cards to limits, just to get better times at drags were fine, noone pointed it as 'abusing'

people ARE getting records by using 30fps, its still a massive advantage over almost any other player
also, since this "bug" is so unfair to use, why do IV, SK and one world races allow it? im guessing performance reasons, but it doesnt make sense to have 1000+ races that are still "abusable" with no consequence

Offline [MAF]Karlis

Re: FPS Rule
« Reply #24 on: September 06, 2016, 03:10:00 pm »
yes, they do, and in a perfect world I would limit it at 60, but limiting it at 30 was the best we could do without having ten times as many complaints as now. People were using 23fps limit, which is borderline intolerable to play in.

Offline G[M]X

  • Posts: 162
    • View Profile
Re: FPS Rule
« Reply #25 on: September 07, 2016, 06:05:10 pm »
At least can you just change the code to avoid blocking people for random lag spikes?

Offline [LSR]Jalicno

  • Admin
  • Posts: 12,382
    • View Profile
Re: FPS Rule
« Reply #26 on: September 08, 2016, 07:14:06 pm »
Or simple you can stop playing game where you can't find joy on way what you want...

Offline Terrorfist

Re: FPS Rule
« Reply #27 on: September 08, 2016, 11:27:35 pm »
random lag spike ain't the server's fault. It's the player's and you should be expecting spikes on a player with 250-350ms
Intel Core 2 Quad Q6600
GIGABYTE GA-P35-S3L
6GB DDR2 RAM
GeForce GT 730 1GB GDDR5 64-bit
Seagate Barracuda 250GB + Western Digital 320GB
Astone Enforcer Mid Tower Chassis

Offline [FSR]cyco

Re: FPS Rule
« Reply #28 on: September 09, 2016, 02:28:49 am »
GMX, because it's a connection (and/or distance) issue, i always suggest to ask at you're ISP if it's possible to activate Fast-Path. Fast-Path technology it's a tweak operation usually made by a techincian from your ISP that makes some hardware/software modification on the cabinet that deliver's you the connection. Not all the ISP provides this kind of job and, even if it's provides, usually ask an plus on the adsl bill's. In few words, it sacrifices a bit of bandwidth speeds for better ping.
Or you can try this software called DMT DSL-Modem Tool: http://dmt.mhilfe.de/
I never use this software but for what i can read it's capable to aplly some tweaks at you're home router. You can find many videos on YouTube that explains some primary functions.
Let us know if you try and if it's works for you. See ya 8)
« Last Edit: September 09, 2016, 11:36:33 pm by [FSR]cyco »