Raised This Month: $32 Target: $400
 8% 

Improvements?


Post New Thread Reply   
 
Thread Tools Display Modes
Dirton
BANNED
Join Date: Oct 2008
Old 01-04-2010 , 10:20   Re: Improvements?
Reply With Quote #11

Quote:
Originally Posted by egor1908 View Post
I modify the source code for my own needs and i don't want to be FORCED to do this when i don't have time but KAC just got updated.
Me to.
I only edit KAC to ban for a year instead of permban, so extra ban duration config would solve the problem.
Dirton is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 01-04-2010 , 23:15   Re: Improvements?
Reply With Quote #12

Code:
kac_client_antispamconnect - Seconds a person needs to wait between connection attempts or they'll get IP banned for a minute. (0 = disable)
Would it be better if this banned someone if they connect x number of times in x number of seconds. I mean, if I type 'retry' in console, I would be banned for a minute, or if kicked for "failed to respond to query in time", then 'retry', ban.
__________________
tigerox is offline
Kigen
BANNED
Join Date: Feb 2008
Old 01-04-2010 , 23:36   Re: Improvements?
Reply With Quote #13

No.

It doesn't work off of when you leave the server, just when you join. Generally it takes 3 new connection attempts before it gets triggered. Its only hooked in OnClientConnect().

The only possibility I see that would cause issues beyond that is if some other mod interferes with KAC and SM as a whole by triggering the connection event twice or more for one attempt. Your server seems to be the only one having issues, can you show what all plugins your using?
Kigen is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 01-05-2010 , 00:16   Re: Improvements?
Reply With Quote #14

Code:
[SM] Listing 51 plugins:
           01 "Admin Menu" (1.2.4) by AlliedModders LLC
           02 "Map Configs" (1.2) by Liam
           03 "GunGame:SM" (1.0.6.0) by teame06-hat, Liam, Otstrel.ru Team, bl4nk
           04 "SuperLogs: CSS" (1.0.2) by psychonic
           05 "Basic Info Triggers" (1.2.4) by AlliedModders LLC
           06 "Basic Votes" (1.2.4) by AlliedModders LLC
           07 "Dissolve" (1.0.0.2) by L. Duke
           08 "Spray Tracer" (5.8) by Nican132, CptMoore, Lebson506th
           09 "Anti-Micspam" (0.4) by Ryan "FLOOR_MASTER" Mannion and Bor3dGaming.com
           10 "Fun Commands" (1.2.4) by AlliedModders LLC
           11 "SM Weapon Cleanup" (1.1) by TechKnow
           12 "Basic Chat" (1.2.4) by AlliedModders LLC
           13 "Player Commands" (1.2.4) by AlliedModders LLC
           14 "SourceBans" (1.4.6) by InterWave Studios Development Team
           15 "Client Preferences" (1.2.4) by AlliedModders LLC
           16 "Bots Overseer" (0.9) by Tipsy Snake
           17 "GunGame:SM Config Reader" (1.0.6.0) by teame06-hat, Liam, Otstrel.ru Team, bl4nk
           18 "Knife Fight" (1.3.4) by XARiUS, Otstrel.Ru Team
           19 "HANSE Reserved Slots" (1.5) by red!
           20 "AutoRestart" (1.2) by MikeJS
           21 "Fun Votes" (1.2.4) by AlliedModders LLC
           22 "GunGame:SM Winner Logger" (1.0.6.0) by teame06-hat, Liam, Otstrel.ru Team, bl4nk
           23 "Advanced Client Redirect" (1.0) by Olly/Tobi
           24 "GunGame:SM TK Management" (1.0.6.0) by teame06-hat, Liam, Otstrel.ru Team, bl4nk
           25 "Rock The Vote" (1.2.4) by AlliedModders LLC
           26 "Advertisements" (0.5.5) by Tsunami
           27 "Players Votes" (1.5.0) by The Resident, pZv!
           28 "GunGame:SM Map Vote Starter" (1.0.6.0) by teame06-hat, Liam, Otstrel.ru Team, bl4nk
           29 "Nextmap" (1.2.4) by AlliedModders LLC
           30 "Connect Spam Blocker" (1.0) by Acdervis
           31 "Admin Sounds" (1.2.1) by cadav0r,dalto,o_O.Uberman.O_o,|HS|Jesus
           32 "GunGame:SM Afk Management" (1.0.6.0) by teame06-hat, Liam, Otstrel.ru Team, bl4nk
           33 "TeamSwitch" (1.3) by MistaGee
           34 "Quake Sounds" (2.7) by dalto, Grrrrrrrrrrrrrrrrrrr, and psychonic
           35 "Kigen's Anti-Cheat" (1.2.0.4) by Kigen
           36 "Mapvote" (1.2.1) by Zerak
           37 "Show Damage" (1.0.5) by exvel
           38 "Sound Commands" (1.2.4) by AlliedModders LLC
           39 "Comms Tools" (1.6.000) by <eVa>Dog/AlliedModders LLC
           40 "Spray Pruning" (1.0.0.1) by sslice
           41 "Spectate Time" (2.3) by TigerOx
           42 "Observe Client" (1.2.1) by WhiteWolf, puopjik, psychonic
           43 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
           44 "Sticky Nades" (1.2) by Tsunami
           45 "Simple TK Manager" (1.0c) by Lebson506th
           46 "Admin Help" (1.2.4) by AlliedModders LLC
           47 "MapChooser" (1.2.3) by AlliedModders LLC
           48 "Anti-Flood" (1.2.4) by AlliedModders LLC
           49 "HLstatsX CE Ingame Plugin" (1.6.5) by psychonic
           50 "Basic Commands" (1.2.4) by AlliedModders LLC
           51 "Anticamp Source" (1.0.8.8) by Blade
SourceMod 1.2.4, MMS 1.8
__________________
tigerox is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 01-06-2010 , 02:22   Re: Improvements?
Reply With Quote #15

I would suggest to implement something like this plugin into functionality:

http://forums.alliedmods.net/showthread.php?p=879751

And to from the chat massages like this:

Quote:
[KAC 1.x.x.x]: Player was removed due to....

Last edited by PStar; 01-06-2010 at 02:30.
PStar is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-06-2010 , 04:09   Re: Improvements?
Reply With Quote #16

Quote:
Originally Posted by PStar View Post
I would suggest to implement something like this plugin into functionality:

http://forums.alliedmods.net/showthread.php?p=879751
You can add it yourself:
Code:
kac_addcvar cl_cmdrate greater kick 0
Original Thread: http://www.kigenac.com/viewtopic.php?f=7&t=150
asherkin is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 01-06-2010 , 18:34   Re: Improvements?
Reply With Quote #17

Quote:
Originally Posted by asherkin View Post
You can add it yourself:
Code:
kac_addcvar cl_cmdrate greater kick 0
Original Thread: http://www.kigenac.com/viewtopic.php?f=7&t=150
Code:
The ConVar name "cl_cmdrate" is invalid and cannot be used.
__________________
tigerox is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 01-07-2010 , 22:27   Re: Improvements?
Reply With Quote #18

Why can we not add cl_cmdrate using kac_addcvar
__________________
tigerox is offline
Dirton
BANNED
Join Date: Oct 2008
Old 01-08-2010 , 17:26   Re: Improvements?
Reply With Quote #19

Maybe because it is client only side cvar?
Dirton is offline
Kigen
BANNED
Join Date: Feb 2008
Old 01-08-2010 , 20:22   Re: Improvements?
Reply With Quote #20

No, its because it must have been typed with multi-byte characters.

KAC does a check to make sure the name would be a valid ConVar name before trying to query it, as querying it with multibyte characters in the name would result in issues.

PHP Code:
    for(new i=0;i<strlen(f_sCVarName);i++)
        if ( !
IsValidConVarChar(f_sName[i]) )
        {
            
KAC_ReplyToCommand(clientKAC_ADDCVARBADNAMEf_sCVarName);
            return 
Plugin_Handled;
        } 
That is the code that you are hitting on.
Kigen 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 21:42.


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