[0.12.4][Twinsen] - combinator madness
Posted: Sat Aug 15, 2015 1:24 pm
Hi,
I updated to 0.12.4 today and experienced a strange combinator behavior...
With a single image it is a bit hard to explain, so I updated a video showing the bug you can see here :
https://www.youtube.com/watch?v=_D1kUhnfFb8
Here are the repro steps I found :
first, setup a 3 combinators loop which generate a signal from 1 to 50 and loops back :
1 - One combinator making blue + 1 => blue
2 - One combinator making if (blue < 50) => green
3 - One combinator making blue * green => blue
1 is connected to 2, 2 to 3, 3 to 1 with green wires
1 is connected to 3 with a red wire.
Untill there, everything works fine.
Now, I add a constant combinator (4) which outputs 1 petroleum gas (in my movie it is the output of a more complex compute system, but the output is a stable 1)
I also crate a maths combinator (5) which makes blue * gas => blue.
I connect 1 and 4 to 5.
So 5 outputs a blue signal from 1 to 50 with a loop.
The bug is there : when I remove the combinator 5, the 3 first combinators completely go mad and have a non expected behavior. The video will show you.
I also uploaded the save file with the bug, and a picture showing which combinator to remove in order to trigger the bug.
I updated to 0.12.4 today and experienced a strange combinator behavior...
With a single image it is a bit hard to explain, so I updated a video showing the bug you can see here :
https://www.youtube.com/watch?v=_D1kUhnfFb8
Here are the repro steps I found :
first, setup a 3 combinators loop which generate a signal from 1 to 50 and loops back :
1 - One combinator making blue + 1 => blue
2 - One combinator making if (blue < 50) => green
3 - One combinator making blue * green => blue
1 is connected to 2, 2 to 3, 3 to 1 with green wires
1 is connected to 3 with a red wire.
Untill there, everything works fine.
Now, I add a constant combinator (4) which outputs 1 petroleum gas (in my movie it is the output of a more complex compute system, but the output is a stable 1)
I also crate a maths combinator (5) which makes blue * gas => blue.
I connect 1 and 4 to 5.
So 5 outputs a blue signal from 1 to 50 with a loop.
The bug is there : when I remove the combinator 5, the 3 first combinators completely go mad and have a non expected behavior. The video will show you.
I also uploaded the save file with the bug, and a picture showing which combinator to remove in order to trigger the bug.