csgo-multi-1v1
csgo-multi-1v1 copied to clipboard
Lock clan tag to arena number
As of late a new trend on some arenas is happening. Some players are changing their clantags very fast. Here's an example of the logs:
L 08/25/2015 - 17:38:23: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Triggerbot.") L 08/25/2015 - 17:38:23: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Triggerbot?") L 08/25/2015 - 17:38:23: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Spinbot.") L 08/25/2015 - 17:38:23: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Wallhack") L 08/25/2015 - 17:38:23: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Triggerbot?") L 08/25/2015 - 17:38:23: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Wallhack") L 08/25/2015 - 17:38:23: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Spinbot.") L 08/25/2015 - 17:38:23: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Triggerbot?") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Wallhack?") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Spinbot?") L 08/25/2015 - 17:38:24: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Aimbot .") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Spinbot?") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Wallhack?") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Triggerbot?") L 08/25/2015 - 17:38:24: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Aimbot .") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Wallhack?") L 08/25/2015 - 17:38:24: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Aimbot .") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Spinbot?") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Spinbot?") L 08/25/2015 - 17:38:24: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Wallhack?") L 08/25/2015 - 17:38:25: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Aimbot .") L 08/25/2015 - 17:38:25: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Wallhack?") L 08/25/2015 - 17:38:25: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Spinbot?") L 08/25/2015 - 17:38:25: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Spinbot?") L 08/25/2015 - 17:38:25: "KeeeqZ<630><x:x:xxx><TERRORIST>" triggered "clantag" (value "Wallhack?") L 08/25/2015 - 17:38:25: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Spinbot.") L 08/25/2015 - 17:38:25: "kN<621><STEAM_x:x:xxx><CT>" triggered "clantag" (value "Wallhack")
It's really annoying. I asked one of them how they are doing this. It's a double bind:
bind "a" "+moveleft;cl_clanid 9812555" bind "d" "+moveright;cl_clanid 9812565" bind "s" "+back;cl_clanid 9812576" bind "w" "+forward;cl_clanid 9812596"
Is there any way to prevent this? Especially on arena nobody should be able to change a clantag (this often).
I'd be fine with a feature that blocks changing the clan tag (or at least changes it back so it is effectively never visibly changing).
I can't find a way to do that other than resetting all the clan tags every x seconds, however.
If you can't find a better solution I'll try contacting the SMAC developers. I think Client Protection - smac_client.smx is the right place then. They also protect against multiple name changes and could enhance it a bit.
@splewis
public Action OnClientCommandKeyValues(int client, KeyValues kv) { char sCmd[64]; if (kv.GetSectionName(sCmd, sizeof(sCmd)) && StrEqual(sCmd, "ClanTagChanged", false)) { return Plugin_Handled; }
return Plugin_Continue;}
This should work.
@plewis
public Action OnClientCommandKeyValues (cliente int, KeyValues kv) { char sCmd [64]; if (kv.GetSectionName (sCmd, sizeof (sCmd)) e& StrEqual (sCmd, "ClanTagChanged", false)) { return Plugin_Handled; }
return Plugin_Continue;}
This should work.
I did a test and it worked for me, in case I am using it on my competitive servers, to avoid the tag exchange binds.