Description: A plugin which attempts to block individuals who spam radio commands. The plugin itself doesn't necessarily regulate the rate at which commands can be issued but instead blocks users based on the average distance in time between a couple of earlier radio commands (meaning it allows a short burst). It will also check whether there's been at least some variation in time between previous radio commands. Players who are blocked will remain blocked until re-spawn and this typically occurs after a round restart or a player death on a deathmatch server. Additionally, it'll issue a map long block for users who trip the detection frequently.
Code: ConVars:
sm_radio_max_avg_duration
default: 3
The maximum average duration between radio messages that will still trigger a block.
sm_radio_max_blocks
default: 3
The maximum times a user can be blocked before being permanently blocked until map change. (0 = Never issue this sort of block)
sm_radio_log_blocks
default: 1
Log users blocked for spamming radio.Note:
This may or may not be useful for people and there might be a better plugin out there which achieve basically the same effect, but oh well. I coded the plugin so that I could figure out how to make plugins in SourceMod. I'm new to working in SourceMod so don't hate on me too much if the plugin primarily consists of sloppy nonsensical crap like code. :oops:
Attached Files Get Plugin or Get Source (sm_radiospamblocker.sp - 9.6 KB)
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
[forums.alliedmods.net] [CS:S] Radio Command Spam Blocker
Temat rozp.
Adminek AMXX.PL
, 29.01.2012 11:14
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych