Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Console Spam Patches (1.3b) [20-Jul-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6585
Plugin Version:
1.3b
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    407 
    Plugin Description:
    Prevents certain errors/warnings from being displayed in the server console.
    Old 05-31-2019 , 23:12   [L4D & L4D2] Console Spam Patches (1.3b) [20-Jul-2021]
    Reply With Quote #1

    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.
    Attached Files
    File Type: txt l4d_console_spam.txt (7.8 KB, 1253 views)
    File Type: sp Get Plugin or Get Source (l4d_console_spam.sp - 1811 views - 3.9 KB)
    __________________

    Last edited by Silvers; 07-20-2021 at 08:07.
    Silvers is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 06-05-2019 , 13:46   Re: [L4D & L4D2] Console Spam Patches (1.0) [01-Jun-2019]
    Reply With Quote #2

    Is this the role of reducing server crashes?
    Or just filtering spam from the console?
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-05-2019 , 14:22   Re: [L4D & L4D2] Console Spam Patches (1.0) [01-Jun-2019]
    Reply With Quote #3

    Quote:
    Originally Posted by phoenix0001 View Post
    just filtering spam from the console?
    __________________
    Silvers is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 06-14-2019 , 11:35   Re: [L4D & L4D2] Console Spam Patches (1.0) [01-Jun-2019]
    Reply With Quote #4

    Just download your plugin and TXT file?
    Still need any changes?
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 08-08-2019 , 18:03   Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
    Reply With Quote #5

    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
    SkiPlix is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-10-2019 , 13:11   Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
    Reply With Quote #6

    Quote:
    Originally Posted by SkiPlix View Post
    Help?
    Upload or PM me the config. Can't help otherwise.
    __________________
    Silvers is offline
    moekai
    Member
    Join Date: Jul 2019
    Old 08-12-2019 , 14:15   Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
    Reply With Quote #7

    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
    Attached Files
    File Type: txt l4d_console_spam.txt (6.6 KB, 462 views)
    moekai is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-12-2019 , 14:24   Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
    Reply With Quote #8

    Theres nothing wrong with the config you posted. Whether it'll suppress the message I don't know.
    __________________

    Last edited by Silvers; 08-13-2019 at 15:49.
    Silvers is offline
    moekai
    Member
    Join Date: Jul 2019
    Old 08-12-2019 , 14:44   Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
    Reply With Quote #9

    You're right. I don't think this can suppress spam from the other plugin. I used the [ANY] Cleaner extension and it works.
    moekai is offline
    Vit_amin
    Senior Member
    Join Date: Dec 2015
    Location: Russian Federation
    Old 11-02-2019 , 12:44   Re: [L4D & L4D2] Console Spam Patches (1.1) [29-Jun-2019]
    Reply With Quote #10

    Plugin doesn't patch Warning message:
    Code:
    WARNING: orator at {x, y, z} missing modelname
    Vit_amin is offline
    Reply


    Thread Tools
    Display Modes

    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 04:51.


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