Donations
Help us to pay our Server!
(: Consider a donation :)
Donation pic
Donators
Main Menu
Language
Recent changes

[Main Page]

Game Server Protocol Chat Message

From Widelands.org

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy

Chat Message

This is sended by the client or the server. It is a simple chat message which shows up as a message from a user in the chat room. Note that the client should not show it's own chat messages until the server sends a Chat Message containing the message.


Data

Send by client or Server

<1B Flags> <Str user> <Str Message>
Flags
can only be CM_ACTION which means, the user has performed an action (like /me in ICQ)
user
the user name. For the client, this is ignored (but should be the user name), the server includes the correct username.
Message
The effective message sended by the user.



Response

<1B ack>
ack
must be CM_ACK

Retrieved from "http://xoops.widelands.org/modules/mediawiki/index.php/Game_Server_Protocol_Chat_Message"

This page has been accessed 737 times. This page was last modified 19:47, 30 January 2007. Content is available under GNU General Public License 2.





Search


Login
Username:

Password:


Lost Password?

Register now!
Polls
Which requires the fewest improvements
Animations in game (buildings, workers, nature, animals)
Graphics in main menu
Campaigns (as well as number of campaigns)
Network support
Sounds
Music
Structure of the economies of the tribes
Maps
The transportation system
In game user interface
The editor
Hosted by