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

[DEV] Stringtables Size Dumper


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Plugin ID:
3175
Plugin Version:
1.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Dumps the name, item count, maxitems, and percentage full of a game's stringtables
    Unapprover:
    Reason for Unapproving:
    Built-in dumpstringtables command
    Old 08-18-2012 , 16:18   [DEV] Stringtables Size Dumper
    Reply With Quote #1

    Dumps information about the current game's Stringtables to a file.

    Server Commands:
    sm_stringtables_info_dump <filename> - Dumps Stringtable info to a file.

    Chat Commands:
    None

    Cvars:
    stringtables_dumper_version - Version of Stringtables Dumper

    To Do:
    Add command to dump the entire stringtables hierarchy instead of just info.
    Attached Files
    File Type: sp Get Plugin or Get Source (stringtables_dumper.sp - 814 views - 1.5 KB)
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 11-13-2012 at 09:06. Reason: Changed plugin name
    Powerlord is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 08-18-2012 , 16:20   Re: [DEV] Stringtables Dumper (currently status only)
    Reply With Quote #2

    For the record, this is what a dump looks like for TF2 on koth_viaduct on Linux with no other plugins in the plugins directory:

    Code:
    downloadables: 17/8192 (0% full)
    modelprecache: 710/2048 (35% full)
    genericprecache: 1/512 (0% full)
    soundprecache: 7866/8192 (96% full)
    decalprecache: 133/512 (26% full)
    instancebaseline: 24/1024 (2% full)
    lightstyles: 64/64 (100% full)
    userinfo: 255/256 (100% full)
    DynamicModels: 0/2048 (0% full)
    server_query_info: 1/4 (25% full)
    ParticleEffectNames: 1007/1024 (98% full)
    EffectDispatch: 0/1024 (0% full)
    VguiScreen: 3/256 (1% full)
    Materials: 7/1024 (1% full)
    InfoPanel: 2/128 (2% full)
    Scenes: 2957/4096 (72% full)
    ServerMapCycle: 1/128 (1% full)
    ServerPopFiles: 0/128 (0% full)
    ServerMapCycleMvM: 1/128 (1% full)
    GameRulesCreation: 1/1 (100% full)
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 08-18-2012 at 16:22.
    Powerlord is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 08-18-2012 , 16:27   Re: [DEV] Stringtables Dumper (currently status only)
    Reply With Quote #3

    nvm... i see what you did here

    Last edited by Horsedick; 08-18-2012 at 16:32.
    Horsedick is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 08-18-2012 , 16:34   Re: [DEV] Stringtables Dumper (currently status only)
    Reply With Quote #4

    Yeah, whoops, apparently Source already has a dumpstringtables command.
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 08-18-2012 at 16:36.
    Powerlord is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 08-18-2012 , 16:36   Re: [DEV] Stringtables Dumper (currently status only)
    Reply With Quote #5

    Quote:
    Originally Posted by Powerlord View Post
    Yeah, whoops, apparently SourceMod already has a dumpstringtables command.
    SourceModthe engine
    psychonic is offline
    Velture
    Senior Member
    Join Date: Jan 2011
    Location: Poland, Warsaw
    Old 08-18-2012 , 17:22   Re: [DEV] Stringtables Dumper (currently status only)
    Reply With Quote #6

    Sooo....... using this would prevent "Engine error: Host_Error: Overflow error writing string table baseline" crashes?
    __________________
    Velture is offline
    SuperRaWR
    SourceMod Donor
    Join Date: Jan 2010
    Location: Sylvan Lake, Alberta, Ca
    Old 08-18-2012 , 18:00   Re: [DEV] Stringtables Dumper (currently status only)
    Reply With Quote #7

    Quote:
    Originally Posted by Velture View Post
    Sooo....... using this would prevent "Engine error: Host_Error: Overflow error writing string table baseline" crashes?
    No. This is a useless plugin, although I applaud the author for his efforts.
    __________________
    [WDZ]SuperRaWR

    I use event scripts.
    SuperRaWR is offline
    Send a message via Skype™ to SuperRaWR
    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 06:35.


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