Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

Wrong Mode Type returned for private control matches for getprofile #1339

Open mikechambers opened 3 years ago

mikechambers commented 3 years ago

Calling getProfile (component 204) when in a private crucible match:

https://www.bungie.net/Platform/Destiny2/1/Profile/4611686018429783292/?components=204

Data returned for active player includes:

                    "currentActivityHash": 1867152431,
                    "currentActivityModeHash": 3199098480,
                    "currentActivityModeType": 10,
                    "currentActivityModeHashes": [
                        3199098480,
                        1164760504
                    ],
                    "currentActivityModeTypes": [
                        10,
                        5
                    ],
                    "currentPlaylistActivityHash": 3959500077,
                    "lastCompletedStoryHash": 0

Note, that currentActivityModeType returns 10 (Control) and currentActivityModeTypes return 10 (Control) and 5 (AllPvp)

They should return 53 (PrivateMatchesControl) for both, and not 10.

currentActivityModeHash may also be incorrect (although I could not find private control in the manifest)

jshaffstall-bng commented 3 years ago

Good catch! Filed as TFS 961142.