Tíquete #42968

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

: 2021-10-02 20:56 Última Atualização: 2021-10-13 13:52

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
2

Details

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
  • Resolução Update from Nenhum to Accepted
  • Marco Update from (Nenhum) to 2.6.6 (fechado)
2021-10-02 21:30 Updated by: cazfi
Comentário

Additional client side fix -> #42969

2021-10-13 13:52 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login