Network protocol change/compatibility

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

Network protocol change/compatibility

by wziard » Post

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: 6194
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Network protocol change/compatibility

by rubenwardy » Post

This is normal for a dev version

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

Re: Network protocol change/compatibility

by Krock » Post

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
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

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

Re: Network protocol change/compatibility

by wziard » Post

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: 3662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Network protocol change/compatibility

by paramat » Post

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: 2555
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Network protocol change/compatibility

by Linuxdirk » Post

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest