Fandom

Freeciv

Metaserver

704pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This is a historic page, please remove the {{historic}} tag if you plan to revive it.

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

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 freeciv-server would be an interesting feature. I believe this feature should be decentralized so 3rd parties can provide public Freeciv server 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

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

Example page

Polls Edit

Poll

Example poll page


Polls

Example poll list page

Also on Fandom

Random Wiki