Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11132) Change to scorelog
Home

[Freeciv-Dev] Re: (PR#11132) Change to scorelog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: daniil.ivanov@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11132) Change to scorelog
From: "Daniil Ivanov" <divanov@xxxxxxxxx>
Date: Mon, 6 Dec 2004 07:44:14 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11132 >

Mike Kaufman wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11132 >
> 
> I see no real problem with these changes.
> 
> The problem is that the some of the pubserver internals need to get
> changed along with this so that pubserver still works...
> 
> -mike
> 

I understand that.
The new format is actually the SSV (space separated value) format.
(Well, two times smaller logs probably does not mean anything.
600Kb versus 300Kb is just nothing. Despite even a fact, freeciv
scans logfile each turn.)
You need only to make

grep turn civscore.log > turns.log
grep -v turn civscore.log > civscore2.log
grep player civscore2.log > players.log
grep -v player civscore2.log > civscore.log
grep nation civscore.log > nations.log
grep -v nation civscore.log > civscore2.log

then to remove header and the file could be easily loaded
as SSV into Excel, Matlab, SPSS (probably also Scilab)
and many others. And every signle line stands for player-turn.
You don't need to find dependencies between 27 lines, where
information is spreaded.

Anyway I will stay using newer format, since there is no choice
for me.
Thanks, Daniil.





[Prev in Thread] Current Thread [Next in Thread]