This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
doc_reaper's profile picture

rs.setBundledOutput() won't send signal

Started by doc_reaper, 06 July 2012 - 09:13 PM
doc_reaper #1
Posted 06 July 2012 - 11:13 PM
I'm trying to create a simple light-switch program to play with bundled cables. The code works fine, but the redstone won't respond through a bundled cable connected directly to a computer. Either when I edit the program directly, or try to send signals in lua, this is what happens…


lua> rs.getBundledOutput("back") // outputs 0
lua> rs.setBundledOutput("back", colors.white) // code takes fine, proven by...
lua> rs.getBundledOutput("back") // outputs white/1 or black/32768, etc...

So the code seems fine, but the actual redstone won't "ignite" so-to-speak. Help?

Thanks,
~Doc_Reaper
MysticT #2
Posted 06 July 2012 - 11:23 PM
How is the cable and computer setup?
doc_reaper #3
Posted 08 July 2012 - 06:53 AM
Computer on stone, bundled cable on back of computer, running to roof where it branches into colors for the lights.
KaoS #4
Posted 08 July 2012 - 07:00 AM
there is your problem, use this setup

SIDE VIEW

ABS
ABS
CBS
ASS

A=air
S=stone
C=computer
KaoS #5
Posted 08 July 2012 - 07:07 AM
you MUST also place the bundled cable on the bottom centre stone
doc_reaper #6
Posted 08 July 2012 - 06:56 PM
I'll try that when the server is back up. But I don't see why it should have to attach as a side peripheral…. Besides, the code acknowledges that there's a bundle on the back, the only problem is that the redstone isn't catching the signal.
doc_reaper #7
Posted 08 July 2012 - 09:32 PM
Thanks. Running it on the side works. It still seems odd that I can't run it to the back though. I think cables at the back is more natural to place and more realistic.
MysticT #8
Posted 08 July 2012 - 10:00 PM
The problem is that, for some reason, the computer doesn't send the output to cables that are over the computer, it just sends it to the cables that are next to it.
doc_reaper #9
Posted 08 July 2012 - 11:42 PM
Maybe I should write up a bug report for it. xD That way it (hopefully) gets fixed somewhere along the way (eventually). lol
Cloudy #10
Posted 08 July 2012 - 11:53 PM
I don't think this is fixable in CC - basically, (I think) the red power cable doesn't actually see itself as connected when it is running down the back of the computer. That is Elo's code and there's little we can do to fix it.
KaoS #11
Posted 10 July 2012 - 03:10 PM
That's right, the cable is placed ON a block and connects to the cables next to it, that's how a wire works
doc_reaper #12
Posted 11 July 2012 - 05:18 AM
Okay… Well, thanks for all the help. It's a simple enough work around without reinventing the wheel. :)/>/>
giakomo1201 #13
Posted 01 February 2013 - 06:33 AM
This Thread is old, but it should be pinned, Bunddled Cables Don't work in any of this setups:

SIDE VIEW:

SBA
SBA
CBA
SAA

or

SAA
CBA
SBA
SBA


The Bundled cable WON'T acknowledge it's connected to the computer. therefore no signal would be sent, you need to use the following set ups :

SIDE VIEW

ABS
ABS YOU can place stone over the computer, but the bunded cable MUST be attached to the wall behind the computer, not over the computer.
CBS
SSS

for a cable running down:

SAA
SAA
CBA The cable need to have a stone piece "to lay on" or it wont detect the computer, or viceversa, what ever it is that makes this problem appear.
SSB
SBA

S= stone
C= computer
A= Air
B= Bundled cable