チケット #41859

alien: Requirement {Local UnitClassFlag HutFrighten} mentions HutFrighten but it will never be there

登録: 2021-03-26 10:26 最終更新: 2021-05-02 06:21

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
1

詳細

Seen on S3_1 autogame logs (autoalien.serv sets alien ruleset to use):

1: - 2021/03/26 00:56:10 in read_init_script_real() [../../src/server/stdinhand.c::1208]: Loading script file '/work/freeciv/fc_test/autogames/autoalien.serv'.

2: - 2021/03/26 00:56:10 in do_log_deprecation() [../../src/utility/deprecations.c::65]: Requirement {Local UnitClassFlag HutFrighten} mentions HutFrighten but it will never be there.

チケットの履歴 (8 件中 3 件表示)

2021-03-26 10:26 更新者: cazfi
  • 新しいチケット "alien: Requirement {Local UnitClassFlag HutFrighten} mentions HutFrighten but it will never be there" が作成されました
2021-03-26 11:42 更新者: cazfi
コメント

This is more than a ruleset error. It seems that the engine allows no correct way. Either we have the requirement and get that warning, or we don't have the requirement and get error:

1: All action enablers for Paradrop Unit Enter must require that the actor unit doesn't have the HutFrighten unit class flag.

2021-04-22 03:38 更新者: cazfi
コメント

This affects many rulesets, and thus causes a lot of spam in my autogame testing logs. Do we have any idea what should be done with this?

2021-04-28 11:02 更新者: cazfi
コメント

Reply To cazfi

This affects many rulesets, and thus causes a lot of spam in my autogame testing logs. Do we have any idea what should be done with this?

Sveinung? Do you think we can have some resolution to this before S3_1-alpha1?

2021-04-28 19:24 更新者: kvilhaugsvik
  • 担当者(未割り当て) から kvilhaugsvik に更新されました
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 3.1.0 (完了済み) に更新されました
  • コンポーネント(未割り当て) から Rulesets に更新されました
コメント

Reply To cazfi

This affects many rulesets, and thus causes a lot of spam in my autogame testing logs.

Patch for alien and civ1 attached.

Do we have any idea what should be done with this?

Patch depends on #42095 that considers an obligatory hard requirement alternative fulfilled if a universal that never is there is required to be absent

2021-04-28 19:34 更新者: cazfi
コメント

Thank you. That is one obstacle less for 3.1.

2021-05-02 06:21 更新者: kvilhaugsvik
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました
コメント

Reply To cazfi

Thank you. That is one obstacle less for 3.1.

You are welcome

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする