motzel / ScoreSaberCountryLeaderboard

ScoreSaber.com enhancements
https://scoresaber.com
MIT License
21 stars 2 forks source link

Scores won't update on cache if played before on party mode #98

Closed Elecast2 closed 3 years ago

Elecast2 commented 3 years ago

Describe the bug If i improve a song that has been previously played on Party mode, the score is updated fine but it wont update on the script, it is shown like if it was played by another player even if the new score is greater than the done on party mode.

To Reproduce Steps to reproduce the behavior:

  1. Play a song on party mode
  2. Play the song in solo mode
  3. Install ScoreSaberCountryLeaderboard
  4. Improve the song in solo mode

Expected behavior The score will be updated sucessfully to scoresaber but ScoreSaberCountryLeaderboard won't update it and still will show the map previous score (for example on the Accuracy vs difficulty graph)

Screenshots If applicable, add screenshots to help explain your problem. image image

Please complete the following information:

motzel commented 3 years ago

Hi, thanks for a report!

This is very strange. I've never played in party mode, but as far as I know party mode shouldn't send scores at all and have any effect on them. I'll try playing party mode today and then improve the score and see what happens then. It's more likely that it's just a coincidence and ScoreSaber just had problems during the download, because lately the server is often overloaded and doesn't serve data or only gives some of it.

But for problem analysis your data dump would be perfect, could you catch me on Discord at motzel#8017?

motzel commented 3 years ago

Yeap, I've played on party mode and score was updated without any problems. image

So it's a SS issue probably. As I wrote earlier - catch me on Discord please.

Elecast2 commented 3 years ago

Thanks for the reply, i just noticed it just happened to me without party mode image is there a way to clear all the cache and set the profile as my profile again? to see if that fixes something

Elecast2 commented 3 years ago

Elecast#9847, im new to discord, i just sent you a friend request

motzel commented 3 years ago

Hi, I've just noticed you reply.

Sure, just either delete DB (F12/Application tab/Indexed DB/select sspl and press delete database button) or force refresh your scores (F12/Console tab/paste "ssplEventBus.publish('refetch-all-player-scores-cmd', 'PLAYER_ID')"/enter). Without quotation marks and replace PLAYER_ID with your player ID (you can take it from URL on SS your profile).

motzel commented 3 years ago

Sorry for replying so late, but I have been quite busy with life lately. I've looked through the records in your exported data and it looks like these particular scores are simply not in the database. And since they were downloaded along with those played a few minutes later it's likely that the ScoreSaber API returned incomplete data. It sometimes has problems. There's not much you can do about that except download them again, which you've already done.

So I am closing this issue, I hope this does not happen to you in the future.