View Issue Details

IDProjectCategoryView StatusLast Update
0003892Spring engineGeneralpublic2013-07-23 05:54
ReporterPepeAmpere Assigned Toabma  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version94.1.1+git 
Summary0003892: Command queue with Wait applied is sometimes missing Wait command
DescriptionHere is example code.
  
  local cmdQueue = Spring.GetUnitCommands(unitID)
  for i=1,#cmdQueue do
      local cmdID = cmdQueue[i].id
      Spring.Echo(cmdID,CMD[cmdID])
  end

Now look at screenshot, on unit, you can see wait command is applied there, but theres no mention about wait command in command queue (look at console output listing all commands).
Steps To Reproduce1) Use NOTA 1.xxx, theres reverse gadget - https://code.google.com/p/nota/source/browse/trunk/game/LuaRules/Gadgets/unit_reverse.lua?r=178
2) move unit back and forward fast, if you are fast enough and catch the right time, unit get stacked under Wait command, and doesnt react at any order.
TagsNo tags attached.
Attached Files
commands-queue-bug2.JPG (Attachment missing)
Checked infolog.txt for Errors

Activities

PepeAmpere

2013-07-23 05:35

reporter   ~0011047

oh, sorry, my mistake, the bug is on different place, pls kill this report. QUEUE listing is ok.

abma

2013-07-23 05:54

administrator   ~0011048

closing as requested...

Issue History

Date Modified Username Field Change
2013-07-23 05:18 PepeAmpere New Issue
2013-07-23 05:18 PepeAmpere File Added: commands-queue-bug2.JPG
2013-07-23 05:35 PepeAmpere Note Added: 0011047
2013-07-23 05:54 abma Note Added: 0011048
2013-07-23 05:54 abma Status new => closed
2013-07-23 05:54 abma Assigned To => abma
2013-07-23 05:54 abma Resolution open => no change required