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

[REQ] 'An update is available' alert on game start up


NightmareX91
 Share

Recommended Posts

I've tried this but I can't get it working. I have a host for my files but I need to know how to make an alert that appears when you start up the game saying: 'Your game version is out of date! Run the Autoupdater or you may have missing files when playing!'. Could someone teach me how to do it?
Link to comment
Share on other sites

@Yami:

> Easiest way would be to change the client version and server constants for the version to different values each patch.. :) Or simply modify a patcher to check for updates, and launch your game afterwards.

What do you mean by 'Server constants for the version to different values'? When there is a text file with the client version the game reads? That is how its intended except it isn't working :C
Link to comment
Share on other sites

Server:
```
' Version constants
Public Const CLIENT_MAJOR As Byte = 3  < Change This
Public Const CLIENT_MINOR As Byte = 3
Public Const CLIENT_REVISION As Byte = 0
Public Const MAX_LINES As Long = 500 ' Used for frmServer.txtText
```Client:
File > Make ___.exe > Options >Major < Change this value
You must change this to server Major constans.
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...