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

Invalid autosave & no archive for games created while script is running #1

Open
miek770 opened this issue Apr 6, 2024 · 1 comment

Comments

@miek770
Copy link

miek770 commented Apr 6, 2024

Thanks again for sharing!

I created a game called Test_Sceleria_04 this morning after starting the script. I then proceeded to play several turns (I'm now starting turn 8). The autosave however has no playable nation attached to it and therefore won't let me load:

image

image

The folder appears to only contain a mid_sceleria.2h file that dates from the very start of the game. It looks like it hasn't been updated while I played (although the script is still running). The same file is newer in the save directory.

Here's the script output (each minute, removed the other games - not relevant for the current issue):

==============================================================
Checking games for updates
Test_Sceleria_04 has pending changes: mid_sceleria.2h

This might have been caused by the launch of the script before the game was created, I'll try to "fail to reproduce" by starting a new game and then launching the script.

@miek770
Copy link
Author

miek770 commented Apr 6, 2024

Alright testing Test_Sceleria_05:

  • Created game;
  • Save and exit game;
  • Launch script;
  • Observe.

First thing to note is that the autosave is loadable (it has a nation), which is the intended behavior.

Archived saves also load fine.

The issue really seems to stem from the creation of a game while the script is running. This is great :)

@miek770 miek770 changed the title No nation to select on autosave Invalid autosave & no archive for games created while script is running Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant