Closed ghost closed 6 years ago
Thank you for the information! I didn't even realize that there was a bug here (the wiki does not have much information in to whether players can go over max level or not.) I will be sure to include this fix.
By the way, it is possible to create a pull request online by clicking on the edit button on the file in GitHub. For example, this file would be here. Once click there, it will allow you to edit the file, commit it to your own fork, and submit a pull request all at once. Don't worry about it though, as I can add this code very easily.
I was about to commit the fix, but I wanted to credit you correctly (using this new feature). Sadly, I do not have a github email address for you.
If you would like the change credited to you, could you go to https://github.com/settings/emails and post the email address GitHub gives in the "Keep my email address private" section here or on my Reddit PMs (@enzanki_ars)?
Nevermind. It seems that the noreply email that I used worked correctly! https://github.com/enzanki-ars/rocket-league-replay-analysis/commit/9b89aa77f3036408388ad67cb35605329520b5b3
I'm not entirely sure how to submit a pull request, but there should be support for players that have reached the max level and continued to gain XP. Currently, if a player has maxed out their levels, this function will return an error because get_xp_level is returning None.
Just a small fix, untested but should work:
data/xp.py