待辦事項 #42968

Quickfix for a bug that sometimes trade partner is not revealed when route established

啟用日期: 2021-10-02 20:56 最後更新: 2021-10-13 13:52

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

細節

Related to #42967, and what was written there:

"The problem I'm debugging is that establishing foreign trade route should reveal the source city to the owner of the destination city. In the failing case owner of the destination city has before seen the tile where the source city is later established. send_city_info_at_tile() behavior causes the city not to get revealed. This then lead to client crash when trade partner was NULL there."

Overall the updates about trade partner are buggy (when trading with someone you who doesn't give you shared vision), and are likely to require lot of fixing. Meanwhile we should at least avoid the crashing cases -> quick fix in this ticket.

Ticket History (3/6 Histories)

2021-10-02 20:56 Updated by: cazfi
  • New Ticket "Quickfix for a bug that sometimes trade partner is not revealed when route established" created
2021-10-02 21:14 Updated by: cazfi
  • 處理結果 Update from to Accepted
  • 里程碑 Update from (無) to 2.6.6 (closed)
2021-10-02 21:30 Updated by: cazfi
評語

Additional client side fix -> #42969

2021-10-13 13:52 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入