Follow-up Comment #7, patch #3346 (project freeciv):
I revised the patch and made some improvements;
With the old scorelog file format, it was impossible to parse the scores by
simple means without a small probability to fail, since the log grouped
elements inside parenthesis, but parenthesis are also allowed to be used
inside playernames and usernames.
Instead, I group element by commas, which are forbidden in names.
Also, I fixed a glitch.
I tested this patch under any endgame condition: it produces correct output
for a regular game-over by conquest or spacerace, by reaching endturn , and by
/endgame.
The reference file is now score_system.rev1.diff.
(file #15919)
_______________________________________________________
Additional Item Attachment:
File name: score_system.rev1.diff Size:6 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3346>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev