Halflife: [GoldSource] Download secondary progress bar doesn't work properly

Created on 29 Mar 2019  路  12Comments  路  Source: ValveSoftware/halflife

You may notice this when you download a large file using FastDL.
While download a file (e.g >= 100 MB) secondary progress bar always be 100 percent.
DownloadProgressPct_1

Issue is in the function DownloadManager::CheckActiveDownload

DownloadProgressPct_3

DownloadProgressPct_4

In my opinion, a fixes should be like this
DownloadProgressPct_6

Finally, we got the secondary progress bar working correctly
DownloadProgressPct_2

Fix proposed

Most helpful comment

@mikela-valve Is there a possibility to add this feature request https://github.com/ValveSoftware/halflife/issues/934#issuecomment-23310086 , also if Multithreading is too much work then just should just use one progress bar with file size and download speed with the total amount of files that we will download.

Examples:
download_gif
download_v2
download_v1

All 12 comments

934 related

@mikela-valve, please read this topic. Thank you!

@mikela-valve Is there a possibility to add this feature request https://github.com/ValveSoftware/halflife/issues/934#issuecomment-23310086 , also if Multithreading is too much work then just should just use one progress bar with file size and download speed with the total amount of files that we will download.

Examples:
download_gif
download_v2
download_v1

also if Multithreading is too much work then just should just use one progress bar with file size and download speed with the total amount of files that we will download.

"Multithreading" is a thing since 2013. If you check active TCP connections you'll notice that 3 files are downloaded at same time (it seems it is set to 5 in the engine, not sure). It just needs to be updated to display them all at same time, or like you suggested, show how many files are being downloaded at that moment.

good gif bb

A fix to the progress bar not updating properly will be included in the next beta update. I won't be adding additional details to the dialog just yet but will consider it for the future and track work on it in #934 if I do.

Fixed in beta 'Exe build: 11:12:36 May 21 2019 (8244)'.

now load bar disappeared
connection to server became very fast but without load bar.
i try connect to server with resourses which i don't have and i load all resourses with black screen, console and servers window
load bar exists with new game local server but disappears with internet servers

Sorry, just reproduced this based on your info. Part of this request is serviced in Steam and it looks like I was getting a different response based on the version I was using. I'll update beta later with this working.

This regression should be fixed in the updated beta 'Exe build: 16:32:50 May 22 2019 (8245)'.

I can confirm that this issue is fixed in the current beta

Closing as fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

perforatorRU picture perforatorRU  路  3Comments

LuckyStrikeOriginal picture LuckyStrikeOriginal  路  4Comments

magister4813 picture magister4813  路  3Comments

BlackShadow picture BlackShadow  路  3Comments

twisterniq picture twisterniq  路  4Comments