ProtocolNumbers.wiki
author Wuzzy
Sun, 02 Dec 2018 00:15:46 +0000
changeset 1630 ed5018237b13
parent 1583 a61996a726a8
child 1910 744187ae41c3
permissions -rw-r--r--
ProtocolNumbers: Add protocol numbers 57 and 58
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* ||
1630
ed5018237b13 ProtocolNumbers: Add protocol numbers 57 and 58
Wuzzy
parents: 1583
diff changeset
    18
|| 58 || 1.0.0-dev ||
ed5018237b13 ProtocolNumbers: Add protocol numbers 57 and 58
Wuzzy
parents: 1583
diff changeset
    19
|| 57 || 0.9.25 ||
1544
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    20
|| 56 || 0.9.25-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    21
|| 55 || 0.9.24 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    22
|| 54 || 0.9.24-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    23
|| 53 || 0.9.23 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    24
|| 52 || 0.9.23-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    25
|| 51 || 0.9.22 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    26
|| 50 || 0.9.22-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    27
|| 49 || 0.9.21 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    28
|| 48 || 0.9.21-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    29
|| 47 || 0.9.20 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    30
|| 46 || 0.9.20-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    31
|| 45 || 0.9.19 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    32
|| 44 || 0.9.19-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    33
|| 43 || 0.9.18 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    34
|| 42 || 0.9.18-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    35
|| 41 || 0.9.17 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    36
|| 40 || 0.9.17-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    37
|| 39 || 0.9.16 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    38
|| 38 || 0.9.16-dev ||
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    39
|| 37 || 0.9.15 ||
1544
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    40
|| 35 || 0.9.14.1 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    41
|| 34 || 0.9.15-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    42
|| 33 || 0.9.14 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    43
|| 32 || 0.9.14-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    44
|| 31 || 0.9.13 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    45
|| 30 || 0.9.13-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    46
|| 29 || 0.9.12 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    47
|| 28 || 0.9.12-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    48
|| 27 || 0.9.11 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    49
|| 26 || 0.9.11-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    50
|| 25 || 0.9.10 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    51
|| 24 || 0.9.10-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    52
|| 23 || 0.9.9 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    53
|| 22 || 0.9.9-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    54
|| 21 || 0.9.8 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    55
|| 20 || 0.9.8-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    56
|| 19 || 0.9.7 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    57
|| 17 || 0.9.7-dev ||
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    58
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    59
== Source ==
1542
f95894dd5aeb ProtocolNumbers: specify source
Wuzzy
parents: 1541
diff changeset
    60
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`.