AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Anti-Developer (https://forums.alliedmods.net/showthread.php?t=170020)

Menethil 10-19-2011 14:28

Anti-Developer
 
1 Attachment(s)
Anti-Developer v1.0
by NeuTroN (aka Menethil )


-Description:
This plugin detects players and slay who have FPS more then x ( x = setable by cvar )

-Cvars:
amx_maxfps - Set the max fps allowed before apllying a punishment , this version slay.

v1.0 - First release.
Waiting for constructive critics , and ideas to update, and improuve this code.

P.S : I set theose Warnings , because i want to avoid the server lag spikes or other kind of things that may cause FPS increasing for verry short time ( under 1 second ).

enjoi. 10-19-2011 18:57

Re: Anti-Developer
 
slowhacking?

DarkGod 10-19-2011 22:09

Re: Anti-Developer
 
Quote:

Originally Posted by enjoi. (Post 1579374)
slowhacking?

Quiet.

You shouldn't use ResetHUD to check if someone spawned (unless properly filtered). I can just type 'fullupdate' in console and it will trigger a ResetHUD.

FOUTA 10-20-2011 05:58

Re: Anti-Developer
 
Quote:

Originally Posted by enjoi. (Post 1579374)
slowhacking?

what's slowhacking about this??
anyway good job menethil, i suggest making a variety of punishments (slay, slap, kick, ban, ...) :D

Stereo 10-20-2011 17:52

Re: Anti-Developer
 
You don't need check this:

task_exists(id+DEVELOPER_OFFSET)


remove_task do this

krededk99 10-21-2011 02:59

Re: Anti-Developer
 
*Gosh* needs to wake up. Works :)

xPaw 10-21-2011 04:56

Re: Anti-Developer
 
This method sucks, it's not correct way to count player's FPS.

Devil259 10-27-2011 06:20

Re: Anti-Developer
 
http://forums.alliedmods.net/showpos...95&postcount=1

Menethil 10-27-2011 14:41

Re: Anti-Developer
 
@xPaw , maybe this method sucks , but at my level of knowledge its all i know "stable"
- After long tests , i didnt recived any false-detection.

@Devil259 - that is not working , if u take a look at that code it's not writen correctly.

at least i dont know why , and how that works

new g_fps[33][10];
-why is this having that [10]
aslo this too :
g_i[id][10]
cus can't be compiled

challenge 10-29-2011 15:58

Re: Anti-Developer
 
It's why I hate helping peoples.

I wrote this for you in http://timepassgamers.co.in/forum/ and you posted it in alliedmodders with your name!!!!!

anyway carry on if you want to prove yourself as a coder.


But still some suggestion.
1) Use ham_spwan for spwan detection. (But I am sure you don't have any clue what is that so again ask for some help somebody else and post it with your name).

2)F**k this method and use query_client_cvar to check developer's value. If value is other than 0 punish him. (I think the above one I coded for you as you have some non steam server )

Quote:

This method sucks, it's not correct way to count player's FPS.
Can you elaborate? I wanna learn that method.


All times are GMT -4. The time now is 14:10.

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