From d9d820910b9e713a1b0a3ea6997b99766be92e80 Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 2 Jun 2020 10:29:28 +0000 Subject: [PATCH] Add link to event logging & replace dead example stats parser link with something similar --- Score-logging.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Score-logging.md b/Score-logging.md index fe490c8..0face8e 100644 --- a/Score-logging.md +++ b/Score-logging.md @@ -5,15 +5,15 @@ * `sv_logscores_filename`: filename of the output file if sv_logscores_file is enabled (the file will be stored in Xonotic/data/data or ~/.xonotic/data/data) * `sv_logscores_bots`:choose whether bot are included in stats or not +Also see [Event logging](./Event-logging) ## Commands * `printstats`: print current scores to file/console (requires sv_logscores_console and/or sv_logscores_file to be enabled) - ## Log format -example: +Example: ``` :scores:dm_nexdm01:131 :player:1:7:129:1:GrooveMachine @@ -21,11 +21,11 @@ example: :player:10:1:130:3:Player :end ``` -start of a new section: `:scores:_:` (if the dump was triggered by "printstats", the line starts with :status:) +Start of a new section: `:scores:_:` (if the dump was triggered by "printstats", the line starts with :status:) -player entry: `:player:::::` (playername might contain ":", so be sure your parser doesn't split them, playtime is messured in seconds) +Player entry: `:player:::::` (player names might contain ":", so be sure your parser doesn't split them, playtime is measured in seconds) -section end: `:end` +Section end: `:end` Team colors: * Red Team = 5 @@ -35,4 +35,4 @@ Team colors: Other team numbers may appear in free for all games. -For an example parser (written in php, thanks to tChr) have a look at http://excalibur.nvg.ntnu.no/nexuiz/statsparser \ No newline at end of file +For an example parser (written in perl) have a look at [incognico/erebus.pl](https://gitlab.com/incognico/erebus/-/blob/master/erebus.pl) \ No newline at end of file -- 2.39.2