Page 1 of 1

[0.17.68] Multiplayer: saving a blueprint disconnects other player

Posted: Tue Sep 10, 2019 6:15 pm
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

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

Posted: Wed Sep 18, 2019 1:23 pm
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?

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

Posted: Thu Sep 19, 2019 10:10 am
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?

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

Posted: Sat Sep 21, 2019 1:35 pm
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. :>

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

Posted: Sat Sep 21, 2019 2:22 pm
by BattleFluffy
We experienced the disconnect after making a large blueprint again, my friend sent another log. It's attached.

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

Posted: Tue Oct 01, 2019 10:38 pm
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

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

Posted: Sat Oct 05, 2019 4:38 pm
by BattleFluffy
Update. We continue to experience this problem, even when playing on Local Area Network.

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

Posted: Fri Oct 11, 2019 6:42 am
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 142 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.

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

Posted: Mon Nov 04, 2019 10:23 am
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

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

Posted: Sun Nov 10, 2019 10:40 pm
by invisus
Klonan wrote:
Mon Nov 04, 2019 10:23 am
potato computer
Image

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

Posted: Mon Nov 11, 2019 12:22 am
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)

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

Posted: Sat Nov 16, 2019 7:31 pm
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.

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

Posted: Fri Mar 20, 2020 1:03 pm
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