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

VBAC - Very Basic Anti-Cheat V3.3 [29 Aug 08]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Plugin ID:
406
Plugin Version:
3.3
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Checks a client for naughty stuff and thier name being "unconnected"
    Old 06-01-2008 , 18:29   VBAC - Very Basic Anti-Cheat V3.3 [29 Aug 08]
    Reply With Quote #1

    VBAC - Very Basic Anti-Cheat

    What does it do?
    This plugin checks players when spawning for:
    1. sv_cheats being enabled - When obviously they should not be!
    2. mat_wireframe being enabled - When obviously it should not be!
    3. sv_consistency disabled - Added in V3.0 when should be enabled
    4. The name of "unconnected" - And then when a player connects, it checks the players name "unconnected", this is normally a sign of a cheat has been some what rife, this is the screen name of a client that has not connected properly.

    If it finds a match for ANY of the conditions above it BANS.

    To be on the safe side, if sv_cheats (or what ever CVar you set it to) is enabled, then the plugin will not ban the players.

    I do stress that this is a very basic anti-cheat protection, as its been proven that not all sv_cheats bypasses are not being picked up (no idea why) hence the addition of the mat_wireframe check as a secondary check and sv_consistancy as a third check being added in V3.0.

    MySQL Bans Support Added in V3.0
    In version 3.0 I have added basic support for my MySQL banning plugin:
    http://forums.alliedmods.net/showthread.php?t=65822

    This is disabled by default and needs to be enabled by putting sm_vbac_mysql 1 in your <mod dir>/cfg/soucremod.cfg file and of course you need to install the above plugin.

    This was added due to the number of people it was banning and I was getting fed up of going back through the log files and manually adding them to protect the other 11 game servers.

    Source Bans Support Added in V3.1
    Added support for this, by adding a convar called sm_vbac_sb which will need to enabled adding sm_vbac_sb 1 to your in your <mod dir>/cfg/soucremod.cfg file.

    Successful So Far!
    So far when using this plug-in in conjunction with KAC, I've found that VBAC is picking the cheaters up quicker (all 222 now some +640 cheaters found across our servers alone), however KAC is still mopping up the rest of the losers (51 extra bans because of KAC).

    Prime example is below, this plug-in picked up this player and banned them tonight, as far as I'm concerned thats one less cheater.




    Background:
    From a request in the forums at http://forums.alliedmods.net/showthread.php?t=72097 also I would not e here that I left this running over night when testing it and picked up 8 players on our main server that had sv_cheats enabled, in one night!!

    CVars
    sm_vbac_version - Duh
    sm_vbac_value - sv_cheats - Do not alter
    sm_vbac_mysql - Default: 0 - Set to 1 if using with my MySQL Banning Plug-in
    sm_vbac_sb - Default:0 - Set to 1 if using Source Bans

    Installation:
    Pop the compiled smx file into your <%MOD DIR%>/addons/sourcemod/plugins folder and change maps

    Version History:
    V1.0 - First Release
    V2.0 - Added mat_wireframe check, added check if the player is a bot & tidied the code up
    V2.1 - Kigen fixed the bot check
    V3.0 - Added extra check and basic MySQL banning support
    V3.1 - Added Source Bans support via sm_vbac_sb
    V3.2 - Fixed fakeclients() prob
    V3.3 - Fixed client not connected log error

    Thanks to:
    Everyone in http://forums.alliedmods.net/showthread.php?t=72097 !

    Suggestions?
    Ban everyone that joins? Issue solved then
    Attached Files
    File Type: sp Get Plugin or Get Source (basic-anti-cheat.sp - 15924 views - 11.0 KB)
    __________________

    Last edited by MoggieX; 08-29-2008 at 03:07.
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    FunTF2Server
    Veteran Member
    Join Date: Apr 2008
    Old 06-01-2008 , 18:44   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #2

    thanks so much i was haveing many probleams with people comming in and enabling sv_cheats1 and then fooking up my searver
    __________________
    FunTF2Server is offline
    siosios
    SourceMod Donor
    Join Date: Jan 2008
    Old 06-01-2008 , 18:54   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #3

    is this using the sm_ban or writeid banid of the server?
    siosios is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 06-01-2008 , 19:23   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #4

    In the code...

    PHP Code:
            // Ban the *
            
    BanClient(client
    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    siosios
    SourceMod Donor
    Join Date: Jan 2008
    Old 06-01-2008 , 19:52   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #5

    thank you for this
    siosios is offline
    sirmoe
    Senior Member
    Join Date: Mar 2008
    Old 06-01-2008 , 20:14   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #6

    How would this work with sourcebans? Possible to integrate?
    sirmoe is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 06-01-2008 , 20:16   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #7

    Quote:
    Originally Posted by sirmoe View Post
    How would this work with sourcebans? Possible to integrate?
    It would be separate, unless they want to add it to their core.

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    sirmoe
    Senior Member
    Join Date: Mar 2008
    Old 06-01-2008 , 21:12   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #8

    Would it be possible to change it from ban > kick?

    Trying to investigate who is banned on which server on a large scale is a nightmare
    sirmoe is offline
    XARIUS
    SourceMod Donor
    Join Date: May 2008
    Location: Atlanta, GA
    Old 06-01-2008 , 21:47   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #9

    I'd like to find some way to run this ban thru sourcebans (sm_ban) as well, so that our community admins can police this sorta thing. I remember a long time ago, legitimate people would occasionally show up as unconnected.

    Thanks for the great plugin!
    XARIUS is offline
    siosios
    SourceMod Donor
    Join Date: Jan 2008
    Old 06-01-2008 , 21:56   Re: Basic Anti-Cheat V1.0 [1 Jun 08]
    Reply With Quote #10

    yea i like this plugin but since im using sourcebans and hate searching the stock banlist and then guessing it was for this plugin, i would prefer something to tie it in to sourcebans. not saying anything derogatory just think that there might be alot of use for this with SB rather then having a hacker talk his way out of a ban due to lack of info and having to seach multiple servers for the ban.

    thanks
    siosios
    siosios is offline
    Reply


    Thread Tools
    Display Modes

    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 11:46.


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