[Freeciv-tickets] [freeciv] #45793: Send unknown score as -1

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Oct 25 14:55:05 JST 2022


#45793: Send unknown score as -1

  Open Date: 2022-10-08 02:33
Last Update: 2022-10-25 08:55

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45793
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45793

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-10-25 08:55 Updated by: cazfi

Comment:

Related change to S3_0: #45970

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: S3_1 npf
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Currently server sends unknown player score as 0. Send it as -1 instead, to distinguish it from actual score 0 (in case that's ever possible).
That would mean turning score in network protocol from unsigned to signed, stealing another bit from already a bit low UINT16. Make it SINT32.


-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45793
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45793



More information about the Freeciv-tickets mailing list
Back to archive index