Server Ranking and Player Statistics


Server Ranking

When the server is started, an array of 'rankrecord' is declared and initialized. This array contains the cumulative server information for each pilot. When a pilot joins the server, a 'key' or index into the array of 'rankrecord' is assigned. Then at the end of each round, each pilot's deaths, kills, etc. are added into the totals. An array of pointers to the elements in the array is sorted and rank is assigned. At the end of every 10 rounds the ranks are echoed to a file in html format.

Player Statistics

The server keeps track of treasures and target destroyed by each player. It also tallies how each player kills and is killed, i.e. by shot, missile, laser, shove, or run over. These statistics are written out to a file that is parsed by an external program.


Code

Server ranking and player statistics is only compatible with the Xpilot version 3.2.9 source code. After you have obtained the 3.2.9 source code from your favorite Xpilot ftp site, you are ready!

To obtain the code for server ranking and player statistics download the following files:

Also available:

After your installation is successful, please find it in your heart to mail the Server Custodian (TIMID) the address of your server. Your server will then be added to the list of sister sites on TIMID's xpilot server home page.


The custodian of TIMID's xpilot server

TIMID aka Rus Berrett
berrettr@alaska.et.byu.edu


Home Page | Current Rankings | Current Stats