~ubuntu-branches/ubuntu/wily/nexuiz/wily

« back to all changes in this revision

Viewing changes to Docs/scorelog.txt

  • Committer: Bazaar Package Importer
  • Author(s): Bruno "Fuddl" Kleinert
  • Date: 2009-10-16 12:52:25 UTC
  • mto: (1.1.7 upstream) (2.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20091016125225-4mccppxccoa1w39o
ImportĀ upstreamĀ versionĀ 2.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
cvars:
2
 
______________
3
 
 
4
 
   sv_logscores_console         print scores to serverconsole after each match (default: 0, set to 1 to enable)
5
 
   sv_logscores_file            print scores to a file after each match (default: 0)
6
 
   sv_logscores_filename        filename of the output file if sv_logscores_file is enabled (default: "scores.log",
7
 
                                  the file will be stored in Nexuiz/data/data or ~/.nexuiz/data/data)
8
 
   sv_logscores_bots            choose whether bot are included in stats or not (default: 0)
9
 
 
10
 
 
11
 
commands:
12
 
______________
13
 
 
14
 
   printstats                   print current scores to file/console (requires sv_logscores_console and/or 
15
 
                                  sv_logscores_file to be enabled)
16
 
 
17
 
 
18
 
log format:
19
 
______________
20
 
 
21
 
example:
22
 
   
23
 
   :scores:dm_nexdm01:131
24
 
   :player:1:7:129:1:GrooveMachine
25
 
   :player:1:4:129:1:DanceWithMe
26
 
   :player:10:1:130:3:Player
27
 
   :end
28
 
   
29
 
   start of a new section:      :scores:<gametype>_<mapname>:<map runtime>              (if the dump was triggered
30
 
                                   by "printstats", the line starts with :status:)
31
 
   player entry:                :player:<frags>:<deaths>:<playtime>:<team>:<nickname>   (playername might contain ":",
32
 
                                   so be sure your parser doesn't split them, playtime is messured in seconds)
33
 
   section end:                 :end
34
 
 
35
 
team colors:
36
 
   Red Team     =  5
37
 
   Blue Team    = 14
38
 
   Pink Team    = 10
39
 
   Yellow Team  = 13
40
 
 
41
 
   other team numbers may appear in free for all games
42
 
 
43
 
   for an example parser (written in php, thanks to tChr) have a look at:
44
 
      http://excalibur.nvg.ntnu.no/nexuiz/statsparser