PDA

View Full Version : KAC as CONSOLE on SourceBans


amohanlall32
10-05-2010, 12:41
Hey, I'm not sure if anyone has seen this before but on n00bunlimited's bansite they have it set up to where KAC takes over the role of CONSOLE.

I would like to set this up for my server, can anyone point me in the direction needed to do so?

Appreciate it,
Dot.

thetwistedpanda
10-05-2010, 13:25
This is likely done by editing both KAC and SourceBans. By default, KAC passes a 0 for the client through the SBBanPlayer native, which means it's detected as a console ban. In theory you should be able to say, change that to -1, and then in SourceBans, detect if it's -1. If it's -1, pass "KAC" as the name rather than detecting the name.

nightrider
10-05-2010, 20:01
You can adjust/change the name from CONSOLE to KAC in your SQL database.

bobbobagan
10-06-2010, 10:20
You can adjust/change the name from CONSOLE to KAC in your SQL database.
This would cause all console/rcon bans to show up as KAC bans though, and would probably make bans that expire show as being unbanned by KAC as well.

nightrider
10-06-2010, 20:30
Yes true

HSFighter
10-12-2010, 16:30
It will be nice when it's posible to define the native "number" over a cvar in a future version of KAC?

HSFighter
10-27-2010, 13:07
I editing both KAC and SourceBans on my servers and will report soon ;D

amohanlall32
10-29-2010, 13:55
Where do I find the SQL database to edit?

HSFighter
10-29-2010, 16:27
Where do I find the SQL database to edit?

The SQL-Code is in sourcebans.
KAC use a native function (SBBanPlayer) from sourcebans! (KAC --> translations.sp --> line 270).

dordnung
11-04-2010, 18:32
yeah i think HSFighter got it xdd

klausenbusk
03-11-2011, 08:59
Something new?