Raised This Month: $51 Target: $400
 12% 

[DEV] String Tables Dumper


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7011
Plugin Version:
1.1
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    9 
    Plugin Description:
    Dumps records of all string tables. For developers.
    Old 04-01-2020 , 17:02   [DEV] String Tables Dumper
    Reply With Quote #1

    Description:
    Dumps records of all string tables. For developers and server administrators.
    Features:
    - dumps all stringtables to logs
    - option to include userdata in log
    - option to show table contents to console
    Logfile location:
    - logs/StringTables.log

    - logs/StringTable_downloadables.log
    - logs/StringTable_modelprecache.log
    - logs/StringTable_genericprecache.log
    - logs/StringTable_soundprecache.log
    - logs/StringTable_decalprecache.log
    - logs/StringTable_instancebaseline.log
    - logs/StringTable_BlackMarketTable.log
    - logs/StringTable_lightstyles.log
    - logs/StringTable_userinfo.log
    - logs/StringTable_server_query_info.log
    - logs/StringTable_ParticleEffectNames.log
    - logs/StringTable_EffectDispatch.log
    - logs/StringTable_VguiScreen.log
    - logs/StringTable_Materials.log
    - logs/StringTable_InfoPanel.log
    - logs/StringTable_Scenes.log
    - logs/StringTable_GameRulesCreation.log
    Settings (ConVars):
    Nothing.
    Commands:
    - sm_dump_st - Dumps ALL stringtables to log files. Show list of stringtables to console.
    - sm_dump_st 1 - same, but include userinfo as well (useful e.g. for InfoPanel to see MOTD contents)
    - sm_dump_sti <table_name> - Show contents of this table to console and dumps it in log file
    Some useful examples:
    - sm_dump_sti "downloadables" - show list of paths required for clients to download from content-server before join the map
    Installation:
    - copy smx file to addons/sourcemod/plugins/
    Credits:
    - Dr. Api - for sm string table examples.
    References
    - [L4D2] Stringtable Control
    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon (Paypal)
    - BitCoin
    - Ю.Money
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_stringtable_dumper.sp - 865 views - 4.3 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 04-15-2021 at 08:55.
    Dragokas is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 04-01-2020 , 17:27   Re: [DEV] String Tables Dumper
    Reply With Quote #2

    Nice.

    Tiny bug.
    Code:
    ] sm_dump_sti "downloadables"
    Couldn't find "downloadables" stringtable.
    ] sm_dump_sti downloadables
    0. maps/de_dust2.bsp
    1. maps/de_dust2.nav
    2. models/player/custom_player/legacy/tm_leet_variantA.mdl
    3. models/player/custom_player/legacy/tm_leet_variantB.mdl
    4. models/player/custom_player/legacy/tm_leet_variantC.mdl
    5. models/player/custom_player/legacy/tm_leet_variantD.mdl
    etc. etc.
    __________________
    Do not Private Message @me
    Bacardi is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-01-2020 , 17:34   Re: [DEV] String Tables Dumper
    Reply With Quote #3

    Thank you. Fixed.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 05-09-2020 , 11:39   [DEV] String Tables Dumper 1.1.1
    Reply With Quote #4

    Some formatting improvements (indication of the number of strings and numeration in dumps).
    Empty stringtables will not saved to logfiles.
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_stringtable_dumper 1.1.1.sp - 556 views - 4.5 KB)
    __________________
    Grey83 is offline
    evans
    Senior Member
    Join Date: May 2021
    Location: OnSmokeDetonate();
    Old 04-20-2024 , 05:27   Re: [DEV] String Tables Dumper
    Reply With Quote #5

    Could be somebody able to bring to this plugin feature which can reset (delete) certain stringtables, which could be possible to choose? (For CS:S). Thank you.
    For example i would like to clear some tables at map change, thank you guys if someone help..
    __________________
    evans is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-20-2024 , 07:06   Re: [DEV] String Tables Dumper
    Reply With Quote #6

    "Dumper" is by definition means read-only.
    This plugin will not have "writing" features. There is plugin specially intended for it.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    evans
    Senior Member
    Join Date: May 2021
    Location: OnSmokeDetonate();
    Old 04-20-2024 , 08:50   Re: [DEV] String Tables Dumper
    Reply With Quote #7

    Quote:
    Originally Posted by Dragokas View Post
    "Dumper" is by definition means read-only.
    This plugin will not have "writing" features. There is plugin specially intended for it.
    Ok, thx for answer, i know that exists what you sent me (link) but it is for left 4 dead. Is it possible to use that somehow for CS:S with your help? I'm trying to rewrite it but no luck so far. Thanks again if u could help me.
    __________________
    evans is offline
    evans
    Senior Member
    Join Date: May 2021
    Location: OnSmokeDetonate();
    Old 04-20-2024 , 12:16   Re: [DEV] String Tables Dumper
    Reply With Quote #8

    btw, server console command dumpstringtables doing basically same thing except there is not possible to do this: dumpstringtables log a.txt
    __________________
    evans 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 05:23.


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