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

Player API reporting incorrect character level. #39

Open
Oricul opened this issue Feb 16, 2017 · 2 comments
Open

Player API reporting incorrect character level. #39

Oricul opened this issue Feb 16, 2017 · 2 comments

Comments

@Oricul
Copy link

Oricul commented Feb 16, 2017

Since the 02/14 API code push, anyone who levels up is reported as one level lower than they actually are. This is the same symptom as the realm rank bug that was corrected.

Example: https://uthgard.org/herald/api/player/Orito
02/14, after the API code push, I leveled up to 40. Last update is clearly post that day/time.

From what I can tell, characters that have not leveled up since the API code push are reported accurately.
Example: https://uthgard.org/herald/api/player/Origami
This character hasn't been played for a week or so, and is reported accurately.

@andir
Copy link
Collaborator

andir commented Feb 17, 2017

I doubt that is the same bug as with the realm rank since the calculation was alright before and should not have been affected by the changes I proposed.

The issue with the RR was related to the formula required to convert Realm-Level (starting at 0 <-> R1L0) to the correct display value. With the player level it is much simpler since it is basically (index+1) which equlas len(levels)-i (len(levels) == 50 and max(i) == 49).

Nontheless this might still been bugged :-)

Just my 2 cents.

@Oricul
Copy link
Author

Oricul commented Feb 17, 2017

I apologize if I was unclear, I meant the symptom is the same, I have no insight to the cause.

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

No branches or pull requests

3 participants