AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   ECStatic Check (Anti-Cheat) [Anthrax] (https://forums.alliedmods.net/showthread.php?t=46029)

DarkSnow 10-17-2006 00:52

ECStatic Check (Anti-Cheat) [Anthrax]
 
16 Attachment(s)
Credits:
Original autor: Aaron Farnell [ Anthrax ] (revised)
Modifications: Darksnow

What does it do?
This is an anti-cheat plugin.

This plugin checks for traces of cheat usage thru the clients setinfo. Some cheats add a certain value to the setinfo to identify a specific cheat, which also enables us to automaticly identify it.

The plugin will not ban people by default. It will rather send a public print_chat saying that the connecting client may be using a specific cheat. It's up to the server administrator to change the cvar as he see fit.

Good/Bad?
Clients with these values in the registry might not be cheating, but it gives a strong reason for suspicion. It is my belief that its up to the server administrators to chose if they want to allow people with these values into their servers, this is just a tool for doing so.

Required modules:
None

Detects the following values:
  • ECStatic
  • TeKilla
  • MicCheat
  • AlphaCheat
  • PimP
  • LCD
  • Chapman (new)
  • _PRJVDC (new)

CMD's
amx_eclist - list potential cheaters on server, requires ADMIN_KICK level

CVARS
  • amx_ecban (def: 0) - Type of ban (see below)

    0 = Alert on connection
    1 = Normal steam ban
    2 = * AMXBan
    3 = * AMXBan ban ip
    4 = Normal kick
    5 = No messages, only add to logfile
    * Requires amxban
  • amx_ecbantime (def: 0) - How many minutes amxbans will ban
  • amx_echud (def: 0) - Show alert as hud message?
  • amx_ecadmins (def: 1) - Only show alert to admins? (Kick access)

Please read:
... this thread on steambans for information on why not to use this plugin.

Original source
Requested in this thread

Code:

Changelist
        v2.4
        update 13:12 2008-03-07 :: Hawk552

        v2.3
        _Log-only detection_ - amx_ecban = 5

        v2.2
        Replaced server with console commands to fix bugs with remote rcon clients
        Changed to propper credits


neogeo 10-17-2006 01:20

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
hi
thanks for this but can you add ban by ip ?
thanks

DarkSnow 10-17-2006 02:45

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by neogeo (Post 392037)
hi
thanks for this but can you add ban by ip ?
thanks

Done, but i think this will require amxbans.

You specify method of ban using cvar described in topic.

Morpheus 10-17-2006 06:02

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
I may ask stupid, but im trying anyways :)

Code:

                if (equal(infoField,"Hack_User"))
                {
                        ban_client(id, "Ecstatic Cheat")
                }
                if (equal(infoField2,"Hack_User"))
                {
                        ban_client(id, "TeKilla Cheat")
                }
                if (equal(infoField3,"Hack_User"))
                {
                        ban_client(id, "TeKilla Cheat")
                }
                if (equal(infoField4,"Hack_User"))
                {
                        ban_client(id, "Alpha Cheat")
                }

Why are u adding "TeKilla" two times??? Ur missing MicCheat :)

`666 10-17-2006 06:11

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
This is so useful! Thanks For sharing, DarkSnow.

DarkSnow 10-17-2006 06:31

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by Morpheus (Post 392080)
I may ask stupid, but im trying anyways :)
...
Why are u adding "TeKilla" two times???

It's a type-o, and it has been fixed.

Quote:

Originally Posted by `666 (Post 392081)
This is so useful! Thanks For sharing, DarkSnow.

Cheers, the credits goes to Anthrax

Morpheus 10-17-2006 06:36

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Ok just checking :)

Fixed it in my first download.. good job mate.

`666 10-17-2006 07:11

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
How can i change so "[ECC] %s (connecting) is possibly using cheat: %s" is in red colour?
Thanks.

DarkSnow 10-17-2006 07:23

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by `666 (Post 392092)
How can i change so "[ECC] %s (connecting) is possibly using cheat: %s" is in red colour?
Thanks.

You are looking for having it as a hud message.

Change:

Code:
    if (get_cvar_num("amx_ecban") == 0)     {         client_print(0, print_chat, "[ECC] %s (connecting) is possibly using cheat: %s", name, cheat)     }

to

Code:
    if (get_cvar_num("amx_ecban") == 0)     {         new nmsg[64]         format(nmsg,63,"[ECC] %s (connecting) is possibly using cheat: %s", name, cheat)         set_hudmessage(255, 0, 0, 0.02, 0.02, 0, 6.0, 12.0)         show_hudmessage(0, nmsg)     }

or if you want it centered use:

Code:
    set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 12.0)

`666 10-17-2006 07:29

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Thanks :D

DarkSnow 10-17-2006 08:01

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by `666 (Post 392097)
Thanks :D

Actualy, i decided to add hudmessages to the plugin.

New cvars described in description.

`666 10-17-2006 08:30

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Nice, with hud much easy to see. Good job.

Morpheus 10-17-2006 09:17

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Oh DarkSnow can u add a vox sound when a detection is made?

Vox has an alarm sound which would be really cool to hear..

Thx

DarkSnow 10-17-2006 10:26

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by `666 (Post 392109)
Nice, with hud much easy to see. Good job.

Thanks

Quote:

Originally Posted by Morpheus (Post 392116)
Oh DarkSnow can u add a vox sound when a detection is made?

Vox has an alarm sound which would be really cool to hear..

Thx

It has been added to the plugin. fvox/beep is now issued for admins, if admins only cvar is set (to not disrupt for normal players)

`666 10-17-2006 10:46

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
will be kool if u add "amx_eclist" console command to display list of suspected cheaters in console.

Zenith77 10-17-2006 12:34

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Wow, that must have been your server I was kicked from when someone was beta testing it, because I kicked the exact same way when using ecstatic :o (before this was released).

p.s. I love ecstatic!

DarkSnow 10-17-2006 12:41

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by `666 (Post 392135)
will be kool if u add "amx_eclist" console command to display list of suspected cheaters in console.

Done

`666 10-17-2006 12:48

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Omg thank you so much :D

`666 10-17-2006 13:02

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
I have one ecstatic suspect on the server but when i type amx_eclist i get "none found" :S I checked on hlsw to make sure and yes he is. Maybe because I changed "#define MAX_PLAYERS" to 20?

DarkSnow 10-17-2006 14:01

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by `666 (Post 392172)
I have one ecstatic suspect on the server but when i type amx_eclist i get "none found" :S I checked on hlsw to make sure and yes he is. Maybe because I changed "#define MAX_PLAYERS" to 20?

Thats weird. I cant see any problems with the code that might give such results.

Edit: Removed code

I found out what caused the problem, and it has been corrected.
:wink:

Quote:

Originally Posted by newbie1233 (Post 392178)
u forgot [Myg0t] clan and [JAPS] [VACDISABLED] DOES exist they use takes .Vd vd. Vd lot more Owner Xantrax they use a cheat witch dont put in hack_user the only hack_user that will be possible is the newest cheats out c0re Dont work on EC now so and it doesnt appair in setinfo

...

Code:

...

Im not sure of what you are trying to tell me here, but I am well aware that alot of cheats dont flash themselfs in the setinfo, but that is beyond what this plugin is intended.

Pest Spray will be a more complete solution.


Quote:

Originally Posted by Zenith77 (Post 392161)
Wow, that must have been your server I was kicked from when someone was beta testing it, because I kicked the exact same way when using ecstatic :o (before this was released).

p.s. I love ecstatic!

Nope, it's prolly cause the server was using latest HLGuard whitch also checks the setinfo after the ecstatic value.

Morpheus 10-17-2006 14:19

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Thx for the Vox update ! :)

Cheers

Silencer123 10-17-2006 14:52

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
What the...
This has not been done before?
That "great Function" in Ecstatic Cheat is inside it for a long
Time now and this is the first Plugin exploiting that Feature?
If this would have been done earlier many Cheaters would
have had to say "Good bye!", but now those already know
about this. I saw the usage of that Hack and you could see
every second Player having a "Cheater detected" Message
over his Head.
*lol*
Good Job DarkSnow although it is a bit late.
;)

`666 10-17-2006 15:54

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by DarkSnow (Post 392188)
I found out what caused the problem, and it has been corrected.
:wink:

Thanks it works nicely now :D

newbie1233 10-17-2006 16:01

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
hmm but it only detects it in config.cfg in cstrike u can remove that and wallah u dont have setinfo "hack_user" "escatric cheat" it will be at the bottom

`666 10-17-2006 16:02

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
yeh, but most of cheaters are noobs :P

`666 10-17-2006 16:42

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
ah dam, makes server crash sometimes
Code:

8:16:56: [AMXX] Run time error 4 (plugin "ec.amxx")
I think some of plugins on the server dont work well with this one :S

DarkSnow 10-17-2006 17:36

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by `666 (Post 392257)
ah dam, makes server crash sometimes
Code:

8:16:56: [AMXX] Run time error 4 (plugin "ec.amxx")
I think some of plugins on the server dont work well with this one :S

Funny, it should work well with all plugins, it doesnt use any weird API or modules. What set of plugins are you using?

Quote:

Originally Posted by Silencer123 (Post 392204)
What the...
Good Job DarkSnow although it is a bit late.
;)

Thanks :)

`666 10-17-2006 18:09

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Code:

23:16:04 Currently loaded plugins:
        name              version  author            file            status 
        Admin Base        1.76    AMXX Dev Team    admin.amxx      running 
        AMXBans            4.3      YoMama/Lux & lan  amxbans.amxx    running 
        Admin Commands    1.76    AMXX Dev Team    admincmd.amxx    running 
        Admin Help        1.76    AMXX Dev Team    adminhelp.amxx  running 
        Menus Front-End    1.75    AMXX Dev Team    menufront.amxx  running 
        Commands Menu      1.76    AMXX Dev Team    cmdmenu.amxx    running 
        Players Menu      1.75    AMXX Dev Team    plmenu.amxx      running 
        Teleport Menu      1.75    AMXX Dev Team    telemenu.amxx    running 
        Maps Menu          1.76a    AMXX Dev Team    mapsmenu.amxx    running 
        Admin Chat        1.76    AMXX Dev Team    adminchat.amxx  running 
        Anti Flood        1.76    AMXX Dev Team    antiflood.amxx  running 
        Scrolling Message  0.16    AMXX Dev Team    scrollmsg2.amxx  running 
        Admin Votes        1.76    AMXX Dev Team    adminvote.amxx  running 
        NextMap            1.76    AMXX Dev Team    nextmap.amxx    running 
        Nextmap Chooser    1.76    AMXX Dev Team    mapchooser.amxx  running 
        TimeLeft          1.76    AMXX Dev Team    timeleft.amxx    running 
        Admin Gag          1.8.3    EKS              admin_gag.amxx  running 
23:16:05 Radio Unhidden    0.22    default          radio_unhidden.  running 
        Knife Only        0.1      Bend3R & KRoTAL  knife.amxx      running 
        Remove weapons    0.2      JGHG              removeweapons.a  running 
        HS                -        -                headshot.amxx    running 
        Be Right Back      2.6      Cheap_Suit        brb.amxx        running 
        Super Bunny Hoppe  1.2      Cheesy Peteza    bunnyhop.amxx    running 
        AMX Parachute      0.1.7    KRoT@L            amx_parachute.a  running 
        say /motd          1.1      Pa1n              say_motd.amxx    running 
        Loading Sound      1.0      Amxx User        loadingsound.am  running 
        Connect Sound      1.2.3    White Panther    connectsound.am  running 
        Connect Announce  0.3b    v3x              connect_announc  running 
        Vehicle Kills      1.25    Damaged Soul      vehiclekills.am  running 
        AMXX Piss          2.0      KRoTaL            amxx_piss_cs_cz  running 
        AMX Puke          0.2      KRoTaL            puke.amxx        running 
        AMXX Point        1.0b    PyRo              amx_point.amxx  running 
        Ghostchat          0.5      pir4t            ghostchat.amxx  running 
        Simple Stream      1.2      hi                simplestream.am  running 
        Simple Glow        1.0      hi                simpleglow.amxx  running 
        High Ping Kicker  1.2.0    DynAstY          hpk.amxx        running 
        Player Unbury      1.1      SweatyBanana      unbury.amxx      running 
        AmxX Music Advanc  1.0      Cheap_Suit        amxxma.amxx      running 
        AMX Client Exec    0.03    v3x              amx_exec.amxx    running 
        Random Respawn Ch  0.9      Bo0m!            respawnchance.a  running 
        Team Revive        2.0      GHW_Chronic      ghw_revive.amxx  running 
        amx_cheat          1.0      watch            god_&_noclip.am  running 
        No retry          1.16    Priski            no_retry.amxx    running 
        Game Namer        Version  NeuroToxin        gamenamechanger  running 
        Admin Check        1.51    OneEyed          admin_check.amx  running 
        ATAC              2.5.5.4  T(+)rget/f117bom  amxx_atac.2.5.5  running 
        46 plugins, 46 running

23:16:48 Currently loaded modules:
        name                    version  author             
        MySQL                  1.76a    AMX Mod X Dev Team 
        Fun                    1.76    AMX Mod X Dev Team 
        CStrike                1.76    AMX Mod X Dev Team 
        Engine                  1.76    AMX Mod X Dev Team 
        FakeMeta                1.76    AMX Mod X Dev Team 
        5 modules


DarkSnow 10-17-2006 18:17

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
666, Im not sure that its plugin incompability, but you could try to disable the other non-amxx default plugins and try just running with the ec plugin. If it still doesnt work then the problem is somewhere else.

Also, you could change in plugins.ini "ac.amxx" to "ac.amxx debug" and you should get a more extensive error message.

`666 10-17-2006 18:23

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
ok thanks ill try that when server is empty ;)

Silver Dragon 10-17-2006 23:01

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Very useful.

Morpheus 10-18-2006 02:29

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by DarkSnow (Post 392165)
Done


Regarding amx_eclist, doesnt seem to work on my server.. ? Do we get a reply from console that no one is detected or is it just blank ?

Or will it just list the players if any has any hacks ?

Thx again for a cool plugin :)

DarkSnow 10-18-2006 07:33

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by Morpheus (Post 392456)
Regarding amx_eclist, doesnt seem to work on my server.. ? Do we get a reply from console that no one is detected or is it just blank ?

Or will it just list the players if any has any hacks ?

Thx again for a cool plugin :)

amx_eclist will display "username<steam_id> ip" of every player on server that have cheat setinfo values.

If no client on server have these values, it will display "none found". You are required to be admin on server with ADMIN_KICK access to use this command.

Cheers

Morpheus 10-18-2006 09:55

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Thx for ur answer mate, but im trying to use this via HLSW... But it dont respond to anything.

All other amx plugins is responding... kinda strange I think...

DarkSnow 10-18-2006 11:30

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by Morpheus (Post 392534)
Thx for ur answer mate, but im trying to use this via HLSW... But it dont respond to anything.

All other amx plugins is responding... kinda strange I think...

Strange, but I dont know much about HLSW. If you think it's some problem with HLSW you should prolly contact them on their forum.

Morpheus 10-18-2006 12:36

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Well im not saying its a problem with HLSW, but the strange thing that mostly all plugins are responding if I use rcon amx plugins... All are responding... kinda strange.

But amx_eclist dont respond at all... :/

Trying to test it via game.

Arkshine 10-18-2006 13:38

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Plugin works great.

good job DarkSnow :)

DarkSnow 10-18-2006 14:27

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by arkshine (Post 392589)
Plugin works great.

good job DarkSnow :)

Thanks :)

Dzyzus 10-18-2006 16:39

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
How can i test it?

DarkSnow 10-18-2006 17:09

Re: ECStatic Check (Anti-Cheat) [Anthrax]
 
Quote:

Originally Posted by Dzyzus (Post 392633)
How can i test it?

1) Make sure you have ADMIN_KICK access
2) Start a server
3) Get people to join your server

Whenever a person that has these setinfo values in their registry joins your server, you will recive a message from the plugin telling you about it.

Or if you change some cvars you can make it ban these people automaticly.


All times are GMT -4. The time now is 20:09.

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