Jump to content




Use redstone to turn on a computer?


  • You cannot reply to this topic
8 replies to this topic

#1 alfie107

  • Members
  • 4 posts

Posted 17 June 2014 - 09:59 PM

is there a way where I could use redstone to turn on a computer?

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 17 June 2014 - 10:15 PM

I split this from a tutorial post.

#3 alfie107

  • Members
  • 4 posts

Posted 17 June 2014 - 10:20 PM

but is there a way to do it?

#4 Link149

  • Members
  • 46 posts
  • LocationQuebec, Canada

Posted 17 June 2014 - 10:26 PM

View Postalfie107, on 17 June 2014 - 09:59 PM, said:

is there a way where I could use redstone to turn on a computer?

Well, if I remember correctly, a computer can be used as a peripheral by another computer. You could setup a computer that waits for a redstone event then turn the other computer on.


--# Assuming the other computer is to the right
local hComputer = peripheral.wrap("right")

while true do
  local tResults = { os.pullEvent("redstone") }

  hComputer.turnOn()
end

Edited by Link149, 17 June 2014 - 10:31 PM.


#5 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 17 June 2014 - 10:40 PM

Computers cannot turn on by redstone signal alone, but can only be turned on either with another computer with the example above, or with the player clicking on it.

What are you trying to accomplish? there may be a better way to do it, with less complication.

#6 alfie107

  • Members
  • 4 posts

Posted 17 June 2014 - 11:00 PM

well my buddies and I are making a factory with a sign using the monitor from computercraft and we want to control it from the main floor.

#7 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 18 June 2014 - 01:34 AM

You could do this by using wired modems to connect your systems, instead of redstone.

#8 alfie107

  • Members
  • 4 posts

Posted 18 June 2014 - 01:46 AM

View PostBomb Bloke, on 18 June 2014 - 01:34 AM, said:

You could do this by using wired modems to connect your systems, instead of redstone.
Ya thats what I am thinking i might have to do

#9 RoD

  • Members
  • 313 posts

Posted 18 June 2014 - 04:55 PM

And just a quick info: if you have a startup file in your computer, it will turn on when the server/world loads





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users