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

Unexpected "restart" command behaviour with loaded games #3092

Closed
DorpsGek opened this issue Aug 4, 2009 · 4 comments
Closed

Unexpected "restart" command behaviour with loaded games #3092

DorpsGek opened this issue Aug 4, 2009 · 4 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Aug 4, 2009

Dustin opened the ticket and wrote:

When playing a scenario, it's impossible to restart it with the console command "restart". Instead it restarts your last "new" game.

REPRO STEPS:
* Select "new game" and start a new game.
* Exit the new game to the main menu.
* Enter the scenario editor and make a simple scenario.
* Save the scenario.
* One the main menu pick play scenerio and load that scenario.
* Once the scenario starts, open the console with the ` key.
* type "restart" (no quotes) on the command line and hit enter.

EXPECT: The scenario starts over.
RESULT: The game starts over with another previously played game.

WORK AROUND: Quit the game to the main menu and reload the scenario.

Reported version: 0.7.2
Operating system: All


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

DorpsGek commented Aug 4, 2009

Yexo wrote:

And what is your expected result when you start a scenario, save the game. load the game, then use "restart"? At that point you can't even be sure the original scenario still exists.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3092#comment6447

@DorpsGek
Copy link
Member Author

DorpsGek commented Aug 5, 2009

Rubidium wrote:

I propose 'fixing' the help message to say it's only for restarting games started with 'new game' and then don't restart if it wasn't a 'new game'.

This because the feature was never meant to reload a scenario or savegame.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3092#comment6448

@DorpsGek
Copy link
Member Author

DorpsGek commented Aug 5, 2009

Dustin wrote:

"And what is your expected result when you start a scenario, save the game. load the game, then use "restart"?"

I "restart" in a saved game, I would expect the game to roll back to the start date, not to the save state. Is there enough data in the save game to reconstruct the "start" from that point?

"I propose 'fixing' the help message to say it's only for restarting games started with 'new game' and then don't restart if it wasn't a 'new game'"
AI testing would be easier with the ability to restart a scenerio. However, the work around steps are useable if clunky.
How different is restarting a scenario/save to restarting a new game? Why is one in memory still and the other not? The workaround is reasonable, but it if the fix isn't too risky then it would make more sense from a user point of view to have "restart" work in saves and scenarios.

disabling the ability to restart in scenerios and saves would at least give a result that makes sense. Right now you just go back to the last game you started new, even if you closed and restarted since then.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3092#comment6449

@DorpsGek
Copy link
Member Author

DorpsGek commented Aug 7, 2009

Rubidium closed the ticket.

Reason for closing: Fixed

In r17097


This comment was imported from FlySpray: https://bugs.openttd.org/task/3092

@DorpsGek DorpsGek closed this as completed Aug 7, 2009
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant