AutoBan v0.8d
------------

email: vhudon@gmail.com



	What is AutoBan ?
	-----------------

        Autoban is a serverside plugin developed over the course of a few months to limit cheating on public
	dedicated counter-strike source servers. Add your ip or steamid to the ab_admin cvar and bind ab_admin_menu
	to access the admin menu. Have fun!

	List of features:

	* Server-side only plugin, nothing to run or install on the client
	* Wallhacking prevention
	* No-spread and low-spread disabler
	* No-flash disabler
	* Speedhack detection
	* Aimbot detection

	Change log
	----------

	0.8d (This release)

	* Fixed a bug in aimbot detection triggered by a specific client configuration.
	* Fixed a bug messing up the mouse sensitivity

	0.8c 

	* Added linux version (built on fedora core 4)

	0.8b

	* Fixed getaddrinfo bug on win2000.
	* Fixed an issue with mani's afk manager.
	* The plugin is now DEP compatible.
	* Some minor reliability fixes.

	0.8a

	* reduced the winsock2 api requirement (should help for older windows).
	* fixed a loophole in the aimbot detection.
	* added speedhack and aimbot detection toggle to the admin menu.
	* The type of cheat(s) detected is now clearly indicated.

	0.8

	* No flash disabler has been redone, it's much more accurate now.
	* aimbot detection is back!
	* speedhack detection is back!
	* Some performance tweaks have been added.
	* Disabling the anti-wallhack will now reduce the cpu usage correctly.

	0.7

	* It's no longer necessary to tweak the ab_max_visibility_updates manually. Just set to 0 to get the auto mode
	  it will dynamically adjust to the available cpu time.

	0.6a

	* Fixed for latest steam update

	0.6

	* Removed the aimbot detection code
	* No more scoring
	* Added anti-nospread

	0.5

	* added the option to ban by ip
	* corrected the no flash disabler in some specific situations
	* added the possibility to writeid and writeip after a ban (ab_writeban)
	* the admins can now cancel a ban when they are online
	* There are now private announcements to the admins when someone is flagged by autoban
	* Fixed an issue with the aimbot detection
	* ab_admin now supports ip addresses as well as STEAMIDs (ie. 192.168.2.12,24.204.4.13 )

	0.4c

	* Fixed a server crash caused by a player having no weapon.
	* Optimized the viscode to reduce lag in specific situations.
	* It is now possible to enter a comma separated list of admins in ab_admin

	0.4b

	* Fixed a server crash triggered when a new player joins the game (often happens on map change)
	* Improved the viscode to reduce poping
	* Fixed a crash bug that would happen sometimes on player disconnect
	* Started the admin in-game menu (More features to come)
	  -> set ab_admin to your "steamid" and bind "ab_admin_menu" in game to use it
	* Fixed all players becoming invisible if ab_wallhack_block was set to 0
	* It is now possible to send me windows mdmp files to make me diagnose a server crash
	* Removed the delay before triggering the aimbot detection, it was too confusing for the admin.
	* Fixed a rare false positive for aimbotting when the game rules are modified.
	* ab_stats and ab_hitgroup_stats are now admin only commands.

	0.4a

	* the linux build in v0.4 had all optimizations turned off, this is now corrected.
	* added some binutils to the linux build to troubleshoot some crashes.

	0.4

	* Fixed an issue with the m3 and aimbotting
	* Replaced the wallhack detection code by a wallhack disabler.
	* Replaced the no-flash detection code by a no-flash disabler.
	* Removed the reflex time algorithm (now useless)
	* improved the viscode accuracy

	  Known issues:

	  * speedhack detection disabled in this release
	  * some improvements are needed on the aimbot detection code
	  * no menu system yet
	  * the plugin can cause server lag on lower end servers
	  * in some circonstances, a player might be invisible when looked at from a particular angle
	  
	0.3a 

	* Fixed 2 issues with aimbot detection
	* Increased the performance of the vis update code
	* Reduced false positives coming from the wallhack algorithm

	0.3

	* Fixed a bug with round restart and speedhack detection
	* Fixed the aimbot detection code
	* Added an autoban.cfg file

	0.2b

	* Made the plugin tickrate independent
	* Added ab_max_visibility_updates (performance cvar)
	* Added sound detection for the wallhack algorithm
	* Added wallhack detection cooldown delay
	* Raised the wallhack cap

	0.2a

	* Fixed a performance issue

	0.2

	* Added no-flash detection
	* No nospread for impacts nearer than ab_close_from_player
	* More precise wallhack detection when target is near
	* Added a small delay before triggering the wallhack detection
	* Added highwatermark for cheatscore (ab_stats command)
	* Fixed speedhack detection for lagged servers/clients
	* Set a cap on points got for wallhacking (per event)
	* Added a "safe" mode to log penalities (to make sure that every penality are logged for debugging)
	* Added ab_hitgroup_min_shots to control the aimbot statistical test

	0.1b

	* Fixed a crash bug affecting the linux version
	* Please also read the change log for 0.1a !

	0.1a

	* Built a linux version
	* set ab_ban to 0 by default (score only)
	* Added ab_ban mode 2 and 3
	* Added console commands ab_kickid and ab_banid usable by anybody on people who have crossed ab_threshold (ab_ban = 2 or 3 only!)
	* Minor tweaks to some cvars

	0.1

	* Initial public release

	Installation
	------------

	You will need to unpack the autoban archive in your source dedicated server installation. For instance, let's that I use the default Steam installation path and my Steam account name is "autoban", the installation path would be (replace "autoban" by your Steam account name):

	C:\Program Files\Valve\Steam\SteamApps\autoban\source dedicated server\cstrike

	Simply unpack the archive in that folder so that an "addons" folder is created if it did not exist. It should now contain at least the "serverplugin_autoban.dll" and "serverplugin_autoban.vdf" files.

	You will need to add the following line in your server.cfg file as well: exec autoban.cfg

	Also set your ab_admin up in the autoban.cfg file: It will look like this: ab_admin "STEAMID_1,STEAMID_2" // Comma separated steam IDs of the admins for autoban (grants access to the menu)

	After you have set up your ab_admin you will need to bind "ab_admin_menu" to a key to bring up the heads up menu. If you do not wish to  bind a key you can simply type ab_admin_menu in your console and then exit out of the console and the menu should be up and waiting for you on your game screen. 

	Once this is done, simply start or restart your dedicated server and you're ready to go!


	FAQ
	-----

	Q: Is there a list of cvars and commands ?

	A: You mostly need to 
	ab_max_visibility_updates 32	Max visibility updates per frame.

	Q: Why doesn't the menu system work for me or my other admins?

	A: You or your admins will need to bind "ab_admin_menu" to a key to enable the menu pop up.

	Q: I can't see the menu, please help!

	A: You will need to add you and your admins (if you wish) to the ab_admin line in your autoban.cfg file.

	Q: The cpu usage goes through the roof when I use autoban, what can I do ?

	A: Autoban is more cpu dependent than other plugins. You can try to lower ab_max_visibility_updates to match
	   the capacity of your server. If your using -tickrate 66, you should divide by 2 the default value used
	   as your server has only half the time to update the visibility per frame.

	Q: Will using this plugin get me VAC banned ?

	A: No, AutoBan is a server side plugin and is therefore VAC2 compatible.

	Q: Once the plugin is loaded, what do I need to do to make it work ?

	A: Nothing, basically you don't *need* to change anything. You can change the cvars listed above to customize the way you ban cheaters, but it is not required. The only thing that is really required to change is the ab_admin in the autoban.cfg, this will allow you and anyone else to have access to the ab_admin_menu. 

	Q: Will AutoBan works with other server plugins ?

	A: As long as these plugins do not affect significantly the gameplay, the answer is yes.

	Q: Will Autoban ban someone for using server plugin features, like teleporting and no-clip?

	A: Yes, these mod's significantly effect a players gameplay.
