… | |
… | |
20 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 | --> |
21 | --> |
22 | </head> |
22 | </head> |
23 | <body> |
23 | <body> |
24 | |
24 | |
25 | <h1>$Revision: 1.40 $</h1> |
25 | <h1>$Revision: 1.41 $</h1> |
26 | |
26 | |
27 | <h1>KGS Protocol Description</h1> |
27 | <h1>KGS Protocol Description</h1> |
28 | |
28 | |
29 | <p>This XML document describes the KGS protocol. It is also used |
29 | <p>This XML document describes the KGS protocol. It is also used |
30 | to automatically generate the perl parser for all the messages and |
30 | to automatically generate the perl parser for all the messages and |
… | |
… | |
1023 | </td> |
1023 | </td> |
1024 | </tr> |
1024 | </tr> |
1025 | <tr> |
1025 | <tr> |
1026 | <td>ver_micro</td> |
1026 | <td>ver_micro</td> |
1027 | <td>U32</td> |
1027 | <td>U32</td> |
1028 | <td>1 </td> |
1028 | <td>2 </td> |
1029 | <td> |
1029 | <td> |
1030 | |
1030 | |
1031 | |
1031 | |
1032 | </td> |
1032 | </td> |
1033 | <td> |
1033 | <td> |
… | |
… | |
2011 | |
2011 | |
2012 | <h4> |
2012 | <h4> |
2013 | <a name="C4305"></a>ORIGIN: CLIENT; |
2013 | <a name="C4305"></a>ORIGIN: CLIENT; |
2014 | MESSAGE: new_game</h4> |
2014 | MESSAGE: new_game</h4> |
2015 | NUMERIC TYPE (hex): 4305<p> |
2015 | NUMERIC TYPE (hex): 4305<p> |
2016 | Unclear. Start a new game. |
2016 | <p>Unclear. Start a new game. |
|
|
2017 | <p>Clone: 00000: 20202020 20202020 20202020 20203238 28 |
|
|
2018 | 00010: 9d000543 0d000000 00000000 00130201 ...C............ |
|
|
2019 | 00020: 0000ffff ffffffff ffffffff 00000000 ..ÿÿÿÿÿÿÿÿÿÿ....</p> |
|
|
2020 | </p> |
2017 | </p> |
2021 | </p> |
2018 | <table border="1" width="100%"> |
2022 | <table border="1" width="100%"> |
2019 | <tr> |
2023 | <tr> |
2020 | <th width="10%">NAME</th> |
2024 | <th width="10%">NAME</th> |
2021 | <th width="8%">TYPE</th> |
2025 | <th width="8%">TYPE</th> |
2022 | <th width="4%">VALUE</th> |
2026 | <th width="4%">VALUE</th> |
… | |
… | |
6631 | </td> |
6635 | </td> |
6632 | </tr> |
6636 | </tr> |
6633 | </table> |
6637 | </table> |
6634 | |
6638 | |
6635 | <h4> |
6639 | <h4> |
|
|
6640 | <a name="C442f"></a>ORIGIN: CLIENT; |
|
|
6641 | MESSAGE: new_game</h4> |
|
|
6642 | NUMERIC TYPE (hex): 442f<p> |
|
|
6643 | <p>Notifies the client that a new game has been created. This |
|
|
6644 | message is sent long *after* upd_observers etc. has been received. |
|
|
6645 | *sigh*</p> |
|
|
6646 | </p> |
|
|
6647 | <table border="1" width="100%"> |
|
|
6648 | <tr> |
|
|
6649 | <th width="10%">NAME</th> |
|
|
6650 | <th width="8%">TYPE</th> |
|
|
6651 | <th width="4%">VALUE</th> |
|
|
6652 | <th>DESCRIPTION</th> |
|
|
6653 | <th width="10%">GUARD</th> |
|
|
6654 | </tr> |
|
|
6655 | <tr> |
|
|
6656 | <td>channel</td> |
|
|
6657 | <td>U16</td> |
|
|
6658 | <td> </td> |
|
|
6659 | <td> |
|
|
6660 | |
|
|
6661 | |
|
|
6662 | </td> |
|
|
6663 | <td> |
|
|
6664 | <b></b> |
|
|
6665 | |
|
|
6666 | </td> |
|
|
6667 | </tr> |
|
|
6668 | <tr> |
|
|
6669 | <td>id</td> |
|
|
6670 | <td>U16</td> |
|
|
6671 | <td> </td> |
|
|
6672 | <td> |
|
|
6673 | |
|
|
6674 | |
|
|
6675 | </td> |
|
|
6676 | <td> |
|
|
6677 | <b></b> |
|
|
6678 | |
|
|
6679 | </td> |
|
|
6680 | </tr> |
|
|
6681 | </table> |
|
|
6682 | |
|
|
6683 | <h4> |
6636 | <a name="S4433"></a>ORIGIN: SERVER; |
6684 | <a name="S4433"></a>ORIGIN: SERVER; |
6637 | MESSAGE: req_result</h4> |
6685 | MESSAGE: req_result</h4> |
6638 | NUMERIC TYPE (hex): 4433<p> |
6686 | NUMERIC TYPE (hex): 4433<p> |
6639 | Unclear. |
6687 | Unclear. |
6640 | </p> |
6688 | </p> |