ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/doc/protocol.html
(Generate patch)

Comparing kgsueme/doc/protocol.html (file contents):
Revision 1.38 by pcg, Tue Aug 5 22:40:10 2003 UTC vs.
Revision 1.39 by pcg, Sat Aug 16 16:17:52 2003 UTC

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.38 $</h1> 25<h1>$Revision: 1.39 $</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
2010 </td> 2010 </td>
2011 </tr> 2011 </tr>
2012 </table> 2012 </table>
2013 2013
2014 <h4> 2014 <h4>
2015 <a name="C430a"></a>ORIGIN: CLIENT;
2016 MESSAGE: load_game</h4>
2017 NUMERIC TYPE (hex): 430a<p>
2018 Load an existing game into a room(?)
2019 There is no indication that a new game is there except
2020 for a upd_observers message with your name in it. Which means
2021 you have to watch upd_observers messages that are not for any
2022 currently open game and open one. Ugh.
2023 </p>
2024 <table border="1" width="100%">
2025 <tr>
2026 <th width="10%">NAME</th>
2027 <th width="8%">TYPE</th>
2028 <th width="4%">VALUE</th>
2029 <th>DESCRIPTION</th>
2030 <th width="10%">GUARD</th>
2031 </tr>
2032 <tr>
2033 <td>channel</td>
2034 <td>U16</td>
2035 <td> </td>
2036 <td>
2037 The room to load the game into.
2038
2039  
2040 </td>
2041 <td>
2042 <b></b>
2043  
2044 </td>
2045 </tr>
2046 <tr>
2047 <td>timestamp</td>
2048 <td>timestamp</td>
2049 <td> </td>
2050 <td>
2051 From the game record.
2052
2053  
2054 </td>
2055 <td>
2056 <b></b>
2057  
2058 </td>
2059 </tr>
2060 <tr>
2061 <td>user</td>
2062 <td>username</td>
2063 <td> </td>
2064 <td>
2065
2066  
2067 </td>
2068 <td>
2069 <b></b>
2070  
2071 </td>
2072 </tr>
2073 <tr>
2074 <td>flags</td>
2075 <td>U8</td>
2076 <td> </td>
2077 <td>
2078 0 == public, 2 == private
2079
2080  
2081 </td>
2082 <td>
2083 <b></b>
2084  
2085 </td>
2086 </tr>
2087 </table>
2088
2089 <h4>
2015 <a name="C430b"></a>ORIGIN: CLIENT; 2090 <a name="C430b"></a>ORIGIN: CLIENT;
2016 MESSAGE: req_games</h4> 2091 MESSAGE: req_games</h4>
2017 NUMERIC TYPE (hex): 430b<p> 2092 NUMERIC TYPE (hex): 430b<p>
2018 Request to update room game list (send this once per minute to get 2093 Request to update room game list (send this once per minute to get
2019 updated). Results in upd_games messages. 2094 updated). Results in upd_games messages.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines