Opened 4 years ago

Closed 4 years ago

#5800 closed defect (fixed)

Petra error in incrementBuilderCounters for structures/maur_defense_tower with count < 0 (vs the Mauryans)

Reported by: Minohaka Owned by:
Priority: Must Have Milestone: Alpha 24
Component: AI Keywords:
Cc: Patch: Phab:D2962

Description

I was playing vs the Mauryans and got this:

Petra error in incrementBuilderCounters for structures/maur_defense_tower with count < 0

Attachments (1)

commands.txt (619.0 KB ) - added by Minohaka 4 years ago.
Game replay

Download all attachments as: .zip

Change History (4)

by Minohaka, 4 years ago

Attachment: commands.txt added

Game replay

comment:1 by wraitii, 4 years ago

Milestone: BacklogAlpha 24
Priority: Should HaveMust Have

Missed in Phab:rP23916, indeed the AI sees "CitizenSoldier" and assigns the "worker" role to the Mauryan elephant archer, but it didn't hunt since it wasn't "Cavalry". Now it does since it is FastMoving, and thus we end up on an erroring path.

I think the elephant shouldn't be a citizen soldier at all, to be honest.

comment:2 by wraitii, 4 years ago

Patch: Phab:D2962

comment:3 by Silier, 4 years ago

Component: Core engineAI
Resolution: fixed
Status: newclosed

In r24009

Fix AI using Maurya elephant archers as hunters following rP23916

The Maurya elephant archer is a fast moving citizen soldier, despite being unable to gather. This led to an issue post rP23916.

Reviewed By: bb

Fixes #5800

Differential Revision: https://code.wildfiregames.com/D2962

Note: See TracTickets for help on using tickets.