124 posts
Posted 10 January 2013 - 05:15 PM
I have searched the forums and I have not found a suggestion like this one.
I am aware computers may turn on/shutdown/reboot other computers.
My suggestion is simple so it has a simple explanation.
If a computer is off and is powered with redstone, turn it on.
I do not believe any more explanation is required.
139 posts
Location
USA
Posted 10 January 2013 - 05:47 PM
7508 posts
Location
Australia
Posted 10 January 2013 - 05:49 PM
Not what he meant. the rs api can't turn a computer on. sure you could have a program listen for the rs signal, but OP was about turning on a computer, not performing functions based on rs.
8543 posts
Posted 10 January 2013 - 05:49 PM
Why would this be necessary? Other turtles/computers can already turn them on. I don't really see the benefit, especially when you can write a program to emulate this behavior (a startup which blanks the screen and waits for a redstone input).
180 posts
Posted 10 January 2013 - 05:50 PM
This might be problematic while developing and debugging a program.
I frequently find myself hitting control-s and hoping it will register in time before my buggy program causes problems with the redstone contraption it's wired into. This would mean when it does manage to turn off in time, once the contraption cycles and sends a signal back it will power on the computer again.
I could see a toggle somehow, but now we're talking a larger change to things..
139 posts
Location
USA
Posted 10 January 2013 - 05:57 PM
Not what he meant. the rs api can't turn a computer on. sure you could have a program listen for the rs signal, but OP was about turning on a computer, not performing functions based on rs.
I guess I saw simple so many times that I immediately thought it was a question about just getting the redstone signal. My apologies.
139 posts
Location
USA
Posted 10 January 2013 - 06:05 PM
Why would this be necessary? Other turtles/computers can already turn them on. I don't really see the benefit, especially when you can write a program to emulate this behavior (a startup which blanks the screen and waits for a redstone input).
And I like the emulate solution to this.
1111 posts
Location
Portland OR
Posted 10 January 2013 - 08:08 PM
This has came up several times over the past year, its not going to happen. You will have to use another computer/turtle and connect as a peripheral to turn it on. You could add some code to your startup that checks for the signal and if not there then have it shut down the computer(not quite the same I know).
I had a need for this same type of functionality and ended up just using the peripheral method.
124 posts
Posted 11 January 2013 - 05:29 AM
I was wanting this functionality to I could walk into my previously unloaded house, and all my obviously unloaded computers would turn on and start doing their stuff without requiring me to turn all of them on.
If this can't happen, I'll have a turtle I can just right-click on and it will be simply instructed to turn on all the computers.
A response from a mod/a link to a duplicate thread I have not found any of would be helpful.
1114 posts
Location
UK
Posted 11 January 2013 - 05:51 AM
You could have two PCs next to each other…
8543 posts
Posted 11 January 2013 - 06:37 AM
I was wanting this functionality to I could walk into my previously unloaded house, and all my obviously unloaded computers would turn on and start doing their stuff without requiring me to turn all of them on.
If this can't happen, I'll have a turtle I can just right-click on and it will be simply instructed to turn on all the computers.
A response from a mod/a link to a duplicate thread I have not found any of would be helpful.
Again, you can emulate this behavior by having your computers' startup file have this at the top:
term.clear()
term.setCursorPos(1,1)
repeat
os.pullEvent("redstone")
until rs.getInput("back")
Obviously, change "back" to whichever side you want the redstone input to be on.
2447 posts
Posted 11 January 2013 - 08:03 AM
I was wanting this functionality to I could walk into my previously unloaded house, and all my obviously unloaded computers would turn on and start doing their stuff without requiring me to turn all of them on.
If this can't happen, I'll have a turtle I can just right-click on and it will be simply instructed to turn on all the computers.
A response from a mod/a link to a duplicate thread I have not found any of would be helpful.
Computers DO start when the chunk is unloaded then loaded.