Possible rednet bug?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

netmc

New Member
Jul 29, 2019
1,512
0
0
Latest MFR (2.6.4) in MC 1.5.2

I'm in the process of setting up and elevator system using rednet. I've played around with it in creative, and I have what should work, but the variables won't stay set.

I have 4 variables set. (var0-3). I take these 4 variables and AND them with a lever to set another variables (var10). I have this paired, so lever 0 plus VAR0 will set VAR10, lever 1 and VAR1 will also set VAR10, etc. If I use the rednet scanner to check the values of the variables on the rednet controller, I will only see VAR0-3 set, not VAR10.

I've had some pairs activate properly, and others not. I don't know why that is. My ANDing is correct, because if I change the output from VAR10 to an actual output rednet cable, I can see the values are set correctly.

I also had another glitch while I was setting it up, and several variables that weren't even in use suddenly got set to a value of 15. I ended up reinitializing the controller in order to get it to start working correctly again.

I hope I have explained what I am doing well enough. If anyone needs screenshots, I can produce.

I've figured out a way around the issue, but the way I want to program would make a few things a lot easier.
 

netmc

New Member
Jul 29, 2019
1,512
0
0
Ok, maybe not a bug, but maybe I'm doing something wrong. I tried changing the output of my ANDing pairs to be the same output, and it stopped working. If I change it so I use different colors for the output, it is fine.

---
Just solved it.

If I set a separate variable for each combination, then combine all of them in a 4-way OR statement, it works fine. I guess there is an interaction where multiple conditions are being set, the rednet controller isn't additive. If I have 3 combinations not true, and one combination true, the order the rednet controller processes the sequence determines weather the output is true or not (if all are directing to the same output). I guess this means one more PRC card needed to make it all work.