OverServer
Introduction
The OverServer is a "server for servers" - its purpose is to allow for coordination of player-hosted servers in one central location so that other players can easily locate games. The OverServer is an open-source tool for game developers who are working on network games and do not require a massively scalable backend for their network services but want a metaserver for their own games (although initial stress testing shows it to be fairly robust...)
OverServer is released under the BSD license. The latest version is 0.92. OverServer requires SDL and SDL_Net libraries to function.
Usage
How to include OverServer in your projects
Using OverServer in your own projects is fairly simple. First extract the source to an empty folder. Then...
- In your player-server, add the files "oss.c" and "oss.h" from the samples/sampleserver folder.
- Add #include "oss.h" to the top of your server file.
- In the section where your player-server will do its initialization, add a call to ReportToMetaserver("LOCATION",os_port,srv_port,type);
(5009 is a good choice for default port) - When your server shuts down, add a call to UnReportToMetaserver("LOCATION",port,type);
(This is actually optional but it keeps the server list more up-to-date, otherwise old servers must wait to time-out.)