AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Server Side Anticheat (https://forums.alliedmods.net/showthread.php?t=340870)

ghostdlr 12-15-2022 11:06

Server Side Anticheat
 
Are there any server side anti cheat plugins that are working or have any impact in detecting cheaters?

Can you figure if an user is cheating from his config cvars or camera angles in game?
Can you use amxmodx to detect how fast someone moves his cursor on an enemy or if he is shooting through walls?

I'm thinking only to gather some data and display some warnings that player could be cheating so an admin can check him. Also, admins could watch a hltv recording later on and decide to ban or not.

sPed 12-15-2022 14:41

Re: Server Side Anticheat
 
use this to figure if someone using cheat's
PHP Code:

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
 
#define PLUGIN "Cerere wCD"
#define VERSION "1.1"
#define AUTHOR "DanN / LiOn"
 
#define TAG "WarGods"
 
#define MOTD_LOCATION "addons/amxmodx/configs/wcdinfo.html"
 
new bool:hascan[33], cvars[3]
new 
store_team
 
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
 
    
register_clcmd("say""cmd_say")
    
register_clcmd("say_team""cmd_say")
 
    
cvars[0] = register_cvar("wcd_disconnect_ban""1")
    
cvars[1] = register_cvar("wcd_minim_acces_flag""c"// kick acces
    
cvars[2] = register_cvar("wcd_time_for_ban""2")
 
    
register_dictionary("wcd_scan.txt")
}
 
public 
client_connect(id)
{
    
hascan[id] = false
}
 
public 
client_disconnect(id)
{
    if(
hascan[id] && get_pcvar_num(cvars[0]) == 1)
    {
        new 
ip[32]
        
get_user_ip(idipcharsmax(ip), 1)
 
        
hascan[id] = false
        server_print
("%s"ip)
        
client_cmd(0"spk ^"vox/bizwarn eliminated") 
        server_cmd("
addip %%s;writeip",get_pcvar_num(cvars[2]), ip)
        server_exec()
    }
}
 
 
public cmd_say(id)
{
    new szSaid[192]
    read_args(szSaid, charsmax(szSaid))
    remove_quotes(szSaid)
 
    if(contain(szSaid, "
/scan") != -1)
    {
        if(get_user_flags(id) & get_pcvar_flags(cvars[1]))
        {
            new target[32]
            copy(target, sizeof(target) -1, szSaid[6])
            new player = cmd_target(id, target, 2)
 
            if(player)
            {
                new pname[32], admin[32]
                get_user_name(player, pname, charsmax(pname))
                get_user_name(id, admin, charsmax(admin))
 
                if(hascan[player])
                {
                    ColorChat(id, "
!g[%s]!y You already requested a scan for this player!", TAG)
                    return PLUGIN_HANDLED
                }
                else
                {
                    new timer[64]
                    get_time("
%d/%m/%- %H:%M:%S", timer, charsmax(timer))
                    hascan[player] = true
                    store_team = get_user_team(player)
                    user_silentkill(player)
                    cs_set_user_team(player, CS_TEAM_SPECTATOR)
                    ColorChat(0, "
!g[%s]!y Admin !g[%s]!y requests an WCD scan for player !g[%s]!yDate : !g%s", TAG, admin, pname, timer)
                    ColorChat(0, "
!g[%s]!y Download link !gwww.wargods.ro/wcd/download.php", TAG)
                    ColorChat(0, "
!g[%s]!If you don't know how to do an WCD scan, type in chat !g/wcd!y or !g/infowcd!y !", TAG)
                    client_cmd(id, "snapshot")
                    return PLUGIN_CONTINUE
                }
            }
            else
            {
                ColorChat(id, "!g[%s]!y The specified player is inexistent!", TAG)
                return PLUGIN_HANDLED
            }
        }
    }
    else if(contain(szSaid, "/clean") != -1)
    {
        if(get_user_flags(id) & get_pcvar_flags(cvars[1]))
        {
            new target[32]
            copy(target, charsmax(target), szSaid[7])
            new player = cmd_target(id, target, 2)
 
            if(player)
            {
                new pname[32]
                get_user_name(player, pname, charsmax(pname))
                cs_set_user_team(player, store_team)
                hascan[player] = false
 
                ColorChat(0, "!g[%s]!y The player !g[%s]!y is clean after WCD scan !", TAG, pname)
                return PLUGIN_CONTINUE
            }
            else
            {
                ColorChat(id, "!g[%s]!y The specified player is inexistent!", TAG)
                return PLUGIN_HANDLED
            }
        }
    }
    else if(equal(szSaid, "/infowcd") || equal(szSaid, "/wcd"))
    {
        show_motd(id, MOTD_LOCATION)
    }
 
    return PLUGIN_CONTINUE
}
 
 
 
stock ColorChat(const id, const input[], any:...)
{
    new Count = 1, Players[32];
    static Msg[191];
    vformat(Msg, 190, input, 3);
 
    replace_all(Msg, 190, "!g", "^4");
    replace_all(Msg, 190, "!y", "^1");
    replace_all(Msg, 190, "!t", "^3");
 
    if(id) Players[0] = id; else get_players(Players, Count, "ch");
    {
        for (new i = 0; i < Count; i++)
        {
            if (is_user_connected(Players[i]))
            {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, Players[i]);
                write_byte(Players[i]);
                write_string(Msg);
                message_end();
            }
        }
    }
    return PLUGIN_HANDLED



georgik57 01-26-2023 11:33

Re: Server Side Anticheat
 
Use whblocker

Deliriumj0kergod 03-18-2023 19:56

Re: Server Side Anticheat
 
Quote:

Originally Posted by georgik57 (Post 2798018)
Use whblocker

"use wh blocker"....WHERE CAN THAT FAMOUS "wh blocker" and "aim blocker" and "anti speed" BE FOUND?
I SEARCHED WHOLE INTERNET FOR 11 HOURS COULDNT FIND ANYTHING;JUST UPLOAD THE DAMN THINGS AND POST
THEM ON INTERNET,STOP HIDDING STUFF AND PLUGGINS IN ORDER TO SELL THEM FOR MONEY!

bigdaddy424 03-18-2023 22:11

Re: Server Side Anticheat
 
i can provide links but they support non-steam related modules and i might get banned from this glory forum

Celena Luna 03-21-2023 02:34

Re: Server Side Anticheat
 
It is funny how it only took 2 seconds and google whblocker and the first results it that addons but somehow and some “reason” it took him 11 hours to find it
Doesn’t sound sus at all

georgik57 03-21-2023 15:25

Re: Server Side Anticheat
 
1 Attachment(s)
Quote:

Originally Posted by Deliriumj0kergod (Post 2801432)
"use wh blocker"....WHERE CAN THAT FAMOUS "wh blocker" and "aim blocker" and "anti speed" BE FOUND?
I SEARCHED WHOLE INTERNET FOR 11 HOURS COULDNT FIND ANYTHING;JUST UPLOAD THE DAMN THINGS AND POST
THEM ON INTERNET,STOP HIDDING STUFF AND PLUGGINS IN ORDER TO SELL THEM FOR MONEY!


731 03-23-2023 00:06

Re: Server Side Anticheat
 
2 Attachment(s)
Commancommand and functions of plugin:


Admin order:

amx_pcheater_list
<admin menu, select punishment bureau, initiate voting, stop punishment>

The amx_pcheater <authid, nick, or # userid> <penalty bureau number>
<admin directly punish cheating players. At least 5 innings, input less than 5 innings, still press 5 games punishment>
Example: Want to punish the cheater named abc for 5 games: amx_pcheater abc 5
Want to punish userid is 23 cheaters 5 innings: amx_pcheater #23 5

amx_pcheater_enable 1
<Plugin Switch>

amx_tele <authid, nick, or #userid>
<Random transmission to any enemy person nearby burial>

amx_fly <authid, nick, or #userid> <?round>
<Let the players fly to the sky>

amx_pcheater_stop
<Stop all penalties>

amx_pcheater_dis 200 0 0 0
<Set the RGB color and type of the display information (0-plain, 1-flicker, 2-type)>
RGB color list

say /cscphelp
<Show All Commands>


CVAR: (you can write to amxx.cfg as you want)

amx_pcheater_kick 0
<Vote to punish cheating players over the maximum number of times (the default is 2) to kick. Default 0 Level off>

amx_pcheater_fly 1
<Punishment for the first inning (0-only 1 hp, 1-flying, 2-teleport)>

amx_pcheater_vote 1
<Vote Switch>

amx_pcheater_vote_rate 0.6
<Rate required for successful success (default 0.6 is 60%)>

amx_pcheater_givemoney 5000
<Number of reward money given to kill a cheater when he is teleported>

amx_pcheater_takemoney 5000
<Do not participate in the vote of the amount of money deducted, insufficient buckle light>

amx_pcheater_vote_money 1000
<Money needed to vote>

amx_pcheater_checksay 1
<Check the player say if there contains special words let the player confirm whether to initiate a vote>


The player commands:

say /vote_cheater
<Players use the voting function>


A point of explanation:
Exit midway through the penalty is remembered for ip and name (record file addons\amxmodx\configs\cscp.dat),
When the player enters, check the id first, and if it does, start the punishment again.
Then check the ip, and if it does, the screen will prompt the player (name, ip) on the right to enter again and show his new name.for reference.



basic function:
1. Detection of flash
Provide tips of killing in case of flash.
2. Detection speed
Provide overspeed prompt, warning, color information display.
3. Detection through the wall
Provide wall penetration warning, warning, and ballistic display.
If they are worn to death by leaking a portion of their body, the dead player will be indicated where they is seen.
4. statistics
Speeding, the number of times through the wall and being killed are warned and displayed in real time.
Also, player current statistics in motd showing all warning times are not 0.
5. vote
When the individual count reaches the specified size, a vote is initiated.
6. Execution of punishment
If the vote is successful or the number of warnings reaches the limit, the punishment order will be executed.
7. daily record
Provide a recording mode to record the details of each warning.


order:
fc_enable 1
<Plugin Switch>

fc_beam_holdtime 150
<Ballistic Display time * 0.1>

fc_checkspeed 1
<Check the speed switch, play the Warcraft version before closing>

fc_checkthwall 1
<Check the wall through switch>

fc_checkflash 1
<Check the flash switch>

fc_speedwarntime 2
<Maximum Overspeed Times>

fc_thwallwarntime 10
<Maximum number of wall penetration>

fc_flashwarntime 5
<Maximum number of kills>

fc_startvote 1
<Voting function switch>

fc_voterate 0.6
<Voting success ratio>

fc_record 1
<Logging switch, file location- -addons\amxmodx\configs\FindCheater.log>

fc_cmdstr “amx_pcheater #%userid% 6”
<Punishment commands to be executed>
<Note format example: want to kick to write fc _ cmdstr "kick #% userid%">


The player commands:

say /fc
<Show motd, or the current statistics>

Deliriumj0kergod 03-30-2023 14:36

Re: Server Side Anticheat
 
Quote:

Originally Posted by Celena Luna (Post 2801587)
It is funny how it only took 2 seconds and google whblocker and the first results it that addons but somehow and some “reason” it took him 11 hours to find it
Doesn’t sound sus at all

Any wh blocker found on internet doesn't work. Not blocking Evol v26,not blocking Zeroware,and especially not blocking Flatcheat.

Deliriumj0kergod 03-30-2023 14:38

Re: Server Side Anticheat
 
Thanks for being simple,not greedy,and for providing it. :)


All times are GMT -4. The time now is 07:45.

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