Raised This Month: $78 Target: $400
 19% 

SM File/Folder Downloader and Precacher


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Plugin ID:
331
Plugin Version:
1.4
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    660 
    Plugin Description:
    Downloads and Precaches Files/Folders
    Old 03-26-2008 , 12:15   SM File/Folder Downloader and Precacher
    Reply With Quote #1

    /********************************************* **********************************

    SM File/Folder Downloader and Precacher

    Version: 1.4
    Author: SWAT_88

    1.0 First version, should work on basically any mod
    1.1 Added new features:
    Added security checks.
    Added map specific downloads.
    Added simple downloads.
    1.2 Added Folder Download Feature.
    1.3 Version for testing.
    1.4 Fixed some bugs:
    Closed all open Handles.
    Added more security checks.
    Description:
    This Plugin downloads and precaches the Files in downloads.ini.
    There are several categories for Download and Precache in downloads.ini.
    If you write no mapname the plugin downloads it in any map, else the plugin only download the files under the mapname if the map is running.
    For more information see examples files.
    The downloads_simple.ini contains simple downloads (no precache), like the original.
    Folder Download usage:
    Write your folder name in the downloads.ini or downloads_simple.ini.
    Example:
    Correct: sound/misc
    Incorrect: sound/misc/
    Commands:
    None.
    Cvars:
    sm_downloader_enabled "1" - 0: disables the plugin - 1: enables the plugin

    sm_downloader_normal "1" - 0: dont use downloads.ini - 1: Use downloads.ini

    sm_downloader_simple "1" - 0: dont use downloads_simple.ini - 1: Use downloads_simple.ini
    Modifications:
    • SteamPipe Version - by Powerlord
      • With SteamPipe support.
      • For more information look here
    • SteamPipe Version - by electronic_m
      • With SteamPipe support.
      • For more information look here

    Setup (SourceMod):
    Install the smx file to addons\sourcemod\plugins.
    Install the downloads.ini to addons\sourcemod\configs.
    Install the downloads_simple.ini to addons\sourcemod\configs.
    (Re)Load Plugin or change Map.
    TO DO:
    Nothing.
    Copyright:
    Everybody can edit this plugin and copy this plugin.
    Thanks to:
    pRED*
    sfPlayer
    Testing:
    [email protected]
    FunTF2Server
    Donations:
    I'm a student and code this plugins in my freetime, while you probably play games .
    If you like my work, kindly make a donation via PayPal.
    Feel free to donate whatever amount you like.

    Thank you for supporting this plugin!
    Don't forget to support SourceMod too.
    Consider: Without SourceMod none of these plugins would exist!
    Notice: This


    HAVE FUN!!!

    ********************************************* **********************************/
    Attached Files
    File Type: zip SM Downloader v1.4.zip (7.4 KB, 28407 views)
    File Type: sp Get Plugin or Get Source (sm_downloader.sp - 10286 views - 6.9 KB)
    File Type: ini downloads.ini (211 Bytes, 6735 views)
    File Type: ini downloads_simple.ini (29 Bytes, 6256 views)
    File Type: ini downloads_example.ini (906 Bytes, 11312 views)
    File Type: ini downloads_simple_example.ini (303 Bytes, 8086 views)
    __________________

    Last edited by SWAT_88; 02-01-2016 at 14:33.
    SWAT_88 is offline
    V0gelz
    Senior Member
    Join Date: Jun 2004
    Old 03-26-2008 , 19:56   Re: SM File Downloader and Precacher
    Reply With Quote #2

    nice plugin gj
    __________________
    V0gelz is offline
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 03-28-2008 , 05:08   Re: SM File Downloader and Precacher
    Reply With Quote #3

    I haven't installed this yet, but I would like to say thank you! This is going to be put to good use :-)
    CrimsonGT is offline
    [email protected]
    Senior Member
    Join Date: Jan 2007
    Location: Hamburg (Germany)
    Old 03-31-2008 , 03:47   Re: SM File Downloader and Precacher
    Reply With Quote #4

    Yo Nice Work SWAT

    Works nice on my Server's ^^

    Greetz
    JaY
    J@y-R is offline
    Send a message via ICQ to J@y-R Send a message via MSN to J@y-R
    sessus
    Senior Member
    Join Date: May 2006
    Old 03-31-2008 , 06:16   Re: SM File Downloader and Precacher
    Reply With Quote #5

    Is this circumvented by the download filter?
    sessus is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 03-31-2008 , 14:46   Re: SM File Downloader and Precacher
    Reply With Quote #6

    I dont know.
    I will test it.

    Edit:
    I'm pretty sure that this plugin don't circumvent the download filter.
    It's impossible.

    Last edited by SWAT_88; 04-09-2008 at 16:21.
    SWAT_88 is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 04-09-2008 , 16:17   Re: SM File/Folder Downloader and Precacher
    Reply With Quote #7

    Final Version!

    Have Fun!

    Last edited by SWAT_88; 04-10-2008 at 14:20.
    SWAT_88 is offline
    FatGamer.net
    Member
    Join Date: Oct 2007
    Old 04-11-2008 , 02:25   Re: SM File/Folder Downloader and Precacher
    Reply With Quote #8

    Sorry to be such a retard. What exactly is the plugin doing?
    FatGamer.net is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 04-11-2008 , 13:29   Re: SM File/Folder Downloader and Precacher
    Reply With Quote #9

    Some plugins need files. i.e WelcomeSound, or SaySounds, ...
    The most of the plugins download the needed files automatically.
    If the plugin downloads nothing, or you need a specific file on the client computer. You can put it on your server and add a line in the downloads.ini.
    The next mapchange each client, which connects, downloads the files in the downloads.ini.
    Models or Sounds must be precached in your game to use it.
    I dont know exactly wich files must be precached or not.
    But I'm pretty sure Models are one of them.

    Hope this description helped you.
    SWAT_88 is offline
    FunTF2Server
    Veteran Member
    Join Date: Apr 2008
    Old 04-19-2008 , 05:31   Re: SM File/Folder Downloader and Precacher
    Reply With Quote #10

    does not work on my Tf2 server
    __________________
    FunTF2Server 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 11:11.


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