LocalStats

LocalStats will create log files which can be converted to statistics just like Epic's ut2003stats.epicgames.com LocalStats is a server...

Download

Uploading...
Do not refresh or leave this page!

File Description

LocalStats will create log files which can be converted to statistics just like Epic's ut2003stats.epicgames.com LocalStats is a server actor so it will not show up in the mutator list or requires client downloads. Also with LocalStats you can still use the global stats. LocalStats can also send the log entries to a remote host via a TCP connection.

Read More

Download 'localstats.zip' (13KB)

Readme
-----------------------------------------------------------------------------
                                   LocalStats
                                  Version 101
                        by Michiel 'El Muerte' Hendriks
                           elmuerte@drunksnipers.com
-----------------------------------------------------------------------------

LocalStats will create log files which can be converted to statistics just 
like Epic's ut2003stats.epicgames.com
LocalStats is a server actor so it will not show up in the mutator list or
requires client downloads. Also with LocalStats you can still use the global
stats.
LocalStats can also send the log entries to a remote host via a TCP 
connection.

-------------------------------- INSTALLATION -------------------------------
Copy the LocalStats.u file to the UT2003 System directory.
Then edit you UT2003 Server Configuration file (UT2003.ini) and add the 
following line:

    [Engine.GameEngine]
    ServerActors=LocalStats.LocalStats

------------------------------- CONFIGURATION -------------------------------
If you don't want to use LocalStats to log to a remote host you can skip this 
part.

To set up logging to a remote host you have to add the following lines to
your server configurations:

    [LocalStats.LocalStats]
    bUseRemote=true

    [LocalStats.RemoteStats]
    sHostname=host where to log to
    iPort=tcp port to connect to

When you launch UT2003 it will open a TCP connection to that host and port 
and it will start sending the log entries as described below. You have to 
program the receiving appplication yourself, also no authentication is used
at the moment.

------------------------------------ USAGE ----------------------------------

LocalStats will generate a seperate log file for every game, the file will be 
saved in the System directory with the following format:

    LocalStats_<GamePort>_<Year>_<Month>_<Day>_<Hour>_<Minute>_<Second>.txt

The data in the file will have the following format, fields are delimited by 
tabs (tabs in fields are replaced by underscores):

<timestamp> <event> <data>

<timestamp> is the number of seconds since the level has been loaded
<event>     is a tag that defines what event occured, it will be one of the
            following:
              NG      New Game
              SI      Server Info 
              SG      The game has started
              EG      The game has ended
              C       A player has connected
              D       A player has disconnected
              S       Score event
              T       Team score event
              K       Kill
              TK      Team kille
              P       Special player event, like: first blood, killing 
                      spree, type kill, multikill
              G       Special game event: flag drop, name changes, etc.
<data>      This is depended on the event type:

NG
  <full time> <timezone> <map name> <map title> <map author> <game type>
  <game name>
SI
  <server name> <timezone> <admin name> <admin email> <other server info>
SG
  nothing but the tag
EG
  <reason>
C
  <player number> <player name | player stat ID>
  note: this line will appear twice per player if worldstat logging is 
  enabled, first with the player name then with the stat ID
D
  <player number>
S
  <player number> <points> <description>
T
  <team> <points> <description>
K or TK
  <killer number> <damage type> <victim number> <vicitim weapon>
S
  <player number> <description>
  description is usualy something like:
    first_blood, spree_#, type_kill, multikill_#
G
  <event description> <player number> <description>
  the event description is often something like:
    flag_dropped, flag_taken, flag_returned, flag_returned_timeout, 
    flag_pickup, flag_captured, NameChange, TeamChange, bomb_droppen,
    bomb_taken, bomb_pickup, bomb_returned_timeout
  description is often used for the player number or team number, depends on
  the game event

--------------------------------- SOURCE CODE -------------------------------
LocalStats is provided under the GPL. The complete source code is available
from the website. Please respect the GPL:
                      http://www.gnu.org/licenses/gpl.txt

----------------------------- CONTACT INFORMATION ---------------------------
LocalStats has been written by Michiel 'El Muerte' Hendriks 
<elmuerte@drunksnipers.com> member of The Drunk Snipers (TDS for short)
If you have any questions you can contact me, but I will not reply to 
questions who's answers can be found in this document.

The latest version of this server add-on can be downloaded from: 
http://www.drunksnipers.com/services/ut/ut2003/localstats

-----------------------------------------------------------------------------
Michiel 'El Muerte' Hendriks                        elmuerte@drunksnipers.com
The Drunk Snipsers - ICT Solutions                http://www.drunksnipers.com
-----------------------------------------------------------------------------

Read More

Comments on this File

There are no comments yet. Be the first!

El Muerte


50 XP


Registered 30th October 2002

3 Files Uploaded

Share This File
Embed File