#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)
Change History (10)
by , 5 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 5 years ago
Milestone: | Backlog → Alpha 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 , 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)
comment:3 by , 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 , 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 , 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 , 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 , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
See #5519 for the formation issue, which isn't related. I'm thus closing this as it has been fixed.
comment:8 by , 5 years ago
Keywords: | regression added |
---|
sample 1