… | |
… | |
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.26 $</h1> |
24 | <h1>$Revision: 1.27 $</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 |
… | |
… | |
1537 | </td> |
1537 | </td> |
1538 | </tr> |
1538 | </tr> |
1539 | </table> |
1539 | </table> |
1540 | |
1540 | |
1541 | <h4> |
1541 | <h4> |
1542 | <a name="S4405"></a>SEND |
1542 | <a name="S4406"></a>SEND |
1543 | MESSAGE set_tree</h4> |
1543 | MESSAGE upd_tree</h4> |
1544 | NUMERIC TYPE (hex): 4405<p> |
1544 | NUMERIC TYPE (hex): 4406<p> |
1545 | Upload a partial game tree to the server. This is used |
1545 | Upload a partial game tree to the server. This is used to send moves |
1546 | to send moves and even in-game comments to the server. For the comments, |
1546 | and even in-game comments to the server. For the comments, the |
1547 | the server prepends the username and rank. |
1547 | server prepends the username and rank. |
|
|
1548 | |
1548 | </p> |
1549 | </p> |
1549 | <table border="1" width="100%"> |
1550 | <table border="1" width="100%"> |
1550 | <tr> |
1551 | <tr> |
1551 | <th width="10%">NAME</th> |
1552 | <th width="10%">NAME</th> |
1552 | <th width="10%">TYPE</th> |
1553 | <th width="10%">TYPE</th> |
… | |
… | |
4490 | <b></b> |
4491 | <b></b> |
4491 | |
4492 | |
4492 | </td> |
4493 | </td> |
4493 | </tr> |
4494 | </tr> |
4494 | </table> |
4495 | </table> |
|
|
4496 | |
4495 | <h3>Game messages</h3> |
4497 | <h3>Game messages</h3> |
4496 | |
4498 | |
4497 | <h4> |
4499 | <h4> |
4498 | <a name="R4400"></a>RECV |
4500 | <a name="R4400"></a>RECV |
4499 | MESSAGE upd_chal</h4> |
4501 | MESSAGE upd_chal</h4> |