You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Think I've identified an issue where the parser will output two records for a queued unit in the player inputs. The two records are 0.2 seconds apart, and in game only one unit is queued.
Code i'm using:
with open(self.path_to_game, "rb") as g:
match = parse_match(g)
match_json = serialize(self.match)
inputs = match_json["inputs"]
inputs_df = pd.json_normalize(inputs)
output in question, where in game only 1 villager is queued:
timestamp
type
param
player
00:01:53.230000
Queue
Villager
1
00:01:53.438000
Queue
Villager
1
Looks like it appears in both the actions and inputs data. I've attached the game where I found this as a .txt - if there is a better way to do this let me know as Github did not like me uploading a .aoe2record file.
Think I've identified an issue where the parser will output two records for a queued unit in the player inputs. The two records are 0.2 seconds apart, and in game only one unit is queued.
Code i'm using:
output in question, where in game only 1 villager is queued:
Looks like it appears in both the actions and inputs data. I've attached the game where I found this as a .txt - if there is a better way to do this let me know as Github did not like me uploading a .aoe2record file.
double_villagers.txt
I know basically 0 about how the parser works but might try spend some time to figure this one out.
The text was updated successfully, but these errors were encountered: