Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5461 closed defect (fixed)

Units dont attack anymore

Reported by: elexis Owned by:
Priority: Release Blocker Milestone: Alpha 24
Component: Simulation Keywords: regression
Cc: Patch:

Description

1) While testing r22393, units often don't attack nearby enemies anymore, even when they are attacked by enemies. Reproduce it by simulating some fights using cheats on a tiny map.

2) Attack orders against a specific target are sometimes followed by the unit walking to the target and then not attacking it.

Attachments (2)

commands.txt (42.7 KB ) - added by elexis 5 years ago.
sample 1
commands.2.txt (35.9 KB ) - added by elexis 5 years ago.
Sample 2

Download all attachments as: .zip

Change History (10)

by elexis, 5 years ago

Attachment: commands.txt added

sample 1

by elexis, 5 years ago

Attachment: commands.2.txt added

Sample 2

comment:1 by elexis, 5 years ago

Milestone: BacklogAlpha 24

While reading r22345, I wonder if that could be related? From remembering what happened in the replay, perhaps the units thought they were in range to complete the assigned order but aren't according to the code that shall perform the order after having entered the target range. Same for #5462. I didn't investigate though.

comment:2 by wraitii, 5 years ago

The issues sound related to chasing being broken (fixed by a combination of Phab:D1979, Phab:D1969, Phab:D1987, Phab:D1983 and possibly Phab:D1992).

(Edit: add links)

Last edited 5 years ago by elexis (previous) (diff)

comment:3 by elexis, 5 years ago

(Just for reference the detailed bugreport of Freagarach at https://code.wildfiregames.com/rP22345#33870, which might be unrelated to this issue, but I want to reference it somewhere where it is less likely to be forgotton.)

comment:4 by wraitii, 5 years ago

This bug report, alongside others, is referenced here BTW - we might want to upgrade this to a release blocker?

comment:5 by wraitii, 5 years ago

Can't reproduce post D2066. The diffs outlined above all play a role in various such situations, also D1987 and D1907.

comment:6 by elexis, 5 years ago

Stop order seems to be working prima facie, except for units in formation where the units now just idle in formation when enemies are around.

comment:7 by wraitii, 5 years ago

Resolution: fixed
Status: newclosed

See #5519 for the formation issue, which isn't related. I'm thus closing this as it has been fixed.

comment:8 by elexis, 5 years ago

Keywords: regression added
Note: See TracTickets for help on using tickets.