Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Update system


Growlith1223
 Share

Recommended Posts

Hello, I was wondering, is there a way to make it so when the client starts up, it checks to see if there is an update and if so it will open up the auto updater?It's kinda a hassle to keep telling players that there is a update available and you need to open the updater manually…plz help someone.
Link to comment
Share on other sites

He asked if there was a way for the client to check for updates.
Yes, there is.

In the client and server there's three constants:
CLIENT_MAJOR
CLIENT_MINOR
and CLIENT_REVISION.

If these values do not match on the client and server, the server will boot the player when they try to log in and say there's an update available.

Good luck!
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...