任务单 #43639

AI: Alight unit when amphibious transport reaches destination

开放日期: 2022-01-16 19:39 最后更新: 2022-03-08 21:42

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
3

Details

Related to discussion in #43630.

Currently AI's amphibious goto is considered finished when the passenger reaches the target tile. Under some rules that can happen even so that the transport has gone all the way to the target tile (River boats etc), and the passenger is still loaded to that transport.

Unload the unit in such a case in the end of the goto.

任务单历史 (3/10 Histories)

2022-01-16 19:39 Updated by: cazfi
  • New Ticket "AI: Alight unit when amphibious transport reaches destination" created
2022-02-13 23:26 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2022-02-19 15:27 Updated by: cazfi
  • 处理结果 Update from Accepted to
评论

Assert failure from an autogame indicates that this might sometimes unload passenger even when it cannot exist at that location.

2022-02-20 02:57 Updated by: cazfi
  • 处理结果 Update from to Accepted
评论

- Check that passenger can exist at tile before unloading it

2022-03-05 10:25 Updated by: cazfi
评论

The unloaded unit might need changing its activity from sentry to idle. I'm investigating an autogame with a unit having ACTIVITY_SENTRY when it shouldn't, and this patch is the prime suspect.

2022-03-06 02:31 Updated by: cazfi
评论

Reply To cazfi

I'm investigating an autogame with a unit having ACTIVITY_SENTRY when it shouldn't, and this patch is the prime suspect.

Still investigating the case, but have eliminated this patch as a possible explanation.

That means that this patch has successfully passed heavy autogame testing already.

2022-03-08 21:42 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名