Network protocol change/compatibility

For people working on the C++ code.
wziard
Member
 
Posts: 42
Joined: Mon Oct 29, 2018 19:12

Network protocol change/compatibility

by wziard » Fri Nov 30, 2018 13:16

Quick question about compatibility.

I yesterday updated my 5.0.0 server, and it looks there was an incompatible change in the network protocol, I think because of this commit:

https://github.com/minetest/minetest/co ... 32d59e5596

Is this normal for the dev version? Or should the protocol version be bumped so the client can detect it and give a sane error message (like when you connect a 5.0.0 client to a 4.17 server or v.v.)?

I can totally understand if it is normal for the dev version (it is the dev version after all). I was just wondering because if there should be a version bum I'll report it in the bug tracker.
 

User avatar
rubenwardy
Moderator
 
Posts: 5544
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: Network protocol change/compatibility

by Krock » Fri Nov 30, 2018 17:59

Can confirm. It also happened in the past that the protocol version increased during the development builds, but there they were backwards-compatible so the players never noticed any changes.

FYI: There's no "4.17" server. Also 5.x is meant to be incompatible with 0.4.x
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

wziard
Member
 
Posts: 42
Joined: Mon Oct 29, 2018 19:12

Re: Network protocol change/compatibility

by wziard » Fri Nov 30, 2018 20:24

FYI: There's no "4.17" server. Also 5.x is meant to be incompatible with 0.4.x

Arg. I keep getting confused. Not so strange imho when the jump is from 0.4 to 5.0 :-D. I think I wrote 0.5 when I meant 5.0 as well somewhere.

But what I meant is that 5.x from yesterday is incompatible with 5.x from the day before. I'm easily confused by version numbering, but no so easily that I hadn't figured out the incompatibility between 0.4.x an 5.x :-)

But I take it from rubenwardy that it's normal.
 

User avatar
paramat
Developer
 
Posts: 3240
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: Network protocol change/compatibility

by paramat » Wed Dec 05, 2018 08:05

Yes normal for 5.0.0 development because it is a release that breaks network compatibility, so many changes are being made that do that.
 

User avatar
Linuxdirk
Member
 
Posts: 1654
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: Network protocol change/compatibility

by Linuxdirk » Wed Dec 05, 2018 09:30

wziard wrote:But what I meant is that 5.x from yesterday is incompatible with 5.x from the day before.

It's a development version meant for testing environments. If it's incompatible delete world and start over with testing the version.
 


Return to Partly official engine development



Who is online

Users browsing this forum: No registered users and 2 guests