hi im a new to computercraft(1.4) but trying hard to figuer
as much out myself as possible ive gotten to a point
where it runs untill i press Ctrl+T to terminate
but while its running it dose not shutdown or
engage the shields no errors except not sending outputs
ill update this till it works thanks to helpfull ppl :D/>/>
ive broken its up in to 4 files
REShutdown
ROn
RShield
Test
diff inputs tested but same result
problems still not outputing
———————wire in/output—————————–
input:
blue heat 1000
yellow heat 2000
output:
green coolant
white shields
red reactor on/off
atm with a red signal reactor is off (inverter) is easy enough to fix pc crash
and restarts cos i noticed every time i log in on single i have to restart it
___________________________________________________________
Q. can one bundled cable take In and Out or only one?
A.
what is ment to happen is when the reactor is below 1000 the only thing on is
green(coolant) then when it gets to 1000
white(shields) come on and if it gets to 2000 the
REShuntoff turns it off and prevents it from meltdown i was testing
it with out the computer and i can run it with no coolant and leave it
and it will not melt down i acedently made some mfsu's go boom but lol
——————————————————————————————————
File:REShutdown
function REShutdown()
rs.setBundledOutput("back", colors.red)
rs.setBundledOutput("back", colors.white)
rs.setBundledOutput("back", colors.green)
end
function RReset()
rs.setBundledOutput("back", colors.red)
end
print ("Shutting Down")
REShutdown()
sleep(30)
RReset()
sleep(1)
shell.run ("test")
———————————————————————————
File:RShield
function RShield()
rs.setBundledOutput("back", colors.white)
rs.setBundledOutput("back", colors.green)
end
print ("Shield Active")
RShield()
sleep(1)
shell.run ("test")
————————————————————————————
File:ROn
function ROn()
rs.setBundledOutput("back", colors.green)
end
print ("Running")
ROn()
sleep(1)
shell.run ("test")
————————————————————————————–
File:test
os.pullEvent("redstone")
if rs.getBundledInput("back", colors.blue) == true and
rs.getBundledInput("back", colors.yellow) == true then
shell.run ("REShutdown")
elseif rs.getBundledInput("back", colors.blue) == true and
rs.getBundledInput("back", colors.yellow) == false then
shell.run ("RShield")
elseif rs.getBundledInput("back", colors.blue) == false and
rs.getBundledinput("back", colors.yellow) == false then
shell.run ("ROn")
end