This seems to occur when issuing async commands, while executing regular commands at high frequency. Upon flushing the results, an async commands gets assigned the id of another sync command.
The bug manifests itself in pyra2yr as follows:
Game state is fetched by executing regular command GetGameState. The command id is retrieved from the ack and used to identify the result when it's polled back in the poll loop.
Async command, such as PlaceQuery is executed.
When state retrieval of step 1 happens, the command result indicated by the ack contains actually the PlaceQuery result.
This was assumed to be due to race condition addressed in a19197f, but the problem still persists, indicating a deeper issue.
This seems to occur when issuing async commands, while executing regular commands at high frequency. Upon flushing the results, an async commands gets assigned the id of another sync command.
The bug manifests itself in pyra2yr as follows:
This was assumed to be due to race condition addressed in a19197f, but the problem still persists, indicating a deeper issue.