icza / scelight

The source code of the Scelight project with all its modules.
https://sites.google.com/site/scelight/
Apache License 2.0
123 stars 19 forks source link

Figure out Command Manager introduced in patch 3.0 #4

Open icza opened 8 years ago

icza commented 8 years ago

A Command Manager was introduced in patch 3.0 which is responsible to "hide" many commands (or rather transcode certain commands to instructions to this internal Command Manager).

They appear as CommandManagerState and CmdUpdateTargetUnit commands in the Command list in the Replay Analyzer. For example:

I   00:05   [9KingS]DakotaFannin    CmdUpdateTargetUnit target={targetUnitFlags=111; timer=0; tag=16252929; snapshotUnitLink=343; snapshotControlPlayerId=0; snapshotUpkeepPlayerId=0; snapshotPoint={x=397312; y=161792; z=40928; }; };
I   00:05   [9KingS]DakotaFannin    CommandManagerState state=1; sequence=3;

Help wanted to decode the meaning of these commands.