Opened 3 years ago

Last modified 3 years ago

#6018 closed defect

Siege units automatically pack after unpacking if they are in formation — at Initial Version

Reported by: Langbart Owned by:
Priority: Release Blocker Milestone: Alpha 24
Component: UI – In-game Keywords:
Cc: Patch:

Description

When a siege unit is in a formation, with one or more military units e.g.soldiers or other siege units and gets the order to 'unpack', it does so but immediately re-packs itself.

Also when I double click on 'unpack' I get these errors. They only occur if the siege units is in a formation, without formation a double click on 'unpack' will not produce errors.

ERROR: JavaScript error: simulation/components/UnitAI.js line 4206 order is undefined
UnitAI.prototype.GetOrderData@simulation/components/UnitAI.js:4206:7 
UnitAI.prototype.PushOrderFront@simulation/components/UnitAI.js:4051:74 
UnitAI.prototype.ReplaceOrder@simulation/components/UnitAI.js:4178:8 
UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5408:8 
UnitAI.prototype.CancelUnpack@simulation/components/UnitAI.js:5999:8 
cancel-pack@simulation/helpers/Commands.js:690:15 
ProcessCommand@simulation/helpers/Commands.js:53:23
ERROR: Failed to call ProcessCommand() global script function

In the GIF I tried first the 'unpack' in formation, then 'unpack' without formation and finally a double click in formation on 'unpack'. No image "siege_units.gif" attached to Ticket #6006 Tested with 0ad-0.0.24rc1-24875-alpha-osx64.dmg and SVN version 24892.
This behaviour can not be reproduced in the A23b bundle.
The pack/ unpack bug can first be noticed with [24467].
The double click error can first be noticed with [24869].

Change History (1)

by Langbart, 3 years ago

Attachment: siege_units.gif added
Note: See TracTickets for help on using tickets.