… | |
… | |
19 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | --> |
20 | --> |
21 | </head> |
21 | </head> |
22 | <body> |
22 | <body> |
23 | |
23 | |
24 | <h1>$Revision: 1.34 $</h1> |
24 | <h1>$Revision: 1.35 $</h1> |
25 | |
25 | |
26 | <h1>KGS Protocol Description</h1> |
26 | <h1>KGS Protocol Description</h1> |
27 | |
27 | |
28 | <p>This XML document describes the KGS protocol. It is also used |
28 | <p>This XML document describes the KGS protocol. It is also used |
29 | to automatically generate the perl parser for all the messages and |
29 | to automatically generate the perl parser for all the messages and |
… | |
… | |
1641 | </td> |
1641 | </td> |
1642 | </tr> |
1642 | </tr> |
1643 | </table> |
1643 | </table> |
1644 | |
1644 | |
1645 | <h4> |
1645 | <h4> |
|
|
1646 | <a name="C4405"></a>ORIGIN: CLIENT; |
|
|
1647 | MESSAGE: set_tree</h4> |
|
|
1648 | NUMERIC TYPE (hex): 4405<p> |
|
|
1649 | Possibly upload an initial game to an empty room. Not tested. |
|
|
1650 | |
|
|
1651 | </p> |
|
|
1652 | <table border="1" width="100%"> |
|
|
1653 | <tr> |
|
|
1654 | <th width="10%">NAME</th> |
|
|
1655 | <th width="10%">TYPE</th> |
|
|
1656 | <th width="15%">DEFAULT</th> |
|
|
1657 | <th>DESCRIPTION</th> |
|
|
1658 | <th width="15%">DEC-GUARD</th> |
|
|
1659 | </tr> |
|
|
1660 | <tr> |
|
|
1661 | <td>channel</td> |
|
|
1662 | <td>U16</td> |
|
|
1663 | <td> </td> |
|
|
1664 | <td> |
|
|
1665 | |
|
|
1666 | |
|
|
1667 | </td> |
|
|
1668 | <td> |
|
|
1669 | <b></b> |
|
|
1670 | |
|
|
1671 | </td> |
|
|
1672 | </tr> |
|
|
1673 | <tr> |
|
|
1674 | <td>tree</td> |
|
|
1675 | <td>TREE</td> |
|
|
1676 | <td> </td> |
|
|
1677 | <td> |
|
|
1678 | |
|
|
1679 | |
|
|
1680 | </td> |
|
|
1681 | <td> |
|
|
1682 | <b></b> |
|
|
1683 | |
|
|
1684 | </td> |
|
|
1685 | </tr> |
|
|
1686 | </table> |
|
|
1687 | |
|
|
1688 | <h4> |
1646 | <a name="C4406"></a>ORIGIN: CLIENT; |
1689 | <a name="C4406"></a>ORIGIN: CLIENT; |
1647 | MESSAGE: upd_tree</h4> |
1690 | MESSAGE: upd_tree</h4> |
1648 | NUMERIC TYPE (hex): 4406<p> |
1691 | NUMERIC TYPE (hex): 4406<p> |
1649 | Upload a partial game tree to the server. This is used to send moves |
1692 | Upload a partial game tree to the server. This is used to send moves |
1650 | and even in-game comments to the server. For the comments, the |
1693 | and even in-game comments to the server. For the comments, the |
… | |
… | |
2099 | <th width="15%">DEC-GUARD</th> |
2142 | <th width="15%">DEC-GUARD</th> |
2100 | </tr> |
2143 | </tr> |
2101 | <tr> |
2144 | <tr> |
2102 | <td>channel</td> |
2145 | <td>channel</td> |
2103 | <td>U16</td> |
2146 | <td>U16</td> |
|
|
2147 | <td> </td> |
|
|
2148 | <td> |
|
|
2149 | |
|
|
2150 | |
|
|
2151 | </td> |
|
|
2152 | <td> |
|
|
2153 | <b></b> |
|
|
2154 | |
|
|
2155 | </td> |
|
|
2156 | </tr> |
|
|
2157 | </table> |
|
|
2158 | |
|
|
2159 | <h4> |
|
|
2160 | <a name="C4436"></a>ORIGIN: CLIENT; |
|
|
2161 | MESSAGE: msg_game</h4> |
|
|
2162 | NUMERIC TYPE (hex): 4436<p> |
|
|
2163 | </p> |
|
|
2164 | <table border="1" width="100%"> |
|
|
2165 | <tr> |
|
|
2166 | <th width="10%">NAME</th> |
|
|
2167 | <th width="10%">TYPE</th> |
|
|
2168 | <th width="15%">DEFAULT</th> |
|
|
2169 | <th>DESCRIPTION</th> |
|
|
2170 | <th width="15%">DEC-GUARD</th> |
|
|
2171 | </tr> |
|
|
2172 | <tr> |
|
|
2173 | <td>channel</td> |
|
|
2174 | <td>U16</td> |
|
|
2175 | <td> </td> |
|
|
2176 | <td> |
|
|
2177 | |
|
|
2178 | |
|
|
2179 | </td> |
|
|
2180 | <td> |
|
|
2181 | <b></b> |
|
|
2182 | |
|
|
2183 | </td> |
|
|
2184 | </tr> |
|
|
2185 | <tr> |
|
|
2186 | <td>message</td> |
|
|
2187 | <td>STRING</td> |
2104 | <td> </td> |
2188 | <td> </td> |
2105 | <td> |
2189 | <td> |
2106 | |
2190 | |
2107 | |
2191 | |
2108 | </td> |
2192 | </td> |