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

Remote controlling computer

Started by zel, 28 November 2012 - 02:21 AM
zel #1
Posted 28 November 2012 - 03:21 AM
Hey i want to be able to control a computer by using another computer. specifically i want a computer to send a redstone signal when i enter something into another computer. I also want the system to be safe (password protected) so other people can't send signals from the computer that has redstone hooked up to it. so 1 computer has redstone hooked up to it, and the other computer or possible computers just have to be withing modem length of it. anyone know how i could set this up? :)/>
Radioaktiv3 #2
Posted 28 November 2012 - 03:29 AM
Use Rednet with
rednet.open("SIDE")
rednet.receive("time in secounds to wait for a message")
i think its better then to use redstone
you can send messages to the receive Pc and you define in the receive Pc which message will do what you want
i hope i could help






Sry for my English not my native language
zel #3
Posted 28 November 2012 - 02:33 PM
Use Rednet with
rednet.open("SIDE")
rednet.receive("time in secounds to wait for a message")
i think its better then to use redstone
you can send messages to the receive Pc and you define in the receive Pc which message will do what you want
i hope i could help




Sry for my English not my native language

Don't think you understood what i ment. but thanks for the reply. ^^
Luanub #4
Posted 28 November 2012 - 02:37 PM
snip

Don't think you understood what i ment. but thanks for the reply. ^^
He kind of did.

You will want to use rednet here is a small example:

--sending computer
rednet.open("SIDE")

rednet.send(ID, "some message")

--receiving computer
local id, msg = rednet.receive()
if msg == "some message" then
  rs.setOutput("SIDE", true)
end

As far as the password protection, browse the tutorials and the programs section of the forums. There are plenty of examples to get you started.
peterson #5
Posted 10 December 2012 - 07:22 PM
Its better to use a specific tool to monitor any remote computer ..there are many options available
Lepide remote admin
ammy
team viewer
Lepide is a free tool for rest I am not sure whether they are free or not !
Lyqyd #6
Posted 10 December 2012 - 08:11 PM
Its better to use a specific tool to monitor any remote computer ..there are many options available
Lepide remote admin
ammy
team viewer
Lepide is a free tool for rest I am not sure whether they are free or not !

He's talking about the ComputerCraft in-game computers, not real-life computers.
peterson #7
Posted 10 December 2012 - 08:52 PM
then may be it won't work ..
Lyqyd #8
Posted 11 December 2012 - 03:41 AM
No, it's certainly quite possible. There are many programs on the forums which do what the OP is asking.