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

Comments

@DorpsGek
Copy link

@DorpsGek 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
Author

@DorpsGek 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

@nielsmh
Copy link
Contributor

@nielsmh 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
Copy link
Contributor

@andythenorth andythenorth commented Jan 24, 2019

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants