Opened 5 years ago

Last modified 5 years ago

#5526 new defect

Units stuck before enemy gate instead of walking around it.

Reported by: Freagarach Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords: pathfinder
Cc: Patch:

Description (last modified by Freagarach)

At the end (~ turn 7k) of a A24 match (22522) my cavalry got stuck trying to go through the enemy gate instead of around it.

Attachments (1)

commands.txt (682.8 KB ) - added by Freagarach 5 years ago.
Replay.

Download all attachments as: .zip

Change History (7)

by Freagarach, 5 years ago

Attachment: commands.txt added

Replay.

comment:1 by Freagarach, 5 years ago

Description: modified (diff)

comment:2 by wraitii, 5 years ago

Milestone: BacklogAlpha 24
Owner: set to wraitii
Priority: Should HaveMust Have

Also from IRC

<Angen> check pathfinding from the same replay as gate around turn 1586, my units going out from barracks

WildfireBot <Angen> also around turn 3219 I ordered melee units to attack cavalry at top part of my territory, cav moved but units still went to the old position even cav was visible, is this bug or should it be like this?

comment:3 by Silier, 5 years ago

turn 1586 after 12:50

Also check elephant around 51 min right side from my bottom fortress, there were 3 elephants ordered to walk to position and one started to dance until I stopped him.

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

comment:4 by elexis, 5 years ago

"Units stuck before enemy gate" reminds me of https://trac.wildfiregames.com/ticket/4473#comment:5

comment:5 by wraitii, 5 years ago

Priority: Must HaveShould Have

I think the barracks thing is just a rallypoint? Didn't notice anything too particularly odd.

Cav at turn 3219 is because units don't update the position of a target that's far away too often to avoid useless recompilations - you can tell me if it feels too lenient right now.

The gate issue appears to be because the long pathfinder thinks it's open as the gate isn't locked, but they can't actually go through :/

I'm not sure this ever worked?

comment:6 by wraitii, 5 years ago

Milestone: Alpha 24Backlog
Owner: wraitii removed

The gates being open for the long-pathfinder is by default, since Passability isn't per-player.

I don't think we can fix this with the short pathfinder, nor easily with the long-pathfinder. ATM, this isn't fixable.

Backlogging.

Note: See TracTickets for help on using tickets.