This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Downloader doesn't work properly #33
Labels
Comments
Im totally aware that this is not a complete feature at all. Its just the most basic "you are now able to download stuff". With the new gui branch i want to make it way more stable and also implement a autosave and resume feature like steam has. The library i used for this downloader is this repository: |
not sure if this is related, I'm experiencing issues when downloading the game BFME1Launcher.log
|
Thank you. This error will be gone with the new GUI. stay tuned! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/Ravo92/Patch-2.22-Launcher/blob/b84c94ffff563cbfaa73fdbd19e19c0b1c305bba/Helper/GameFileTools.cs#L102
Can't really find any documentation on this "DownloadService", but through debugging I've noticed that on unstable internet connections, this utility will download a faulty file.
I've doublechecked the download from your Cloudflare R2 bucket and it seems to work flawlessly (as expected from Cloudflare), so it's not an error from that side.
One of my theories is that the Timeout of 5000ms is a bit too tight. One would expect that the download would fail outright when the Timeout is reached (which would be the case on unstable internet connections), but this doesn't seem to be the case, as there seems to be no error message anywhere and the download just continues.
I'd love to fix the issue myself but again, I haven't found any documentation on your "Downloader" util. If you could either show me Documentation (or even better, the sourcecode itself) I'd love to get at it.
The text was updated successfully, but these errors were encountered: