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

Saving game then loading one of the same name via console, all in the same directory, fails. #6621

Closed
DorpsGek opened this issue Sep 9, 2017 · 3 comments
Labels
bug Something isn't working flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) needs triage This issue needs further investigation before it becomes actionable stale Stale issues

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Sep 9, 2017

james1101 opened the ticket and wrote:

To Reproduce:

  1. Save the game normally (with a unique file name). Wait until it is finished. Remember the filename of the saved game file.
  2. Via console, navigate to the directory where the game was saved at. (if needed)
  3. Via console, attempt loading the saved game. It should fail.
  4. Use the ls command via console.
  5. Load the saved game via console. It should work.

Reported version: Version?
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6621
@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 9, 2017

james1101 wrote:

FWIW, I'm using OpenTTD Version 1.7.1 running on Win 7 Ultimate, and one possible reason is saved file doesn't get indexed until a file command is executed.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6621#comment14764

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
@TrueBrain TrueBrain added needs triage This issue needs further investigation before it becomes actionable bug Something isn't working and removed bug from FlySpray labels Apr 13, 2018
@frosch123 frosch123 removed the Core label Apr 14, 2018
@nielsmh
Copy link
Contributor

nielsmh commented Jun 9, 2018

Can't reproduce in rev. cd966f3 (with some additional music patches).

Steps taken:

  1. Start new game, build a few tiles of rail
  2. Click Save button, navigate two folders up, delete suggested name, type in testme
  3. Quit OpenTTD completely
  4. Start OpenTTD again
  5. Open console
  6. Type cd .. twice
  7. Type load testme
    The saved game is loaded without problems.

However one thing I noticed, trying out various things, was that changing directory in console with cd and then saving from console with save filename, the savegame file was put in the default save game directory, not the directory changed to. I don't know if that's intentional or not.

@andythenorth andythenorth added the stale Stale issues label Jan 5, 2019
@andythenorth
Copy link
Contributor

Thanks for this. At the time of writing this appears to be an isolated bug, and hard to reproduce. We do try to address bugs where they occur frequently and/or are easy to reproduce, but this one doesn't look like we can any go further, so I'm closing it. Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) needs triage This issue needs further investigation before it becomes actionable stale Stale issues
Projects
None yet
Development

No branches or pull requests

5 participants