ProtocolNumbers.wiki
author Wuzzy <Wuzzy@disroot.org>
Mon, 27 May 2024 19:59:44 +0200
changeset 2270 22a964a1fe85
parent 1994 11cd96da0d02
permissions -rw-r--r--
Add Worms/Hedgewars taunt conversions
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
1994
11cd96da0d02 ProtocolNumbers: Add proto numbers 59, 60
Wuzzy
parents: 1911
diff changeset
     5
Hedgewars uses *protocol numbers* to encode different Hedgewars versions. The protocol number is mainly used on the server. It is important because players have to be on the same version to play together. The protocol number also used in the file name of demos (e.g. “DemoName.57.hwd”). 
1543
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* ||
1994
11cd96da0d02 ProtocolNumbers: Add proto numbers 59, 60
Wuzzy
parents: 1911
diff changeset
    18
|| 60 || 1.0.1-dev ||
11cd96da0d02 ProtocolNumbers: Add proto numbers 59, 60
Wuzzy
parents: 1911
diff changeset
    19
|| 59 || 1.0.0 ||
1630
ed5018237b13 ProtocolNumbers: Add protocol numbers 57 and 58
Wuzzy
parents: 1583
diff changeset
    20
|| 58 || 1.0.0-dev ||
ed5018237b13 ProtocolNumbers: Add protocol numbers 57 and 58
Wuzzy
parents: 1583
diff changeset
    21
|| 57 || 0.9.25 ||
1544
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    22
|| 56 || 0.9.25-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    23
|| 55 || 0.9.24 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    24
|| 54 || 0.9.24-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    25
|| 53 || 0.9.23 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    26
|| 52 || 0.9.23-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    27
|| 51 || 0.9.22 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    28
|| 50 || 0.9.22-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    29
|| 49 || 0.9.21 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    30
|| 48 || 0.9.21-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    31
|| 47 || 0.9.20 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    32
|| 46 || 0.9.20-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    33
|| 45 || 0.9.19 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    34
|| 44 || 0.9.19-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    35
|| 43 || 0.9.18 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    36
|| 42 || 0.9.18-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    37
|| 41 || 0.9.17 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    38
|| 40 || 0.9.17-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    39
|| 39 || 0.9.16 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    40
|| 38 || 0.9.16-dev ||
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    41
|| 37 || 0.9.15 ||
1544
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    42
|| 35 || 0.9.14.1 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    43
|| 34 || 0.9.15-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    44
|| 33 || 0.9.14 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    45
|| 32 || 0.9.14-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    46
|| 31 || 0.9.13 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    47
|| 30 || 0.9.13-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    48
|| 29 || 0.9.12 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    49
|| 28 || 0.9.12-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    50
|| 27 || 0.9.11 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    51
|| 26 || 0.9.11-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    52
|| 25 || 0.9.10 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    53
|| 24 || 0.9.10-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    54
|| 23 || 0.9.9 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    55
|| 22 || 0.9.9-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    56
|| 21 || 0.9.8 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    57
|| 20 || 0.9.8-dev ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    58
|| 19 || 0.9.7 ||
9c5a4288acff ProtocolNumbers: Reverse list
Wuzzy
parents: 1543
diff changeset
    59
|| 17 || 0.9.7-dev ||
1540
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    60
badf96a1bf1c Add list of protocol numbers
Wuzzy <almikes@aol.com>
parents:
diff changeset
    61
== Source ==
1542
f95894dd5aeb ProtocolNumbers: specify source
Wuzzy
parents: 1541
diff changeset
    62
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`.