[0.13.6] [Pending] --mp-connect only accepts host:port syntax

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
mickael9
Fast Inserter
Fast Inserter
Posts: 112
Joined: Mon Mar 14, 2016 4:04 am
Contact:

[0.13.6] [Pending] --mp-connect only accepts host:port syntax

Post by mickael9 »

When using the --mp-connect command line flag, specifying only the hostname/IP part without the port (eg factorio --mp-connect 1.2.3.4) leads to the game trying to connect on port 0 instead of the default one

Code: Select all

  11.164 Joining game 1.2.3.4:0
  11.165 Info PosixUDPSocket.cpp:50: Opening socket at port 0
  11.165 Info Router.cpp:594: Router state -> Connecting
  11.165 Error MultiplayerManager.cpp:129: MultiplayerManager failed: "Sendto failed: Invalid argument"
  11.166 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(Ready) to(InitializationFailed)
  13.464 Info MultiplayerManager.cpp:180: NetworkTick(0) quitting multiplayer connection.
  13.464 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(InitializationFailed) to(Disconnected)

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.13.6] --mp-connect only accepts host:port syntax

Post by Oxyd »

Is there any particular reason you're trying to use --mp-connect? It's a hack from very early times of Factorio and I actually wanted to remove it for 0.13, except I forgot to actually do it.

User avatar
mickael9
Fast Inserter
Fast Inserter
Posts: 112
Joined: Mon Mar 14, 2016 4:04 am
Contact:

Re: [0.13.6] --mp-connect only accepts host:port syntax

Post by mickael9 »

Simply because it's faster to start the game that way for me, so I don't have to find my way through the menus each time.

zopieux
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Jul 11, 2016 4:41 pm
Contact:

Re: [0.13.6] --mp-connect only accepts host:port syntax

Post by zopieux »

I, for one, would find it very useful if this feature was official and maintained. It is indeed quite cumbersome to go through a 4-level deep menu to connect to a game server.

Thanks!

User avatar
mickael9
Fast Inserter
Fast Inserter
Posts: 112
Joined: Mon Mar 14, 2016 4:04 am
Contact:

Re: [0.13.6] --mp-connect only accepts host:port syntax

Post by mickael9 »

I would also add that without this direct connect feature, no external server browser / game launchers could exist.

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.13.6] --mp-connect only accepts host:port syntax

Post by Oxyd »

mickael9 wrote:I would also add that without this direct connect feature, no external server browser / game launchers could exist.
Do any exist, though?

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.13.6] --mp-connect only accepts host:port syntax

Post by Oxyd »

Also, can't reproduce. Whoever moved this to confirmed, post the exact reproduction steps you used while confirming this bug.

Moving out of confirmed.

User avatar
mickael9
Fast Inserter
Fast Inserter
Posts: 112
Joined: Mon Mar 14, 2016 4:04 am
Contact:

Re: [0.13.6] [Pending] --mp-connect only accepts host:port syntax

Post by mickael9 »

I also can't reproduce as of 0.13.9. I think this can be closed as fixed.

Post Reply

Return to “Resolved Problems and Bugs”