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

[Main Page]

Game Server Protocol Get Room Info Package

From Widelands.org

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

Printable version | Disclaimers | Privacy policy

Get Room Info Package

This package can be send by the client always. It is suggested, that the client sends this package at least when entering a room, so that he knows who is in the room.

This package might be extended in future versions with Room-Topics and private rooms.



Data

Send by client.

<Str Room>

Room: Room to get the informations for.



Response

<1b Answer Flags> <2B nr_users> <Str first_username> <Str second_username> ... <Str last_username>

Answer Flags:

RI_ACK Acknowledge, info follows as requested
RI_NONEXISTANT Room doesn't exist

Note that no other data is send, if this is not RI_ACK.

nr user: How many users are in the room (number of user names following)

Usernames: All user names in the room. Note that the clients username might be under the ones, if this is not intended it must be filtered by the client.

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

This page has been accessed 799 times. This page was last modified 19:58, 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