Copyright © 2003-2006 Tim Rigden
1) What is FLstat?
2) Why would I want FLstat?
3) How do I use FLstat?
4) How do I customise how it looks?
5) Advanced Options
6) Tips and Tricks
7) Source Code
8) Revision History
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(This is the MIT style license)
Any questions, problems or suggestions for further improvements,
send an email to flstat@cryosphere.co.uk.
There is also the
Global Player Rankings
table, which can be joined by reading
Add A Server.

Written for the PC game Freelancer, FLstat is a non-interactive program that decodes the player files on a multiplayer server, and generates a ranking table in HTML. This HTML file can then be published on a web server for all to see. Here is an example of FLstat in action >>>
FLstat is not a MOD, and does not change any of the files used by Freelancer. This will only run on Freelancer servers, not clients.
This is designed to encourage healthy competition amongst players, and it can even assist administrators in spotting cheats on their servers. However, this is tool is not specifically aimed at server administration - for a more complete admin tool, have a look at Freelancer Server Operator from www.ioncross.com.
Windows 95/98/Me users: you will have to rename "update.cmd" to "update.bat".
Warning: On servers with a large number of characters, this may take some considerable time to execute and will put significant load on the server, so schedule it for when the least number of players are on. Consider using the -nice option to reduce the load on the server.
You can use a web server of your choice to publish this file on the Web.
I found TinyWeb to be very simple and effective.
If you want to run this from a different account or computer, have a look at the
-path option in Advanced Options below.
Also see Tips and Tricks
to see how you can automatically uploads the stats to another machine.
Note: After editing "header.htt" or "footer.htt", you will need to run "update.cmd" again to see the changes. Also, don't forget to copy/move the file "table.css" to the same place that you have "flstat.html"!
FLstat.exe -rank 25 -active 24 > middle.txt
copy /B header.htt+middle.txt+footer.htt flstat.html
-top <N> - Show only top N characters.-rank <N> - Show only characters at rank N or higher.
-days <N> - Show only characters which have played within the last N days.
-nice <N> - Run with lower CPU usage, for example: -nice 50. This is useful on servers with very many players, as it minimises the load. Default setting is 10.
-path <dir> - Override the default location of the Multiplayer Accounts.
You might want to use this if you are running FLstat as a different user, or from a different machine. This must be the full path where the accounts are stored, for example:
-active <N> - Highlight characters that have logged in within the last N hours.
This is best set to a number of hours that is similar to the frequency that the page is updated. For example, if the page is update once per day, then use -active 24, but if it is updated every hour, then you could use -active 1.
-cheats <N> - Highlight cheaters, where N is the sensitivity level.
The higher cheat sensitivity number N, the less sensitive the detection becomes. If you set this too high, then cheaters will go undetected, and if you set it too low then innocent players get unfairly branded as a cheat. 30 is the recommended value to catch most cheaters, where as 50 with only catch the really serious cheats. A value of 10 will probably catch all cheaters, but may also highlight someone who hasn't actually cheated. You should experiment with different values, and stick with the one that works best for you.
-sort <key> - sort characters by Rank (default), Kills, Money, Time or Login.
It is possible to call FLstat.exe multiple times in the "update.cmd" file, each time with a different sort key. This means that you can publish different pages, each sorted by a different key. For example:-nofile - prevent filenames of character files from appearing in the HTML code.
FLstat.exe -sort Rank > middle.txt
copy /B header.htt+middle.txt+footer.htt flstat-rank.html
FLstat.exe -sort Kills > middle.txt
copy /B header.htt+middle.txt+footer.htt flstat-kills.html
FLstat.exe -sort Time > middle.txt
copy /B header.htt+middle.txt+footer.htt flstat-time.html
FLstat.exe -sort Login > middle.txt
copy /B header.htt+middle.txt+footer.htt flstat-login.html
If this option is not specified, then the character filenames will appear as comments in the HTML code. Some admins find this a useful way to identify certain players who break the server rules.
For example:<!-- File: 23-41639410/0a-bafe861e.fl -->.However, some servers have rules that allow players to have more than one character, and so this option can be specified to preserve the players privacy, and protect their secondary characters.
If you're using an ISP webspace and can't configure the webserver, then try the Perl CGI script gzip_cnc.