Skip to content
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

Bug: Survival Mastery returns zero total matches played for players past level 500 #236

Open
matthiggins opened this issue Mar 27, 2023 · 1 comment

Comments

@matthiggins
Copy link
Contributor

This appears to be a bug that was introduced with the most recent update 22.2 allowing players to level up past 500.

Issue

Players that have leveled past 500 (AKA Tier 1 - Tier 5) have a totalMatchesPlayed of 0 when requesting Survival Mastery for that player. Additionally, the lastMatchId is empty.

  • totalMatchesPlayed returns an int of 0
  • lastMatchId returns an empty string

How to reproduce

The request must be for a player above Tier 0 level 499. In this example we'll use TGLTN's account ID.

  • Request endpoint : shards/steam/players/account.82bad0072f31455d8d9f8d834da2f2f3/survival_mastery

Bad response example

[
    "data" => [
      "type" => "survivalMasterySummary",
      "id" => "account.82bad0072f31455d8d9f8d834da2f2f3",
      "attributes" => [
        "totalMatchesPlayed" => 0,
        "stats" => [...],
        "xp" => 995830,
        "level" => 97,
        "lastMatchId" => "",
      ],
    ],
    "links" => [
      "self" => "https://api.pubg.com/shards/steam/players/account.82bad0072f31455d8d9f8d834da2f2f3/survival_mastery",
    ],
    "meta" => [],
  ]

Expected response

The expected response would include a value above 0 for totalMatchesPlayed and a match ID for lastMatchId

@thedarkman
Copy link
Contributor

I would also like to mention that we would also need the tier level now included, so this might be also a feature request as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants