Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#5072 closed defect (needsinfo)

Units get stuck / freeze (forever)

Reported by: LDK Owned by:
Priority: Should Have Milestone:
Component: Simulation Keywords: Unit freeze, stuck
Cc: Patch:

Description (last modified by LDK)

I was playing (Alpha 22) on the Northern Islands (2) map and had 52 Ashwarohi (Indian Ligth Cavalry). They got all stuck close to a mountain when I tried to move them from point A to point B. I cant move them anymore even when I select only one.

https://image.ibb.co/kkeiFH/Screen_Shot_2018_03_15_at_22_10_55.png https://image.ibb.co/b7N9pc/Screen_Shot_2018_03_15_at_22_08_22.png

I'm guessing it had something to do with the formation (Flank, Box, Close Order...). I was playing around with them and I think there were about 80 Ashwarohi in the formation. Then I send them to point B and some arrived and some got stuck down there. Even when I changed the formating I still could not move the units anymore. Also it migth have to do with how I arranged the houses and of course the mountain...

Just found a similar ticket #4994

Attachments (3)

Screen Shot 2018-03-15 at 22.10.55.png (1011.2 KB ) - added by LDK 6 years ago.
See Point A and B where I tried to move the units
Screen Shot 2018-03-15 at 22.08.22.png (993.2 KB ) - added by LDK 6 years ago.
The stuck units
2018-03-15_0003.zip (39.9 KB ) - added by LDK 6 years ago.
Replay of the game, error happens after at least 20 minutes!

Download all attachments as: .zip

Change History (14)

by LDK, 6 years ago

See Point A and B where I tried to move the units

by LDK, 6 years ago

The stuck units

comment:1 by elexis, 6 years ago

Got the replay?

by LDK, 6 years ago

Attachment: 2018-03-15_0003.zip added

Replay of the game, error happens after at least 20 minutes!

comment:2 by LDK, 6 years ago

Last edited 6 years ago by LDK (previous) (diff)

in reply to:  1 comment:3 by LDK, 6 years ago

Replying to elexis:

Got the replay?

Yes I just attached it thanks!

comment:4 by elexis, 6 years ago

We already have a number of "units stuck in formation" tickets since years. It's bad :-/

in reply to:  4 comment:5 by LDK, 6 years ago

I think the bigger problem is that if you click "none" formation the formation is probably not properly dissolved. If the formation is dissolved and every unit is on it's own (as it was created) then the stuck units should be moveable again...

Can somebody tell me the effected code files? I want to have a look, I probably can't find anything anyway...

Last edited 6 years ago by LDK (previous) (diff)

comment:6 by LDK, 6 years ago

Description: modified (diff)

comment:7 by elexis, 6 years ago

wiki:GettingStartedProgrammers

Primarily simulation/components/Formation.js Also simulation/components/UnitAI.js

comment:8 by Imarok, 5 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

comment:9 by wraitii, 5 years ago

Assuming situations different from #4935, I can't particularly reproduce this with the UM changes.

comment:10 by wraitii, 4 years ago

Resolution: needsinfo
Status: newclosed

Most likely no longer happens following Phab:rP22447 and other UM fixes.

comment:11 by Stan, 4 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.