Raised This Month: $ Target: $400
 0% 

Improvements?


Post New Thread Reply   
 
Thread Tools Display Modes
anonpiss
Senior Member
Join Date: Jan 2010
Old 01-30-2010 , 19:34   Re: Improvements?
Reply With Quote #41

I wonder what does the "<value> <value2 if bound>" means?
anonpiss is offline
Darkhand
Member
Join Date: Sep 2008
Old 01-30-2010 , 20:30   Re: Improvements?
Reply With Quote #42

Quote:
Originally Posted by Kigen View Post
It is not possible to set the client's cl_cmdrate because VALVe decided to disallow that.
Mods that run on older versions of the engine can still set cmdrate on the clients. Tested on Hidden Source and confirmed with RateChecker
Darkhand is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 01-30-2010 , 21:34   Re: Improvements?
Reply With Quote #43

there is forcerate_mod eventscript that changes players
rate;cl_updaterate;cl_cmdrate;cl_interp
how it is possible?
Darkthrone is offline
Kigen
BANNED
Join Date: Feb 2008
Old 01-30-2010 , 21:56   Re: Improvements?
Reply With Quote #44

Its not possible in EP1 engines and up. Basically most major games do not work with rate forcing. This is because VALVe wanted to stop servers admins from messing with every setting of the client.
Kigen is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 01-31-2010 , 01:17   Re: Improvements?
Reply With Quote #45

i tested, client rates successfully changed, you can try it
Darkthrone is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 01-31-2010 , 13:21   Re: Improvements?
Reply With Quote #46

Quote:
Originally Posted by Darkthrone View Post
there is forcerate_mod eventscript that changes players
rate;cl_updaterate;cl_cmdrate;cl_interp
how it is possible?
Yah, that is a cool method, sending the commands using the motd.

Sourcemod devs won't allow client command workarounds to be used though.
__________________

Last edited by tigerox; 02-02-2010 at 19:57. Reason: edit
tigerox is offline
Omega_K2
Junior Member
Join Date: Aug 2007
Old 02-11-2010 , 11:34   Re: Improvements?
Reply With Quote #47

Can you some sort of engine for the spam commands? I'd like to remove certain comamnds for the spam checking without having to edit the source code of KAC:

Quote:
if ( g_iCmdSpam != 0 && !StrEqual(command, "buy") && !StrEqual(command, "use") && !StrEqual(command, "buyammo1") && !StrEqual(command, "buyammo2") && StrContains(command, "es_") == -1 && g_iCmdCount[client]++ > g_iCmdSpam )
This is what I would change and specially on some custom mods you need to change these settings as commands will be issued in a huge manner, but don't cause any server problem (ex. gmod).

For instance these commands could be added:
kac_addcmdspam_exception <command name> <compare type>
kac_removecmdspam_exception <command name>
kac_showcmdspam_exceptions (Shows a list of all current exceptions)

And compare type could be:

equals
contains (for adding commands containg a certain string, ex. sm_ban, ma_ban, lol_banadd, hai_banremove [string would be "ban" here ])
startswith (for adding all prefixed commands, ex. ma_slap, ma_say, ma_tsay)
endswith (for adding all suffixed commands, ex. hello_32, peace_32, howareyou_32)

Maybe, aliases for the compare types could be added aswell:

equal, isequal, equals,==
contains, includes
startswith, beginswith
endswith, stopswith
Omega_K2 is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 02-14-2010 , 19:10   Re: Improvements?
Reply With Quote #48

String comparison is expensive, so I'd avoid contains.
__________________
recon0 is offline
Hipster
SourceMod Donor
Join Date: Jun 2009
Location: Florida
Old 02-15-2010 , 01:33   Re: Improvements?
Reply With Quote #49

Does this version of KAC check players against some global KAC ban list? If so (or if it's going to be implemented in the future), I'd like to see a cvar to disable that.
Hipster is offline
Kigen
BANNED
Join Date: Feb 2008
Old 02-15-2010 , 03:11   Re: Improvements?
Reply With Quote #50

Quote:
Originally Posted by Hipster View Post
Does this version of KAC check players against some global KAC ban list? If so (or if it's going to be implemented in the future), I'd like to see a cvar to disable that.
Yes. KAC 1.2.0 checks against the global banlist.

But no, there are no plans to add in a CVar to disable this.
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 07:02.


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