Raised This Month: $ Target: $400
 0% 

anti hack plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Anthraxnz
Senior Member
Join Date: May 2005
Location: New Zealand
Old 04-09-2006 , 06:46   anti hack plugin
Reply With Quote #1

iv got an idea for a anti cheat plugin.

is it possible to check for client cvars like aim = 1 or wallhax = 1 or something like that?

i tried using get_user_info() using "sv_aim 1" as my test cvar but it didnt work regaurdless of whether it was 1 or 0.

if i can figure out how to get it checking cvars then i can write like a dictionary file for hack cvars then when the hacker connects they get kicked off.
__________________
Dont know how to add admins?

use my program
http://www.amxmodx.org/forums/viewto...=129092#129092

it does the work for you ... sort of
Anthraxnz is offline
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 04-09-2006 , 08:00  
Reply With Quote #2

Code:
query_client_cvar(id, "wallhax", "result_func") .. public result_func(id, const cvar[], const value[]) {     new num = str_to_num(value)     if(num > 0) {         //kick player or w/e     } }

btw, i think sv_aim is only working for clients when server has sv_cheats enabled
__________________
plop
p3tsin is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-09-2006 , 08:21  
Reply With Quote #3

sv_aim is a server's cvar
VEN is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-09-2006 , 12:41  
Reply With Quote #4

Not to mention, not a whole lot of hacks register client cvar's anymore.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Anthraxnz
Senior Member
Join Date: May 2005
Location: New Zealand
Old 04-09-2006 , 16:05  
Reply With Quote #5

i downloaded like 3 or 4 of em and read the .cfg files they all seemed to have cvars in them such as aim = 0 and aimthru = 0 which is a constant pretty much over all the hax i looked at.
__________________
Dont know how to add admins?

use my program
http://www.amxmodx.org/forums/viewto...=129092#129092

it does the work for you ... sort of
Anthraxnz is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-09-2006 , 16:07  
Reply With Quote #6

Those are not cvar's; they don't get registered into the client cvar system, they get registered into the hacks own system.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
ev0d00b
Member
Join Date: Aug 2005
Location: Middle Earth
Old 04-09-2006 , 23:09  
Reply With Quote #7

what you should try do is:

get_user_aiming, and then get the user hitbox, and time how long it takes to get to head like make a reaction time 0.1 or less then give him 3 goes per round if the player gets 3 hs's in less then 0.1 seconds then auto ban, after 1 or 2 it sends a message to an admin.

anyway good luck anthrax <3.
__________________
ev0d00b is offline
Send a message via MSN to ev0d00b
Anthraxnz
Senior Member
Join Date: May 2005
Location: New Zealand
Old 04-09-2006 , 23:25  
Reply With Quote #8

another good idea of mine foiled by not being a gayz0r h4x0r

wish i had a magic device that knows whos hacking and who isnt.
__________________
Dont know how to add admins?

use my program
http://www.amxmodx.org/forums/viewto...=129092#129092

it does the work for you ... sort of
Anthraxnz is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 04-09-2006 , 23:48  
Reply With Quote #9

I can provide one.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Wolle
Member
Join Date: Jun 2005
Location: Berlin / Germany
Old 04-10-2006 , 07:15  
Reply With Quote #10

Quote:
Originally Posted by Twilight Suzuka
I can provide one.
I'm listening.
Wolle is offline
Send a message via AIM to Wolle
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 16:38.


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