Jump to content

Getting The Latest Server Version


Recommended Posts

Hi,

This post would be classified as a "Problem" under this "Problems, Bugs and Feedback" section. I am creating a new server on my Linux server and I wish to keep the server automatically updated. My current problem is that there is no way to directly see what the latest released server version is. I have three options here:

I don't know what I can do here. If someone could link me to a way of strictly finding the latest server version and not the client version (something that would be through altapi or similar would be nice) I would appreciate it. Thanks.

 

If this doesn't work out then I guess I will have to keep track of the version number in bullet #1 and check if it changed every time bullet #3 changes.

Link to comment

Currently there is no way of checking for the latest network version through an API that I'm aware of. This is definitely something that we should include though! For now I think it's best to set up a cronjob that checks for NETWORK_STREAM_VERSION in https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/openrct2/network/Network.cpp and if it's different from your current network version check if the commit has a build. If you can manage to get the launcher running, you only have to run it and it'll update the binaries, then launch OpenRCT2 with the commands you want again.

  • Informative 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...