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

Solved Is there any way to add an entire folder to the downloads table?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LordHotPocketHomicide
Member
Join Date: Aug 2016
Location: This Realm of Existence
Old 07-07-2021 , 22:58   Is there any way to add an entire folder to the downloads table?
Reply With Quote #1

Hey, folks. I've got a plugin I'm working on for TF2. In specific, it's Voice Packs - feel free to watch a preview here if you're interested - and it's *this* close to being ready to make public. The only issue is that it doesn't auto-download said voice packs, meaning when a pack is added, server owners would need to manually add every single audio file to their downloads.ini file. Given that voice packs can contain hundreds of files, this is obviously a problem. Thusly, to save time, I was hoping I could make the plugin auto-download an entire folder. Any ideas?
__________________
Professional retard. I might borrow some code, but I always try to give credit when I do! If you've noticed I've borrowed some of your code, and you have a problem with that, please add me on Steam and let me know so I can correct the problem as soon as possible!

Last edited by LordHotPocketHomicide; 07-08-2021 at 02:47.
LordHotPocketHomicide is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 07-08-2021 , 01:12   Re: Is there any way to add an entire folder to the downloads table?
Reply With Quote #2

You can try using [ANY] S-Downloader : Automated Download & Precache Resources. Here's a link: https://forums.alliedmods.net/showthread.php?t=269792

It does not require you to manually add any filenames to a config. Here is the plugin description:

"This plugin will automatically Precache resources that you've put and register them to Download-Table.

So you don't have to make a list of resources anymore.

Just Add this plugin, and Be free from it."
PC Gamer is offline
LordHotPocketHomicide
Member
Join Date: Aug 2016
Location: This Realm of Existence
Old 07-08-2021 , 02:47   Re: Is there any way to add an entire folder to the downloads table?
Reply With Quote #3

Quote:
Originally Posted by PC Gamer View Post
You can try using [ANY] S-Downloader : Automated Download & Precache Resources. Here's a link: https://forums.alliedmods.net/showthread.php?t=269792

It does not require you to manually add any filenames to a config. Here is the plugin description:

"This plugin will automatically Precache resources that you've put and register them to Download-Table.

So you don't have to make a list of resources anymore.

Just Add this plugin, and Be free from it."
Ah, that's perfect; thanks, man!
__________________
Professional retard. I might borrow some code, but I always try to give credit when I do! If you've noticed I've borrowed some of your code, and you have a problem with that, please add me on Steam and let me know so I can correct the problem as soon as possible!
LordHotPocketHomicide is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 07-08-2021 , 13:56   Re: Is there any way to add an entire folder to the downloads table?
Reply With Quote #4

Quote:
Originally Posted by LordHotPocketHomicide View Post
Hey, folks. I've got a plugin I'm working on for TF2. In specific, it's Voice Packs - feel free to watch a preview here if you're interested - and it's *this* close to being ready to make public.
There's already a Voice Changer plugin. But as I understood your plugin also collects sounds into packs and allows you to change your current voice.
__________________
MAGNAT2645 is offline
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 12:21.


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