AdrenalineX Forums

General => AdrenalineX Development => Bug Reports => Topic started by: G[M]X on August 28, 2016, 01:52:51 am

Title: FPS Rule
Post by: G[M]X 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.
Title: Re: FPS Rule
Post by: Queen|iPink 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
Title: Re: FPS Rule
Post by: G[M]X 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
[spoiler]
Quote
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.

1 - Low end PC
There is a lot of people who still use a low end pc, or just old one, or laptops, well, most of them aren't pros, letting them play with 30fps will not hurt the highscore system, plus giving a slight advantage on straight lanes will not change much since 1/10 of the races. maybe less, are long-snoopy-drags style.
And by the way, most people who still play samp are low end pc users who plays this game because their pcs can't run newer games.
@editn2: About pros abusing this, changing the handling will hurt them more than help them. FPSbug is only helpful in drag style races, and you barely can see races like this anymore.

2 - Network problems.
Here I am.
Most of my issues are due to little loss spikes, but it still not my fault.
And please don't say it doesnt matter because this rule is meant to punish people abusing 23fps bug, not people who are having network problems. If you want to punish us, just set the ping limit to 100 and have fun.
[/spoiler]
Title: Re: FPS Rule
Post by: Terrorfist 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
Title: Re: FPS Rule
Post by: [LSR]Jalicno on August 29, 2016, 03:15:19 pm
Procesor cores (quad)have nothing with resulution but video card does cause game was made 2004.
Title: Re: FPS Rule
Post by: Terrorfist 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)
Title: Re: FPS Rule
Post by: [MAF]Karlis 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.
Title: Re: FPS Rule
Post by: Terrorfist 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.
Title: Re: FPS Rule
Post by: [LSR]Jalicno 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...
Title: Re: FPS Rule
Post by: [MAF]Karlis 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.
Title: Re: FPS Rule
Post by: G[M]X 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?
Title: Re: FPS Rule
Post by: [LSR]Jalicno 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...
Title: Re: FPS Rule
Post by: G[M]X 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.
Title: Re: FPS Rule
Post by: [LSR]Jalicno 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.
Title: Re: FPS Rule
Post by: G[M]X 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.
Title: Re: FPS Rule
Post by: [FSR]Ush on September 01, 2016, 10:13:05 am
My problem is my internet provider sucks and im probably having some random packet loss.

Jup
Title: Re: FPS Rule
Post by: Terrorfist 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).
Title: Re: FPS Rule
Post by: G[M]X 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?
Title: Re: FPS Rule
Post by: [MAF]Karlis 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.
Title: Re: FPS Rule
Post by: G[M]X 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.
Title: Re: FPS Rule
Post by: S 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
Title: Re: FPS Rule
Post by: Terrorfist 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.
Title: Re: FPS Rule
Post by: [MAF]Karlis 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.
Title: Re: FPS Rule
Post by: S 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
Title: Re: FPS Rule
Post by: [MAF]Karlis 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.
Title: Re: FPS Rule
Post by: G[M]X on September 07, 2016, 06:05:10 pm
At least can you just change the code to avoid blocking people for random lag spikes?
Title: Re: FPS Rule
Post by: [LSR]Jalicno 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...
Title: Re: FPS Rule
Post by: Terrorfist 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
Title: Re: FPS Rule
Post by: [FSR]cyco 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)