AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceMod Anti-Cheat (https://forums.alliedmods.net/forumdisplay.php?f=133)
-   -   [CSGO] SMAC Client Protection enhancement (clanid spam) (https://forums.alliedmods.net/showthread.php?t=270684)

keigel2001 08-27-2015 00:11

[CSGO] SMAC Client Protection enhancement (clanid spam)
 
As of late a new trend on some servers is happening. Some players are changing their clantags very fast. Here's an example of the logs:
Code:

L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Triggerbot.")
L 08/25/2015 - 17:38:23: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Spinbot.")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Wallhack")
L 08/25/2015 - 17:38:23: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Wallhack")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Spinbot.")
L 08/25/2015 - 17:38:23: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:24: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:24: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:25: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:25: "kN<621>" triggered "clantag" (value "Spinbot.")
L 08/25/2015 - 17:38:25: "kN<621>" triggered "clantag" (value "Wallhack")


It's really annoying.

Client Protection - smac_client.smx is already protecting against name change spam.
To the developers: Could you enhance the dev-version a bit and also add a clanid change spam protection?

It would be greatly appreciated :)

GoD-Tony 08-27-2015 08:30

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
I've edited your post to remove the spam method, but this should easily be blockable with SourceMod's new command hooks.

I'll try to add a fix for this soon, thanks!

checkster 08-27-2015 15:27

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
Tbh why bother blocking it? It does not cause any issues in game. Nor does changing clantag avoid you from getting banned.

Darkness_ 08-27-2015 15:49

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
Quote:

Originally Posted by checkster (Post 2337474)
Tbh why bother blocking it? It does not cause any issues in game. Nor does changing clantag avoid you from getting banned.

Most server operators like their server logs to be free of player generated spam.

checkster 08-27-2015 17:09

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
Quote:

Originally Posted by Darkness_ (Post 2337479)
Most server operators like their server logs to be free of player generated spam.

Decide what to log, this is tbh a pretty dumb thing to kick for, implying thats the outcome.
Just smac_ignorecmd or how ever its written.

And as a owner I love logs, I learn things etc

GoD-Tony 08-28-2015 09:28

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
Something like this should block it, but it requires a recent snapshot of SourceMod 1.8:

PHP Code:

#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

float g_TagChangedTime[MAXPLAYERS+1];

public 
void OnClientConnected(int client)
{
    
g_TagChangedTime[client] = 0.0;
}

public 
Action OnClientCommandKeyValues(int clientKeyValues kv)
{
    
char sCmd[64];
    
    if (
kv.GetSectionName(sCmdsizeof(sCmd)) && StrEqual(sCmd"ClanTagChanged"false))
    {
        if (
g_TagChangedTime[client] && GetGameTime() - g_TagChangedTime[client] <= 60.0)
            return 
Plugin_Handled;
        
        
g_TagChangedTime[client] = GetGameTime();
    }
    
    return 
Plugin_Continue;


Quote:

Originally Posted by checkster (Post 2337498)
Just smac_ignorecmd or how ever its written.

It's not possible to block using that command (yet). I'll update it once this feature moves to SM 1.7.

checkster 08-28-2015 15:48

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
Quote:

Originally Posted by GoD-Tony (Post 2337679)
Something like this should block it, but it requires a recent snapshot of SourceMod 1.8:

PHP Code:

#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

float g_TagChangedTime[MAXPLAYERS+1];

public 
void OnClientConnected(int client)
{
    
g_TagChangedTime[client] = 0.0;
}

public 
Action OnClientCommandKeyValues(int clientKeyValues kv)
{
    
char sCmd[64];
    
    if (
kv.GetSectionName(sCmdsizeof(sCmd)) && StrEqual(sCmd"ClanTagChanged"false))
    {
        if (
g_TagChangedTime[client] && GetGameTime() - g_TagChangedTime[client] <= 60.0)
            return 
Plugin_Handled;
        
        
g_TagChangedTime[client] = GetGameTime();
    }
    
    return 
Plugin_Continue;


It's not possible to block using that command (yet). I'll update it once this feature moves to SM 1.7.

I was unaware of that, and nice that there is no kick.

razorxrazor 11-06-2015 13:41

Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
 
How does this work ? what should I do ?

razorxrazor 11-13-2015 15:28

clan id spam pleas help
 
PHP Code:

L 11/13/2015 15:10:08"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:09"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:09"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:09"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:10"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:10"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:12"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:12"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:12"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:13"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:13"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:13"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:16"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:16"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:21"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:22"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:22"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:22"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:25"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:25"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:26"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:26"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:27"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:27"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:27"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:28"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:28"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:28"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:29"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:29"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:34"多米尼克 ♥<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value ""


Darkness_ 11-13-2015 15:36

Re: clan id spam pleas help
 
https://forums.alliedmods.net/showthread.php?t=270684


All times are GMT -4. The time now is 03:23.

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