[Freeciv-tickets] [freeciv] #44594: TECH_UPKEEP_DEBUGGING messing research->techs_researched when future techs involved

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun May 15 01:40:09 JST 2022


#44594: TECH_UPKEEP_DEBUGGING messing research->techs_researched when future techs involved

  Open Date: 2022-05-14 16:13
Last Update: 2022-05-14 19:40

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

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

Last Changes/Comment on this Ticket:
2022-05-14 19:40 Updated by: cazfi

Comment:

Reply To cazfi
The savegame seems to have correct techs_researched values
No, it doesn't. I made the initial check wrong way. The count in the savegame is correct for none of the players - most of them have a negative count!

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

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

Ticket details:

init_tech() recalculates research->techs_researched when TECH_UPKEEP_DEBUGGING is defined. That recalculation does not consider future techs.
This is one candidate for the cause of various assert failures I'm getting in testing #44419. When number of lost (i.e. ones subtracted from the counter) future techs is same as number of real techs, the counter goes to zero despite player knowing a lot of techs.

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



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