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

[ANY] tAutoMapDecompression v0.0.1 (2012-01-11)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Thrawn2
Veteran Member
Join Date: Apr 2009
Plugin ID:
2773
Plugin Version:
0.0.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Gives you a command to decompress all .bsp.bz2 files in your maps folder.
    Old 01-10-2012 , 18:41   [ANY] tAutoMapDecompression v0.0.1 (2012-01-11)
    Reply With Quote #1

    Why:
    This plugin gives you a command to decompress all .bsp.bz2 files in your maps folder to avoid unnecessary traffic when you want to upload new maps to your server.

    Requirements:
    You'll need the bzip2 extension. To compile this yourself, you'll also need the extensions include file.

    How to:
    1. Get the bz2 compressed version of it or bzip it yourself.
    2. Upload it to your maps folder. Repeat 1+2 until you've uploaded all maps.
    3. Execute sm_decompressmaps to start the process.

    I've got a question:
    Why did you implement the sm_compress command?
    a) For historic reasons, this was my test plugin while developing the extension.
    b) It skips all default maps (as long as you didn't twiddle with your maplist.txt) and therefore allows server admins to make sure all custom maps are available as .bz2 version. Iirc those are being used whether you are using sv_downloadurl or not. If you indeed are using a fast download server, make sure the bz2 versions on your gameserver and your fast download server are the same.

    Todo:
    Allow uploading of the bz2 version to your fast download ftp server. This will be handled by a different plugin i guess. Don't know yet. Just an idea.



    This plugins is part of the bzip2 extension and can be found in its repository here.
    Attached Files
    File Type: sp Get Plugin or Get Source (tAutoMapDecompression.sp - 489 views - 4.0 KB)
    File Type: smx tAutoMapDecompression.smx (4.9 KB, 356 views)
    __________________
    einmal mit profis arbeiten. einmal.
    Thrawn2 is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 01-10-2012 , 18:44   Re: [ANY] tAutoMapDecompression v0.0.1 (2012-01-11)
    Reply With Quote #2

    Man this is some of coolest stuff to come out of SM in a while.
    __________________
    Fearts is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 01-11-2012 , 02:03   Re: [ANY] tAutoMapDecompression v0.0.1 (2012-01-11)
    Reply With Quote #3

    great job
    __________________
    zipcore is offline
    snelvuur
    Veteran Member
    Join Date: Jun 2008
    Location: Netherlands
    Old 01-12-2012 , 19:22   Re: [ANY] tAutoMapDecompression v0.0.1 (2012-01-11)
    Reply With Quote #4

    would be nice if it uploads it to a seperate ftp account so its on your fast download url aswell (or something similar) but thats beyond the scope of this plugin i would think
    __________________
    Arguing with a fool only proves there are two
    snelvuur 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 00:34.


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