Wikia

Freeciv

Watchlist Recent changes

Metaserver

This page describes the inner workings of the metaserver, for developers. See Freeciv Metaserver for what it is and how to use it.

Contents

Metaserver Software Edit

This software was written in LAMP technologies using PHP and MySQL. Sources are available at the freecivmetaserve Gna! project page.

It would be nice, in the future, to integrate and clean up all this software and place it in its own server using outsourced LAMP hosting. I believe even commercial LAMP hosting is currently inexpensive enough and our funds should cover it.

Adding scorelog functionalities to metaserver and civserver would be an interesting feature. I believe this feature should be decentralized so 3rd parties can provide public Freeciv civserver services. If possible, this code should be made more generic, and integrated with other projects like Wesnoth or BZFlag. Alternatively, we could seek some other FLOSS solution, such as GGZ, that fits our needs.

Metaserver Edit

Metaserver.png

Example page


The parts in parentheses are the actual variable names passed to the metaserver

Header section

host=string (host=)

port=integer (port=)

version=string (version=)

patches=string (patches=)

capability=string (capability=)

state=string (state=)

dropplayers=number (dropplrs=)

goodbye=number (bye=)

Message section

topic=string (topic=)

message=string (message=)

Variables section

variable_name[]= string (vn[]=)

variable_value[]= string (vv[]=)

Players section

players_available=integer (available=)

player_type[]=string (Human,AI,Barbarian) (plt[]=)

player_leader[]=string (pll[]=)

player_nation[]=string (pln[]=)

player_user[]=string (plu[]=)

player_host[]=string (plh[]=)


The following software is not presently integrated into metaserver proper, but used to run at old.freeciv.org. I believe it provides much needed functionality so we can get more user feedback to improve the game.

Client Stats Edit

Clients.png

Example page

Polls Edit

Poll.png

Example poll page


Polls.png

Example poll list page

Pages on Freeciv

Add a Page
572pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
573photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki