URL:
<http://gna.org/patch/?3539>
Summary: Scorelog: new tags and details
Project: Freeciv
Submitted by: davide_at_debian
Submitted on: Mon 08 Oct 2012 12:36:19 PM GMT
Category: general
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
I introduced these tags to the scorelog file:
taxout: gold accumulated per turn;
cunits: amount of civilian units owned.
The scorelog command "addplayer" now logs "username" and "ranked_username", in
addition to player's "name"; it's format becomes:
addplayer <turn> <player-id> <name> , <username> , <ranked_username>
adds a player starting at the given turn (inclusive)
<player-id> is a number which can be reused
<name> may contain whitespaces
<username> may contain whitespaces
<ranked_name> may contain whitespaces
The white space preceding commas is taken in consideration of sscanf() in
report.c, line 1129, Freeciv 2.3.2.
Patch has been tested.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 08 Oct 2012 12:36:19 PM GMT Name: scorelog_detailed-2.3.2.patch
Size: 3kB By: davide_at_debian
<http://gna.org/patch/download.php?file_id=16673>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3539>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev