s2protocol
s2protocol copied to clipboard
Bad Player Team and Result values
In the 3v3 game below, 1 player on the winning team reports a loss and one player on the losing team reports a win. How is this possible?
Replay attached as a png (rename it): 
(env)graylinkim@graylin-ubuntu:~/projects/s2protocol$ s2protocol --details example.SC2Replay
...
'm_playerList': [
{'m_color': {'m_a': 255, 'm_b': 30, 'm_g': 20, 'm_r': 180},
'm_control': 2,
'm_handicap': 100,
'm_name': 'Boom',
'm_observe': 0,
'm_race': 'Terran',
'm_result': 1,
'm_teamId': 0,
'm_toon': {'m_id': 1694745,
'm_programId': '\x00\x00S2',
'm_realm': 1,
'm_region': 2}},
{'m_color': {'m_a': 255, 'm_b': 255, 'm_g': 66, 'm_r': 0},
'm_control': 2,
'm_handicap': 100,
'm_name': 'Aspirates',
'm_observe': 0,
'm_race': 'Terran',
'm_result': 1,
'm_teamId': 0,
'm_toon': {'m_id': 1404640,
'm_programId': '\x00\x00S2',
'm_realm': 1,
'm_region': 2}},
{'m_color': {'m_a': 255,
'm_b': 234,
'm_g': 167,
'm_r': 28},
'm_control': 2,
'm_handicap': 100,
'm_name': 'loropendejo',
'm_observe': 0,
'm_race': 'Terran',
'm_result': 1,
'm_teamId': 1,
'm_toon': {'m_id': 1840716,
'm_programId': '\x00\x00S2',
'm_realm': 1,
'm_region': 2}},
{'m_color': {'m_a': 255, 'm_b': 129, 'm_g': 0, 'm_r': 84},
'm_control': 2,
'm_handicap': 100,
'm_name': 'SNIPER',
'm_observe': 0,
'm_race': 'Terran',
'm_result': 2,
'm_teamId': 1,
'm_toon': {'m_id': 1890674,
'm_programId': '\x00\x00S2',
'm_realm': 1,
'm_region': 2}},
{'m_color': {'m_a': 255,
'm_b': 41,
'm_g': 225,
'm_r': 235},
'm_control': 2,
'm_handicap': 100,
'm_name': 'Gogeta',
'm_observe': 0,
'm_race': 'Terran',
'm_result': 2,
'm_teamId': 1,
'm_toon': {'m_id': 497421,
'm_programId': '\x00\x00S2',
'm_realm': 1,
'm_region': 2}},
{'m_color': {'m_a': 255,
'm_b': 14,
'm_g': 138,
'm_r': 254},
'm_control': 1,
'm_handicap': 100,
'm_name': 'Foco',
'm_observe': 1,
'm_race': 'Terran',
'm_result': 2,
'm_teamId': 0,
'm_toon': {'m_id': 1678160,
'm_programId': '\x00\x00S2',
'm_realm': 1,
'm_region': 2}}],
...
}
Additionally, in this replay
both players have the same _teamId.
Note that this game is from version 1.2.2.17811 (played Feb 2011) so perhaps, hopefully, it is an issue that does not pertain to newer versions.