Page 1 of 1

[0.11.14] Multiplayer limited to 2 players

Posted: Thu Feb 19, 2015 12:00 am
by provet
Hello, we are 3 players who tries to play factorio together, but once 2 out of 3 have joined, no matter who joined first, the last player cant join the game.

What we've tried:
Changed Latency to 700 ms*
Starting a new multiplayer game
Changed back to default ports

It seems that the last connecting player are using a different port than default.. not sure if related or not.

Log:

Code: Select all

13598.891320  Info Router.cpp:372: Router state -> Disconnected
13598.891637  Info MultiplayerManager.cpp:470: networkTick(0) mapTick(-1) changing state from(Disconnected) to(PreparedToHostGame)
13598.891665  Info MultiplayerManager.cpp:470: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
13598.891953  Notice Scenario.cpp:126: Loading map 
13598.892342  Info Scenario.cpp:159: Map version 0.11.14-0
13598.974341  Info WindowsUDPSocket.cpp:55: Opening socket at port (34197)
13598.974556  Info Router.cpp:372: Router state -> Connected
13598.974582  Info Synchronizer.cpp:59: NetworkTick(0) initialized Synchronizer local peer(0).
13598.974710  Notice Router.cpp:72: Hosting game at port 34197, peerID 0, session magic 56935
13598.974734  Info MultiplayerManager.cpp:470: networkTick(0) mapTick(0) changing state from(CreatingGame) to(InGame)
13598.974763  Info NetworkInputHandler.cpp:27: mapTick(0) networkTick(0) initialized NetworkInputHandler local peer(0).
13599.008238  Info MultiplayerManager.cpp:922: Received peer info for peer(0) username(DinMamma).
13599.072697  Info GameActionHandler.cpp:1530: MapTick(7) processed PlayerJoinGame peerID(0) playerIndex(0) mode(create)
13603.427951  Info Router.cpp:272: Received packet with invalid session magic 18306 from <IP-ADRESS>:60890
13608.143049  Info Router.cpp:526: networkTick(865) adding peer(1) address(<IP-ADRESS>:60890)
13608.475873  Info MultiplayerManager.cpp:922: Received peer info for peer(0) username(DinMamma).
13608.475929  Info MultiplayerManager.cpp:922: Received peer info for peer(1) username(Korv-Ivar).
13608.475945  Info MultiplayerManager.cpp:922: Received peer info for peer(1) username(Korv-Ivar).
13608.925849  Info MultiplayerManager.cpp:1148: networkTick(881) mapTick(599) starting mapAlign
13608.925906  Info MultiplayerManager.cpp:485: networkTick(881) mapTick(599) changing mapAlign state from(NotAligned) to(Aligning)
13608.925937  Info NetworkInputHandler.cpp:309: expectedMapTick(599) adding peer(1) success(true).
13608.925957  Info MultiplayerManager.cpp:1096: networkTick(881) mapTick(599) adding mapAlignTask(MapUploadAlignTask peer(1))
13608.975765  Info MultiplayerManager.cpp:763: networkTick(886) mapTick(599) received MapAlignAction from peer(0), mapTickForAligning(599) appliedTickClosuresCount(0)
13608.975826  Info MultiplayerManager.cpp:706: networkTick(886) mapTick(599) received mapAlignStateChanged peerID(1) mapAlignState(NotAligning)
13608.975845  Info MultiplayerManager.cpp:1249: networkTick(886) mapTick(599) mapAlign finished targetTick(599) updating map and running the tasks ...
13608.975866  Info MultiplayerManager.cpp:485: networkTick(886) mapTick(599) changing mapAlign state from(Aligning) to(AlignedRunningTasks)
13608.976159  Info MultiplayerManager.cpp:470: networkTick(886) mapTick(599) changing state from(InGame) to(InGameSavingMap)
13609.263747  Info MultiplayerManager.cpp:470: networkTick(914) mapTick(599) changing state from(InGameSavingMap) to(InGameSendingMap)
13609.263822  Info TransferSource.cpp:28: Serving file C:/Users\User1\Indie games\Factorio\Factorio_0.11.14.13240\temp\mp-download.zip for peer 1
13615.675823  Notice TransferSource.cpp:66: Canceling serving for peer 1
13615.676066  Info MultiplayerManager.cpp:470: networkTick(1333) mapTick(599) changing state from(InGameSendingMap) to(InGameWaitingForClientMapLoad)
13615.676115  Info MultiplayerManager.cpp:883: Received MapDownloadFinished from peer(1) stopping transfer.
13615.743128  Info MultiplayerManager.cpp:470: networkTick(1337) mapTick(599) changing state from(InGameWaitingForClientMapLoad) to(InGame)
13615.743213  Info MultiplayerManager.cpp:485: networkTick(1337) mapTick(599) changing mapAlign state from(AlignedRunningTasks) to(AlignedTasksCompleted)
13615.743233  Info MultiplayerManager.cpp:485: networkTick(1337) mapTick(599) changing mapAlign state from(AlignedTasksCompleted) to(AlignedFinished)
13615.743249  Info MultiplayerManager.cpp:1229: networkTick(1337) mapTick(599) stopping mapAlign
13615.743267  Info MultiplayerManager.cpp:485: networkTick(1337) mapTick(599) changing mapAlign state from(AlignedFinished) to(NotAligned)
13615.845863  Info NetworkInputHandler.cpp:204: no crc for mapTick(599) by peer(1)
13615.846070  Info GameActionHandler.cpp:1530: MapTick(606) processed PlayerJoinGame peerID(1) playerIndex(1) mode(create)
13615.861003  Info NetworkInputHandler.cpp:204: no crc for mapTick(600) by peer(1)
13615.878202  Info NetworkInputHandler.cpp:204: no crc for mapTick(601) by peer(1)
13615.895160  Info MultiplayerManager.cpp:706: networkTick(1347) mapTick(608) received mapAlignStateChanged peerID(1) mapAlignState(NotAligned)
13615.895756  Info NetworkInputHandler.cpp:204: no crc for mapTick(602) by peer(1)
13615.909955  Info NetworkInputHandler.cpp:204: no crc for mapTick(603) by peer(1)
13615.926647  Info NetworkInputHandler.cpp:204: no crc for mapTick(604) by peer(1)
13615.944249  Info NetworkInputHandler.cpp:204: no crc for mapTick(605) by peer(1)
13715.031978  Info MultiplayerManager.cpp:470: networkTick(10084) mapTick(6239) changing state from(InGame) to(InGameDied)
13725.059971  Info MultiplayerManager.cpp:470: networkTick(11011) mapTick(6840) changing state from(InGameDied) to(InGame)
13897.888859  Info Router.cpp:526: networkTick(22496) adding peer(2) address(<IP-ADRESS>:34197)
13916.505339  Info Synchronizer.cpp:536: NetworkTick(22501) peer(2) peerHeartbeatsEmpty(false) is not responding, dropping.
13916.505433  Info MultiplayerManager.cpp:922: Received peer info for peer(0) username(DinMamma).
13916.505454  Info MultiplayerManager.cpp:922: Received peer info for peer(1) username(Korv-Ivar).
13916.522718  Info MultiplayerManager.cpp:1148: networkTick(22502) mapTick(15636) starting mapAlign
13916.522772  Info MultiplayerManager.cpp:485: networkTick(22502) mapTick(15636) changing mapAlign state from(NotAligned) to(Aligning)
13916.522793  Info MultiplayerManager.cpp:1096: networkTick(22502) mapTick(15636) adding mapAlignTask(RemovePlayerAlignTask)
13916.559027  Info MultiplayerManager.cpp:981: Peer dropout detected for not connected peer
13916.572192  Info MultiplayerManager.cpp:763: networkTick(22507) mapTick(15636) received MapAlignAction from peer(0), mapTickForAligning(15636) appliedTickClosuresCount(0)
13916.572252  Info MultiplayerManager.cpp:706: networkTick(22507) mapTick(15636) received mapAlignStateChanged peerID(1) mapAlignState(Aligning)
13916.572274  Info MultiplayerManager.cpp:763: networkTick(22507) mapTick(15636) received MapAlignAction from peer(1), mapTickForAligning(15634) appliedTickClosuresCount(0)
13916.572292  Info MultiplayerManager.cpp:1249: networkTick(22507) mapTick(15636) mapAlign finished targetTick(15636) updating map and running the tasks ...
13916.572313  Info MultiplayerManager.cpp:485: networkTick(22507) mapTick(15636) changing mapAlign state from(Aligning) to(AlignedRunningTasks)
13916.572332  Info NetworkInputHandler.cpp:333: expectedMapTick(15636) removing peer(2) success(false).
13916.572349  Info MultiplayerManager.cpp:485: networkTick(22507) mapTick(15636) changing mapAlign state from(AlignedRunningTasks) to(AlignedTasksCompleted)
13916.623629  Info MultiplayerManager.cpp:706: networkTick(22512) mapTick(15636) received mapAlignStateChanged peerID(1) mapAlignState(AlignedRunningTasks)
13916.623679  Info MultiplayerManager.cpp:706: networkTick(22512) mapTick(15636) received mapAlignStateChanged peerID(1) mapAlignState(AlignedTasksCompleted)
13916.623696  Info MultiplayerManager.cpp:485: networkTick(22512) mapTick(15636) changing mapAlign state from(AlignedTasksCompleted) to(AlignedFinished)
13916.688812  Info MultiplayerManager.cpp:706: networkTick(22517) mapTick(15636) received mapAlignStateChanged peerID(1) mapAlignState(AlignedFinished)
13916.688944  Info MultiplayerManager.cpp:1229: networkTick(22517) mapTick(15636) stopping mapAlign
13916.689024  Info MultiplayerManager.cpp:485: networkTick(22517) mapTick(15636) changing mapAlign state from(AlignedFinished) to(NotAligned)
13916.738587  Info MultiplayerManager.cpp:706: networkTick(22522) mapTick(15639) received mapAlignStateChanged peerID(1) mapAlignState(NotAligned)
13918.806014  Info NetworkInputHandler.cpp:204: no crc for mapTick(15757) by peer(1)
13918.806092  Info NetworkInputHandler.cpp:333: expectedMapTick(15764) removing peer(1) success(true).
13918.806120  Info GameActionHandler.cpp:1544: MapTick(15764) processed PlayerLeaveGame peerID(1) playerIndex(1)
13919.037810  Info Router.cpp:264: Received messageType(6) from unknown peer(2) from (<IP-ADRESS>:34197)
13920.205687  Info Router.cpp:264: Received messageType(6) from unknown peer(1) from (<IP-ADRESS>:60890)
First player joining the host have no issues what so ever.
Only one player joins at a time

No mods are used.
Host running Win7 64-bit

*Normally we ping each other around 80 so it was just for debug purposes

Re: [0.11.14] Multiplayer limited to 2 players

Posted: Thu Feb 19, 2015 12:33 am
by FishSandwich
Any reason you have set latency to 700? That's kind of extreme unless you have one person with very bad ping(and if so that person is likely the problem)

You might want to try something like evolve or hamachi, they can often bypass connection and port problems.

Re: [0.11.14] Multiplayer limited to 2 players

Posted: Thu Feb 19, 2015 1:38 am
by provet
FishSandwich wrote:Any reason you have set latency to 700? That's kind of extreme unless you have one person with very bad ping(and if so that person is likely the problem)

You might want to try something like evolve or hamachi, they can often bypass connection and port problems.
Not sure what's causing the issue so I tried adjust the latency to see if the problem were related to delays, (the server wouldn't wait for joining players enough time or something, log agreed so it wasn't the case, probably)
We are using direct connect, and are normally running the server with latency 90 ms.