AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Console Spam Patches (1.3b) [20-Jul-2021] (https://forums.alliedmods.net/showthread.php?t=316612)

Silvers 05-31-2019 22:12

[L4D & L4D2] Console Spam Patches (1.3b) [20-Jul-2021]
 
14 Attachment(s)
About:

Suppresses specified messages from the server console. There is an extension for [ANY] game with the exact same functionality. I created this to demonstrate another method and because some [L4D/2] server owners don't look at stuff for [ANY] game and have been complaining about server console spam.

This only stops messages which are inside the games "server" or "engine" library if you specify that in the gamedata. This cannot suppress dynamic messages such as those from chat or plugins.

I would suggest using [ANY] Cleaner - Console warning supressor extension instead.



Adding Entries:
  • Open the gamedata .txt and duplicate the last entry from "Addresses" and "Signatures" sections.
  • When duplicating for example "SpamPatch_Sig1" you must change the number to be 1 more than the last entry.
  • If any numbers are missing it will stop looking for more, so the numbers must be sequential.
  • Enter the string you want to block from it's first character otherwise they still show in console.
  • The string should be long enough to be unique but is not required to be full length.



Changes:
Code:

1.3b (20-Jul-2021)
    - Fixed a few messages not being patched. GameData file updated.

1.3a (10-Jul-2021)
    - Added some more lines to remove to the gamedata file.

1.3 (06-Jul-2021)
    - Added a "MAX_PATCHES" define to the source to fix L4D1 not reading all entries on failure to find one.
    - Added some more lines to remove to the gamedata file.

1.2 (07-Jun-2020)
    - Added 2 new entries. Removed 1 bad entry.
    - Fixed GameData file not loading all patches.
    - Thanks to "Electr000999" for reporting.
    - Only GameData file changed.

1.2 (10-May-2020)
    - Added better error log message when gamedata file is missing.
    - Various changes to tidy up code.

1.1 (29-Jun-2019)
    - Renamed gamedata vars "SpamPatch_Add" to "SpamPatch_Sig" for easier editing and duplication.
    - If updating from 1.0 either rename these strings or download the new gamedata.

1.0 (01-Jun-2019)
    - Initial release.



Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
  2. Download the "l4d_console_spam.txt" gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.

phoenix0001 06-05-2019 12:46

Re: [L4D & L4D2] Console Spam Patches (1.0) [01-Jun-2019]
 
Is this the role of reducing server crashes?
Or just filtering spam from the console?

Silvers 06-05-2019 13:22

Re: [L4D & L4D2] Console Spam Patches (1.0) [01-Jun-2019]
 
Quote:

Originally Posted by phoenix0001 (Post 2654466)
just filtering spam from the console?


phoenix0001 06-14-2019 10:35

Re: [L4D & L4D2] Console Spam Patches (1.0) [01-Jun-2019]
 
Just download your plugin and TXT file?
Still need any changes?

SkiPlix 08-08-2019 17:03

Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
 
Help?
Code:

[SM] Error parsing gameconfig file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\gamedata\l4d_console_spam.txt":
[SM] Error 9 on line 658, col 69: Line contained too many invalid tokens
[SM] Exception reported: Unable to open l4d_console_spam: Line contained too many invalid tokens
[SM] Blaming: l4d_console_spam.smx
[SM] Call stack trace:
[SM]  [0] LoadGameConfigFile
[SM]  [1] Line 53, /home/forums/content/files/8/5/7/7/8/175740.attach::OnPluginStart
[SM] Unable to load plugin "l4d_console_spam.smx": Error detected in plugin startup (see error logs)
Error log file session closed.
SourceMod error session started
Info (map "c8m3_sewers") (file "errors_20190808.log")
[SM] Exception reported: Can't get CTerrorPlayer::OnPummelEnded SDKCall!
[SM] Blaming: l4d2_infected_release.smx
[SM] Call stack trace:
[SM]  [0] SetFailState
[SM]  [1] Line 231, /home/forums/content/files/1/5/5/2/9/56934.attach::CallOnPummelEnded
[SM]  [2] Line 167, /home/forums/content/files/1/5/5/2/9/56934.attach::OnPlayerRunCmd
SourceMod error session started
Info (map "c1m1_hotel") (file "errors_20190808.log")
[SM] Error parsing gameconfig file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\gamedata\l4d_console_spam.txt":
[SM] Error 9 on line 665, col 69: Line contained too many invalid tokens
[SM] Exception reported: Unable to open l4d_console_spam: Line contained too many invalid tokens
[SM] Blaming: l4d_console_spam.smx
[SM] Call stack trace:
[SM]  [0] LoadGameConfigFile
[SM]  [1] Line 53, /home/forums/content/files/8/5/7/7/8/175740.attach::OnPluginStart
[SM] Unable to load plugin "l4d_console_spam.smx": Error detected in plugin startup (see error logs)
Error log file session closed.
SourceMod error session started
Info (map "l4d2_tank_challenge") (file "errors_20190808.log")
[SM] Error parsing gameconfig file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\gamedata\l4d_console_spam.txt":
[SM] Error 9 on line 665, col 69: Line contained too many invalid tokens
[SM] Exception reported: Unable to open l4d_console_spam: Line contained too many invalid tokens
[SM] Blaming: l4d_console_spam.smx
[SM] Call stack trace:
[SM]  [0] LoadGameConfigFile
[SM]  [1] Line 53, /home/forums/content/files/8/5/7/7/8/175740.attach::OnPluginStart
[SM] Unable to load plugin "l4d_console_spam.smx": Error detected in plugin startup (see error logs)
Error log file session closed.
SourceMod error session started
Info (map "c1m1_hotel") (file "errors_20190808.log")
[SM] Error parsing gameconfig file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\gamedata\l4d_console_spam.txt":
[SM] Error 9 on line 665, col 69: Line contained too many invalid tokens
[SM] Exception reported: Unable to open l4d_console_spam: Line contained too many invalid tokens
[SM] Blaming: l4d_console_spam.smx
[SM] Call stack trace:
[SM]  [0] LoadGameConfigFile
[SM]  [1] Line 53, /home/forums/content/files/8/5/7/7/8/175740.attach::OnPluginStart


Silvers 08-10-2019 12:11

Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
 
Quote:

Originally Posted by SkiPlix (Post 2662544)
Help?

Upload or PM me the config. Can't help otherwise.

moekai 08-12-2019 13:15

Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
 
1 Attachment(s)
I've tried to suppress this spam msg in the console when using this plugin https://forums.alliedmods.net/showthread.php?t=318033 and it doesn't seem to work. Did I set the config wrong?

Quote:

logic_script executing script: loadout_index_0

Silvers 08-12-2019 13:24

Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
 
Theres nothing wrong with the config you posted. Whether it'll suppress the message I don't know.

moekai 08-12-2019 13:44

Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
 
You're right. I don't think this can suppress spam from the other plugin. I used the [ANY] Cleaner extension and it works.

Vit_amin 11-02-2019 11:44

Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
 
Plugin doesn't patch Warning message:
Code:

WARNING: orator at {x, y, z} missing modelname


All times are GMT -4. The time now is 05:10.

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