Changes between Version 7 and Version 8 of ObbyProtocol
- Timestamp:
- 06/14/06 19:22:12 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ObbyProtocol
v7 v8 42 42 }}} 43 43 44 The obby_sync_init command tells the client how many net6_client_join commands to expect. The fields of net6_client_join are net6 user id, username, encryption flag (in this context, always true), Obby user id, and Obby colour.44 The obby_sync_init command tells the client how many net6_client_join commands to expect. The fields of net6_client_join are net6 user ID, username, encryption flag (in this context, always true), Obby user ID, and Obby colour. 45 45 46 46 There is a difference between a net6 user and a obby user. A net6 user is a client that has connected to the server and performed a login. Each net6 user has a unique ID (''11'' in the example above, or hexadecimal ''b''). A obby user is a user participating at an obby session and has also a unique ID (''1''). The difference is that the obby user is not discarded when the client exits. When he rejoins with the same name he is recognized as an already existing user and is assigned the ID that user had before. obby users are also serialized when storing an obby session. … … 61 61 }}} 62 62 63 After all chunks are sen d, the client's subscription is broadcastedto all other clients:63 After all chunks are sent, the client's subscription is broadcast to all other clients: 64 64 65 65 {{{
