RedNet help

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • 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

Lohengrin

New Member
Jul 29, 2019
121
0
0
Ok, I sorta understand rednet and the PRC...but apparently not well enough. I can't seem to wrap my head around things and when I test something it seems to work, but when I replicate that on the thing I am trying to do, it no worky.
Seems like it should be simple, but all the youtube videos havent explained to me what I am not understanding. Not for lack of trying, but in the interest or actually getting to play the game, maybe someone can point out the obvious to me. Slap upside the head is fine too.
I have a 3x3 spiral open piston door. It is all wired using vanilla redstone and it opened and closed with a lever. Rather than trying to work how to do the same thing using rednet, which may very well make me run screaming from the room, I thought I would wire the lever toggle to a PRC which has inputs to pressure plates on either side. Walk on pressure plate, door opens walk through hitting the other plate and door closes and vice versa. Should be easy...but I can not figure out what I am doing wrong here.
I've tried passthroughs, OR gates, inverter to varible to schmitt triggers, and the ol faithful T-Flip Flop. Ive ditched the lever and force connected the rednet to the block face instead, ive wired it to the redstone torch on the other side of the block that gets updated when the lever is switched. I have made sure the color collars are set correctly, Ive traced teh rednet to make sure it wasn't interferring and all connected.
Anyone with a better (read: any) grasp on RedNet that can help? I'd post pictures, but at work atm. But all it is is rednet to a lever (or something that will toggle) that will activate/invert the redstone torch on the opposite side that starts the door pistons going by way of pressure plate on either side. Why is this hard? With the lever, door works fine, no troubles. So I know it isn't that and I am loathe to mess with it. It works, I dont want to touch it. I just want the door to fire.

School me, help me understand the murky depths of a seemingly simple problem.
 

Ako_the_Builder

New Member
Jul 29, 2019
789
0
0
Hey Lohengrin, my vid on a rednet controlled drawbridge door (similar but not exactly the same) may help you (added in the spoiler tag). Uses force connect on the blocks under the pressure plates and inverter on the prc (different colour or different side of the prc for pressure plates and drawbridges(or pistons), you can add schmitt trigger to keep the door open longer if it opens and closes too quickly.

 
  • Like
Reactions: Lohengrin

AlanEsh

New Member
Jul 29, 2019
907
0
0
Are you 100% sure you have used the proper input/output facings in the controller setup?

without a picture that's all i can think off that you didn't mention
 

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
I also wonder, due to the way Rednet connects to blocks around it plus your pressure plate, if it might be messing with your vanilla redstone. If this is the case you should be able to set all of the unused connection points to a color that isn't being used for anything.
 
  • Like
Reactions: Lohengrin

netmc

New Member
Jul 29, 2019
1,512
0
0
One of the biggest gotchas I encountered when making my MFR Rednet elevator (with multiple inputs and outputs controlling the same devices), I found that you can't set the same variable or output from multiple functions.

ie, on page 1, you have a simple passthrough controlling the orange line. You set up the lever, and all functions as normal.
on page 2, you have a simple passthrough also controlling the orange line. This seems to work fine.
You go back to the first lever, and that doesn't work now. Since both controls are setting the orange line, orange is effectively stuck at a 0 value.

Instead, you need to change it so on page 1, instead of going to the orange output, you instead set vars1
on page 2, you change it from the orange output to vars2
on page 3, you set up an OR statement to evaluate vars1 or vars2 and then set the orange output.
 
  • Like
Reactions: Lohengrin

Lohengrin

New Member
Jul 29, 2019
121
0
0
Hey Lohengrin, my vid on a rednet controlled drawbridge door (similar but not exactly the same) may help you (added in the spoiler tag). Uses force connect on the blocks under the pressure plates and inverter on the prc (different colour or different side of the prc for pressure plates and drawbridges(or pistons), you can add schmitt trigger to keep the door open longer if it opens and closes too quickly.
Thanks, Ako. Watched that one and even dug it out again to watch again once I started struggling with this. Big fan, watched ya since beta series. I think though because this is vanilla redstone and not something like a drawbridge (which I was gonna do originally, but decided to go old school, sigh). Drawbridge wants an inverter to keep it closed, but this just needs a toggle. I did try the schmitt trigger after watching you bit on the bee house door the other day. No dice. But I think the problem lays more with the initial connection. Appreciate the answer though.

Are you 100% sure you have used the proper input/output facings in the controller setup?

without a picture that's all i can think off that you didn't mention

I thought so, but I will look again at home. Do the input/output have to come from seperate sides? I thought when I set up a simple test they could both go in and out from the same side of the PRC.
I also wonder, due to the way Rednet connects to blocks around it plus your pressure plate, if it might be messing with your vanilla redstone. If this is the case you should be able to set all of the unused connection points to a color that isn't being used for anything.

Yep, was very concious about that. And double checked to boot. But maybe I will triple check. I wrenched any cable that even came close to cable only mode, even diagonally located.

One of the biggest gotchas I encountered when making my MFR Rednet elevator (with multiple inputs and outputs controlling the same devices), I found that you can't set the same variable or output from multiple functions.

ie, on page 1, you have a simple passthrough controlling the orange line. You set up the lever, and all functions as normal.
on page 2, you have a simple passthrough also controlling the orange line. This seems to work fine.
You go back to the first lever, and that doesn't work now. Since both controls are setting the orange line, orange is effectively stuck at a 0 value.

Instead, you need to change it so on page 1, instead of going to the orange output, you instead set vars1
on page 2, you change it from the orange output to vars2
on page 3, you set up an OR statement to evaluate vars1 or vars2 and then set the orange output.

Each pressure plate was set to the same color on passthrough to the output lever which was a different color. Ive tried passthrough to variable 1 and variable 1 to a schmitt trigger on lever and same to a t flip flop. Tried OR gates as well. Does each pressure plate need to be a different color then and then directed to the output? Will a rednet cable even toggle a lever? Maybe I should get crazy and have a tool dynaism (sp) tablet switch the lever. :D I could have the pressure plates output a signal to a tool tablet with a simple passthrough and the tablet will flip the lever. Hmmm.. Crazy or crazy cool? Tool dynaism tablets can accept redstone signal unless I am wrong.
 

netmc

New Member
Jul 29, 2019
1,512
0
0
You can read from multiple inputs. You can also have multiple Redstone signals all running to the same input signal. I think the highest signal value is used though. It is only setting the output that you want to have a 1:1 correlation

One of the tricks I used was to set the value over to a variable, then read the value with the rednet tool. It allowed me to test and verify the signal was actually being read correctly. Once I had the signal verified, I then was able to test the output. I ended up with 6 rednet controllers I'm my setup though, so it was a little more complex.
 

KingTriaxx

Forum Addict
Jul 27, 2013
4,266
1,333
184
Michigan
Before I figured out how to work the RP2 logic, I actually used a bucket of water, two BC Tanks, some liquiducts, two gates and pressure plates to toggle a piston door. What happens is that you step on a pressure plate, which triggers a liquiduct to extract liquid from a tank. This causes a redstone signal to be lost from one gate, opening the door. A moment later, the signal is restored from a second gate on the other tank. Adjust the timing by the length of the liquiducts.
 
  • Like
Reactions: casilleroatr

Ako_the_Builder

New Member
Jul 29, 2019
789
0
0
Thanks, Ako. Watched that one and even dug it out again to watch again once I started struggling with this. Big fan, watched ya since beta series. I think though because this is vanilla redstone and not something like a drawbridge (which I was gonna do originally, but decided to go old school, sigh). Drawbridge wants an inverter to keep it closed, but this just needs a toggle. I did try the schmitt trigger after watching you bit on the bee house door the other day. No dice. But I think the problem lays more with the initial connection. Appreciate the answer though.


Hi, can you add a pic of the kind of door you are making (pistons visible), I'd like to have a go at making it work :)
 
  • Like
Reactions: Lohengrin

casilleroatr

New Member
Jul 29, 2019
1,360
0
0
Before I figured out how to work the RP2 logic, I actually used a bucket of water, two BC Tanks, some liquiducts, two gates and pressure plates to toggle a piston door. What happens is that you step on a pressure plate, which triggers a liquiduct to extract liquid from a tank. This causes a redstone signal to be lost from one gate, opening the door. A moment later, the signal is restored from a second gate on the other tank. Adjust the timing by the length of the liquiducts.

What a charming solution! Kudos
 

Lohengrin

New Member
Jul 29, 2019
121
0
0
Hi, can you add a pic of the kind of door you are making (pistons visible), I'd like to have a go at making it work :)

Ako, at work atm, so I will do you one better. I followed this tutourial on youtube by Inktivate. Look up Compact 3x3 spiral door 1.6 by Inktivate. That is the build I am using this go round. I have done this type of door before in 1.4 in a big cumbersome way. Mumbo Jumbo did a better more compact version of a compact version of CNB's door. I've used Mumbo's version as well to shrink my version down on my 1.47 world. Inktivate's version fixes Mumbo's version for 1.5-1.6 due to the timing changes. Think he explains that. Good short video, well explained. The end result is one of my favorite door builds. Looks great and I love the noise of the pistons firing. Makes it sound like a serious vault opening. :D
Once I get home I will rebuild this on a test world and see if I can figure it out. But by all means, knock yourself out and see what you come up with. I know I am missing something easy and I need a fresh pair of eyes. Didn't get a chance to try anything last night...Stupid real life.
Once you have the door built, you will see what I am trying to do maybe. Something to activate the lever he places at the bottom from pressure plates on either side. Maybe I dont even need the PRC? Honestly I forgot to try without it and using cables only. In the past when I have done this, I had restone coming from where the lever might be going through a vanilla t flip flop and to buttons on either side of the door.

Cheers.