-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map the playerId to the UserId #91
Comments
the m_userid can be found from the m_syncLobbyState->m_lobbyState->m_slots section from the init data https://github.com/Blizzard/s2protocol/blob/master/docs/flags/initdata.md |
I did some analyzes with a 1v1 +1Observer Direct Strike replay: --init
--details
--gameevents
--trackerevents
So you can map the details.["m_playerList"].["m_workingSetSlotId"] with init.["m_slots"].["m_workingSetSlotId"] to get the m_userId from init and use it for gameevents and trackerevents. Is there an other way without touching the init information (E.g. just get the Index from details.["m_playerList"])? (Decoded) Replay |
Is there a way to map which player(playerId?) did the action in 'replay.game.events'? I see they use m_userId's there instead of playerId's. Any input would be helpful.
The text was updated successfully, but these errors were encountered: