SmileyJeff
Members-
Posts
4 -
Joined
-
Last visited
About SmileyJeff
- Birthday 01/01/1900
SmileyJeff's Achievements
Dirt (1/9)
0
Reputation
-
Help with computer-craft master computer script
SmileyJeff replied to zaper270's topic in Tekkit Classic Discussion
Just got home, checked my old program. Here is the correct sample code: local outputSide = "bottom" -- if you set rs.setBundledOutput( side, 0 ), it will close all colors off. -- You can name this anything you want local activeColors = 0 ... if input == "redOn" then activeColors = colors.combine( activeColors, colors.red ) end if input == "redOff" then activeColors = colors.subtract( activeColors, colors.red ) end if input == "blueOn" then activeColors = colors.combine( activeColors, colors.blue ) end if input == "blueOff" then activeColors = colors.subtract( activeColors, colors.blue ) end ... -- end of code rs.setBundledOutput( outputSide, activeColors ) Hope it helped! [: -
Help with computer-craft master computer script
SmileyJeff replied to zaper270's topic in Tekkit Classic Discussion
The problem is with colored cable. Currently computercraft website is down so i don't remember the exact function to call. But you have to do something like this for colored cables: local c = {} c = colors.combine( c, colors.red ) So for your code it should look like this (Once again i am not sure if the syntax or usage is correct as i can't refer to computercraft.info right now (its down) and this is from the top of my head) if input == "sorter_on" then c = colors.combine( c, colors.white ) ... end if input == "sorter_off" then c = colors.subtract( c, colors.white ) end -- end of code rs.setBundledOutput( "bottom", c ) -
[2.1.1] redstone bundle not working (computercraft)
SmileyJeff replied to SmileyJeff's question in Tekkit Classic
Normal redstone works just not bundled. I will give tradari's suggestion a try and see how it goes. Will post back if it is fixed. Thanks again guys. -
I have a bundle cable behind my computer and the bundle cable has a yellow insulated wire connected at the end. The computer code on startup: rs.setBundledOutput("back", colors.yellow) However, the yellow wire doesn't have any redstone power. Same applies to getInput and other stuff with computercraft. Anyone have a solution would be greatly appreciated. * and to clear any doubts, i've been coding for 8 years.