Page 1 of 1

Network protocol change/compatibility

PostPosted: Fri Nov 30, 2018 13:16
by wziard
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.

Re: Network protocol change/compatibility

PostPosted: Fri Nov 30, 2018 14:08
by rubenwardy
This is normal for a dev version

Re: Network protocol change/compatibility

PostPosted: Fri Nov 30, 2018 17:59
by Krock
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

Re: Network protocol change/compatibility

PostPosted: Fri Nov 30, 2018 20:24
by wziard
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.

Re: Network protocol change/compatibility

PostPosted: Wed Dec 05, 2018 08:05
by paramat
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.

Re: Network protocol change/compatibility

PostPosted: Wed Dec 05, 2018 09:30
by Linuxdirk
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.