Desync when robots build blueprint
Desync when robots build blueprint
We keep getting desyncs in multiplayer.
When placing a blueprints containing inserters and powerpoles, we experience frequent desyncs.
It seems to happen the moment when the inserters are powered on for the first time.
The inserters were modified with Bob's GUI, both fast and express inserters. Powerpoles are Medium Pole MK2's.
When placing a blueprints containing inserters and powerpoles, we experience frequent desyncs.
It seems to happen the moment when the inserters are powered on for the first time.
The inserters were modified with Bob's GUI, both fast and express inserters. Powerpoles are Medium Pole MK2's.
- Attachments
-
- 1.zip
- (11.91 MiB) Downloaded 119 times
-
- factorio-current.log
- (42.29 KiB) Downloaded 119 times
-
- mods.zip
- (22.58 MiB) Downloaded 123 times
Re: Desync when robots build blueprint
One of the mods is broken. You'll need to figure out which one and have the mod author fix it or remove it to prevent it from desyncing.
If you want to get ahold of me I'm almost always on Discord.
Re: Desync when robots build blueprint
Already PMed Bob before posting here, and he told me it's not his mods, it's the base game's fault, and to post here. I'll PM him the link to this thread.Rseding91 wrote:One of the mods is broken. You'll need to figure out which one and have the mod author fix it or remove it to prevent it from desyncing.
Re: Desync when robots build blueprint
I didn't say it was bobs mods. Just one (or more) of them is causing it. If you can make a new 50x50 map that reproduces it (without every single mod you have - just 1-2 that reproduces it) I'll take a look at it.Xeanoa wrote:Already PMed Bob before posting here, and he told me it's not his mods, it's the base game's fault, and to post here. I'll PM him the link to this thread.Rseding91 wrote:One of the mods is broken. You'll need to figure out which one and have the mod author fix it or remove it to prevent it from desyncing.
If you want to get ahold of me I'm almost always on Discord.
Re: Desync when robots build blueprint
Having a little trouble setting up a fresh map. I installed CM and Bob's Inserters, but I couldn't get the GUI for the inserters to appear. I'll work more on that later.
What I'm 100% sure of, however, is that the desyncs happens by powering on inserters placed by robots for the first time. It doesn't matter if the client or server does it, either.
What I'm 100% sure of, however, is that the desyncs happens by powering on inserters placed by robots for the first time. It doesn't matter if the client or server does it, either.
Re: Desync when robots build blueprint
I've looked at the code in bobs inserters and tested it myself and I get no desyncs with just bobs inserters. I can blueprint and build inserters (changing the pickup/dropoff locations randomly) all I want and they build correctly without any issues. They power on and move the items exactly as they should - no desyncs.Xeanoa wrote:Having a little trouble setting up a fresh map. I installed CM and Bob's Inserters, but I couldn't get the GUI for the inserters to appear. I'll work more on that later.
What I'm 100% sure of, however, is that the desyncs happens by powering on inserters placed by robots for the first time. It doesn't matter if the client or server does it, either.
If you want to get ahold of me I'm almost always on Discord.
Re: Desync when robots build blueprint
Ok, I was able to reproduce it. I was testing on 0.15 and it doesn't happen there. I can reproduce it in 0.14 easily.
So, I guess it's fixed for 0.15
So, I guess it's fixed for 0.15
If you want to get ahold of me I'm almost always on Discord.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Desync when robots build blueprint
Basically, the reason why I refered him to here is because, he said it specifically happens when using blueprints.
The inserters mod only ever changes settings on user click, and the logistics mod only ever on inserter entity placement by player (the ghost itself is modified in the case of them placing a ghost for an inserter to place)
My mod actually has a strict "If the player is holding a blueprint, don't do anything" check, therefore, in theory, the error occurs simply because the inserter has been configured.
And my referal didn't specifically say "It's definitely base game", just that it's either base game, or a mod that isn't mine.
Anyway, glad to see it's solved.
The inserters mod only ever changes settings on user click, and the logistics mod only ever on inserter entity placement by player (the ghost itself is modified in the case of them placing a ghost for an inserter to place)
My mod actually has a strict "If the player is holding a blueprint, don't do anything" check, therefore, in theory, the error occurs simply because the inserter has been configured.
And my referal didn't specifically say "It's definitely base game", just that it's either base game, or a mod that isn't mine.
Anyway, glad to see it's solved.
Re: Desync when robots build blueprint
That's good to know, thank you!Rseding91 wrote:Ok, I was able to reproduce it. I was testing on 0.15 and it doesn't happen there. I can reproduce it in 0.14 easily.
So, I guess it's fixed for 0.15
What exactly causes the issue? Is it anything we can avoid triggering? I'd like to keep desyncs to a minimum to keep my fiancee sane
I noticed it doesn't happen always happen, there's gotta be something in it
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: Desync when robots build blueprint
I've been debugging the same thing, and talked to Rseding about it on IRC and even stood up a dedicated server with a new map to try and recreate the problem. I got as far as not recreating it with Bob's only, and hadn't yet started through binary search of the mods I'm using to see if there was a conflict.Xeanoa wrote:We keep getting desyncs in multiplayer.
When placing a blueprints containing inserters and powerpoles, we experience frequent desyncs.
Is this confirmed to be a vanilla issue? Can I avoid the problem just by omitting power poles from blueprints?
Re: Desync when robots build blueprint
Building any blueprint with a custom inserter pickup or dropoff position in it that you rotated while building will cause It.Xeanoa wrote:That's good to know, thank you!Rseding91 wrote:Ok, I was able to reproduce it. I was testing on 0.15 and it doesn't happen there. I can reproduce it in 0.14 easily.
So, I guess it's fixed for 0.15
What exactly causes the issue? Is it anything we can avoid triggering? I'd like to keep desyncs to a minimum to keep my fiancee sane
I noticed it doesn't happen always happen, there's gotta be something in it
If you want to get ahold of me I'm almost always on Discord.
Re: Desync when robots build blueprint
Again, thanks! That's something that can be worked around!Rseding91 wrote:Building any blueprint with a custom inserter pickup or dropoff position in it that you rotated while building will cause It.Xeanoa wrote:That's good to know, thank you!Rseding91 wrote:Ok, I was able to reproduce it. I was testing on 0.15 and it doesn't happen there. I can reproduce it in 0.14 easily.
So, I guess it's fixed for 0.15
What exactly causes the issue? Is it anything we can avoid triggering? I'd like to keep desyncs to a minimum to keep my fiancee sane
I noticed it doesn't happen always happen, there's gotta be something in it
I assume this means rotating it while holding it in hand, then placing it?that you rotated while building
If so, then rotating to the desired rotation before picking up the blueprint should work?
Re: Desync when robots build blueprint
Building it rotated is what triggers it.
If you want to get ahold of me I'm almost always on Discord.
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: Desync when robots build blueprint
Do you mean custom pickup/dropoff rotation, or rotating the inserter after customization?Rseding91 wrote:Building it rotated is what triggers it.
Re: Desync when robots build blueprint
I understand it as: Building the blueprint not in the original rotation causes it.
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: Desync when robots build blueprint
That rings a bell with my experience! Rotate the blueprint and then you get desyncs. I even recently did a test where I tested many possible rotations, and blueprinted them around to try and verify that thought.Xeanoa wrote:I understand it as: Building the blueprint not in the original rotation causes it.
Can you confirm it works fine if you always use the blueprint in the same orientation as when it was taken?
Re: Desync when robots build blueprint
Recently moved several complexes around with large blueprints to make space for rails, but only changing location, not rotation, at we didn't get the expected desyncs, so I can confirm that.