Jump to content


Photo

{Md} - Automatic Updater


  • Please log in to reply
99 replies to this topic

#81 Wiiboy4ever

Wiiboy4ever

    GMC Member

  • GMC Member
  • 96 posts

Posted 13 August 2012 - 05:32 PM

Sorry, I got it to work somewhat but I forgot to edit my post more.

Before asking these kind of requests please look at the example, the gml script and the first post. I will be happy to help you out if you are having trouble, <u>please do read instructions before posting replies</u>.

I read the whole thing. I said an tutorial, not an example, they are different. :whistle:
I was referring to something like you had in the 2.0.0.2 thread.
I asked this because when I imported the md into my game, the results were different then the md example had (and also because I had trouble following those instructions)

Anyway I got up to the part with "Downloading (0%) -0KB/s
1 of 1"
and it just stays there and never finishes. Oddly somehow sometimes the downloads instantly.

also, the updated files have to be exact same as their predecessor?

edit: Well um... I reuploaded the file through the cloud thingy and it did the same thing (didn't show the status of the download progress, just stayed at 0% but after a while it closed and opened the updated game.)

So are we supposed to use the MD5 on the file we want to update? If so that's a bit misleading considering the first thing the cloud website tells us to do is upload the file through another uploading site.

Edited by Wiiboy4ever, 13 August 2012 - 05:34 PM.

  • 0

#82 icymx

icymx

    Patrick Brett

  • GMC Member
  • 790 posts
  • Version:GM8

Posted 15 August 2012 - 10:42 AM

Haven't tried it yet, but it looks awesome. I'll remember this for when I'm working on a large game.

Just a question though, does the game automatically update itself when a new version is released or does the user have to update it themselves? Thanks.
  • 0

#83 Terrified Virus

Terrified Virus

    Moderators Plaything

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

Posted 15 August 2012 - 10:56 PM

Seems interesting, stashing this in the "Things To Use Someday" folder for future use. :thumbsup:
  • 1

#84 icymx

icymx

    Patrick Brett

  • GMC Member
  • 790 posts
  • Version:GM8

Posted 16 August 2012 - 10:42 AM

Seems interesting, stashing this in the "Things To Use Someday" folder for future use. :thumbsup:

I need one of those folders :D
  • 0

#85 Wiiboy4ever

Wiiboy4ever

    GMC Member

  • GMC Member
  • 96 posts

Posted 25 August 2012 - 03:40 PM

hoping mde will reply soon :D


Seems interesting, stashing this in the "Things To Use Someday" folder for future use. :thumbsup:

I need one of those folders :D

Haha, me too.
  • 0

#86 mme

mme

    MME

  • GMC Member
  • 1007 posts

Posted 31 August 2012 - 02:55 AM

Thank you for your replies

So are we supposed to use the MD5 on the file we want to update?


Basically the updater gets a list of files from the server (that you created in the web interface) if some of those files do not exist it downloads them. If it finds files that already exist it checks they are the same as on the server (it uses the MD5 Hash for this). If the files on the users computer is not the same as on the server it downloads the file from the server and replaces the file on the users computer.

So each file that you upload to {md} cloud is automatically scanned and a MD5 Hash is generated. If you use a 3rd party host for your files you will have to generate your own MD5 hash for each file uploaded (a tool that does this can be found in the interface) you may also use a 3rd party MD5 Hash generation tool. Hopefully this clears things up a bit. Posted Image

As requested I have made a very simple tutorial for you:
http://cdn.dfinnema.com/mdu/tut.pdf


Just a question though, does the game automatically update itself when a new version is released or does the user have to update it themselves? Thanks.


The tool is flexible to either make a button for the user to check or to have it so when the game starts it will check for updates automatically (see the example.gmk on how it does this).

Edited by mme, 31 August 2012 - 02:56 AM.

  • 0

#87 AlienOcty

AlienOcty

    GMC Member

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

Posted 02 September 2012 - 05:22 PM

Thanks for making this, it is very cool. It works just fine for me in GM:HTML5, but in GMS it crashes the game every time when it tries to launch the updater executable. Is there a compatibility issue with GMS? Thanks!
  • 0

#88 neylmane

neylmane

    GMC Member

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

Posted 04 October 2012 - 10:02 PM

yes i would really like to use for my game which i am about to release but with Gamemaker studio i am having problems :P is there a way around this and i loved this when using standard

Edited by neylmane, 04 October 2012 - 10:02 PM.

  • 0

#89 Chris_Devl

Chris_Devl

    The Next Gabe Newell

  • GMC Member
  • 321 posts
  • Version:GM8

Posted 08 October 2012 - 01:35 AM

This sounds incredibly useful.. I just want to suggest a 10 min video tutorial, it'll go a longgg way with making people confident enough to actually try learning and using this.

Edited by Chris_Devl, 08 October 2012 - 01:36 AM.

  • 0

#90 Loganvz

Loganvz

    GMC Member

  • GMC Member
  • 231 posts
  • Version:GM6

Posted 11 October 2012 - 06:24 AM

Hello,
I copied the script across, and initiated as it should be..uploaded my files to the service.
I click on run on my game. It MDU starts up, says no updates, and closes, no game!
It's the same running from source or executable.
If I delete MDU.exe it says MDU not found and starts up normally.
I need an update but yours just wont run my game, any help?
EDIT: This is the error:
ERROR in
action number 1
of Alarm Event for alarm 0
for object core:

Cannot execute C:\***\Client\C3036.exe0
It seems to be adding an 0 onto the end? Odd.
EDIT 2:
If I make a file called C3036.exe0 it runs it fine, but that's not very helpful.

Edited by Loganvz, 11 October 2012 - 06:29 AM.

  • 0

#91 Loganvz

Loganvz

    GMC Member

  • GMC Member
  • 231 posts
  • Version:GM6

Posted 11 October 2012 - 06:37 AM

Hello,
I copied the script across, and initiated as it should be..uploaded my files to the service.
I click on run on my game. It MDU starts up, says no updates, and closes, no game!
It's the same running from source or executable.
If I delete MDU.exe it says MDU not found and starts up normally.
I need an update but yours just wont run my game, any help?
EDIT: This is the error:
ERROR in
action number 1
of Alarm Event for alarm 0
for object core:

Cannot execute C:\***\Client\C3036.exe0
It seems to be adding an 0 onto the end? Odd.
EDIT 2:
If I make a file called C3036.exe0 it runs it fine, but that's not very helpful.

FIX: Every time I update it, I must first copy the file, change the extension, and re-upload both files. Now it runs fine.
Oops, double post, unfortunately I am unaware of a way to remove them.

Edited by Loganvz, 11 October 2012 - 06:38 AM.

  • 0

#92 Xyore

Xyore

    GMC Member

  • New Member
  • 3 posts
  • Version:GM8

Posted 13 October 2012 - 03:10 AM

I have no idea how to use this. I followed exactly what you told me:
1. Import the 'scr_mdu.gml' into your gamemaker game and follow instructions in the script
- Check, even though there were absolutely no instructions. It just told me what I can do.
2. Generate your API key using the {md} cloud service.
- Check, but what do I do with it?
3. Place mdu.exe in the same directory as the game
- Check
4. Done
- Check, but nothing happens...

I'm sorry if I sound like a complete noob or anything like that, but it's not clear as to how I'm supposed to do this.

Edited by Xyore, 13 October 2012 - 03:20 AM.

  • 0

#93 Loganvz

Loganvz

    GMC Member

  • GMC Member
  • 231 posts
  • Version:GM6

Posted 13 October 2012 - 09:32 AM

I have no idea how to use this. I followed exactly what you told me:
1. Import the 'scr_mdu.gml' into your gamemaker game and follow instructions in the script
- Check, even though there were absolutely no instructions. It just told me what I can do.
2. Generate your API key using the {md} cloud service.
- Check, but what do I do with it?
3. Place mdu.exe in the same directory as the game
- Check
4. Done
- Check, but nothing happens...

I'm sorry if I sound like a complete noob or anything like that, but it's not clear as to how I'm supposed to do this.

In the first control object in the menu, put an initialize script event.
Initialize script, with the parameters ("PackageName","APIKEY").
  • 0

#94 trg601

trg601

    GMC Member

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

Posted 07 December 2012 - 03:11 PM

THIS IS BEYOND EPIC!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

It took me a while to figure out but now it works like magic!!!!!!!!!!!!!!

I RATE THIS
100000000000000000000000000000000000000000000000000000000000/100000000000000000000000000000000000000000000000000000000000





I'm so happy right now!!!!!!!!!!!!!!!!!!!!!!!!!!


:biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin:
  • 0

#95 dasrkrain

dasrkrain

    GMC Member

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

Posted 04 April 2013 - 03:21 AM

Cannot seem to find a cloud service link that works... Any help would be nice. :)

 

[EDIT] Also when I run it I get an invalid INI error message. I am running in Windows 8 by the way.


Edited by dasrkrain, 04 April 2013 - 03:54 AM.

  • 0

#96 mme

mme

    MME

  • GMC Member
  • 1007 posts

Posted 06 April 2013 - 10:00 AM

Cannot seem to find a cloud service link that works... Any help would be nice. :)

 

[EDIT] Also when I run it I get an invalid INI error message. I am running in Windows 8 by the way.

 

Hi dasrkrain,

 

Due to a DNS issue our main control server was inaccessible causing the authentication systems to deny all incoming requests and this has now been resolved. Extra steps have been taken to avoid future incidents.

 

I do apologise for the inconvenience.

 

Let me know should you have any further questions :)

 

Thanks,

 

MD (mme)


  • 1

#97 dasrkrain

dasrkrain

    GMC Member

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

Posted 06 April 2013 - 03:27 PM


Cannot seem to find a cloud service link that works... Any help would be nice. :)

 

[EDIT] Also when I run it I get an invalid INI error message. I am running in Windows 8 by the way.

 

Hi dasrkrain,

 

Due to a DNS issue our main control server was inaccessible causing the authentication systems to deny all incoming requests and this has now been resolved. Extra steps have been taken to avoid future incidents.

 

I do apologise for the inconvenience.

 

Let me know should you have any further questions :)

 

Thanks,

 

MD (mme)

Thank you very much! Can't wait to give it a go!

 

[EDIT] I tried to sign up for the Web Login, but I keep getting this error: MDU - CRITICAL ERROR 880


Edited by dasrkrain, 06 April 2013 - 03:37 PM.

  • 1

#98 cheque

cheque

    GMC Member

  • GMC Member
  • 90 posts
  • Version:GM8

Posted 09 April 2013 - 04:25 AM

 


Cannot seem to find a cloud service link that works... Any help would be nice. :)

 

[EDIT] Also when I run it I get an invalid INI error message. I am running in Windows 8 by the way.

 

Hi dasrkrain,

 

Due to a DNS issue our main control server was inaccessible causing the authentication systems to deny all incoming requests and this has now been resolved. Extra steps have been taken to avoid future incidents.

 

I do apologise for the inconvenience.

 

Let me know should you have any further questions :)

 

Thanks,

 

MD (mme)

Thank you very much! Can't wait to give it a go!

 

[EDIT] I tried to sign up for the Web Login, but I keep getting this error: MDU - CRITICAL ERROR 880

i get the same error "MDU - CRITICAL ERROR 880"


  • 0

#99 mme

mme

    MME

  • GMC Member
  • 1007 posts

Posted 23 April 2013 - 08:51 AM

[EDIT] I tried to sign up for the Web Login, but I keep getting this error: MDU - CRITICAL ERROR 880

i get the same error "MDU - CRITICAL ERROR 880"

 

Thank you for your continued patience with these unfortunate issues.

 

Sorry about the late reply, this issue was fixed last week and should be fully operational again. Please let me know should you have any further questions or issues.

 

Thanks,

 

-MD (mme)


  • 0

#100 Pasty

Pasty

    GMC Member

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

Posted 05 May 2013 - 01:06 AM

MDU crashes in Game Maker: Studio are related to a bug that crashes the runner if parameter_string(0) is used. This should be fixed pretty soon, hopefully.

 

In the meantime, if you want to use MDU in Game Maker: Studio again, open the scr_mdu script and replace all instances of parameter_string(0) with parameter_string(1) and all instances of parameter_string(1) with parameter_string(2).


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users