Opened 9 years ago
Closed 9 years ago
#3322 closed defect (fixed)
Ship stuck in unbuilt dock
Reported by: | elexis | Owned by: | wraitii |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 19 |
Component: | Core engine | Keywords: | pathfinding |
Cc: | Patch: |
Description
If you place a dock where currently a ship resides, then the ship can't leave the foundation and the dock can't be built.
I've attached a sample commands.txt file.
Attachments (2)
Change History (5)
by , 9 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 9 years ago
Notice that active, blockMovement, blockPathfinding, blockFoundation, blockConstruction, disableBlockMovement, disableBlockPathfinding = true for the dock. The same error does not happen for a CC and some units (they move away from the foundation correctly). That foundation has the same values as the dock above.
Also notice that when the workers are trying to build the foundation, that the ship tries to move out of the way, but only reaches the edge of foundation (so that it doesn't leave it).
In the new replay file that I attached below, you can see that I tried to reproduce it about 20 times and it seems that the ship only can't escape the foundation if I have a skirm cav standing on or near the foundation too. So it's probably identical to the stuck units bug (skirm cav stuck in the woods, women stuck at the edges of fields).
by , 9 years ago
Attachment: | commands.2.txt added |
---|
Replay for r16832 where the bug occurs many times.
comment:2 by , 9 years ago
Cc: | removed |
---|---|
Milestone: | Backlog → Alpha 19 |
Owner: | set to |
Status: | new → assigned |
I'll check if this still happens.
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
For r16832. The first dock was used to produce the boat, the ship could escape the second dock but not the third one placed at minute 1.