[Freeciv-tickets] [freeciv] #44595: Sanity check research->techs_researched from savegame

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue May 31 21:06:41 JST 2022


#44595: Sanity check research->techs_researched from savegame

  Open Date: 2022-05-14 17:20
Last Update: 2022-05-31 15:06

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

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

Last Changes/Comment on this Ticket:
2022-05-31 15:06 Updated by: cazfi

Comment:

There's some arguments against including this to 3.0.2 already:
- S3_0 is known to cause the count to go wrong during regular run - we would be a bit inconsistent in fixing that when ever one continues from a saved game but otherwise not to care. Has also the "spam factor" of failed sanity checks
- Introduces a new translatable string. We are not in formal string freeze yet, but I would shun further string changes anyway
Maybe push this to master and S3_1 first (esp. as this blocks #44594 - making debugging the actual problems harder), but to S3_0 only after 3.0.2 release, with the assumption that by 3.0.3 there will be progress in fixing the root causes.


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

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.2
     Component: Server
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

We should sanity check research->techs_researched loaded from the savegame. We could also completely drop it from the savegame, and just use the recalculated value (which we need to do anyway when savegame value differs from it, i.e., when the sanity check fails).
This was inspired by debugging of #44594.

-- 
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/44595
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44595



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