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

Rep4Lev, interrupt, re-win: New Replay saved to wrong dir #367

Open
SimonN opened this issue Nov 12, 2018 · 1 comment
Open

Rep4Lev, interrupt, re-win: New Replay saved to wrong dir #367

SimonN opened this issue Nov 12, 2018 · 1 comment
Labels

Comments

@SimonN
Copy link
Owner

SimonN commented Nov 12, 2018

  1. Create a singleplayer level at levels/single/a/mylevel.txt.
  2. Play the level, win, and let the game save the replay at replays/solved/a/mylevel-YourName-CurrentTime.txt.
  3. Outside the game, move the level to levels/single/b/mylevel.txt.
  4. In the singleplayer browser, navigate to levels/single/b/ and highlight this level.
  5. Click "Load Replay" in the singleplayer browser.
  6. Load the replay from step 2.
  7. During playback, interrupt, and win the level in a different way.
  8. Let the game save this new solution.

Expeceted: Step 8 creates a file at replays/solved/b/mylevel-YourName-CurrentTime.txt because the level (against which we are replaying) sits in b/.

Observed: Step 8 creates a file at replays/solved/a/mylevel-YourName-CurrentTime.txt.

Speculation: This is because the game doesn't care where the singleplayer level came from, the game only cares about the level filename in the replay.

@SimonN SimonN added the 3-bug label Nov 12, 2018
@SimonN
Copy link
Owner Author

SimonN commented Jun 4, 2023

Do you exit Lix in between steps (2) and (4)? If yes, then this is really serious. If no, then it's nice-to-fix, but not as urgent.

Re-investigate.

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

No branches or pull requests

1 participant