[Freeciv-tickets] [freeciv] #45603: Stop saving "game.hardcoded_counters"

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sun Sep 25 01:20:52 JST 2022


#45603: Stop saving "game.hardcoded_counters"

  Open Date: 2022-09-07 19:21
Last Update: 2022-09-24 19:20

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

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

Last Changes/Comment on this Ticket:
2022-09-24 19:20 Updated by: cazfi

Comment:

Reply To lachu
I am nowhere. I cannot found if there is a still loading part. I search for hardcoded counters in savegame3.c.
Right, There wasn't. That actually was how I encountered the problem - I got the "unused entry" warning as the entry is never loaded. So; we need to stop saving the field to new savegames (your patch already did that) and to silence the warning with secfile_entry_lookup() while loading those savegames where it was saved to.


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

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

Ticket details:

Counters are no longer hardcoded, so we should not save "game.hardcoded_counters" any more and especially not as TRUE!
The "unused entry" warning should be silenced from dev savegames (in "< 3019300" block of compat_load_dev() )


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



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る