AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] !COMMAND eater (https://forums.alliedmods.net/showthread.php?t=319752)

axelnieves2012 04-26-2020 14:46

Re: [ANY] !COMMAND eater
 
nice idea, thanks

Dragokas 02-22-2021 23:06

Re: [ANY] !COMMAND eater
 
Updated.

Quote:

1.14 (13-Sep-2020)
- Added support for dynamically loaded plugin commands:
* New ConVar added "sm_eater_track_dyn_load" - default: 1 - Check commands of dynamically loaded plugins. Causes less gaps, but more CPU loading! (1 - Yes / 0 - No).

1.15 (19-Sep-2020)
- Improved support for dynamically loaded commands.
- Imporved "DeTranslit".
- Improved optimization (preventing twice command check logic).

1.16 (23-Feb-2021)
- Added a walkaround for parser bug to compile successfully on SM 1.11.

Dragokas 04-20-2021 11:29

Re: [ANY] !COMMAND eater
 
Updated.

Quote:

1.17 (20-Apr-2021)
- Added support for new: Color Chat Processor by nullent?: https://github.com/nyood/ccprocessor (thanks to @Round for testing):
> Note 1: You must have ccprocessor.inc in your /includes/ folder in order to compile "Command Eater" correctly with CCP support.
> Note 2: Due to current bug, do not use tv_enable 1 in your server.
- Prevented client-side console commands from triggering anti-spam function, such a way making "Command Eater" temporarily unavailable sometimes:
> all unrecognized console commands will be automatically added to a separate exclusion list and will no longer be handled from console.
- "Vote Yes" and "Vote No" are added to console exclusion list: it is default binds, which are conflict with sm_vote command.
- Prevented case when "Dynamically" loaded commands detection feature breaks lower-case compare function.
- Added new command "sm_eater_refresh" - Refresh the list of commands. It is recommended to use it in Map Config plugins which dynamically load/unload other plugins:
> For a more elegant and automatic implementation, I am awaiting a solution / implementation from SourceMod team of at least one of these Issues:
> https://github.com/alliedmodders/sourcemod/issues/1480
> https://github.com/alliedmodders/sourcemod/issues/1481
> https://github.com/alliedmodders/sourcemod/issues/890 + https://github.com/alliedmodders/sourcemod/issues/1482
- Other optimizations.
Added "Notice for ALL" in 1st post.

Voevoda 11-11-2021 19:13

Re: [ANY] !COMMAND eater
 
thanks very good plugin

ur5efj 07-05-2022 11:02

Re: [ANY] !COMMAND eater
 
SOURCEMOD_VERSION "1.11.0.6905"
Code:

L 07/05/2022 - 17:57:05: SourceMod error session started
L 07/05/2022 - 17:57:05: Info (map "c1m1_hotel") (file "C:\SteamCMD\SteamApps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\logs\errors_20220705.log")
L 07/05/2022 - 17:57:05: [SM] Exception reported: Not enough space on the heap
L 07/05/2022 - 17:57:05: [SM] Blaming: sm_command_eater.smx
L 07/05/2022 - 17:57:05: [SM] Call stack trace:
L 07/05/2022 - 17:57:05: [SM]  [1] Line 348, sm_command_eater.sp::FillCmds
L 07/05/2022 - 17:57:05: [SM]  [2] Line 198, sm_command_eater.sp::OnMapStart
L 07/05/2022 - 17:57:11: [SM] Exception reported: Not enough space on the heap
L 07/05/2022 - 17:57:11: [SM] Blaming: sm_command_eater.smx
L 07/05/2022 - 17:57:11: [SM] Call stack trace:
L 07/05/2022 - 17:57:11: [SM]  [1] Line 348, sm_command_eater.sp::FillCmds
L 07/05/2022 - 17:57:11: [SM]  [2] Line 191, sm_command_eater.sp::Timer_LoadDelayed
L 07/05/2022 - 17:57:23: Error log file session closed.


Dragokas 07-09-2022 14:15

Re: [ANY] !COMMAND eater
 
Updated.

Quote:

1.18 (09-Jul-2022)
- Disabled support of Color Chat Processor by nullent? (nyood) until the compilation issue will be resolved on its side (Issue #1). If you still want to compile using old CCP, change "#define _ccprocessor_disable 1" to 0.
- Introduced Commands Lazy loading (in case commands list update will be triggered multiple times, all calls converted to a single within 3 seconds).
- Support for new forward "OnNotifyPluginUnloaded" in SM 1.11.
- Fixed warnings on SM 1.11.
- Fixed error "Not enough space on the heap" on SM 1.11.
- Fixed "Array index out of bounds" (last character of "sizeof(string)-1" is null, which is not considered everywhere).
- Appended default exclusion list.
- Fixed command is not "eaten" when it is match with embedded game command as if we would cut "sm_".
- Added listen servers support for entered console commands (not tested).
- NOTE: this plugin is not much useful for English only servers anymore since the SM v1.11.0.6725+ release, because it is already include case insensitive fix for chat commands (Pull #1542).


All times are GMT -4. The time now is 22:20.

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