Forum C# Server is serving wrong version on my game code

Server is serving wrong version on my game code

Postby gbataille » July 24th, 2011, 5:00 am

I had a message type "start" that I commented out in a new version and my client is still receiving a "start"...

How is that possible?
gbataille
 
Posts: 2
Joined: July 20th, 2011, 8:17 pm

Re: Server is serving wrong version on my game code

Postby Oliver » July 28th, 2011, 8:31 pm

You need to supply more details about your scenario in order for us to help you -- is this via uploaded code or in the development server? which steps did you take?

Best,
Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Server is serving wrong version on my game code

Postby gbataille » July 28th, 2011, 9:57 pm

Hi,

It was uploaded code. I solved this by changing the name of my application.

Thanks
gbataille
 
Posts: 2
Joined: July 20th, 2011, 8:17 pm

Re: Server is serving wrong version on my game code

Postby Benjaminsen » July 31st, 2011, 9:23 pm

When uploading a new version of your server, existing rooms does not magically stop running. Thus rooms will run the old server version until the last user exists the room.

As you figured out yourself, a simple way to force all new users to connect to the new code, is to change the name you connect to.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to C#