Ticket #45671

Savegame loading: Unused worklist entries

오픈 날짜: 2022-09-20 15:36 마지막 업데이트: 2022-10-13 13:48

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
3

Details

Loading savegames with deprecation warnings enabled (sometimes) give unused entry warnings about likes of 'player25.c135.wl_value0' and 'player25.c135.wl_kind0'

It's likely due to loading side looking entries just up to real "wl_length", whereas saving side has padding entries to avoid savegame from going out from tabular format.

Ticket History (3/7 Histories)

2022-09-20 15:36 Updated by: cazfi
  • New Ticket "Savegame loading: Unused worklist entries" created
2022-09-23 13:16 Updated by: cazfi
2022-10-08 08:56 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
댓글 올리기

Master version saves the max worklist length (i.e. how much there is padding) to the savegame. d3f branches have to take a bit more expensive route of figuring that out by looking all the city rows from the secfile.

2022-10-13 13:48 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login