[Freeciv-tickets] [freeciv] #47981: load/save is not idempotent

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat Jun 3 03:05:09 JST 2023


#47981: load/save is not idempotent

  Open Date: 2023-05-04 12:50
Last Update: 2023-06-02 20:05

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

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

Last Changes/Comment on this Ticket:
2023-06-02 20:05 Updated by: alain_bkr

Comment:

This is a part of #44736.
Multiple load/save without playing should produce the same saved file .
ti seems to be a requirement before reaching #44736 which may need to save additional informations.

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

      Reporter: alain_bkr
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: Server
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

origin/S3_1 373049274 HEAD 7ef4e956f (+6)
I loaded a saved game then save it, with or without threaded save.
The first load/save is not idempotent : the saved files contains different things, 74 lines for the diff file , notably
< random_seed=30659428
80c78
< last_turn_change_time=1
---
> last_turn_change_time=0
99a98
> code=$$
227d225
< random_seed=2067455005
and
3641c3653
< turn=627
---
> turn=-2


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



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