Jump to content


Photo

Download Manager 2


  • Please log in to reply
27 replies to this topic

#1 h0bbel

h0bbel

    GMC Member

  • New Member
  • 252 posts

Posted 24 October 2009 - 03:17 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:
(link removed)

(link removed)

Update 2.0.0.1
Fixed resuming partial downloads bug

Update 2.0.0.2
Fixed pausing bug

Edited by h0bbel, 19 September 2013 - 06:52 PM.

  • 1
The empty archive bug should be fixed on my site.
Please use the "report bug" button on my site to report bugs, makes things clearer.

#2 Recreate

Recreate

    Furry

  • GMC Member
  • 2992 posts
  • Version:GM:Studio

Posted 24 October 2009 - 03:56 PM

Oh, Woah Neat! Awesome!
  • 0

If the post that you are reading was created prior to 2011. For the safety of the general public, It is not to be regarded under any circumstances.
Please don't ask me to join your group at anything.


#3 LoopStan

LoopStan

    North-See Developer

  • GMC Member
  • 1398 posts

Posted 24 October 2009 - 06:58 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

Posted Image


#4 krele

krele

    GMC Member

  • GMC Member
  • 640 posts
  • Version:GM:Studio

Posted 27 October 2009 - 11:22 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

If I helped you, you can help me back :3

Brocoola


#5 RowanFN

RowanFN

    Mr. Awesome

  • GMC Member
  • 1485 posts
  • Version:Unknown

Posted 27 October 2009 - 11:52 PM

Like to say, verrrrrrrrry nice :)
  • 0

[EDIT: massive sig removed]


#6 Krisando

Krisando

    GMC Member

  • New Member
  • 1351 posts

Posted 04 November 2009 - 05:49 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

Posted Image


#7 Razon

Razon

    GMC Member

  • GMC Member
  • 268 posts
  • Version:GM:Studio

Posted 23 November 2009 - 11:49 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/re...nstallation.exe
http://hobbl.com/download/82921/
  • 0

#8 XD005

XD005

    Daxter (For PSP) Fan

  • GMC Member
  • 1285 posts

Posted 12 May 2010 - 03:49 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 glitchgod

glitchgod

    GMC Member

  • GMC Member
  • 55 posts

Posted 20 May 2010 - 04:48 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 bennelsey

bennelsey

    GMC Member

  • GMC Member
  • 25 posts

Posted 20 May 2010 - 10:12 AM

I get an empty zip file instead (0 bytes)

need mirror of this
  • 0

#11 glitchgod

glitchgod

    GMC Member

  • GMC Member
  • 55 posts

Posted 26 May 2010 - 05:45 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 YellowAfterlife

YellowAfterlife

    GMC Member

  • Global Moderators
  • 4157 posts
  • Version:GM:Studio

Posted 26 May 2010 - 05:52 AM

Mirror
  • 0
If my posts contain broken links, try looking around my website. I gradually make blog posts for any examples I make.
_.png_.gif

#13 Manuel777

Manuel777

    InvaderGames

  • GMC Member
  • 3578 posts
  • Version:GM:Studio

Posted 03 June 2010 - 08:05 PM

Awesome, i love this dll :wacko:
  • 0

@MEtchegaray7

gplussignature.png

May this signature be frozen on the old GMC until the end of times. Or YoYo takes it down.


#14 lukeescude

lukeescude

    GMC Member

  • GMC Member
  • 711 posts
  • Version:GM:Studio

Posted 09 June 2010 - 02:23 PM

Hey h0bbel, how many simultaneous downloads can be made at once? A rough estimate is good with me.
  • 0
My 39dll Tutorial
GMechanism, a Game Maker extension for Online Highscores, Achievements, Chat Engine, INI Host, etc.
Posted Image

#15 benoit.rouleau

benoit.rouleau

    GMC Member

  • GMC Member
  • 1637 posts
  • Version:GM:Studio

Posted 31 July 2010 - 12:37 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

#16 G-Games

G-Games

    GMC Member

  • GMC Member
  • 1130 posts
  • Version:GM:Studio

Posted 03 May 2011 - 04:16 PM

Good DLL, but I have a question. On what site should I put my files? The site needs to be so, that when you replace the file, the link stays the same. I can't find any.
  • 0

#17 Dom83

Dom83

    GMC Member

  • GMC Member
  • 138 posts

Posted 26 June 2011 - 03:00 PM

I randomly have the error message "No size left" while downloading with this dll, can somebody tell me why ?

I also have these :
Posted Image

The big problem is the game sometimes freezes or crashes after these messages...

Edited by Dom83, 26 June 2011 - 11:00 PM.

  • 0

#18 iceshield

iceshield

    GMC Member

  • GMC Member
  • 515 posts
  • Version:GM:Studio

Posted 04 September 2011 - 08:10 AM

DM_GetSpeed and DM_GetProgress doesen't work for me .Maybe because GM_GetLength returns -1 ? How can I make this works?
And by the way , how do I free the dll ?
  • 0

If you put comments in your code to understand it ... then you awful at writing code.


#19 Sir

Sir

    Jedi Poodoo

  • GMC Member
  • 384 posts
  • Version:GM:Studio

Posted 14 January 2012 - 06:51 PM

This file doesnt work. I made it, saved it into the DLL's folder, but it still throws an error.

http://dl.dropbox.co...46785/test.gm81

I am running 8.1, the error is

ERROR in
action number 1
of Create Event
for object object0:

In script DM_CreateHandle:
Error in code at line 1:
return external_call(global.external_dm_createhandle);
^
at position 29: Unknown variable external_dm_createhandle
  • 0

For my sake, please RTFM.


#20 NYS

NYS

    GMC Member

  • GMC Member
  • 453 posts
  • Version:GM:Studio

Posted 16 January 2012 - 01:06 PM

Aren't you supposed to initiate the dll before you call any of those functions? I can't open .gm81 files so I can't check.
  • 0

#21 GlobaProgramming

GlobaProgramming

    GMC Member

  • GMC Member
  • 56 posts
  • Version:GM:Studio

Posted 06 April 2012 - 05:54 PM

I just would like to let you know that the download links on your page are having PHP errors and will not download. The zip file itself opens in browser with PHP errors and wingdings. A save-as simply saves the file in the same corrupt state. It would be great it you could fix that ;) I would like to try out this new version.
  • 0

#22 Black Doomer

Black Doomer

    GMC Member

  • GMC Member
  • 105 posts
  • Version:GM8.1

Posted 10 May 2013 - 01:38 PM

Created a GEX package with this DLL:

http://gmc.yoyogames...howtopic=580432

:yes:


  • 0

And sorry for my bad English.

My projects: Doom 2D Multiplayer

My extensions: Codepage Converter | XP Messages | Bit Wizard | Time Library

Other: Download Manager 2 GEX


#23 thecrazygamemaster

thecrazygamemaster

    Devcodier

  • GMC Member
  • 785 posts
  • Version:GM:Studio

Posted 08 August 2013 - 02:03 PM

So what's the likelyhood of this functioning at all in Studio?


  • 0

DMqkE.png


#24 arie2002

arie2002

    GMC Member

  • GMC Member
  • 19 posts
  • Version:GM:Studio

Posted 23 January 2014 - 02:51 PM

Wheres the download link?!


  • 0

1q3aiq.png

                                                              Multiplayer 10% done


#25 Razon

Razon

    GMC Member

  • GMC Member
  • 268 posts
  • Version:GM:Studio

Posted 25 January 2014 - 06:06 AM

Here's a mirror link for the DLL.

 

https://www.mediafir...mj6a7zc9cqablu3


  • 1

#26 coNNecTT01

coNNecTT01

    GMC Member

  • GMC Member
  • 297 posts
  • Version:GM:Studio

Posted 23 June 2014 - 03:52 PM

Studio "has stopped working" because of this line:
 

download = DM_CreateDownload(host+filename,working_directory+"\"+filename);

What should I do?


Edited by coNNecTT01, 24 June 2014 - 02:28 PM.

  • 0

#27 Ateri

Ateri

    GMC Member

  • New Member
  • 3 posts
  • Version:GM8

Posted 09 July 2014 - 03:40 PM

Hello. Is there any chance of recompiling this DLL to support HTTPS headers too? I mean DM version 1 supported HTTPS but now with DM version 2 it no longer works. I would be really thankful for this! My game downloader keeps breaking and users are no longer able to download or update my game because of this annoying bug.

~Ateri


  • 0

#28 Orano

Orano

    GMC Member

  • New Member
  • 4 posts
  • Version:Unknown

Posted 29 December 2014 - 05:25 PM

This DLL, download from DropBox.
Is it being supported??

 

And ...

 

When it's supported.
Please tell me a method.


Edited by Orano, 29 December 2014 - 05:30 PM.

  • 0