Skip to content

[v4.4.3] Compatibility between client and server versions

Compare
Choose a tag to compare
@evolutionleo evolutionleo released this 29 Dec 17:35
· 93 commits to main since this release

This minor release introduces a new feature for the server - it now fetches clients' GAME_VERSION and checks it (using the "semver" npm package) against its own config.meta.compatible_game_versions, which you can edit inside the config.js/ts file.
It then kicks the client if their version is out of date (not compatible with the server)

(As of now this feature does not work for the js/web client, bc I'm too lazy to implement that lol)

Also, looks like somewhere along the way a GameMaker update broke dual instances, so I fixed that by swapping the extension used to execute shell commands with the amazing YellowAfterlife's execute_shell_simple (the previous one used was also written by him btw lol)

So, uhh, Enjoy!
...and have a Happy New Year!

- Evoleo