… | |
… | |
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.64 $</h1> |
25 | <h1>$Revision: 1.65 $</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 |
… | |
… | |
2650 | |
2650 | |
2651 | <h4> |
2651 | <h4> |
2652 | <a name="C440d"></a>ORIGIN: CLIENT; |
2652 | <a name="C440d"></a>ORIGIN: CLIENT; |
2653 | MESSAGE: add_time</h4> |
2653 | MESSAGE: add_time</h4> |
2654 | NUMERIC TYPE (hex): 440d<p> |
2654 | NUMERIC TYPE (hex): 440d<p> |
2655 | Not checked. |
2655 | <p>Adds the given amount of time to your opponent's clock.</p> |
2656 | |
|
|
2657 | </p> |
2656 | </p> |
2658 | <table border="1" width="100%"> |
2657 | <table border="1" width="100%"> |
2659 | <tr> |
2658 | <tr> |
2660 | <th width="10%">NAME</th> |
2659 | <th width="10%">NAME</th> |
2661 | <th width="8%">TYPE</th> |
2660 | <th width="8%">TYPE</th> |
2662 | <th width="4%">VALUE</th> |
2661 | <th width="4%">VALUE</th> |
… | |
… | |
3066 | </td> |
3065 | </td> |
3067 | </tr> |
3066 | </tr> |
3068 | <tr> |
3067 | <tr> |
3069 | <td>rules</td> |
3068 | <td>rules</td> |
3070 | <td>rules</td> |
3069 | <td>rules</td> |
|
|
3070 | <td> </td> |
|
|
3071 | <td> |
|
|
3072 | |
|
|
3073 | |
|
|
3074 | </td> |
|
|
3075 | <td> |
|
|
3076 | <b></b> |
|
|
3077 | |
|
|
3078 | </td> |
|
|
3079 | </tr> |
|
|
3080 | </table> |
|
|
3081 | |
|
|
3082 | <h4> |
|
|
3083 | <a name="C442d"></a>ORIGIN: CLIENT; |
|
|
3084 | MESSAGE: more_comments</h4> |
|
|
3085 | NUMERIC TYPE (hex): 442d<p> |
|
|
3086 | <p>Quite brokenly, the want this to send you more comments. |
|
|
3087 | Reply to <a href="#S442d">more_comments(442d)</a>.</p> |
|
|
3088 | </p> |
|
|
3089 | <table border="1" width="100%"> |
|
|
3090 | <tr> |
|
|
3091 | <th width="10%">NAME</th> |
|
|
3092 | <th width="8%">TYPE</th> |
|
|
3093 | <th width="4%">VALUE</th> |
|
|
3094 | <th>DESCRIPTION</th> |
|
|
3095 | <th width="10%">GUARD</th> |
|
|
3096 | </tr> |
|
|
3097 | <tr> |
|
|
3098 | <td>channel</td> |
|
|
3099 | <td>U16</td> |
|
|
3100 | <td> </td> |
|
|
3101 | <td> |
|
|
3102 | |
|
|
3103 | |
|
|
3104 | </td> |
|
|
3105 | <td> |
|
|
3106 | <b></b> |
|
|
3107 | |
|
|
3108 | </td> |
|
|
3109 | </tr> |
|
|
3110 | <tr> |
|
|
3111 | <td>node</td> |
|
|
3112 | <td>U32</td> |
3071 | <td> </td> |
3113 | <td> </td> |
3072 | <td> |
3114 | <td> |
3073 | |
3115 | |
3074 | |
3116 | |
3075 | </td> |
3117 | </td> |
… | |
… | |
7544 | </td> |
7586 | </td> |
7545 | </tr> |
7587 | </tr> |
7546 | </table> |
7588 | </table> |
7547 | |
7589 | |
7548 | <h4> |
7590 | <h4> |
|
|
7591 | <a name="S442d"></a>ORIGIN: SERVER; |
|
|
7592 | MESSAGE: more_comments</h4> |
|
|
7593 | NUMERIC TYPE (hex): 442d<p> |
|
|
7594 | <p>Quite brokenly, the server sends you this to make you ask for more comments. |
|
|
7595 | Reply with <a href="#S442d">more_comments(442d)</a>.</p> |
|
|
7596 | </p> |
|
|
7597 | <table border="1" width="100%"> |
|
|
7598 | <tr> |
|
|
7599 | <th width="10%">NAME</th> |
|
|
7600 | <th width="8%">TYPE</th> |
|
|
7601 | <th width="4%">VALUE</th> |
|
|
7602 | <th>DESCRIPTION</th> |
|
|
7603 | <th width="10%">GUARD</th> |
|
|
7604 | </tr> |
|
|
7605 | <tr> |
|
|
7606 | <td>channel</td> |
|
|
7607 | <td>U16</td> |
|
|
7608 | <td> </td> |
|
|
7609 | <td> |
|
|
7610 | |
|
|
7611 | |
|
|
7612 | </td> |
|
|
7613 | <td> |
|
|
7614 | <b></b> |
|
|
7615 | |
|
|
7616 | </td> |
|
|
7617 | </tr> |
|
|
7618 | <tr> |
|
|
7619 | <td>node</td> |
|
|
7620 | <td>U32</td> |
|
|
7621 | <td> </td> |
|
|
7622 | <td> |
|
|
7623 | |
|
|
7624 | |
|
|
7625 | </td> |
|
|
7626 | <td> |
|
|
7627 | <b></b> |
|
|
7628 | |
|
|
7629 | </td> |
|
|
7630 | </tr> |
|
|
7631 | </table> |
|
|
7632 | |
|
|
7633 | <h4> |
7549 | <a name="S442f"></a>ORIGIN: SERVER; |
7634 | <a name="S442f"></a>ORIGIN: SERVER; |
7550 | MESSAGE: new_game</h4> |
7635 | MESSAGE: new_game</h4> |
7551 | NUMERIC TYPE (hex): 442f<p> |
7636 | NUMERIC TYPE (hex): 442f<p> |
7552 | <p>Notifies the client that a new game has been created. This |
7637 | <p>Notifies the client that a new game has been created. This |
7553 | message is sent long *after* upd_games and upd_observers etc. |
7638 | message is sent long *after* upd_games and upd_observers etc. |