Raised This Month: $32 Target: $400
 8% 

FPS Limiter With Kick System


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Nill_
Junior Member
Join Date: Jul 2020
Old 07-24-2020 , 07:59   FPS Limiter With Kick System
Reply With Quote #1

FPS LIMITER + KICK V1.0

Description:
Prevents players from using more than x FPS when connecting. It will be kicked automatically, if you change the FPS after reconnecting to the server, it will also be kicked.

The maximum FPS can be exchanged here:
Quote:
const g_iFpsMax = x; // Sets The FPS Limit.
PT-BR: Espero ter ajudado!
ENG: Hope this helps!
Attached Files
File Type: sma Get Plugin or Get Source (fps_limit.sma - 753 views - 1.8 KB)

Last edited by Nill_; 07-24-2020 at 14:45.
Nill_ is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-24-2020 , 08:32   Re: FPS Limiter With Kick System
Reply With Quote #2

Code:
public client_putinserver(id) {     if(!is_user_bot(id))     client_cmd( id, "fps_max %d", g_iFpsMax); }

This is slowhacking and not allowed.

Why would you release a plugin that requires changes in the .sma file in order to work? Haven't you heard about cvars? The least you can do is set a default value.

Did YOU make this plugin?
__________________

Last edited by OciXCrom; 07-24-2020 at 08:34.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Nill_
Junior Member
Join Date: Jul 2020
Old 07-24-2020 , 14:18   Re: FPS Limiter With Kick System
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Code:
public client_putinserver(id) {     if(!is_user_bot(id))     client_cmd( id, "fps_max %d", g_iFpsMax); }

This is slowhacking and not allowed.

Why would you release a plugin that requires changes in the .sma file in order to work? Haven't you heard about cvars? The least you can do is set a default value.

Did YOU make this plugin?
I already had this plugin, it had a menu. I just edited it to remove the menu and put it to disconnect the automatic player.
Nill_ is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-24-2020 , 18:36   Re: FPS Limiter With Kick System
Reply With Quote #4

Then where is the original author's name and credits? Removing something from someone else's work doesn't make you its author.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Nill_
Junior Member
Join Date: Jul 2020
Old 07-25-2020 , 01:57   Re: FPS Limiter With Kick System
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Then where is the original author's name and credits? Removing something from someone else's work doesn't make you its author.
I got this plugin from a friend of mine, he had edited the author of the plugin so I don’t know who it is, so I added mine. I just posted this plugin to help other people, you don't have to be mad at me.
Nill_ is offline
thEsp
BANNED
Join Date: Aug 2017
Old 07-25-2020 , 04:02   Re: FPS Limiter With Kick System
Reply With Quote #6

Nobody is getting mad at you, but this forum implies anti-non-steam rules, so think about it...
thEsp is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-25-2020 , 07:38   Re: FPS Limiter With Kick System
Reply With Quote #7

If you don't know who it is, mention that in the thread or plugin, don't just add your name in there when you don't even know how to create a basic plugin. That being said, are you able to support this plugin?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Nill_
Junior Member
Join Date: Jul 2020
Old 07-25-2020 , 10:47   Re: FPS Limiter With Kick System
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
If you don't know who it is, mention that in the thread or plugin, don't just add your name in there when you don't even know how to create a basic plugin. That being said, are you able to support this plugin?
I know how to create basic plugins, if you want later I'll post one here, I see some improvements that I can add. it's not because i put this plugin as if i was the author that i don't know how to do anything plugin.
Nill_ is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 07-25-2020 , 13:39   Re: FPS Limiter With Kick System
Reply With Quote #9

talking about non-steam, does 'query_client_cvar' even work on them? i cant test it but heard it dont
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
Nill_
Junior Member
Join Date: Jul 2020
Old 07-25-2020 , 15:33   Re: FPS Limiter With Kick System
Reply With Quote #10

Quote:
Originally Posted by JocAnis View Post
talking about non-steam, does 'query_client_cvar' even work on them? i cant test it but heard it dont
yes, it works for both steam and non-steam, I tested both and it worked fine.
Nill_ is offline
Reply


Thread Tools
Display Modes

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 22:56.


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