[0.17.32] Reading belt with circuit network changes item's position

Bugs that are actually features.
Post Reply
luc
Fast Inserter
Fast Inserter
Posts: 218
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

[0.17.32] Reading belt with circuit network changes item's position

Post by luc »

Context: I made a simple music editor that reads a belt and plays different notes on the programmable speaker for different items.

Image

The items were (painstakingly) spaced apart to make a simple tune, but as can be seen in the screenshot, the items have grouped into blocks. "Content read mode" seems to erroneously include moving said contents.

This is in multiplayer, in case that makes a difference.

tehfreek
Filter Inserter
Filter Inserter
Posts: 391
Joined: Thu Mar 17, 2016 7:34 am
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by tehfreek »

Did you remember to uncheck "Enable"? A blueprint to replicate this would help.

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

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by Klonan »

Can you provide a save file demonstrating the issue?

luc
Fast Inserter
Fast Inserter
Posts: 218
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by luc »

Savefile: https://lgms.nl/tmp/factorio-sound.zip

I just tested it in single player, and it also occurs there. To quickly reproduce, running the game at speed 50 (not sure how much of that I actually reached, probably only like 10× speed or so) for a minute or two shows the effect.

At full zoom, it is also visible that they move a pixel upon entering the section.

Thanks for looking into this!

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by Rseding91 »

It could be that connecting a wire to a belt changes if the belt-merging is allowed to merge that belt with others. when a wire is connected to a belt it's force-unmerged and has to stay unmerged because wires can mess with item flow on that specific belt.
If you want to get ahold of me I'm almost always on Discord.

luc
Fast Inserter
Fast Inserter
Posts: 218
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by luc »

So... I don't completely understand what you said, but sounds like the code could be made to not perform the force-unmerge when the belt is set to read-only mode?

Can we cure it, doctor?

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by kovarex »

It is a circular belt, it will always have a transition point somewhere.

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by BlueTemplar »

Damn, so belt optimizations have made "simple" designs like this not possible anymore ?
https://www.factorio.com/blog/post/fff-175
P.S.: What if you were to make all the belt tiles the same by wiring all of them (all separately?), but only actually reading from one of them ?
BobDiggity (mod-scenario-pack)

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by kovarex »

BlueTemplar wrote:
Tue Apr 30, 2019 3:12 pm
Damn, so belt optimizations have made "simple" designs like this not possible anymore ?
https://www.factorio.com/blog/post/fff-175
P.S.: What if you were to make all the belt tiles the same by wiring all of them (all separately?), but only actually reading from one of them ?
The design in the fff would still work the same, the timing would be the same.
It has nothing to do with wiring really, it is just the problem of belt being in a circle, but from what I saw, it hardly made anything broken, it is just a small visual gap (almost hard to notice) in one place for a specific setup.

luc
Fast Inserter
Fast Inserter
Posts: 218
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

Re: [0.17.32] Reading belt with circuit network changes item's position

Post by luc »

So the workaround is to make sure the items are adjacent? E.g. fill it up with dummy items that do not play a sound if you want spacing?

Post Reply

Return to “Not a bug”