AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   SM File/Folder Downloader and Precacher (https://forums.alliedmods.net/showthread.php?t=69005)

SWAT_88 03-26-2008 12:15

SM File/Folder Downloader and Precacher
 
6 Attachment(s)
/********************************************* **********************************

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:
J@y-R
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.
https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif
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!!!

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

V0gelz 03-26-2008 19:56

Re: SM File Downloader and Precacher
 
nice plugin :) gj

CrimsonGT 03-28-2008 05:08

Re: SM File Downloader and Precacher
 
I haven't installed this yet, but I would like to say thank you! This is going to be put to good use :-)

J@y-R 03-31-2008 03:47

Re: SM File Downloader and Precacher
 
Yo Nice Work SWAT :)

Works nice on my Server's ^^

Greetz
JaY

sessus 03-31-2008 06:16

Re: SM File Downloader and Precacher
 
Is this circumvented by the download filter?

SWAT_88 03-31-2008 14:46

Re: SM File Downloader and Precacher
 
I dont know.
I will test it.:up:

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

SWAT_88 04-09-2008 16:17

Re: SM File/Folder Downloader and Precacher
 
Final Version!:up:

Have Fun!

FatGamer.net 04-11-2008 02:25

Re: SM File/Folder Downloader and Precacher
 
Sorry to be such a retard. What exactly is the plugin doing?

SWAT_88 04-11-2008 13:29

Re: SM File/Folder Downloader and Precacher
 
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.:up:

FunTF2Server 04-19-2008 05:31

Re: SM File/Folder Downloader and Precacher
 
does not work on my Tf2 server


All times are GMT -4. The time now is 23:21.

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