Raised This Month: $51 Target: $400
 12% 

[ANY] Fake VAC Ban


Post New Thread Reply   
 
Thread Tools Display Modes
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 04-19-2015 , 09:13   Re: [ANY] Fake VAC Ban
Reply With Quote #41

Quote:
Originally Posted by DramaLlama View Post
still cant seem to download the .smx gives me an error. the .sp downloads just fine
https://forums.alliedmods.net/showpo...9&postcount=29
Addicted. is offline
DramaLlama
Member
Join Date: Jan 2015
Location: Vancouver
Old 04-19-2015 , 16:09   Re: [ANY] Fake VAC Ban
Reply With Quote #42

Quote:
Originally Posted by oaaron99 View Post
Thankyou.
DramaLlama is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 11-01-2015 , 21:05   Re: [ANY] Fake VAC Ban
Reply With Quote #43

Here's a modified version. Uses More Colors for proper #FF0000 text color (the one I used from here in TF2 ended up having some weird blue-green text color instead of red)

To hide the fact that you're running a Fake VAC plugin, I've changed the plugin name and info to [REDACTED].

Command is sm_fakevac <player>

Command is restricted to admins with the ROOT (z) flag though.
Attached Files
File Type: sp Get Plugin or Get Source (REDACTED.sp - 367 views - 1.2 KB)
File Type: smx REDACTED.smx (10.3 KB, 576 views)

Last edited by 404UserNotFound; 11-04-2015 at 12:13.
404UserNotFound is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 11-02-2015 , 06:27   Re: [ANY] Fake VAC Ban
Reply With Quote #44

"VAC banned from secure server" is the correct kick message for VAC bans (as your title says it)
CS:GO untrusted bans make your account "untrusted" and makes it VAC banned a day later or so
__________________
retired
shavit is offline
Scent Tree Gun
Junior Member
Join Date: Feb 2019
Location: United States
Old 03-10-2019 , 19:10   Re: [ANY] Fake VAC Ban
Reply With Quote #45

plz fix compiling
Scent Tree Gun is offline
K1lleR_gamea
Junior Member
Join Date: Mar 2019
Location: Israel
Old 06-14-2020 , 07:36   Re: [ANY] Fake VAC Ban
Reply With Quote #46

PHP Code:
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "Brrdy"
#define PLUGIN_VERSION "1.0.3"

ConVar cPrefix;
ConVar g_cPluginEnabled;

bool g_bPluginEnabled;

char g_szTag[64];

#include <sourcemod>

public Plugin myinfo = {
    
name "[ANY] FakeVAC",
    
author PLUGIN_AUTHOR,
    
description "Fake VAC Ban",
    
version PLUGIN_VERSION,
    
url "https://forums.alliedmods.net/showthread.php?t=259350"
};

public 
void OnPluginStart(){
    
RegConsoleCmd("sm_fv"Cmd_FV);
    
    
cPrefix CreateConVar("sm_fakevac_prefix""[VAC]""Chat prefix for plugin usage.");
    
g_cPluginEnabled CreateConVar("sm_fakevac_enabled""1""Enable or Disable plugin features"0true0.0true1.0);
    
CreateConVar("sm_fakevac_version"PLUGIN_VERSION);
    
    
AutoExecConfig(true"sm_fakevac""Brrdy");
    
    
g_cPluginEnabled.AddChangeHook(OnConVarChanged);
    
    
LoadTranslations("common.phrases");
}

public 
void OnConfigsExecuted(){
    
cPrefix.GetString(g_szTagsizeof(g_szTag));
}

public 
void OnConVarChanged(ConVar convar, const char[] oldValue, const char[] newValue){
    
g_bPluginEnabled g_cPluginEnabled.BoolValue;
}

public 
Action Cmd_FV(int clientint args){
    if (!
g_bPluginEnabled){
        return 
Plugin_Stop;
    }
    
    if (
IsValidClient(client)){
        
char szArg[32];
        
GetCmdArg(1szArgsizeof(szArg));
        
        if (
args 1){
            
PrintToChat(client" \x10%s\x01 Usage: sm_fv \x04<client>\x01."g_szTag);
            return 
Plugin_Handled;
        }
        
        
int iTarget FindTarget(clientszArgtruetrue);
        if (
iTarget != 1){
            
PrintToChatAll(" \x07%N has been permanently banned from official CS:GO servers."iTarget);
            
KickClient(iTarget"VAC banned from secure servers.");
        }
        
    } else {
        
PrintToChat(client" \x10%s\x01 You do not have access to this command."g_szTag);
        return 
Plugin_Handled;
    }
    return 
Plugin_Handled;
}

stock bool IsValidClient(int client){
    return (
client >= && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client) && !IsFakeClient(client) && CheckCommandAccess(client"sm_admin"ADMFLAG_GENERIC));

I sometimes wonder if anyone is using it
Attached Files
File Type: smx FakeVAC.smx (6.0 KB, 97 views)
File Type: sp Get Plugin or Get Source (FakeVAC.sp - 227 views - 2.1 KB)

Last edited by K1lleR_gamea; 06-14-2020 at 13:43. Reason: text
K1lleR_gamea is offline
MackKnife
New Member
Join Date: Feb 2020
Old 06-18-2020 , 22:16   Re: [ANY] Fake VAC Ban
Reply With Quote #47

Quote:
Originally Posted by K1lleR_gamea View Post
PHP Code:
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "Brrdy"
#define PLUGIN_VERSION "1.0.3"

ConVar cPrefix;
ConVar g_cPluginEnabled;

bool g_bPluginEnabled;

char g_szTag[64];

#include <sourcemod>

public Plugin myinfo = {
    
name "[ANY] FakeVAC",
    
author PLUGIN_AUTHOR,
    
description "Fake VAC Ban",
    
version PLUGIN_VERSION,
    
url "https://forums.alliedmods.net/showthread.php?t=259350"
};

public 
void OnPluginStart(){
    
RegConsoleCmd("sm_fv"Cmd_FV);
    
    
cPrefix CreateConVar("sm_fakevac_prefix""[VAC]""Chat prefix for plugin usage.");
    
g_cPluginEnabled CreateConVar("sm_fakevac_enabled""1""Enable or Disable plugin features"0true0.0true1.0);
    
CreateConVar("sm_fakevac_version"PLUGIN_VERSION);
    
    
AutoExecConfig(true"sm_fakevac""Brrdy");
    
    
g_cPluginEnabled.AddChangeHook(OnConVarChanged);
    
    
LoadTranslations("common.phrases");
}

public 
void OnConfigsExecuted(){
    
cPrefix.GetString(g_szTagsizeof(g_szTag));
}

public 
void OnConVarChanged(ConVar convar, const char[] oldValue, const char[] newValue){
    
g_bPluginEnabled g_cPluginEnabled.BoolValue;
}

public 
Action Cmd_FV(int clientint args){
    if (!
g_bPluginEnabled){
        return 
Plugin_Stop;
    }
    
    if (
IsValidClient(client)){
        
char szArg[32];
        
GetCmdArg(1szArgsizeof(szArg));
        
        if (
args 1){
            
PrintToChat(client" \x10%s\x01 Usage: sm_fv \x04<client>\x01."g_szTag);
            return 
Plugin_Handled;
        }
        
        
int iTarget FindTarget(clientszArgtruetrue);
        if (
iTarget != 1){
            
PrintToChatAll(" \x07%N has been permanently banned from official CS:GO servers."iTarget);
            
KickClient(iTarget"VAC banned from secure servers.");
        }
        
    } else {
        
PrintToChat(client" \x10%s\x01 You do not have access to this command."g_szTag);
        return 
Plugin_Handled;
    }
    return 
Plugin_Handled;
}

stock bool IsValidClient(int client){
    return (
client >= && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client) && !IsFakeClient(client) && CheckCommandAccess(client"sm_admin"ADMFLAG_GENERIC));

I sometimes wonder if anyone is using it
i guess i would use it but wont work for me .
MackKnife is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 08-28-2020 , 08:27   Re: [ANY] Fake VAC Ban
Reply With Quote #48

A simple fake vac plugin i've made

sm_fv <#userid|target> - Send a fake vac ban via targets name
sm_fakevac <#userid|target> - Send a fake vac ban via targets name

sm_fv2 <#userid|target> - Send a fake csgo ban via targets name
sm_fakevac2 <#userid|target> - Send a fake csgo ban via targets name

fakevac_version - Fake Vac-Ban Version
fakevac_enabled - Enable/Disable Fake Vac-Ban
Attached Files
File Type: sp Get Plugin or Get Source (fakevac.sp - 232 views - 2.6 KB)
__________________

Last edited by Teamkiller324; 08-28-2020 at 09:08.
Teamkiller324 is offline
K1lleR_gamea
Junior Member
Join Date: Mar 2019
Location: Israel
Old 10-04-2020 , 13:25   Re: [ANY] Fake VAC Ban
Reply With Quote #49

Quote:
Originally Posted by K1lleR_gamea View Post
PHP Code:
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "Brrdy"
#define PLUGIN_VERSION "1.0.3"

ConVar cPrefix;
ConVar g_cPluginEnabled;

bool g_bPluginEnabled;

char g_szTag[64];

#include <sourcemod>

public Plugin myinfo = {
    
name "[ANY] FakeVAC",
    
author PLUGIN_AUTHOR,
    
description "Fake VAC Ban",
    
version PLUGIN_VERSION,
    
url "https://forums.alliedmods.net/showthread.php?t=259350"
};

public 
void OnPluginStart(){
    
RegConsoleCmd("sm_fv"Cmd_FV);
    
    
cPrefix CreateConVar("sm_fakevac_prefix""[VAC]""Chat prefix for plugin usage.");
    
g_cPluginEnabled CreateConVar("sm_fakevac_enabled""1""Enable or Disable plugin features"0true0.0true1.0);
    
CreateConVar("sm_fakevac_version"PLUGIN_VERSION);
    
    
AutoExecConfig(true"sm_fakevac""Brrdy");
    
    
g_cPluginEnabled.AddChangeHook(OnConVarChanged);
    
    
LoadTranslations("common.phrases");
}

public 
void OnConfigsExecuted(){
    
cPrefix.GetString(g_szTagsizeof(g_szTag));
}

public 
void OnConVarChanged(ConVar convar, const char[] oldValue, const char[] newValue){
    
g_bPluginEnabled g_cPluginEnabled.BoolValue;
}

public 
Action Cmd_FV(int clientint args){
    if (!
g_bPluginEnabled){
        return 
Plugin_Stop;
    }
    
    if (
IsValidClient(client)){
        
char szArg[32];
        
GetCmdArg(1szArgsizeof(szArg));
        
        if (
args 1){
            
PrintToChat(client" \x10%s\x01 Usage: sm_fv \x04<client>\x01."g_szTag);
            return 
Plugin_Handled;
        }
        
        
int iTarget FindTarget(clientszArgtruetrue);
        if (
iTarget != 1){
            
PrintToChatAll(" \x07%N has been permanently banned from official CS:GO servers."iTarget);
            
KickClient(iTarget"VAC banned from secure servers.");
        }
        
    } else {
        
PrintToChat(client" \x10%s\x01 You do not have access to this command."g_szTag);
        return 
Plugin_Handled;
    }
    return 
Plugin_Handled;
}

stock bool IsValidClient(int client){
    return (
client >= && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client) && !IsFakeClient(client) && CheckCommandAccess(client"sm_admin"ADMFLAG_GENERIC));

I sometimes wonder if anyone is using it
PHP Code:
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "Brrdy"
#define PLUGIN_VERSION "1.0.4"
#define PREFIX "[VAC]"

#include <sourcemod>

public Plugin myinfo = {
    
name "[ANY] FakeVAC",
    
author PLUGIN_AUTHOR,
    
description "Fake VAC Ban",
    
version PLUGIN_VERSION,
    
url "https://forums.alliedmods.net/showthread.php?t=259350"
};

public 
void OnPluginStart(){
    
RegConsoleCmd("sm_fv"Cmd_FV);
    
    
LoadTranslations("common.phrases");
}

public 
Action Cmd_FV(int clientint args){
    if (
IsValidClient(client) && !IsAdmin(client)){
        
PrintToChat(client" \x10%s\x01 You do not have access to this command."PREFIX);
        return 
Plugin_Handled;
    }
    
    if (
IsValidClient(client) && IsAdmin(client)){
        
Menu_FakeVAC(client);
    }
    return 
Plugin_Handled;
}

void Menu_FakeVAC(int client){
    
Menu menu = new Menu(MenuCallBack_FakeVACMENU_ACTIONS_ALL);
    
menu.SetTitle("%s Fake VAC \nSelect a Player"PREFIX);
    
    
char szName[MAX_NAME_LENGTH];
    
    for (
int i 1<= MaxClientsi++){
        if (
IsValidClient(i)){
            
Format(szNamesizeof(szName), "%N"i);
            
menu.AddItem(szNameszName);
        }
    }
    
    
menu.ExitButton true;
    
menu.Display(clientMENU_TIME_FOREVER);
}

public 
int MenuCallBack_FakeVAC(Menu menuMenuAction mActionint param1int param2){
    if (
mAction == MenuAction_Select){
        
char szItem[32];
        
menu.GetItem(param2szItemsizeof(szItem));
        
        
int iTarget FindTarget(param2szItemtruefalse);
        
        if (
iTarget == -|| !IsValidClient(iTarget)){
            
PrintToChat(param1" \x10%s\x01 Target \x07(%N)\x01 is not \x07available\x01."PREFIXiTarget);
            return;
        }
        
        
KickClient(iTarget"VAC banned from secure servers.");
        
PrintToChatAll(" \x07%N has been permanently banned from official CS:GO servers."iTarget);
        
        
Menu_FakeVAC(param1);
        
    } else if (
mAction == MenuAction_End){
        
delete menu;
    }
}

stock bool IsAdmin(int client){
    if (
client >= && client <= MaxClients && CheckCommandAccess(client""ADMFLAG_GENERIC)){
        return 
true;
    }
    return 
false;
}

stock bool IsValidClient(int client){
    if (
client >= && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client) && !IsFakeClient(client)){
        return 
true;
    }
    return 
false;

new one
K1lleR_gamea is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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