KAC.log missing

Discuss things relating to this site or the community at large here.
Siezmik
Posts: 9
Joined: Tue Oct 20, 2009 4:05 pm

KAC.log missing

Post by Siezmik »

I've got beta 1.2.0.1 installed and I'm trying to verify if it's actually working. We've had some players using obvious exploits, and I expected to see that KAC would jump in and do something but nada.

I can look at my server log and see that KAC is at least checking for updates, which would make me think it's doing something. Also, a quick check of the loaded SM plugins shows that KAX is loaded. However, there's no KAC.log that I can find anywhere, showing what is going on behind the scenes.

Am I correct in presuming that the log file should be located in /addons/sourcemod/logs ?

Here is the snippet from my server log showing that KAC is doing update checks:
L 10/19/2009 - 20:28:56: [custom/kigen-ac-pub.smx] Checking version....
L 10/19/2009 - 20:28:57: [custom/kigen-ac-pub.smx] Connected to KAC Master, requesting update.
L 10/19/2009 - 20:28:57: [custom/kigen-ac-pub.smx] Sending version 1.2.0.1 to KAC Master.
L 10/19/2009 - 20:28:57: [custom/kigen-ac-pub.smx] Received that KAC is up-to-date.

Thanks!
Image
Image
User avatar
nightrider
Community Moderator
Posts: 878
Joined: Thu Oct 08, 2009 2:38 am
Location: under a rock

Re: KAC.log missing

Post by nightrider »

Yes your log file should be located in /addons/sourcemod/logs/KAC.log
Siezmik
Posts: 9
Joined: Tue Oct 20, 2009 4:05 pm

Re: KAC.log missing

Post by Siezmik »

Okay, so the log is definitely missing. Anyone care to venture a thought as to why and how I can fix this issue?
Image
Image
Rambomst
Posts: 23
Joined: Fri Oct 09, 2009 12:24 am

Re: KAC.log missing

Post by Rambomst »

one of my servers has also stopped creating a KAC.log file and I have been unable to fix it.
User avatar
nightrider
Community Moderator
Posts: 878
Joined: Thu Oct 08, 2009 2:38 am
Location: under a rock

Re: KAC.log missing

Post by nightrider »

can you confirm KAC 1.2.0.1 version in console?
kac_version

/cstrike/addons/sourcemod/logs/KAC.log


I'm sure your install is correct
with Sockets 3.0.0 Alpha or later versions
/cstrike/addons/sourcemod/plugins/kigen-ac-pub.smx

In my sourcemod.cfg I have this at the bottom of my config
/cstrike/cfg/sourcemod/sourcemod.cfg

Code: Select all

//Version of KAC (not changable)
kac_version

//If the CVar detection engine is enabled or not.
kac_cvars_enable 1

//If the Eye Test detection routine is enabled or not.
kac_eyes_enable 1

//If the Command protection engine is enabled or not.
kac_cmds_enable 1

//Amount of commands in a second before the player gets kicked. (Set to 0 to disable)
kac_cmds_spam 18
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_eyes_enable - If the Eye Test detection routine is enabled or not.
4. kac_cmds_enable - If the Command protection engine is enabled or not.
5. kac_cmds_spam - Amount of commands in a second before the player gets kicked. (Set to 0 to disable)
Siezmik
Posts: 9
Joined: Tue Oct 20, 2009 4:05 pm

Re: KAC.log missing

Post by Siezmik »

nightrider wrote:can you confirm KAC 1.2.0.1 version in console?
kac_version
Yep, version 1.2.0.1 shows up
nightrider wrote:/cstrike/addons/sourcemod/logs/KAC.log
Well, this is on a L4D server so my path is slightly different, but yeah, that's where I've looked for it and nada.
nightrider wrote:I'm sure your install is correct
with Sockets 3.0.0 Alpha or later versions
/cstrike/addons/sourcemod/plugins/kigen-ac-pub.smx
Yep, the plugin is in the right spot, and it's obviously loading. Sockets 3.0.0 Alpha is installed as well. As I mentioned before, it even seems to download updates just fine so everything "appears" to be in working order. But with no log, I have no way of knowing what is going on.
nightrider wrote:In my sourcemod.cfg I have this at the bottom of my config
/cstrike/cfg/sourcemod/sourcemod.cfg

Code: Select all

//Version of KAC (not changable)
kac_version

//If the CVar detection engine is enabled or not.
kac_cvars_enable 1

//If the Eye Test detection routine is enabled or not.
kac_eyes_enable 1

//If the Command protection engine is enabled or not.
kac_cmds_enable 1

//Amount of commands in a second before the player gets kicked. (Set to 0 to disable)
kac_cmds_spam 18
I actually have the cvars in the server.cfg file and they appears to be working just fine. I know kac_eyes_enable is disabled by default and I have it set to be enabled. When I check it in the console it shows enabled, so the cvars are doing their thing despite the different location.
nightrider wrote: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_eyes_enable - If the Eye Test detection routine is enabled or not.
4. kac_cmds_enable - If the Command protection engine is enabled or not.
5. kac_cmds_spam - Amount of commands in a second before the player gets kicked. (Set to 0 to disable)
All of the above are specifically enabled in my config with the exception of the spam one. I currently have it remarked out so it's running the default setting of 10.

In fact, here's the snippet from my config file:

Code: Select all

//Kigen's Anti-Cheat Settings
kac_cvars_enable 1  //1
kac_eyes_enable 1  //0
kac_cmds_enable 1  //1
//kac_cmds_spam
I appreciate the help. Any other ideas or things I should check?
Image
Image
User avatar
nightrider
Community Moderator
Posts: 878
Joined: Thu Oct 08, 2009 2:38 am
Location: under a rock

Re: KAC.log missing

Post by nightrider »

I'm lost ... I don't know why it's not creating a KAC.log for you.
I know it's a pain to do, but can you search your game install folder for the file KAC.log
using the Microsoft search?
paulijh
Posts: 19
Joined: Tue Aug 25, 2009 4:12 am

Re: KAC.log missing

Post by paulijh »

If there are no KAC violations yet. There are no KAC.log either.
KAC writes the KAC.log only when there is something to report.

Do you get any KAC related errors in addons/sourcemod/logs folder?
User avatar
nightrider
Community Moderator
Posts: 878
Joined: Thu Oct 08, 2009 2:38 am
Location: under a rock

Re: KAC.log missing

Post by nightrider »

very good point paulijh ... :)
Siezmik
Posts: 9
Joined: Tue Oct 20, 2009 4:05 pm

Re: KAC.log missing

Post by Siezmik »

No violations = no log. That's good to know.

As for the logs, I've been eyeballing them off and on for the past several days and nothing out of the ordinary, until KAC tried to update itself to the latest version.

I keep all of my custom plugins in another folder to keep everything tidy and easy to manage. So the plugin path on my server looks like - /addons/sourcemod/plugins/custom. Until the attempted update KAC didn't seem to have a problem with that (aside from the missing log bit). Then I saw some entries in the logs:

Server Log
L 10/24/2009 - 02:49:03: [custom/kigen-ac-pub.smx] Checking version....
L 10/24/2009 - 02:49:03: [custom/kigen-ac-pub.smx] Connected to KAC Master, requesting update.
L 10/24/2009 - 02:49:03: [custom/kigen-ac-pub.smx] Sending version 1.2.0.1 to KAC Master.
L 10/24/2009 - 02:49:11: [custom/kigen-ac-pub.smx] Received that KAC is out of date, updating to newest version.


Error Log
L 10/24/2009 - 02:49:11: [custom/kigen-ac-pub.smx] Failed to create addons/sourcemod/plugins/disabled\custom/kigen-ac-pub.smx
L 10/24/2009 - 02:50:17: [custom/kigen-ac-pub.smx] Failed to create addons/sourcemod/plugins/disabled\custom/kigen-ac-pub.smx


Okay, I think it's obvious that KAC can't handle paths outside the norm. A quick check of the KAC version on the server confirmed it was still stuck at v1.2.0.1.

I'll go ahead and move the plugin to the normal location and see what happens. I just wanted to share the above in case anyone else came across a similar problem.
Image
Image
Post Reply