View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-22-2018 , 14:05   Re: [EXTENSION] Late Downloads
Reply With Quote #38

Thanks.

Quote:
Originally Posted by Backup
... what are you trying to achivie with this extension
Goal is: to avoid black screen (happened if you use AddFileToDownloadsTable() in OnMapStart()).
It was just a test. I don't plan to use in on map load. Instead, AddLateDownload() will be in OnClientPostAdminCheck().

Quote:
... it should immediately call the callback signaling succes. I'm not sure, I'd have to check.
It is not do that way. Using current version of your extension, I need to wait a long time while it re-download all files that already downloaded.
Yes, extension show in console that file is already downloaded (but not at once) => it try to download it and it waste time and traffic.

Anyway, I already made a plugin that uses client's cookies to store download history.
I'll post it here if you don't mind as soon as I made little optimizations.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 05-22-2018 at 14:05.
Dragokas is offline