Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3849 closed defect (fixed)

Queued commands to build in fog of war fails

Reported by: _kali Owned by: Itms
Priority: Must Have Milestone: Alpha 20
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Queuing units to build something in the fog of war and then return to a point fails in SVN, but works in a19. I've noticed this 3 times in multiplayer games on SVN and reproduced locally vs. the sandbox AI.

Step 1 - Scout territory outside of your base. Step 2 - Select a group of worker units (men / women doesn't seem to matter) Step 3 - Hold down shift and place a house (barracks, forts, civ centers and docks seem to work too, probably all buildings) inside your territory, but in the fog of war (it seems to still reproduce wether the building is partially or completely in the fog of war) Step 4 - While still holding down shift, right click to a point on the map (to queue the units returning to a point)

Repeating these same steps but placing the building in the visible area (not the fog of war), executes the queued commands successfully, so I think it has something to do with the fog of war.

Attachments (1)

build-queue-bug.zip (5.0 KB ) - added by _kali 8 years ago.
Build queue in fog of war bug. Played vs. Sandbox AI.

Download all attachments as: .zip

Change History (7)

by _kali, 8 years ago

Attachment: build-queue-bug.zip added

Build queue in fog of war bug. Played vs. Sandbox AI.

comment:1 by _kali, 8 years ago

Just to clarify, the units still walk to the construction site and return to the correct point, they just don't construct the building.

comment:2 by _kali, 8 years ago

Keywords: fog of war queued commands removed

comment:3 by Itms, 8 years ago

Owner: set to Itms

comment:4 by _kali, 8 years ago

Also, I tested this in A19, and the bug is not present, so it's a new bug introduced after the A19 release.

comment:5 by Itms, 8 years ago

Resolution: fixed
Status: newclosed

In 17949:

Amend r17685: the foundation component won't exist for a mirage (foundation inside the fog-of-war) so the miraged interface to it should be queried.
Fixes #3849.

comment:6 by Itms, 8 years ago

The commit referenced in the commit message had an oversight that I fixed. Replaying your game now works as expected.

Note: See TracTickets for help on using tickets.