Raised This Month: $12 Target: $400
 3% 

KAC as CONSOLE on SourceBans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
amohanlall32
SourceMod Donor
Join Date: Sep 2009
Location: Female
Old 10-05-2010 , 12:41   KAC as CONSOLE on SourceBans
Reply With Quote #1

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.
__________________
amohanlall32 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-05-2010 , 13:25   Re: KAC as CONSOLE on SourceBans
Reply With Quote #2

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.
__________________
thetwistedpanda is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 10-05-2010 , 20:01   Re: KAC as CONSOLE on SourceBans
Reply With Quote #3

You can adjust/change the name from CONSOLE to KAC in your SQL database.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 10-06-2010 , 10:20   Re: KAC as CONSOLE on SourceBans
Reply With Quote #4

Quote:
Originally Posted by nightrider View Post
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.
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 10-06-2010 , 20:30   Re: KAC as CONSOLE on SourceBans
Reply With Quote #5

Yes true
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-12-2010 , 16:30   Re: KAC as CONSOLE on SourceBans
Reply With Quote #6

It will be nice when it's posible to define the native "number" over a cvar in a future version of KAC?
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-27-2010 , 13:07   Re: KAC as CONSOLE on SourceBans
Reply With Quote #7

I editing both KAC and SourceBans on my servers and will report soon ;D
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
amohanlall32
SourceMod Donor
Join Date: Sep 2009
Location: Female
Old 10-29-2010 , 13:55   Re: KAC as CONSOLE on SourceBans
Reply With Quote #8

Where do I find the SQL database to edit?
__________________
amohanlall32 is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-29-2010 , 16:27   Re: KAC as CONSOLE on SourceBans
Reply With Quote #9

Quote:
Originally Posted by amohanlall32 View Post
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).
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 11-04-2010 at 15:00.
HSFighter is offline
Send a message via ICQ to HSFighter
dordnung
Veteran Member
Join Date: Apr 2010
Old 11-04-2010 , 18:32   Re: KAC as CONSOLE on SourceBans
Reply With Quote #10

yeah i think HSFighter got it xdd
__________________
dordnung is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:42.


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