Skip to content

Mapping Unqueue to the corresponding DE_QUEUE action #114

@noreallyimfine

Description

@noreallyimfine

Hi, I'm working on parsing the match to draw out some summary statistics. I have run into an issue where I can't tell how to associate the queueing action to an unqueueing one, to know the villager wasn't created.

I see this object showing a villager queued up:

{'timestamp': '0:07:54.729000',
  'type': 'DE_QUEUE',
  'payload': {'object_ids': [1933],
   'amount': 1,
   'unit_id': 83,
   'sequence': 474729,
   'unit': 'Villager'},
  'player': 1}

then there's this one showing something unqueued:

{'timestamp': '0:07:58.425000',
  'type': 'SPECIAL',
  'payload': {'order_id': 4,
   'slot_id': 0,
   'target_id': -1,
   'x': 0.0,
   'y': 0.0,
   'object_ids': [494848],
   'sequence': 478425,
   'order': 'Unqueue'},
  'player': 1}

I am as sure as i can be that this unqueue is the unqueueing of the villager queued in the first object. But I can't figure how what value in the unqueue object can be used to identify where/what was unqueued. I suspect it should be the object_id but I don't see anywhere that 494848 is identified as the TC.

Any help greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions