Updating your game
GameMaker Server has a built-in function to update your game. If you're not very familiar with GML, consider using [gms_show_update] instead.
The process of updating
is called, the given version will be sent to the server. The server check whether the version number saved on the site is larger. If that's the case, the download URL will be sent to the client.
When calling gms_update_check
, the DLL checks whether it has received an update-url. If so, gms_update_check
returns 1. Keep in mind that receiving update information may take some time, so make sure to check a few seconds after connecting, when the update information has been received.
Applying the update
After calling gms_update_start
, the file will be downloaded. This can take some time, so the download runs asynchronously. gms_update_apply
finishes the update, by replacing the game's files, and restarting the game.
Last message on 19 Feb 2017