OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
561 stars 135 forks source link

Cannot open save file #245

Closed stucker9 closed 3 years ago

stucker9 commented 3 years ago

Hey, Im trying to load mods from a save. I can launch the save just fine, its the right map. But when I tried to get mods from the save it says the save does not exist. And its very difficult to see exactly where the installation is in the files. http://prntscr.com/xrtgpy Is there an easier way to install this with docker to find the file directory easier? It just seems like the save isnt saving to the server and I have no idea where its located even though the manager starts the file fine..

knoxfighter commented 3 years ago

Is your save listed in the "Saves" page?

stucker9 commented 3 years ago

Yes

stucker9 commented 3 years ago

2021/01/28 21:13:37 cannot open save level file: file not found 2021/01/28 21:13:37 http: superfluous response.WriteHeader call from github.com/mroote/factorio-server-manager/api.LoadModsFromSaveHandler (mods_handler.go:324)

stucker9 commented 3 years ago

http://prntscr.com/xrwd67 http://prntscr.com/xrwlky

stucker9 commented 3 years ago

Oh, wierd, I tried a different save with different mods and it worked...

knoxfighter commented 3 years ago

Then send me the save, which doesn't work pls :) I will have a look later.

stucker9 commented 3 years ago

https://toffeeshare.com/?a82839ee1a6hlV

stucker9 commented 3 years ago

Also, how would I go about launching multiple servers? I assume creating a new container? Would ports be an issue?

knoxfighter commented 3 years ago

yes, run multiple containers and expose the ports onto a different host port.

knoxfighter commented 3 years ago

I only get the message "Unable to establish connection" on that link :frowning:

stucker9 commented 3 years ago

https://gofile.io/d/yLMLfv

knoxfighter commented 3 years ago

I cannot launch a game with that save. It is an invalid save, cause it contains no level.dat. The factorio server is also not starting it: 0.835 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "level.dat not found."

For what factorio version is that save and how did you created it?

stucker9 commented 3 years ago

That is...bizarre. I created it in 1.1, I want to say in 1.1.19 but it could have been a version between 1.1.12-1.1.18. I didn't manipulate the save at all so I'm not sure how that could have happened haha. That would certainly explain why its not working with that save. I guess we can just chalk this up to a isolated issue with one of the factorio beta versions, I don't know.

knoxfighter commented 3 years ago

When i'm correct, that was a bug in a single beta 1.1 version. So yes, this should not be an issue with any new/updated version of factorio. Also factorio 1.1 has a stable release now :)

If that ever happens again, just reopen this issue or create a new one.