チケット #42193

dai_calc_data() income calculation does not include immediately spent part

登録: 2021-05-07 18:47 最終更新: 2024-10-09 14:18

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

詳細

dai_calc_data() counts only 'surplus' as income, not including what's being immediately spent. Expenses are correctly calculated. So in perfect balance 'income' is returned as zero, and expenses as some high number. Callers then think that expenses > income.

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

2021-05-07 18:47 更新者: cazfi
  • 新しいチケット "dai_calc_data() income calculation does not include immediately spent part" が作成されました
2021-05-07 22:40 更新者: cazfi
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 2.6.5 (完了済み) に更新されました
2021-05-07 22:46 更新者: chippo
コメント

It applies cleanly to S3_0. Can I expect it to do anything on it's own?

2021-05-07 22:58 更新者: cazfi
コメント

Reply To chippo

It applies cleanly to S3_0. Can I expect it to do anything on it's own?

There should be a slight improvement to overall AI performance, but you would need to apply statistical methods to see them - variations between individual games are bigger than effects of the bug fixed. With civ2civ3 #42191 might override any improved calculation correctness, so you would need to use e.g. classic ruleset.

2021-05-23 16:16 更新者: cazfi
コメント

Reply To cazfi

Reply To chippo

It applies cleanly to S3_0. Can I expect it to do anything on it's own?

There should be a slight improvement to overall AI performance, but you would need to apply statistical methods to see them - variations between individual games are bigger than effects of the bug fixed. With civ2civ3 #42191 might override any improved calculation correctness, so you would need to use e.g. classic ruleset.

Actually, it might show up as AI having lower tax rate. It uses income calculated by dai_calc_data() when deciding how high tax rate it needs for a balanced budget.

2021-06-02 23:11 更新者: cazfi
2021-07-09 14:45 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法受領 から 修正済み に更新されました
コメント
(このコメントは削除されました)
2024-10-09 14:18 更新者: cazfi
  • 概要が更新されました

添付ファイルリスト

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする