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.
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.