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

[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 - 824 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 online now
    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 online now
    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 - 527 views - 4.5 KB)
    __________________
    Grey83 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 01:30.


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