#46499: Savegame: Stop saving zero counters lists Open Date: 2023-01-09 22:50 Last Update: 2023-01-09 22:50 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46499 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46499 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-01-09 22:50 Updated by: cazfi * New Ticket "Savegame: Stop saving zero counters lists" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: With current rulesets, with no counters defined, savegames still contain: -- [counters] c0=128 c1=127 c2=125 c3=131 c4=130 c5=126 c6=132 c7=129 -- Maybe we should omit saving those "lists" of counter values, when there's zero counters to save? That first element (present even with zero-lenght lists) is the city id, for which the list applies to. -- 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/46499 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46499