View Issue Details

IDProjectCategoryView StatusLast Update
0004751Spring engineGeneralpublic2017-08-31 18:13
Reporteraeonios Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version98.0.1+git 
Summary0004751: addon:UnitIdle() sometimes triggers when the unit isn't really idle
DescriptionThis can be worked around by checking to see if the unit has any items on its command queue, but can cause strange and difficult to debug behavior.
Steps To ReproduceNot sure of the exact conditions, but it does seem to occur frequently when constructors are in the middle of building things.
Additional InformationApparently this has been an unresolved issue since 91.0.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

aeonios

2015-04-19 09:43

reporter   ~0014365

kajjnsg nevermind, this is a zk gadget issue. :|

FLOZi

2015-04-22 22:41

reporter   ~0014375

Care to explain further aeonios? I could have sworn I had a similar issue in MCL (having to check command queue length)

aeonios

2015-04-23 18:47

reporter   ~0014376

tbh I'm not certain. The original comments in the code I'm working on indicated that it was an issue with zk mex gadgets, but I've seen the issue occur even for workers that are working on things besides mexes.

I've had cases where UnitIdle was called on a unit that was in the middle of building something like a solar panel, the unit would have no commands on its queue when UnitIdle was actually called, but if you defer checking idleness for a few frames you find that the unit then has commands on its queue again.

abma

2015-04-23 20:09

administrator   ~0014377

"addon:UnitIdle() sometimes triggers when the unit isn't really idle"

what do you mean with "when the unit isn't really idle" ?

Kloot

2017-08-31 18:13

developer   ~0018316

this report 1) is old and 2) claims the opposite of 0005306 while similarly providing no concrete evidence.

Issue History

Date Modified Username Field Change
2015-04-19 09:29 aeonios New Issue
2015-04-19 09:43 aeonios Note Added: 0014365
2015-04-22 22:41 FLOZi Note Added: 0014375
2015-04-23 18:47 aeonios Note Added: 0014376
2015-04-23 20:09 abma Note Added: 0014377
2015-04-23 20:09 abma Status new => feedback
2017-08-31 18:13 Kloot Status feedback => closed
2017-08-31 18:13 Kloot Resolution open => unable to reproduce
2017-08-31 18:13 Kloot Note Added: 0018316