ProtocolNumbers.wiki
author Wuzzy
Tue, 23 Oct 2018 22:59:39 +0100
changeset 1583 a61996a726a8
parent 1582 640daac0b800
child 1630 ed5018237b13
permissions -rw-r--r--
ProtocolNumbers: use code style
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1580
944b942dab3d ProtocolNumbers: update summary
Wuzzy
parents: 1545
diff changeset
     1
#summary Explanation and list of protocol numbers
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
     2
1541
d0682a97ae91 ProtocolNumbers: Add heading
Wuzzy
parents: 1540
diff changeset
     3
= Protocol numbers =
d0682a97ae91 ProtocolNumbers: Add heading
Wuzzy
parents: 1540
diff changeset
     4
1543
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
     5
Hedgewars uses *protocol numbers* to encode different Hedgewars versions. The protocol number is mainly used on the server. The protocol number is important because players have to be on the same version to play together.
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
     6
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
     7
In Hedgewars, all versions without a “-dev” are called “stable” releases. These are the releases you find on the official Download page. Note that for some releases, the protocol number is not increased. This is the case for backwards-compatible bugfix releases. Thus, protocol number 55 is valid for 0.9.24 and 0.9.24.1.
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
     8
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
     9
A “-dev” in the version number means it is a version in *dev*elopment. This is not really a specific version, more like a shorthand. A version X.Y.Z-dev means that it could be a build of any commit after the previous stable relese but before the next stable release X.Y.Z.
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
    10
fde8ca72dcd4 ProtocolNumbers: Explain more stuff
Wuzzy
parents: 1542
diff changeset
    11
E.g. the development version before 0.9.24 is 0.9.24-dev.
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    12
1583
a61996a726a8 ProtocolNumbers: use code style
Wuzzy
parents: 1582
diff changeset
    13
Since 0.9.25-dev, you can run “`hwengine --protocol`” in the commandline to get the current protocol number of your installed Hedgewars.
1582
640daac0b800 ProtocolNumbers: Mention hwengine --protocol
Wuzzy
parents: 1580
diff changeset
    14
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    15
== List of protocol numbers ==
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    16
1545
97e1446efe89 ProtocolNumbers: Bold table heading
Wuzzy
parents: 1544
diff changeset
    17
|| *Protocol number* || *Version* ||
1544
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    18
|| 56 || 0.9.25-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    19
|| 55 || 0.9.24 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    20
|| 54 || 0.9.24-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    21
|| 53 || 0.9.23 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    22
|| 52 || 0.9.23-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    23
|| 51 || 0.9.22 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    24
|| 50 || 0.9.22-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    25
|| 49 || 0.9.21 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    26
|| 48 || 0.9.21-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    27
|| 47 || 0.9.20 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    28
|| 46 || 0.9.20-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    29
|| 45 || 0.9.19 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    30
|| 44 || 0.9.19-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    31
|| 43 || 0.9.18 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    32
|| 42 || 0.9.18-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    33
|| 41 || 0.9.17 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    34
|| 40 || 0.9.17-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    35
|| 39 || 0.9.16 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    36
|| 38 || 0.9.16-dev ||
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    37
|| 37 || 0.9.15 ||
1544
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    38
|| 35 || 0.9.14.1 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    39
|| 34 || 0.9.15-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    40
|| 33 || 0.9.14 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    41
|| 32 || 0.9.14-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    42
|| 31 || 0.9.13 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    43
|| 30 || 0.9.13-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    44
|| 29 || 0.9.12 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    45
|| 28 || 0.9.12-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    46
|| 27 || 0.9.11 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    47
|| 26 || 0.9.11-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    48
|| 25 || 0.9.10 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    49
|| 24 || 0.9.10-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    50
|| 23 || 0.9.9 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    51
|| 22 || 0.9.9-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    52
|| 21 || 0.9.8 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    53
|| 20 || 0.9.8-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    54
|| 19 || 0.9.7 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    55
|| 17 || 0.9.7-dev ||
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    56
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    57
== Source ==
1542
f95894dd5aeb ProtocolNumbers: specify source
Wuzzy
parents: 1541
diff changeset
    58
For an up-to-date version of the list, see [https://hg.hedgewars.org/hedgewars/file/default/gameServer/Utils.hs] and look for the function `protoNumber2ver`.