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: 



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



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to