Raised This Month: $32 Target: $400
 8% 

[STOCK] Smart Download Manager


Post New Thread Reply   
 
Thread Tools Display Modes
mrkos9i4ok
Member
Join Date: Jul 2016
Location: Russia,Moscow
Old 08-30-2017 , 17:32   Re: [STOCK] Smart Download Manager
Reply With Quote #21

not work for https://gamebanana.com/skins/145956

guard1
-guard1.dx90.vtx
-guard1.phy
-and all textures
prisoner2
-prisoner2.dx90.vtx
-prisoner2.phy
-prisoner2_arms.dx90.vtx
-prisoner2_arms.vvd
-and all textures
prisoner3
-prisoner3_arms.dx90.vtx
-prisoner3_arms.vvd
-gi_head_14.vtf
-gi_head_nml.vtf

Last edited by mrkos9i4ok; 08-30-2017 at 17:39.
mrkos9i4ok is offline
Ermert1992
Member
Join Date: Jan 2012
Location: Germany
Old 10-28-2017 , 16:02   Re: [STOCK] Smart Download Manager
Reply With Quote #22

Really useful. Thank you!
Ermert1992 is offline
Alienmario
Senior Member
Join Date: Aug 2013
Old 11-17-2022 , 17:26   Re: [STOCK] Smart Download Manager
Reply With Quote #23

Has anyone expanded on this since? If not, I may have another look at it.
I recall having occasional issues with it back in 2015, though I could be wrong.

I think this is still the best solution for downloads. You could use full folder downloaders, but still have to specify the files somewhere (some config or in code) anyways.
With this include, a plugin actually using a resource, model for example, automagically parses all its dependencies without any fluff getting through. At least, that's what it should do.
Alienmario is offline
sviridov_artem
New Member
Join Date: Dec 2022
Old 12-10-2022 , 10:10   Re: [STOCK] Smart Download Manager
Reply With Quote #24

Quote:
Originally Posted by Alienmario View Post
I've discovered a bug with model's materials that are inside custom folder not downloading. Turns out FileExists2 compares cached files by names but doesn't correctly format the filenames/paths to match.

So I did a quick fix by replacing "" with "/" and turning filenames lowercase before comparing.

Great Stock Btw, very useful!

Edit: added fix for some uppercase paths that still weren't downloading
Edit2: everything is now converted lowercase before adding to the downloads table (due to linux issues). It might not be very efficient but I'm done with this for now. Someone could probably rewrite this to use new syntax and streamline it a bit more but it appears to be working finally.


Hello everyone, there is no downloading of files, in capital case. Can you help fix include ?
sviridov_artem 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 03:41.


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