Server Type |
||||||||||||||
General Description | ||||||||||||||
This message provides various information about the server. | ||||||||||||||
|
||||||||||||||
Protocol 0.2 | ||||||||||||||
SERVERTYPE|JDuplicate#0.5#0.2 | ||||||||||||||
Protocol 1.0 | ||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Server Information |
||||||||||
General Description | ||||||||||
This message provides personalized information about the server. | ||||||||||
|
||||||||||
Protocol 0.2 | ||||||||||
SERVERINFO|Tukif Server#17/05/2004 | ||||||||||
Protocol 1.0 | ||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Welcome Message |
|||||||
General Description | |||||||
This message contains the server welcome message. | |||||||
|
|||||||
Protocol 0.2 | |||||||
WELCOMEMESSAGE|Welcome to our JDuplicate server! | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?> |
Server Userlist |
||||||||
General Description | ||||||||
This message contains the list of all users currently connected to the server. | ||||||||
|
||||||||
Protocol 0.2 | ||||||||
SERVERUSERLIST|Ahmad#Jim#Judge Hedd#O-Dog#Solal# | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Hall Userlist |
||||||||
General Description | ||||||||
This message contains the list of the hall users (ie not playing a game). | ||||||||
|
||||||||
Protocol 0.2 | ||||||||
HALLUSERLIST|Ahmad#Jim#Judge Hedd#O-Dog#Solal# | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Game Information |
|||||||||||||||||||||||||||||||||||||||||||||||||
General Description | |||||||||||||||||||||||||||||||||||||||||||||||||
This message provides all known information about a game running on the server. | |||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Protocol 0.2 | |||||||||||||||||||||||||||||||||||||||||||||||||
GAMEINFOS|ams's game#ams#120#97#duplicate#No word stealing please#8#INGAME#7#francais#ams&jim&judge hedd& | |||||||||||||||||||||||||||||||||||||||||||||||||
Protocol 1.0 | |||||||||||||||||||||||||||||||||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Server Gamelist |
||||||||
General Description | ||||||||
This message contains all running games on server. In fact, it is a list of game information. | ||||||||
|
||||||||
Protocol 0.2 | ||||||||
SERVERGAMELIST|Ahmad's Game#120#97#duplicate#No word stealing please#8#INGAME#7#francais#ams&Jim&Judge Hedd&~Luc's Game#Luc#60#60#anagram#I love graphics mode#4#WAITING#0#english#Luc&Solal&Ahmadeus&~ | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Server Predefined Games |
||||||||||||||||||
General Description | ||||||||||||||||||
This message contains a list of game settings available on the server (server preset combinations of gametypes, lettersets and dictionaries). | ||||||||||||||||||
|
||||||||||||||||||
Protocol 0.2 | ||||||||||||||||||
PREDEFINEDGAMESETTINGS|dupfr04&DUPLICATE&Duplicate Francais, ODS 2004#scren04&SCRABBLE&English Scrabble, OSD 2004# | ||||||||||||||||||
Protocol 1.0 | ||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
A Player Connects To Server |
|||||||||||||
General Description | |||||||||||||
This message indicates to hall users that a new player has connected to the server. | |||||||||||||
|
|||||||||||||
Protocol 0.2 | |||||||||||||
PLAYERCONNECTS|O-Dog#JDuplicate Console Client#0.3 | |||||||||||||
Protocol 1.0 | |||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Player Disconnects From Server |
||||||||||
General Description | ||||||||||
This message indicates to hall users that a player has left (disconnected from) the server. | ||||||||||
|
||||||||||
Protocol 0.2 | ||||||||||
PLAYERDISCONNECTS|Solal#I'm too bad to play with you | ||||||||||
Protocol 1.0 | ||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
A New Game Has Been Created On Server |
||||||||
General Description | ||||||||
This message indicates to hall users that a new game has been created on the server. | ||||||||
|
||||||||
Protocol 0.2 | ||||||||
NEWGAME|ams's game#120#97#English, OSPD 2004#No word stealing please#8#WAITING#0#francais#ams&jim&judge hedd& | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Game Ended On Server |
|||||||
General Description | |||||||
This message indicates to hall users that a game has ended. | |||||||
|
|||||||
Protocol 0.2 | |||||||
GAMEOVER|ams's game | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?> |
Chat Message |
|||||||||||
General Description | |||||||||||
This message contains chat text. This text will be sent to every player in the hall or in the current game (depending on wether the player is in the hall or in a game) | |||||||||||
|
|||||||||||
Protocol 0.2 | |||||||||||
CHAT|Jim#Hi everyone! | |||||||||||
Protocol 1.0 | |||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Whisper Message |
|||||||||||
General Description | |||||||||||
This message contains whisper text. Only the player to which the message is specifically sent to will receive the message. | |||||||||||
|
|||||||||||
Protocol 0.2 | |||||||||||
WHISPER|My Friend#Don't you think this guy sucks? | |||||||||||
Protocol 1.0 | |||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Chat Action Message |
|||||||||||
General Description | |||||||||||
This message contains a chat action. | |||||||||||
|
|||||||||||
Protocol 0.2 | |||||||||||
CHATACTION|O-Dog#believes JDuplicate is great! | |||||||||||
Protocol 1.0 | |||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Start Game Indication |
General Description |
This message indicates the start of the game. It does not contain any data. |
Protocol 0.2 |
STARTGAMEACK| |
Protocol 1.0 |
<?xml version="1.0" encoding="UTF-8"?> |
A Player Joins A Game |
||||||||||||||
General Description | ||||||||||||||
This message contains information about the player joining the current game. | ||||||||||||||
Usage | ||||||||||||||
This message is sent to all players connected to a game. Even the player joining the game receives This message; it's then used as a join ack. |
||||||||||||||
|
||||||||||||||
Protocol 0.2 | ||||||||||||||
PLAYERJOINSGAME|O-Dog#JDuplicate Console Client#0.3 | ||||||||||||||
Protocol 1.0 | ||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Hall Notice: A Player Joins A Game |
|||||||||||
General Description | |||||||||||
This message notifies the players in the hall that a player has joined a game on the server. This is mostly used by clients to properly update the hall userlist as well as eventual per-game userlist display. | |||||||||||
Usage | |||||||||||
This message is sent to all currently players in the hall.< | |||||||||||
|
|||||||||||
Protocol 0.2 | |||||||||||
HNPLAYERJOINSGAME|My Game#O-Dog | |||||||||||
Protocol 1.0 | |||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
A Player Leaves A Game |
|||||||||||
General Description | |||||||||||
This message indicates that a player left the game he was connected to and the reason for him parting. | |||||||||||
Usage | |||||||||||
This message is sent to the players connected to the game the player left. | |||||||||||
|
|||||||||||
Protocol 0.2 | |||||||||||
PLAYERLEAVESGAME|Solal#I'm too bad to play with you | |||||||||||
Protocol 1.0 | |||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Hall Notice: A Player Leaves A Game |
||||||||||||||
General Description | ||||||||||||||
This message notifies all hall users that a player has left a game so that the clients can update their hall userlist and eventual per-game userlists. | ||||||||||||||
Usage | ||||||||||||||
This message is sent to all currently players in the hall.< | ||||||||||||||
|
||||||||||||||
Protocol 0.2 | ||||||||||||||
HNPLAYERLEAVESGAME|hackers game#Solal#I'm too bad to play with you | ||||||||||||||
Protocol 1.0 | ||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Letterset |
|||||||||||||||||
General Description | |||||||||||||||||
This message contains the letterset used by the game. | |||||||||||||||||
Usage | |||||||||||||||||
This message is sent only if client requests game letterset. | |||||||||||||||||
|
|||||||||||||||||
Protocol 0.2 | |||||||||||||||||
LETTERSET|A&1&2#B&3&4#... | |||||||||||||||||
Protocol 1.0 | |||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Board Type |
|||||||||||||||||||||||||||||
General Description | |||||||||||||||||||||||||||||
This message describes the board's size and locations of the bonus squares. | |||||||||||||||||||||||||||||
Usage | |||||||||||||||||||||||||||||
This message is sent to any client requesting it. | |||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
Protocol 0.2 | |||||||||||||||||||||||||||||
NOT SUPPORTED | |||||||||||||||||||||||||||||
Protocol 1.0 | |||||||||||||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Current Game Hand |
||||||||
General Description | ||||||||
This message contains the current hand for this game. | ||||||||
Usage | ||||||||
Depending on game type, This message is sent to all players
or only to the player who's current turn is just starting. It can also be requested by the client. The server's answer would then be the hand currently associated to the player who has made the request. |
||||||||
|
||||||||
Protocol 0.2 | ||||||||
HAND|A#B#C#D#E#F#G# | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Current Game Board |
|||||||||||||||||||
General Description | |||||||||||||||||||
This message describes the current state of the game's board. All letters are UPPERCASE, except for blank letters which are are written in lowercase. Letters are ordered from the top left of the board to the bottom right, one row after another row. |
|||||||||||||||||||
Usage | |||||||||||||||||||
This message is sent when the client requests it, usually when a player joins a game in progress. | |||||||||||||||||||
|
|||||||||||||||||||
Protocol 0.2 | |||||||||||||||||||
Rows are separated by '#'. Letters in rows are separated by '&'. If
there is no letter in a square, we put a dot '.'. BOARD|A&B&.&D&...# ... #W&x&Y&Z&...# |
|||||||||||||||||||
Protocol 1.0 | |||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Moves Request |
General Description |
This message requests the client for the player's moves. This message does not contain any data. |
Usage |
This message is sent at the each end of turn (timeout). Depending on the game type, it can be sent to only one player (standard Scrabble) or to all player (duplicate, anagram). |
Protocol 0.2 |
MOVESREQUEST| |
Protocol 1.0 |
<?xml version="1.0" encoding="UTF-8"?> |
Start Of Turn |
||||||||
General Description | ||||||||
This message is used to indicate the beginig of a turn. It also specifies which players
can play the current turn. For example, in Scrabble games, only one player gets to play every turn: the Plays This Turn message thus contains as a parameter the name of the player whose turn it is. In duplicate games, every player plays on every turn: in this case the message contains no parameter. |
||||||||
Usage | ||||||||
This message is sent at the beginning of every turn. It is also sent to the players joining a game that already started. | ||||||||
|
||||||||
Protocol 0.2 | ||||||||
STARTOFTURN|ahmadeus& | ||||||||
Protocol 1.0 | ||||||||
<?xml version="1.0" encoding="UTF-8"?> |
End Of Turn |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
General Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
This message describes indicates to the players that the current turn finished; it also contains the best moves for this finished turn. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Usage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
This message is sent to all game players at the end of
the turn. In one-player-per-turn-games (such as Scrabble), This message contains the player's moves. In multiple players per turn game (such as Duplicate), This message contains the list of the players with the best scores (in case of ties), as well as the received moves that is applied to the board. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protocol 0.2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
selectedplayer and otherplayer are in the same field in this protocol version. ENDOFTURN|ams&jim&A&C&3&B&A&3&C&t&#CAT&8&JET&28&CI&2&#scrabble&50& |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protocol 1.0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Players Scores |
|||||||||||||||||||
General Description | |||||||||||||||||||
This message contains both the total and last turn players scores. | |||||||||||||||||||
Usage | |||||||||||||||||||
This message is sent at the end of each turn. | |||||||||||||||||||
|
|||||||||||||||||||
Protocol 0.2 | |||||||||||||||||||
SCORES|Ahmadeus&101&12#Jim&102&45#Lemming&103&4#Solal&104&1# | |||||||||||||||||||
Protocol 1.0 | |||||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Kick Indication |
|||||||||||||||
General Description | |||||||||||||||
This message contains a kick command. | |||||||||||||||
Usage | |||||||||||||||
Only game operators can kick other players. This message is sent to all players connected to a game, even to the kicked player kicked (it then acts like an ack). |
|||||||||||||||
|
|||||||||||||||
Protocol 0.2 | |||||||||||||||
KICK|Lemming#jim#We don't play with lamers | |||||||||||||||
Protocol 1.0 | |||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
End Of Game |
||||||||||||
General Description | ||||||||||||
This message indicates that the end of a game has been reached. | ||||||||||||
|
||||||||||||
Protocol 0.2 | ||||||||||||
ENDGAME|1500#Bernard Pivot | ||||||||||||
Protocol 1.0 | ||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Error Message |
||||||||||||||||
General Description | ||||||||||||||||
This message contains a code for an error the server encountered. Error codes are described in the error codes section of the protocol specifications |
||||||||||||||||
|
||||||||||||||||
Protocol 0.2 | ||||||||||||||||
ERROR|60#107#MIASON | ||||||||||||||||
Protocol 1.0 | ||||||||||||||||
<?xml version="1.0" encoding="UTF-8"?> |
Server Service Message |
|||||||
General Description | |||||||
This message contains a notification from the server about an exceptional event This command can be used to notify users on server maintenance work, alerts, etc. |
|||||||
Usage | |||||||
This message is sent to all users connected to server. | |||||||
|
|||||||
Protocol 0.2 | |||||||
NOT SUPPORTED | |||||||
Protocol 1.0 | |||||||
<?xml version="1.0" encoding="UTF-8"?> |