Page 1 of 1

[0.12.25] [Twinsen] Combinator strange behavior (Any) - 2

Posted: Sun Mar 06, 2016 5:14 pm
by XKnight
Consider next build:
1.png
1.png (201.16 KiB) Viewed 4504 times
Although I understand current result and its causes (signal with zero value is not the same as no signal), but something should be changed to make this behaviour more obvious:
- "zero signal != no signal" solution: status window should show input "0 Blue" and output "0 Blue"
- "zero signal = no signal" solution: in this case output should be "3 Blue"

If you decide that "zero signal != no signal" next build also should return "5 Blue":
2.png
2.png (238.53 KiB) Viewed 4501 times

Re: [0.12.25] Combinator strange behavior (Any) - 2

Posted: Mon Mar 07, 2016 6:34 am
by DaveMcW
It's not just mixed red and green signals, I can also reproduce it with a single color.
3.jpg
3.jpg (284.66 KiB) Viewed 4476 times

Re: [0.12.25] [Twinsen] Combinator strange behavior (Any) - 2

Posted: Mon Mar 07, 2016 6:10 pm
by Twinsen
You are on a roll with the combinator bugs :)

For consistency I want "zero signal = no signal". I think I fixed the situations where this caused problems.

I also fixed this this and the previous bugs you reported in the circuit conditions for entities.

Let me know if you find anything else.

Re: [0.12.25] [Twinsen] Combinator strange behavior (Any) - 2

Posted: Mon Mar 07, 2016 6:54 pm
by XKnight
Thanks a lot,

Could you also check this build (just in case)?
1.png
1.png (231.09 KiB) Viewed 4428 times

Re: [0.12.25] [Twinsen] Combinator strange behavior (Any) - 2

Posted: Tue Mar 08, 2016 11:36 am
by Twinsen
Yes, it works after the fix, in the sense that nothing is outputted from the combinator.