[0.17.68] Multiplayer: saving a blueprint disconnects other player

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
BattleFluffy
Fast Inserter
Fast Inserter
Posts: 188
Joined: Sun Mar 31, 2019 4:58 pm
Contact:

[0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by BattleFluffy »

Me and a friend are playing entirely vanilla, no mods at all.
Every time I try to save a large blueprint into a book in "My Blueprints", my friend gets a message "server is not responding" and is disconnected.
This happened several times last night, and we were able to reproduce it on the first try again today.

Logs attached. The save file is here:
https://drive.google.com/open?id=1UYgbJ ... 1gdGY2SIKz

The blueprint I saved is here:
https://pastebin.com/ik8cdyqn
Attachments
factorio-previous.log
(19.16 KiB) Downloaded 117 times
factorio-current.log
(10.88 KiB) Downloaded 125 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5148
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by Klonan »

Does it still happen?
Does it only happen with this blueprint, or all big blueprints?

Can you provide a log file from his PC?

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by posila »

What do you exactly mean by 'try to save a large blueprint into a book in "My Blueprints"'? You have large blueprint in your inventory and put the item to "My Blueprints" area of Blueprint Library?

User avatar
BattleFluffy
Fast Inserter
Fast Inserter
Posts: 188
Joined: Sun Mar 31, 2019 4:58 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by BattleFluffy »

Hi, my apologies for not responding about this sooner. My friend was away on holiday so we weren't playing.
Klonan wrote:
Wed Sep 18, 2019 1:23 pm
Does it still happen?
Yes
Does it only happen with this blueprint, or all big blueprints?
It's not just this blueprint, it seems to be with any large blueprint I make of our "corridor" design. It doesn't always happen, just sometimes. I would estimate about 50% of the time.
Can you provide a log file from his PC?
Provided :> My friend says he was playing modded earlier, but has switched over to pure vanilla when joining my game.

posila wrote:
Thu Sep 19, 2019 10:10 am
What do you exactly mean by 'try to save a large blueprint into a book in "My Blueprints"'? You have large blueprint in your inventory and put the item to "My Blueprints" area of Blueprint Library?
It is after the creation of a new blueprint using alt-B.
We've done more tests now, turns out what I said before wasn't quite right anyway. The exact moment the disconnect happens is when I click the Tick icon in the blueprint preview window. I then get the blueprint as an item on my cursor, and this is the moment my friend informs me that he is dropping from the game.

To be completely clear, this is the procedure I'm following:

1. I press alt-B and start drag-selecting a large area to make a new blueprint.
2. I release my drag-selection and the blueprint preview window opens.
3. I make some changes (include Tiles, right click to remove Landfill, set the name) and then click the tick.

It's when I click the tick that the disconnection occurs; that's the exact moment it happens.


We're now playing 0.17.69. I've never noticed these disconnects in any other game. WIth that said, this is the only game where I've been making and using extremely large blueprints.

It just happened again now, which prompted me to check this thread again.
I will try to watch this thread more closely now, sorry for the previous delay. :>
Attachments
factorio-current.log
(40.3 KiB) Downloaded 109 times
Last edited by BattleFluffy on Sun Sep 22, 2019 10:11 am, edited 11 times in total.

User avatar
BattleFluffy
Fast Inserter
Fast Inserter
Posts: 188
Joined: Sun Mar 31, 2019 4:58 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by BattleFluffy »

We experienced the disconnect after making a large blueprint again, my friend sent another log. It's attached.
Attachments
factorio-current (1).log
(101.89 KiB) Downloaded 129 times

Stevetrov
Fast Inserter
Fast Inserter
Posts: 125
Joined: Tue Jun 14, 2016 7:04 am
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by Stevetrov »

I have experienced a very similar or the same issue.

Steps to reproduce in a mp game:

1. Import this large solar stamp: https://pastebin.com/3Exfkkxs
2. edit the bp to remove all panels and accus.
3. Click on the tick to save the bp.
4. The game disconnects me, its not a crash, its not a desync, I start getting jumps and never recover even though before I saved the bp I was keeping up with the server without problems.

I have seen this several times on the public server explosive gaming s3. (where the maps tend to be megabase sized)

HTH

User avatar
BattleFluffy
Fast Inserter
Fast Inserter
Posts: 188
Joined: Sun Mar 31, 2019 4:58 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by BattleFluffy »

Update. We continue to experience this problem, even when playing on Local Area Network.

ETK03
Burner Inserter
Burner Inserter
Posts: 15
Joined: Fri May 11, 2018 9:48 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by ETK03 »

I'm not sure if the devs are still reading this, but here are a few things I've found: 1) When putting very large blueprints or blueprint books (20 million + characters in the blueprint string, or about 20MB) into game blueprints or your own blueprint storage, the server will stop responding.

This(
factorio-current.log
(159.45 KiB) Downloaded 133 times
) is a log of Factorio running out of memory after trying to take a very large blueprint book out of game blueprints. Attempting to export the blueprint to string will take a very long time.

I tried to create a pastebin or save a file with a large blueprint string in it for you to test, but I was unable to create it without crashing my computer or causing pastebin to reject it, so you will have to create your own by copying a large blueprint many times and putting them all into a blueprint book.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5148
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by Klonan »

I want to believe, that the disconnected player just has a potato computer which can't handle the load of parsing and importing the blueprint

User avatar
invisus
Filter Inserter
Filter Inserter
Posts: 284
Joined: Fri Sep 21, 2018 5:33 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by invisus »

Klonan wrote:
Mon Nov 04, 2019 10:23 am
potato computer
Image

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by eradicator »

Klonan wrote:
Mon Nov 04, 2019 10:23 am
I want to believe, that the disconnected player just has a potato computer which can't handle the load of parsing and importing the blueprint
Not a blueprint, but sudden "large burst of network data" definetly kill the connection instantly: viewtopic.php?p=465473#p465473 (and in my case my friends have really good internet/pcs and the data is more on the 1~2mb scale)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
BattleFluffy
Fast Inserter
Fast Inserter
Posts: 188
Joined: Sun Mar 31, 2019 4:58 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by BattleFluffy »

Klonan wrote:
Mon Nov 04, 2019 10:23 am
I want to believe, that the disconnected player just has a potato computer which can't handle the load of parsing and importing the blueprint
It's not a potato, sorry. The computer that gets disconnected has an i7-3770K cpu with 8GB ram, and the host has an i7-9700K cpu with 16gb ram. Both have dedicated Nvidia graphics cards also. This is pretty fast computers, easily fast enough for Factorio. This was also happening on LAN.

Please let me know if there are any additional diagnostic steps you'd like me to carry out.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.68] Multiplayer: saving a blueprint disconnects other player

Post by posila »

It's hopefully fixed for 0.18.15, at least based on Stevetrov's reproduction steps.
Stevetrov wrote:
Tue Oct 01, 2019 10:38 pm

Post Reply

Return to “Resolved Problems and Bugs”