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

Download Table Statistics v1.1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Plugin ID:
495
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    32 
    Plugin Description:
    Shows statistics and missing files of the hl2 download table (for admins)
    Old 08-07-2008 , 18:40   Download Table Statistics v1.1
    Reply With Quote #1




    Plugin on Github: https://github.com/bcserv/downloadtable_statistics - Forks & Pull requests are welcome

    Description:

    This is a plugin for showing statistics and missing files of the servers download table that is sent to the players when they connect.

    You can use this to determine, how much data is getting sent to each player, on their first connect. and how long they have to wait until they have all the files.
    • missing files
    • file count in specific directory
    • total file size of a specific directory
    • total files count
    • total bzip2 files count (local)
    • total file size
    • the estimated download time for 56, 2mbit, 4mbit and 8mbit connection speed (in minutes)
    Note: This plugin can't open bzip2 files that are on a webserver (using sv_downloadurl). It can only calculate bzip2 files that are on the local server.

    Commands:

    sm_downloadtablestatistics
    sm_dts - Alias of above


    Example:

    Code:
    [SM] Displaying statistics for the download table:
    [SM] Warning: File sound/misc/sprayer.wav not found !
    [SM] Sounds (118):                    30.854 mb
    [SM] Maps (2):                      10.491 mb
    [SM] Models (0):                    0.000 mb
    [SM] Materials (0):                 0.000 mb
    [SM] Others (0):                    0.000 mb
    [SM] ------
    [SM] Total files: 121 (1 not found): 41.345 mb
    [SM] Compressed Files (bzip2): 1
    [SM] min. estimated download time: 56k: 100.80min   2mbit: 2.75min   4mbit: 1.37min   16mbit: 0.34min


    Changelog



    Date: 13.08.2008
    Version: 1.1
    • Added bzip2 support - bzip2 files are now used for calculation instead of uncomprossed file, if exists locally
    • Added compressed files count line
    • Added an alias command sm_dts because the other one seems pretty long
    Date: 08.08.2008
    Version: 1.0
    • Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (downloadtable_statistics.sp - 3558 views - 7.1 KB)

    Last edited by berni; 09-16-2013 at 10:39.
    berni is offline
     



    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 19:22.


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