待辦事項 #42989

Default range for "Good" req should be a possible one

啟用日期: 2021-10-07 04:43 最後更新: 2021-10-30 21:18

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
2

細節

Brief code analysis of common/requirements.c shows a problem in req_from_str() function. We usually don't actually use default ranges, but if we have them, let them be possible. VUT_GOOD can not have local range, default one should be RANGE_CITY.

Ticket History (3/7 Histories)

2021-10-07 04:43 Updated by: ihnatus
  • New Ticket "Default range for "Good" req should be a possible one" created
2021-10-08 02:20 Updated by: cazfi
評語

Less than 36h to beta3 release, it's not even theoretically possible that a fix would get submitted and pass review period before it (in practice we've not pushed anything in since Monday)

2021-10-13 21:27 Updated by: cazfi
評語

We define default ranges there, but apparently it's not possible for a ruleset author to rely on it. When one leaves range out from a requirement list:

1: In secfile_lookup_str() [../../../src/utility/registry_ini.c:2177]: secfile '../../src/data/civ2civ3/effects.ruleset' in section 'NULL': "effect_tile_bonus_good.reqs0.range" entry doesn't exist.

2021-10-14 07:27 Updated by: cazfi
  • 處理結果 Update from to Accepted
2021-10-30 21:18 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from Accepted to 修正

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入