--mp-load-game not recognized

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
xng
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Feb 14, 2014 1:04 pm
Contact:

--mp-load-game not recognized

Post by xng »

Code: Select all

---------------------------
Launch options error
---------------------------
unrecognised option '--mp-load-game'
---------------------------
OK   
---------------------------
Tried to start a server by the instructions in the wiki, but get the error attached in the code tag.

tried with:
factorio.exe --mp-load-game PawHugga20170228_005.zip --server-settings spacex_settings.json
&
factorio.exe --mp-load-game PawHugga20170228_005.zip

(In the settings file case it is next to the factorio.exe)


Edit: extra info/ I seem to be able to start a server with --start-server, but then I am not allowed to play on it on the same computer as factorio is already running. The aim is to not have to go through the tediousness of having to fill out the multiplayer form every time.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: --mp-load-game not recognized

Post by daniel34 »

--mp-load-game was removed in 0.13.9, but it would have given you the same issue. I've changed the wiki accordingly.

You need 2 instances of Factorio installed with different port settings to host a server and run the game at the same time (see this topic).
On how to change ports see this topic.

There's also more information here: https://wiki.factorio.com/Multiplayer#D ... ess_server
quick links: log file | graphical issues | wiki
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: --mp-load-game not recognized

Post by impetus maximus »

i suggest you change your client port and leave the server port default.
if players connect via IP, they don't have to enter the port # ;)
xng
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Feb 14, 2014 1:04 pm
Contact:

Re: --mp-load-game not recognized

Post by xng »

Thanks guys!

I wanted to avoid a dedicated server, but as there are no other choice I put one up, and it works fine after changing the folders so that server.log doesn't get locked by the server, and setting the mod folder to a copy of the original mod folder and so on. It would have been nicer to just be able to load a multiplayer save, like you're able to do in the game menu, but as long as it works I'm fine.

:geek:
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: --mp-load-game not recognized

Post by impetus maximus »

create a .bat file with a text editor/note pad etc, in your factorio.exe folder and point it to your multiplayer save file.
here is what mine looks like.

Code: Select all

factorio.exe --start-server saves/multi-player-save.zip -c "c:\Program Files\Factorio_0.14.22\config\server-config.ini" --server-settings server-settings.json
i have my multiplayer save in a folder called 'saves' within the factorio.exe folder.
Post Reply

Return to “Technical Help”