Game Maker Community: Download Manager 2 - Game Maker Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Download Manager 2 Improved download manager to support more simultaneous downloads

#1 User is offline   h0bbel 

  • GMC Member
  • Group: GMC Member
  • Posts: 252
  • Joined: 12-March 06

Posted 24 October 2009 - 03:03 PM

This is the new version of the hobbel download manager.
The whole DLL has been rebuilt to use my own HTTP handler which enables you to use a larger number of simultaneous downloads.

Features:
Threaded downloading
Improved memory management (reduces chance of crashes)
Get the value of HTTP response headers
Pausing and resuming downloads
Custom HTTP request headers
Support for proxy servers
Partial downloading of files
Adding cookies to your download
Get the status of your download
Get the size of the download
Get the download speed in bytes per second

Note! Because returning percentages in DM_GetProgress makes more sense, DM_GetCompleted and DM_GetProgress have switched meaning.

Screenshot:
Posted Image

Go to download page (Click download "downloadmanager2.zip")

Update 2.0.0.1
Fixed resuming partial downloads bug

Update 2.0.0.2
Fixed pausing bug

This post has been edited by h0bbel: 20 January 2010 - 12:37 PM

0

#2 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2636
  • Joined: 05-April 08

Posted 24 October 2009 - 03:42 PM

Oh, Woah Neat! Awesome!
0

#3 User is offline   LoopStan 

  • North-See Developer
  • Group: GMC Member
  • Posts: 1295
  • Joined: 22-October 07

Posted 24 October 2009 - 06:44 PM

Wow! Glad to see your back I thought you fell off the face of the earth! Its a great dll thanks for the update
0

#4 User is offline   krele 

  • GMC Member
  • Group: GMC Member
  • Posts: 470
  • Joined: 19-January 07

Posted 27 October 2009 - 11:08 PM

Awesome! This can be used well in an automatic updater! Even better now that you added size support without starting the download beforehand! =)

Epic dll you got there hobbel! ^^
0

#5 User is offline   RowanFN 

  • Mr. Awesome
  • Group: GMC Member
  • Posts: 1179
  • Joined: 13-October 08

Posted 27 October 2009 - 11:38 PM

Like to say, verrrrrrrrry nice :)
0

#6 User is offline   Krisando 

  • GMC Member
  • Group: GMC Member
  • Posts: 1245
  • Joined: 17-August 04

Posted 04 November 2009 - 05:35 AM

Unlike the old version due to multiple bugs + few strange things I was not able to download procedural, is it possible to do such with this?
0

#7 User is offline   Razon 

  • GMC Member
  • Group: GMC Member
  • Posts: 185
  • Joined: 31-October 03

Posted 23 November 2009 - 11:35 PM

Very nice improvement over Download Manager 1.


You haven't completely fixed pausing/stopping and resuming in this yet though.

Steps to duplicate:
1: Call 'DM_PauseDownload' OR 'DM_StopDownload' on an ongoing download.
2: Call 'DM_ResumeDownload' on the paused or stopped download.
Result: error message : http://img697.images...2sock0error.png

Also if you call pause/stop and resume in the same step after each other without some kind of proper delay, like with sleep- then it will return that it failed.


You should have the scripts return any errors, instead of using intrusive message windows like that.

Also for certain links that it can't handle, and when pausing/stopping and resuming a finished download- it will return the error 'No size left.' in a message window after the sock 0 error.

And it can't handle these kind of links for example.
http://dw.com.com/redir?edId=3&siteId=...nstallation. exe
http://hobbl.com/download/82921/
0

#8 User is offline   XD005 

  • Daxter (For PSP) Fan
  • Group: GMC Member
  • Posts: 1190
  • Joined: 21-April 06

Posted 12 May 2010 - 03:35 AM

I can only download one file. I have a program that downloads a list of links with one object and the other object downloads the files... But the second object will never start the download.
0

#9 User is offline   glitchgod 

  • GMC Member
  • Group: GMC Member
  • Posts: 8
  • Joined: 04-March 10

Posted 20 May 2010 - 04:34 AM

ya every time i click on the link to download the autodownloader2 it pulls up an empty folder.
link:
autodownloader2

is this not the right one?
0

#10 User is offline   bennelsey 

  • GMC Member
  • Group: GMC Member
  • Posts: 24
  • Joined: 26-July 09

Posted 20 May 2010 - 09:58 AM

I get an empty zip file instead (0 bytes)

need mirror of this
0

#11 User is offline   glitchgod 

  • GMC Member
  • Group: GMC Member
  • Posts: 8
  • Joined: 04-March 10

Post icon  Posted 26 May 2010 - 05:31 AM

I even tried others on that web page and most do not work at all some even send me to home page?
:)
0

#12 User is offline   YellowAfterlife 

  • GMC Member
  • Group: GMC Member
  • Posts: 812
  • Joined: 28-January 10

Posted 26 May 2010 - 05:38 AM

Mirror
0

#13 User is offline   manuel777 

  • M7GM Games
  • Group: GMC Member
  • Posts: 929
  • Joined: 25-November 06

Posted 03 June 2010 - 07:51 PM

Awesome, i love this dll :wacko:
0

#14 User is offline   lukeescude 

  • GMC Member
  • Group: GMC Member
  • Posts: 40
  • Joined: 29-April 10

Posted 09 June 2010 - 02:09 PM

Hey h0bbel, how many simultaneous downloads can be made at once? A rough estimate is good with me.
0

#15 User is offline   benetonmovie 

  • GMC Member
  • Group: GMC Member
  • Posts: 1208
  • Joined: 25-August 04

Posted 31 July 2010 - 12:23 AM

Excellent DLL, except for a huge problem: it makes my game crash when there's no internet connection available (instead of giving a nice error message). I don't know if you're still working on this, h0bbel, but if you are, please try to fix that problem! I'm using Windows Vista 32 bit BTW. Thanks.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users