Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Name change caused guild/stats issues for a player #37

Open
dukio opened this issue Dec 15, 2019 · 0 comments
Open

Name change caused guild/stats issues for a player #37

dukio opened this issue Dec 15, 2019 · 0 comments

Comments

@dukio
Copy link

dukio commented Dec 15, 2019

I got reported that the player "Nanoflight" (name changed, uuid: f299):
image

His stats are showing that he is in guild, while in reality he is not. In that guild there's the previous owner of that nickname (uuid: 4d05).

Guild API: https://api.wynncraft.com/public_api.php?action=guildStats&command=Wynns%20Legends

    {
      "name": "Nanoflight",
      "uuid": "4d056f57-bf02-4808-9f22-624110172b0d",
      "rank": "CAPTAIN",
      "contributed": 4424,
      "joined": "2015-11-30T23:53:14.712Z",
      "joinedFriendly": "Nov 30th 2015"
    },

Player stats API v2: https://api.wynncraft.com/v2/player/f299cb17-1da9-4892-9e17-9d550f01146a/stats

      "guild": {
        "name": "Wynns Legends",
        "rank": "CAPTAIN"
      },

If we load player stats api v2 with username, he also has the wrong classes: https://api.wynncraft.com/v2/player/nanoflight/stats
This shows 4 classes, while if we load with uuid he has 5 classes (correct)

I'm not sure what's going on, maybe the guild is just looking for member name instead of uuid?

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

No branches or pull requests

1 participant