McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
92 stars 53 forks source link

Logic channels correctly outputs redstone on a connection only if no color is assigned to both the sensor and the output connection #587

Closed HalTheReal closed 3 months ago

HalTheReal commented 3 months ago

Issue description: logic channels do not output any redstone signal on a connection if a color is assigned to it

Steps to reproduce: connect a lever to a network and configure the connection as "sensor Rs != 0". Now connect a redstone lamp to the network and configure the connection as "output redstone: 15". This configuration stops working as soon as you try to assign a color to both the sensor and the output.

Versions:

McJty commented 3 months ago

Assign a color how? Isn't this how it is supposed to be? If you assign a color to the sensor the sensor will not activate until that color is active but what will make the color active?

HalTheReal commented 3 months ago

If you don't assign any color in any way the setup works as I expect it would. I'm quite new to the mod but if on the same setup I set the sensor connection as "sensor Rs != 0, output color white" and for the redstone lamp output I set "enable on white, output redstone: 15" the lamp does not turn on when you filp the lever... Is this the intended behaviour?

McJty commented 3 months ago

Can you show me your setup that isn't working? That will help

HalTheReal commented 3 months ago

I recorded a short video of the issue. Sorry for the quality and lack of audio, I'm not a streamer or a youtuber by any means!

https://drive.google.com/file/d/14d1C-1ipvr0tdT1p4Gw45PhEmVvsH54_/view?usp=sharing

McJty commented 3 months ago

I don't have access to that document

HalTheReal commented 3 months ago

Sorry, my bad. Should be working now. I expect both setups shown in the video to work equally, but maybe I'm not fully understanding how colors work on the redstone channel.

spezybrezy commented 3 months ago

Having the same issue after updating to 1.20-6.1.3

McJty commented 3 months ago

Should be fixed in next release