Raised This Month: $51 Target: $400
 12% 

FPS Limiter v0.5


Post New Thread Reply   
 
Thread Tools Display Modes
yuusuke
Junior Member
Join Date: Jul 2020
Old 09-08-2021 , 07:00   Re: FPS Limiter v0.4
Reply With Quote #11

Quote:
Originally Posted by Natsheh View Post
sv_maxcmdrate 101
sv_mincmdrate 101

Limit the cmd rate then.

Not sure how is this related to limit the fps.
HLDS doesn't have sv_cmdrate function, so server can't limit cl_cmdrate from clients.

The easiest way to prevent a client who is using fps_max 100.5+ is to check fps_override 1.

Client can't have fps=100.5+ on its display without fps_override 1.
yuusuke is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 09-08-2021 , 09:05   Re: FPS Limiter v0.4
Reply With Quote #12

Quote:
Originally Posted by yuusuke View Post
HLDS doesn't have sv_cmdrate function, so server can't limit cl_cmdrate from clients.

The easiest way to prevent a client who is using fps_max 100.5+ is to check fps_override 1.

Client can't have fps=100.5+ on its display without fps_override 1.
Why would u wanna kick people with fps_override "1" but no higher FPS than 100.5?

You shouldn't be kicking people for that sole reason.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
yuusuke
Junior Member
Join Date: Jul 2020
Old 09-08-2021 , 10:17   Re: FPS Limiter v0.4
Reply With Quote #13

Quote:
Originally Posted by Napoleon_be View Post
Why would u wanna kick people with fps_override "1" but no higher FPS than 100.5?

You shouldn't be kicking people for that sole reason.
fps_max 300, cl_cmdrate 300, fps_override 1 = client sending 300 p/s (client's real FPS is 300.5, real packet rate is 300)
fps_max 300, cl_cmdrate 300, fps_override 0 = client sending 101 p/s (client's real FPS is 100.5, real packet rate is 101)
fps_max 300, cl_cmdrate 101, fps_override 1 = client sending 101 p/s (client's real FPS is 300.5, real packet rate is 101)
fps_max 100, cl_cmdrate 300, fps_override 1 = client sending 101 p/s (client's real FPS is 100.5, real packet rate is 101)

I don't wanna kick a client who has higher FPS on his display,
but when he has fps_max 300, fps_override 1, and cl_cmdrate 300 in the same time,
server will receive lots of flooding packets from him.

If I don't want clients to use high FPS, I will check fps_override.
If I don't want server to receive flooding packets, I need to check fps_max , fps_override, and cl_cmdrate.

Last edited by yuusuke; 09-08-2021 at 11:23.
yuusuke is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-08-2021 , 10:53   Re: FPS Limiter v0.4
Reply With Quote #14

Quote:
Originally Posted by yuusuke View Post
HLDS doesn't have sv_cmdrate function, so server can't limit cl_cmdrate from clients.

The easiest way to prevent a client who is using fps_max 100.5+ is to check fps_override 1.

Client can't have fps=100.5+ on its display without fps_override 1.
If one needs to kick on intent; here's the precursor approach. The spoiler has both styles.

https://forums.alliedmods.net/showpo...64&postcount=3

The no nonsense tell player where they stand on connect, kick now at the door. Otherwise later uncouthly on performance after they are already settled in. Both styles can be tested individually or simultaneously and clearly precursor is more efficient.
__________________
DJEarthQuake is offline
ddag1
Member
Join Date: Apr 2020
Old 10-03-2021 , 23:38   Re: FPS Limiter v0.4
Reply With Quote #15

Nice plugin! Can you please add a CVAR to enable/disable it?
ddag1 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-04-2021 , 05:43   Re: FPS Limiter v0.4
Reply With Quote #16

Sure ill add the ability to unhook the functions when the plugin is paused.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 10-09-2021 at 12:58.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
thEsp
BANNED
Join Date: Aug 2017
Old 10-04-2021 , 06:10   Re: FPS Limiter v0.4
Reply With Quote #17

This plugin is dull and I'm surprised it wasn't unapproved. For once it's inaccurate, second it's been already made countless times, third the FPS issue most likely has to do with non-steam versions of the game.
thEsp is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-04-2021 , 06:43   Re: FPS Limiter v0.4
Reply With Quote #18

FPS has nothing to do with Steam or not.
__________________

Last edited by DJEarthQuake; 10-04-2021 at 06:49.
DJEarthQuake is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-04-2021 , 06:51   Re: FPS Limiter v0.4
Reply With Quote #19

Quote:
Originally Posted by thEsp View Post
This plugin is dull and I'm surprised it wasn't unapproved. For once it's inaccurate, second it's been already made countless times, third the FPS issue most likely has to do with non-steam versions of the game.
1. Inaccurate how? The plugin checks the player fps each second with 99% correct rate.
2. If it has been made countless times post a link approving your doubts.
3. Nonsteam ? Read again the previous posts before posting some useless claims, i already said higher fps increases the forwards that are called depending on the user fps, which will increase the cpu run time.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
thEsp
BANNED
Join Date: Aug 2017
Old 10-04-2021 , 09:12   Re: FPS Limiter v0.4
Reply With Quote #20

You must be so delusional to think your plugin is unique of some sort. Back in the day players had problems with high FPS rates where the player movement would deteriorate and the game would become choppy. Considering the fact non-steam servers usually run old versions of the game, that's one fair reason why somebody would want to limit their players' FPS. Anyway there's a reason why sys_ticrate exists.
thEsp is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode