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

Version Outdated Message


TheLordOfTheManor
 Share

Recommended Posts

I know a lot of people know this but I've been looking around and many game makers don't realize that instead of changing the MOTD to, "Version 5 is out please update to version 5" They can just make a message that says, "Your version is outdated please visit, mywebsite.com" or something along the lines of that. I have found a work-around to updating which is registering for a new character but you still won't be able to access your old character AND you won't be able to log back into that new character once you log out. So the game maker still wins. A work-around to that work-around would either be to code the outdated message on the register button OR after someone registers take them to the login screen rather than the create a character screen.

Anyways, here's the tutorial!

1) Write click on your EO, (I am using a fresh copy of 3.0) -> Click Properties -> Details

It should look like this:

![](http://i48.tinypic.com/dx1y09.png)

Now open the server in VB and head over to modConstants (you actually don't have to head over as you will see this on opening of the server in vb):

![](http://i45.tinypic.com/sfkle1.png)

Change this:

```

' Version constants

Public Const CLIENT_MAJOR As Byte = 1

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

```
To the new version of your client, for example I changed mine from V1.3 to V2.0\. So my new code will look like this:

![](http://i47.tinypic.com/30ax9np.png)

Or this:

```

' Version constants

Public Const CLIENT_MAJOR As Byte = 2

Public Const CLIENT_MINOR As Byte = 0

Public Const CLIENT_REVISION As Byte = 0

Public Const MAX_LINES As Long = 500 ' Used for frmServer.txtText

```

Try running EO and logging in, you will get this message:

![](http://i49.tinypic.com/2qiqzyv.png)

Open the client in vb.

Click on Project -> EO Properties -> Make

You will see this screen:

![](http://i47.tinypic.com/3461hd4.png)

Change the numbers to your server's new version like I did.

Now run your new client and there you go, you now have the up-to date version of your game!

![](http://i46.tinypic.com/bf11de.png)

Don't forget to compile in vb! File -> Make Eclipse Origins.exe
Link to comment
Share on other sites

The one thing bad about the version outdated is that lets say your version is 1.00 for client and server then you update both to 2.00 to add new features. Whoever has your old client can just use a resource hacker and change the version of the old to the new one and be able to play your game.
Link to comment
Share on other sites

> The one thing bad about the version outdated is that lets say your version is 1.00 for client and server then you update both to 2.00 to add new features. Whoever has your old client can just use a resource hacker and change the version of the old to the new one and be able to play your game.

That is true, unless you were to set version number in the code, then they can't do anything about it. But that's some coding that I can't do, so this is better than nothing.
Link to comment
Share on other sites

The images aren't broken anymore, I didn't even have to re-upload them. ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)

> This, or you can grab an updater and have a professional approach. Still, good work for figuring out some code.

Thanks, I just figured that this was some very useful code that no one seemed to use/notice.
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...