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


All times are GMT -4. The time now is 08:13.

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