sweetboy Posted February 12, 2014 Author Share Posted February 12, 2014 Hello i wanna ask is there a way to force player to update the game from updater when i upload new file at updater server? Link to comment Share on other sites More sharing options...
Sn0w Beast Posted February 12, 2014 Share Posted February 12, 2014 Depends on the engine you are using. Link to comment Share on other sites More sharing options...
coziboy Posted February 12, 2014 Share Posted February 12, 2014 i think you can make some modification with your client and servermake a file in client folder, called version.iniplace, for example, version=1 inside version.inithen in the client.vbp make some code to read the version.ini, then sent to the serverin the server, make some code inside server.vbp to read the client version, if not match, show a msg box to warn player that their version isn't updated.this is more simple and easier rather than change your client.exe version, but if you do this player can easily made some modification to get rid of updating client :angry:sorry for bad english :( Link to comment Share on other sites More sharing options...
sweetboy Posted February 14, 2014 Author Share Posted February 14, 2014 err yeah ._. currently the easy way is changing the client but it take too much byte in my updater Link to comment Share on other sites More sharing options...
abhi2011 Posted February 14, 2014 Share Posted February 14, 2014 I am basically restating CoziBoy:Use a versioning system. Here is an example of a version 1.0.1\. When the player logs in or registers connects to the server send the version info along with the other data. Make the server check the version with the current version. The current version should be stored with the server. When an update takes place increase the version number on the new client and on the server by 1\. Then upload the client. If the versions don't match up show a message saying it's outdated and asking the player whether the game should be updated and the make the game start the updater and shut itself down. Link to comment Share on other sites More sharing options...
sweetboy Posted February 14, 2014 Author Share Posted February 14, 2014 but it need to upload the update with client inside right? Link to comment Share on other sites More sharing options...
coziboy Posted February 15, 2014 Share Posted February 15, 2014 > I am basically restating CoziBoy:> > Use a versioning system. Here is an example of a version 1.0.1\. When the player logs in or registers connects to the server send the version info along with the other data. Make the server check the version with the current version. The current version should be stored with the server. > > When an update takes place increase the version number on the new client and on the server by 1\. Then upload the client. > > If the versions don't match up show a message saying it's outdated and asking the player whether the game should be updated and the make the game start the updater and shut itself down.no, i mean he could make a modification, so we don't use client versioning but he can use a external versioning.in example make a configuration file in txt, when the game start client read the version from txt file then send it to server to check the version of the client.so when every update is avaiable, we don't need to reupload the client to use versioning system, but just the txt file :Pi'll make the tutor later ;) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now