Summary: Connection detach resets "ranked_username"
                 Project: Freeciv
            Submitted by: davide_at_debian
            Submitted on: Mon 17 Sep 2012 08:17:11 PM GMT
                Category: general
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 



Currently, when a user detaches from a player and then a different user
attaches to it, and the game ends within TURNS_NEEDED_TO_RANK turns, the
former player's username is filled into the ranklog file. This is a bad
behaviour which has recently been lamented on chat, potentially causing
incoherent rank lists.

With this patch, after a user detaches (disconnects) from a player, its
ranked_username attribute is re-set to ANON_USER_NAME, allowing third-party
scripts to produce accurate ranks.

The public rank lists are available at


File Attachments:

Date: Mon 17 Sep 2012 08:17:12 PM GMT  Name: rankfix-2.3.2.patch  Size: 451B  
By: davide_at_debian



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to