AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   VBAC - Very Basic Anti-Cheat V3.3 [29 Aug 08] (https://forums.alliedmods.net/showthread.php?t=72170)

MoggieX 06-01-2008 18:29

VBAC - Very Basic Anti-Cheat V3.3 [29 Aug 08]
 
1 Attachment(s)
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.

http://www.ukmandown.co.uk/media/cheater-found.gif


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 :mrgreen:

FunTF2Server 06-01-2008 18:44

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
thanks so much i was haveing many probleams with people comming in and enabling sv_cheats1 and then fooking up my searver

siosios 06-01-2008 18:54

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
is this using the sm_ban or writeid banid of the server?

MoggieX 06-01-2008 19:23

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
In the code...

PHP Code:

        // Ban the *
        
BanClient(client

Matt

siosios 06-01-2008 19:52

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
thank you for this

sirmoe 06-01-2008 20:14

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
How would this work with sourcebans? Possible to integrate?

MoggieX 06-01-2008 20:16

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
Quote:

Originally Posted by sirmoe (Post 633318)
How would this work with sourcebans? Possible to integrate?

It would be separate, unless they want to add it to their core.

Matt

sirmoe 06-01-2008 21:12

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
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

XARIUS 06-01-2008 21:47

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
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!

siosios 06-01-2008 21:56

Re: Basic Anti-Cheat V1.0 [1 Jun 08]
 
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


All times are GMT -4. The time now is 06:01.

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