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

Download replay button incorrectly available upon completing a play #6448

Closed
Azn9 opened this issue Oct 9, 2019 · 6 comments
Closed

Download replay button incorrectly available upon completing a play #6448

Azn9 opened this issue Oct 9, 2019 · 6 comments
Labels
area:replay realm deals with local realm database

Comments

@Azn9
Copy link

Azn9 commented Oct 9, 2019

Describe the crash: The game crash if we rapidly click on the download replay button. Maybe this is related to the issue the game alert for when clicking on the download button?

Screenshots or videos showing the encountered issue: https://youtu.be/zI7Bzxofo3g

osu!lazer version: 2019.930.0.0

Logs: runtime.log

Computer Specifications: CPU: Intel Core i5 8th generation, RAM: 8Go, Graphics card: NVidia GTX 1060 3Go, Windows 10 64bits

@bdach
Copy link
Collaborator

bdach commented Oct 9, 2019

This is the original location for the error:

var replayFilename = score.Files.First(f => f.Filename.EndsWith(".osr", StringComparison.InvariantCultureIgnoreCase)).FileInfo.StoragePath;

It would appear that even though the download button looks like the replay should be downloaded, the replay file is not actually present in the database. Do you mind uploading your database file? It's located at %AppData%/osu/client.db.

@bdach bdach added bug realm deals with local realm database area:replay labels Oct 9, 2019
@Gabixel
Copy link
Contributor

Gabixel commented Oct 9, 2019

Did you complete the map on Lazer? I can reproduce this issue when finishing a map: the replay download button is "completed", but when I click on it, an error pops up. For what I know, replays from Lazer gameplay are not implemented yet: only imported replays are available (leaderboards included).

@Azn9
Copy link
Author

Azn9 commented Oct 9, 2019

Sorry for the delay ^-^'

Here is the file @bdach : client.zip
Yes @Gabixel I completed the map on lazer, this is the score screen showing up at the end of the gameplay

@bdach
Copy link
Collaborator

bdach commented Oct 9, 2019

Strange, when I try to reproduce this by completing a play on 2019.930.0 the download button is showing Replay unavailable as it should... I'll take a look at the DB file now, but to tell you the truth I don't currently understand why there is a difference.

Edit: I've looked through the DB file. I can't even see the score that was set in the attached video in there.

@bdach bdach changed the title Game crash after multiple press of the download replay button Download replay button incorrectly available upon completing a play Oct 11, 2019
@bdach
Copy link
Collaborator

bdach commented Oct 11, 2019

I've renamed this to track the actual problem better. Still not sure how to get this to reproduce.

@peppy peppy removed the bug label Dec 20, 2019
@Joehuu
Copy link
Member

Joehuu commented Mar 25, 2020

Should not happen anymore since replays for lazer plays are implemented in #8428.

@Joehuu Joehuu closed this as completed Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:replay realm deals with local realm database
Projects
None yet
Development

No branches or pull requests

5 participants