30.03.2011, 21:55
(
Последний раз редактировалось Diablosrouge; 30.03.2011 в 23:49.
)
Hi.
This topic has been discussed many times but we didn't get a concrete reply from the Devs.
It's a fact that players with different FPS get more desynced from each other rather than with same FPS.
For example: if someone is playing with 20-25 FPS he will be less hittable than the one with 48 fps. There are also problems with weapon sync in what touches to FPS, and that can't be solved by SA-MP at all. Like player1 with 20 fps won't see all the shots that player2 is doing with c-bug.
This didn't use to happen on 0.2X and older versions that often because the major of people would play with 25 fps Frame Limiter ON.
Many players have crap computers and many have good ones, and others just like to abuse lag by doing /fpslimit 20 to get a better advantage over the one with a good PC. This is very unfair in many cases, mostly in DM servers.
So as a work-around I'm suggesting a SetPlayerFPSLimit(playerid, limit);
There is no way we can script that on pawno by secondary methods, only via Plugins, and this function would be really appreciated and useful, specially by the DM servers since it was requested a couple times. This would end with any fps abusers for good. Also it would easily determine the performance of each one's PC so we could see whos abusing and whos not + players would get better synced with each other in case their PC is good to obey to the FPS imposed on SetPlayerFPSLimit by the script.
When you do /fpslimit value voluntarily, it saves on a .txt file on SAMP folder. So use that file to GetPlayerFPSLimit too, so if the value is different from the server, SetPlayerFPSLimit will act.
The reason why I don't suggest SetPlayerFPS is because it may cause any problems on weaker PCs, because it will keep forcing the function until the PC gets the desired FPS, and that could end bad really.
So with SetPlayerFPSLimit, it would simply force the limit where the PC can get his FPS to, without forcing any hardware.
About GetPlayerFPS.
I know theres a way to get the player FPS with the drunk level, but a native of GetPlayerFPS would be much better, because it's more reliable and doesn't need too much code on the GM/FS just to get 2 numbers pasted on the screen.
With these 2 functions it would be a lot easier to create a more accurate FPS-kicker (it's already possible but it's so resource-wasting compared with what is possible to do but we lack the natives) and if the server owners want to, restrict the Minimum or Maximum FPS allowed in a server so that the trash computers or abusers wouldn't have advantage over the good computers and those who actually play fair according to their PC.
I'd like to see some support from other people if they like and want this to be implemented soon.
Kind Regards,
Diablosrouge
This topic has been discussed many times but we didn't get a concrete reply from the Devs.
It's a fact that players with different FPS get more desynced from each other rather than with same FPS.
For example: if someone is playing with 20-25 FPS he will be less hittable than the one with 48 fps. There are also problems with weapon sync in what touches to FPS, and that can't be solved by SA-MP at all. Like player1 with 20 fps won't see all the shots that player2 is doing with c-bug.
This didn't use to happen on 0.2X and older versions that often because the major of people would play with 25 fps Frame Limiter ON.
Many players have crap computers and many have good ones, and others just like to abuse lag by doing /fpslimit 20 to get a better advantage over the one with a good PC. This is very unfair in many cases, mostly in DM servers.
So as a work-around I'm suggesting a SetPlayerFPSLimit(playerid, limit);
There is no way we can script that on pawno by secondary methods, only via Plugins, and this function would be really appreciated and useful, specially by the DM servers since it was requested a couple times. This would end with any fps abusers for good. Also it would easily determine the performance of each one's PC so we could see whos abusing and whos not + players would get better synced with each other in case their PC is good to obey to the FPS imposed on SetPlayerFPSLimit by the script.
When you do /fpslimit value voluntarily, it saves on a .txt file on SAMP folder. So use that file to GetPlayerFPSLimit too, so if the value is different from the server, SetPlayerFPSLimit will act.
The reason why I don't suggest SetPlayerFPS is because it may cause any problems on weaker PCs, because it will keep forcing the function until the PC gets the desired FPS, and that could end bad really.
So with SetPlayerFPSLimit, it would simply force the limit where the PC can get his FPS to, without forcing any hardware.
About GetPlayerFPS.
I know theres a way to get the player FPS with the drunk level, but a native of GetPlayerFPS would be much better, because it's more reliable and doesn't need too much code on the GM/FS just to get 2 numbers pasted on the screen.
With these 2 functions it would be a lot easier to create a more accurate FPS-kicker (it's already possible but it's so resource-wasting compared with what is possible to do but we lack the natives) and if the server owners want to, restrict the Minimum or Maximum FPS allowed in a server so that the trash computers or abusers wouldn't have advantage over the good computers and those who actually play fair according to their PC.
I'd like to see some support from other people if they like and want this to be implemented soon.
Kind Regards,
Diablosrouge