Game Update Issues

Posted by JamSnack
Greetings friends.

As you can tell by the title I am having issues updating my game. Currently there is nothing but a change to the background that is serving as an update test. What I have done is drawn three variables on the screen so I can see their outcome, those variables being if there is an update available (gms_update_check()), the update progress (gms_update_progress()), and if the update has finished installation (gms_update_isfinished()). The current results are that gms_update_check returns 1 or 0 based on the update version, but the progress never increases, thus never ending in a completed installation.

I have made sure that the update information is not being called before that information arrives and believe to have narrowed down the problem to game data for the update not actually being found and sent to my computer. My reasoning is that I don't actually know if inserting my game's identifier is enough for the server to obtain the newest version, or even a version in general. I would li

Replies (7)

Last message on 12 Dec 2017

JamSnack (Topicstarter) on 26 Nov 2017, 16:30:42
I believe that I have found that my initial worries have been proven correct. However I am still unsure of how to fix them. The problem is simple, the download URL given to me is either faulty or I have missed a requirement that is meant to place your game up for download. Basically, whenever I enter my game's download URL into my preferred search engine, it sends me to a page stating that my URL is faulty (Download Failed). Therefore this is the reason that Game Maker Server is not updating, because the URL sent back to the game does not contain proper information or any information at all.

Thank you for your time.
JamSnack (Topicstarter) on 26 Nov 2017, 05:37:58
I would like to know the following to help with my problem:
1) How does the server obtain your game's information/files?
2) How can I access this/know that the file on the server is up-to-date with what I am trying to download?
3) Have I missed a step in the updating process?

Thank you for your time.

P.S., you can help me because I am not making an Undertale Online game :PP
JamSnack (Topicstarter) on 29 Nov 2017, 02:58:44

I figured out how to implement a download URL, but now it seems that the game is not receiving the new file at all. I used a dropbox link
JamSnack (Topicstarter) on 29 Nov 2017, 03:37:29

The game now becomes unresponsive for a long period of time once the update starts. The values for the update progress do not change and the game remains unresponsive until it disconnects from the server, no update completed.

I am becoming upset with the silence of this community and have decided I will try my best to answer as many questions as I can, as I am fond of this engine and think that it could bring about some amazing creations.
Size43 (Administrator) on 3 Dec 2017, 12:55:08

The game will try to download from the URL you set for the download on this page. The download should be an exe, and cannot be zipped.

Additionally, due to the HTTP library used in GameMaker Server, you cannot use HTTPS links. You'll need to find a file host that offers direct download links over HTTP. (Dropbox does not offer direct downloads)

Also note that the updater only works on the Dll or GM8 version of the extension.
JamSnack (Topicstarter) on 10 Dec 2017, 03:17:25

I haven't checked but I do not remember seeing this information apart of the documentation and it seems pretty valuable to me. I would like to see it added just in case it isn't already there.

Also, could you give me an example of what a working file host would be? I noticed this didn't work on (for obvious reasons but that was just a test) and I was sure I was doing something wrong when it didn't work on Dropbox. I would like to see a small list of things people can put their files on (so they have an option if they aren't sure what works and doesn't work).
Size43 (Administrator) on 12 Dec 2017, 12:43:28

I did some searching and found this site that still offers hosting without https:
Hosting without HTTPS is not very common anymore, and unfortunately because of the delays in the rewrite GameMaker Server is a bit lacking in this area.