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

New Update Version 0.8.206 cant launch server. #145

Closed
Wolf10K opened this issue Apr 4, 2022 · 8 comments
Closed

New Update Version 0.8.206 cant launch server. #145

Wolf10K opened this issue Apr 4, 2022 · 8 comments

Comments

@Wolf10K
Copy link

Wolf10K commented Apr 4, 2022

It fails to load saved data

Factorio reports the save file might be corrupt

@Wolf10K
Copy link
Author

Wolf10K commented Apr 4, 2022

Unloading the mod, Launching the server, saving then reloading the mod seems to clear it. Though it resets all the saved sites but not too big a deal

@narc0tiq
Copy link
Owner

narc0tiq commented Apr 4, 2022

How weird. I didn't have that happen even when I did some very weird things. Do you still have the "corrupted" save, and could you send it to me? I'm curious if I can figure anything out from it.

@Wolf10K
Copy link
Author

Wolf10K commented Apr 4, 2022

Yes I have the saves. When I updated it initially it was fine for me but my friend couldnt join. I thought it was the save file size and since we are also using the space exploration modpack I trimmed some of the surfaces down and got the save file size down from 94.2 MB to 70MB. At which point he still couldnt join and I relaunched my game and bam I was unable to load in now either.

  1. I have the save I loaded into immediately after updating.
  2. The save I made after loading in so my friend could try loading in on a "fresh save" ( i hadnt relaunching yet)
  3. The save I made after trimming down the file size, Where he still couldn't join in and which is the save i tried loading into after relaunching.

Here a link to them let me know if it works
https://drive.google.com/drive/folders/1x_U6hVRQX8gbzqPrFErKt2WTtRRRAS0P?usp=sharing

@narc0tiq
Copy link
Owner

narc0tiq commented Apr 4, 2022

Thanks, man, I've got the files. If I figure anything out, I'll let you know.

@narc0tiq
Copy link
Owner

narc0tiq commented Apr 4, 2022

Ah, well, sorry, I only have bad news: Hornwitser's factorio_tools, which I was trying to use to read the script data and see what might've been corrupted, is actually not able to read things correctly. It could be that even the 147 file is corrupted, in which case -- do you still have save 146? Can I look at that one? -- but I think more likely the parser is broken so I can't really read the file.

Since the workaround worked and as long as recreating the sites isn't too big a chore, I'll have to leave it like this. Hopefully this was just a one-off and you shouldn't run into this problem again.

@narc0tiq
Copy link
Owner

narc0tiq commented Apr 4, 2022

NB: I'm getting more reports of save file corruption so maybe it would be best to revert back to the previous version of YARM. I've taken down 0.8.206 from the mod portal while I investigate some more.

@narc0tiq narc0tiq mentioned this issue Apr 4, 2022
@narc0tiq
Copy link
Owner

narc0tiq commented Apr 4, 2022

I did figure out what the problem is -- see comment in #131 -- and fixing it would require just making sure that at least one ore gets mined from every site before saving the game.

To diagnose, if your YARM is reporting "n/m" as an ore-per-minute on any site, then you will not be able to load the save. Go to that site and manually mine an ore and it should be fine thereafter.

My test game seems to have gotten lucky (maybe because I only have 4 sites at the moment) so I didn't run into this problem despite testing for several days before release.

@narc0tiq narc0tiq changed the title New Update Version 8.206 cant launch server. New Update Version 0.8.206 cant launch server. Apr 4, 2022
@wchristian
Copy link
Collaborator

recent developments have superceded this :)

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

3 participants