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

small edit please.


Post New Thread Reply   
 
Thread Tools Display Modes
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-06-2020 , 20:46   Re: small edit please.
Reply With Quote #21

Quote:
Originally Posted by Cirovic View Post
there are guardians that does not allow for server to change players settings :/
I will share my privite plugin soon, server settings plugin but i doing some updates on it
Supremache is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 09-06-2020 , 21:34   Re: small edit please.
Reply With Quote #22

And foxa please this plugin only slay CT team!!!
Cirovic is offline
Foxa
Member
Join Date: Nov 2018
Location: Croatia
Old 09-07-2020 , 05:08   Re: small edit please.
Reply With Quote #23

Forgot about that, sorry.. The code has been edited.
Foxa is offline
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 09-07-2020 , 13:10   Re: small edit please.
Reply With Quote #24

Quote:
Originally Posted by Foxa View Post
The plugin doesn't count frames correctly anyways, something like this would be better, although it can still result in false positives
.....
Eh, it looks a bit messy..
Lag spikes can cause players to get slayed for no reason since you don't even have warning count, and also because of this fps limit should be somewhere in 110.
I never understood this 'TASKID_DO' thing. Why not just pass the client index as the taskid? There's nothing wrong with that.
Perhaps you should check in x second intervals if client's fps is illegal and have at least 3 warnings.
This will reduce false positives drastically, if not get rid of them completely.

I've written at least a little better version of this feel free to use it..
It has all the features were requested and it logs client warnings into your logs directory.
If you're still getting false positives try increasing amx_max_fps.
You can modify how often (seconds) a client is being checked via amx_fps_check.

Spoiler
Attached Files
File Type: inc colorchat.inc (2.5 KB, 31 views)
File Type: sma Get Plugin or Get Source (fpsthing.sma - 75 views - 3.6 KB)
__________________

Last edited by Rohanlogs; 09-08-2020 at 02:32.
Rohanlogs is offline
Cirovic
Senior Member
Join Date: Sep 2019
Old 09-07-2020 , 16:06   Re: small edit please.
Reply With Quote #25

y this is good rohan, but can u remove WARNING messages pelase only slay, and fix slay. it does not slay player. just says.
Cirovic is offline
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 09-08-2020 , 02:33   Re: small edit please.
Reply With Quote #26

Quote:
Originally Posted by Cirovic View Post
y this is good rohan, but can u remove WARNING messages pelase only slay, and fix slay. it does not slay player. just says.
It does slay on the 4th warning in a row with a 5 second delay as requested. This is to confirm that the player is using high FPS and to avoid false positives. I've removed the warning message.
If you'd like the slay to occur faster you can decrease MAXWARNINGS or amx_fps_check but again this can lead to people getting slayed due to lag.
__________________

Last edited by Rohanlogs; 09-08-2020 at 02:38.
Rohanlogs 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 06:26.


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