… | |
… | |
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.60 $</h1> |
25 | <h1>$Revision: 1.61 $</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 |
… | |
… | |
2932 | </tr> |
2932 | </tr> |
2933 | </table> |
2933 | </table> |
2934 | |
2934 | |
2935 | <h4> |
2935 | <h4> |
2936 | <a name="C4427"></a>ORIGIN: CLIENT; |
2936 | <a name="C4427"></a>ORIGIN: CLIENT; |
2937 | MESSAGE: move</h4> |
2937 | MESSAGE: game_move</h4> |
2938 | NUMERIC TYPE (hex): 4427<p> |
2938 | NUMERIC TYPE (hex): 4427<p> |
2939 | <p>Only during playing, moves.</p> |
2939 | <p>Only during playing, moves.</p> |
2940 | </p> |
2940 | </p> |
2941 | <table border="1" width="100%"> |
2941 | <table border="1" width="100%"> |
2942 | <tr> |
2942 | <tr> |
… | |
… | |
5795 | </tr> |
5795 | </tr> |
5796 | </table> |
5796 | </table> |
5797 | |
5797 | |
5798 | <h4> |
5798 | <h4> |
5799 | <a name="S0412"></a>ORIGIN: SERVER; |
5799 | <a name="S0412"></a>ORIGIN: SERVER; |
5800 | MESSAGE: game_error</h4> |
5800 | MESSAGE: already_playing</h4> |
5801 | NUMERIC TYPE (hex): 0412<p> |
5801 | NUMERIC TYPE (hex): 0412<p> |
5802 | Unable to create challenge. The channel is be optional. |
5802 | Unable to create new game. |
5803 | </p> |
5803 | </p> |
5804 | <table border="1" width="100%"> |
5804 | <table border="1" width="100%"> |
5805 | <tr> |
5805 | <tr> |
5806 | <th width="10%">NAME</th> |
5806 | <th width="10%">NAME</th> |
5807 | <th width="8%">TYPE</th> |
5807 | <th width="8%">TYPE</th> |
… | |
… | |
5821 | <b></b> |
5821 | <b></b> |
5822 | |
5822 | |
5823 | </td> |
5823 | </td> |
5824 | </tr> |
5824 | </tr> |
5825 | <tr> |
5825 | <tr> |
5826 | <td>channel</td> |
|
|
5827 | <td>U16</td> |
|
|
5828 | <td> </td> |
5826 | <td>cid</td> |
|
|
5827 | <td>CLIENTID16</td> |
5829 | <td> |
5828 | <td> </td> |
5830 | |
5829 | <td> |
|
|
5830 | |
5831 | |
5831 | |
5832 | </td> |
5832 | </td> |
5833 | <td> |
5833 | <td> |
5834 | <b></b> |
5834 | <b></b> |
5835 | |
5835 | |
… | |
… | |
6844 | </td> |
6844 | </td> |
6845 | </tr> |
6845 | </tr> |
6846 | </table> |
6846 | </table> |
6847 | |
6847 | |
6848 | <h4> |
6848 | <h4> |
|
|
6849 | <a name="S440c"></a>ORIGIN: SERVER; |
|
|
6850 | MESSAGE: out_of_time</h4> |
|
|
6851 | NUMERIC TYPE (hex): 440c<p> |
|
|
6852 | </p> |
|
|
6853 | <table border="1" width="100%"> |
|
|
6854 | <tr> |
|
|
6855 | <th width="10%">NAME</th> |
|
|
6856 | <th width="8%">TYPE</th> |
|
|
6857 | <th width="4%">VALUE</th> |
|
|
6858 | <th>DESCRIPTION</th> |
|
|
6859 | <th width="10%">GUARD</th> |
|
|
6860 | </tr> |
|
|
6861 | <tr> |
|
|
6862 | <td>channel</td> |
|
|
6863 | <td>U16</td> |
|
|
6864 | <td> </td> |
|
|
6865 | <td> |
|
|
6866 | |
|
|
6867 | |
|
|
6868 | </td> |
|
|
6869 | <td> |
|
|
6870 | <b></b> |
|
|
6871 | |
|
|
6872 | </td> |
|
|
6873 | </tr> |
|
|
6874 | <tr> |
|
|
6875 | <td>player</td> |
|
|
6876 | <td>U8</td> |
|
|
6877 | <td> </td> |
|
|
6878 | <td> |
|
|
6879 | |
|
|
6880 | |
|
|
6881 | </td> |
|
|
6882 | <td> |
|
|
6883 | <b></b> |
|
|
6884 | |
|
|
6885 | </td> |
|
|
6886 | </tr> |
|
|
6887 | </table> |
|
|
6888 | |
|
|
6889 | <h4> |
6849 | <a name="S440e"></a>ORIGIN: SERVER; |
6890 | <a name="S440e"></a>ORIGIN: SERVER; |
6850 | MESSAGE: req_undo</h4> |
6891 | MESSAGE: req_undo</h4> |
6851 | NUMERIC TYPE (hex): 440e<p> |
6892 | NUMERIC TYPE (hex): 440e<p> |
6852 | </p> |
6893 | </p> |
6853 | <table border="1" width="100%"> |
6894 | <table border="1" width="100%"> |