Page 1 of 15

Kigen's Anti-Cheat Download

Posted: Fri Sep 25, 2009 4:45 am
by Kigen
Kigen's Anti-Cheat

Requirements

This version requires Sockets. The latest version from sfPlayer.

http://forums.alliedmods.net/showthread.php?t=67640

Please download Sockets 3.0.1 or later versions!

Download

Download link: https://www.kigenac.com/KACSM/1.2/kigen-ac-pub.smx

Source Code: https://github.com/TheKigen/kigens-anti-cheat

Commands and ConVars

KAC 1.2 has a completely different system for settings than the previous versions.

Here is the list of commands.
  1. kac_addcvar <cvar name> <comparison type> <action> <value> <value2 if bound>
  2. kac_removecvar <cvar name>
  3. kac_addcmd <command name> <ban (1 or 0)>
  4. kac_removecmd <command name>
Here is the list of convar settings.
  1. kac_version - Version of KAC (not changable)
  2. kac_cvars_enable - If the CVar detection engine is enabled or not.
  3. kac_cmds_enable - If the Command protection engine is enabled or not.
  4. kac_cmds_spam - Amount of commands in a second before the player gets kicked. (Set to 0 to disable)
  5. kac_eyes_enable - If the Eye Test detection routine is enabled or not. (Disabled for INS and CS:S)
  6. kac_eyes_antiwall - Enable/Disable antiwall. By default it is disabled. (Works for all however, it is experimental.)
  7. kac_eyes_antiwall_wait - Process only every x tick. Delays Antiwall processing every x tick. Default is 0 (meaning processing every tick).
About the Command Engine

This part of the plugin was designed to monitor command usage by players on the server in order to prevent abuse of commands. By default this engine will prevent players from using certain exploitable commands that can cause the server to crash. It will also monitor how many commands the player is entering in one second.

About the CVar engine

I have rewritten this part of the plugin from the ground up to be dynamically allocated so that you can freely add and remove ConVars to and from the list. Lets say you don't like the built-in list preventing people from joining your server with server side plugins on their client. You can now remove them as you see fit. Lets also say that you may not want people messing with their net_graph while connected to your server. All you'd have to do is enter the command " kac_addcvar net_graph equal kick 0 " and your done.

About the Eye Test engine

This one is the new detection routine. You aren't likely to see a whole lot from it but what it does is test for impossible eye angles coming from clients. By default a client will never send eye angles past 90 and -90 degrees on the X or Z axis. Cheats however disable this behavior for a multitude of cheat features. This part of the plugin now enables KAC to test for these. This part of the plugin now also hosts the Anti-Wallhack. The Anti-Wallhack works off of testing if another player is about to be visible to the player, if not it doesn't send the other players' position to the player. So thus wallhacks have nothing to use.

About the Network engine

This has basically been the only thing left over from previous versions of KAC. It has been optimized and now also includes a Auto-Update feature so that it can download the latest KAC directly from the KigenAC website. I have plans to rewrite the entire KAC Network (aka the KAC Master server) from the ground up to be more flexible and more feature oriented so that you can use the KAC Network to do more than ever (feature details are private at this time).

About the RCON engine

This is about the only thing that needs true testing. I've made this part in an attempt to more accurately block the RCON crash via preventing the engine from handling it by itself. This feature does not interfere with the RCON bad password banning that the Source engine employs but makes it better by banning any players matching that IP out of the server before banning the IP.

About the Translation engine

This is my solution to the translation problem. The main reason why I created my own solution instead of using SourceMod's is mainly due to two reasons. I wanted to keep KAC compressed into one file and I've ran into issues in the past where SourceMod cached the first version of any particular text file to be loaded and wouldn't reload it basically preventing the updating of translations which is important now that KAC has a Auto-Update feature.

Re: KAC 1.2.0 Open Beta

Posted: Fri Sep 25, 2009 7:45 pm
by Rawh
Is there any way of letting the current beta only log to the file and not kick/ban people that seem to have broken any cvar settings and such?

Hmm, suppose editing the source code to only ACTION_WARN and then recompile might do the trick?

Re: KAC 1.2.0 Open Beta

Posted: Sat Sep 26, 2009 3:39 am
by Kigen
That or you could alter the cvar list via kac_addcvar and kac_removecvar.

I don't see why one would want to change the actions because I have tried very hard to make sure there are no false positives with this system.

Re: KAC 1.2.0 Open Beta

Posted: Fri Oct 09, 2009 9:14 am
by nightrider
Do I assume correctly that the only requirement beside sockets 3.0
is to have the kigen-ac-pub.smx installed.

no need for any files in addons/sourcemod/scripting
?

Re: KAC 1.2.0 Open Beta

Posted: Fri Oct 09, 2009 8:11 pm
by Rambomst
That is correct nightrider you only need sockets 3.0 and kigen-ac-pub.smx.

Re: KAC 1.2.0 Open Beta

Posted: Sat Oct 10, 2009 3:31 pm
by nightrider
Rambomst wrote:That is correct nightrider you only need sockets 3.0 and kigen-ac-pub.smx.
Thank you for your reply ... :D

Re: KAC 1.2.0 Open Beta

Posted: Tue Oct 13, 2009 1:58 pm
by nightrider
Kigen wrote:That or you could alter the cvar list via kac_addcvar and kac_removecvar.

I don't see why one would want to change the actions because I have tried very hard to make sure there are no false positives with this system.
Question?
When I or an admin remove something from the CVAR's in console
for example ... kac_removecvar mat_dxlevel

is it entered in a .cfg file somewhere I can see?
as I would like to see if other admins remove something from KAC permanently.
I need to know if admins are messing with KAC

Re: KAC 1.2.0 Open Beta

Posted: Tue Oct 13, 2009 2:42 pm
by nightrider
Answered my own question as It's in the KAC.log

Re: KAC 1.2.0 Open Beta

Posted: Fri Oct 16, 2009 9:45 pm
by Hytek
Adding it to my server. ;)

Re: KAC 1.2.0 Open Beta

Posted: Thu Oct 22, 2009 11:08 pm
by Kigen
Update 1.2.0.2

This was a simple update to incorporate anti-RCON crash in since the need is there.

All URLs remain the same.

KAC 1.2.0.1 will Auto-Update to 1.2.0.2.

In order to activate the RCON crash prevention you will need to add a ConVar to your server.cfg.

First, this WILL disable RCON password failure banning!!! I suggest you use a very strong RCON password.

To activate this you will need to insert the following line into your server.cfg. KAC 1.2.0.2 will not auto-activate this feature.

Code: Select all

kac_rcon_crashprevent 1
Enjoy.

:)