[ANY] EasyDownloader (V1.03, 09/12/2017)
2 Attachment(s)
Easy Downloader (V1.03) Download and Precache files the easy way. https://i.imgur.com/cptqDaD.png By Byte 🔹 Description 🔹 This plugin is a simple downloader plugin which downloads/precaches files on any mod. 🔹 Instructions 🔹
🔹 Configuration 🔹 Use file/directory paths relative to gamedir root (so include "sound/", "materials/" etc). One file/directory path per line in the relevant config file. Directory paths should NOT end with a separator character ('/') Directories are downloaded recursively. Blank lines and comment lines (starting with //) are ignored.
🔹 Options 🔹 Extension whitelisting You can whitelist certain extensions when using recursive directory downloading. When using this option, only files with the provided extensions will be downloaded/precached. Example in models.txt: Code:
//Download all .mdl files from the folder below Code:
//Download the other model files required I decided to write this plugin after SM File/Folder Downloader and Precacher (https://forums.alliedmods.net/showthread.php?t=69005) stopped working for me. Huge props to SWAT_88 though, RIP buddy ❤️ Powerlord: CSGO/DOTA Asterisk fake precache method (link) 🔹 Changelog 🔹 Code:
1.03 Added extension filtering for recursive directory downloads. Naming convention cleanup. Github Repo: https://i.imgur.com/tXOI5Nj.png Source | Releases AlliedModders Mirror: |
Re: [ANY] EasyDownloader (v1.00)
Thanks for the release! Silly question but should all materials be put into the decals.txt?
|
Re: [ANY] EasyDownloader (v1.00)
sdownloader does all of this and its easier
|
Re: [ANY] EasyDownloader (v1.00)
Quote:
|
Re: [ANY] EasyDownloader (v1.00)
You should close the file handle via CloseHandle or File.Close
|
Re: [ANY] EasyDownloader (v1.00)
Quote:
Quote:
Quote:
|
Re: [ANY] EasyDownloader (v1.00)
L 01/03/2017 - 19:25:11: [SM] Exception reported: Script execution timed out
L 01/03/2017 - 19:25:11: [SM] Blaming: easydownloader.smx L 01/03/2017 - 19:25:11: [SM] Call stack trace: L 01/03/2017 - 19:25:11: [SM] [1] Line 95, /home/forums/content/files/2/6/1/6/1/3/159758.attach::processFile L 01/03/2017 - 19:25:11: [SM] [2] Line 44, /home/forums/content/files/2/6/1/6/1/3/159758.attach::OnMapStart |
Re: [ANY] EasyDownloader (v1.00)
Quote:
What do your lists look like? How many files in your list? Also experiment with this: https://forums.alliedmods.net/showth...44#post2013444 Increase 'SlowScriptTimeout' in core.cfg to a higher amount to see if it solves it. |
Re: [ANY] EasyDownloader (v1.00)
1 Attachment(s)
Quote:
|
Re: [ANY] EasyDownloader (v1.00)
Quote:
ReadFileLine should return false if it hits end of the file or if its an empty file anyway. |
All times are GMT -4. The time now is 07:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.