Third programming contest – Sending commands

Sending commands

PING
Ping from the client to the server. There will not be any reaction.
Examples: PING

ID_OKAY / ID_NOT_OKAY
Tells the server that the ID is accepted/not accepted. If the ID is not okay, the client connection will be cut. Usually that should not happen.
Examples: ID_OKAY

MOVE <DIR> <VIEW>
The client wants the player to move in direction DIR and look in direction VIEW. So it is possible to move and look at once. VIEW must not be NONE, DIR may be NONE. Note: It is not sure if the movement can be done because of walls or other players. The changing of the view will always be accepted. So pay attention what the server will reply with the SET command (see above).
Examples: MOVE NONE NORTH_WEST or MOVE SOUTH EAST

previous page next page