Tíquete #47981

load/save is not idempotent

: 2023-05-04 19:50 Última Atualização: 2024-05-29 18:18

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
4

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 History (3/12 Histories)

2023-05-04 19:50 Updated by: alain_bkr
  • New Ticket "load/save is not idempotent" created
2023-05-28 02:46 Updated by: cazfi
Comentário

That's basically #44736

2023-06-03 03:05 Updated by: alain_bkr
Comentário

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.

2023-09-06 02:54 Updated by: cazfi
2024-05-03 19:47 Updated by: cazfi
Comentário

Split the history.turn part to https://redmine.freeciv.org/issues/530

2024-05-04 05:42 Updated by: cazfi
Comentário
2024-05-09 23:48 Updated by: cazfi
Comentário

Patch for the map.random_seed attached. I guess that's the last part we can get out from this savegame example.

2024-05-29 18:18 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Login