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

Locked door with two Computers

Started by StormZ, 08 March 2014 - 05:13 PM
StormZ #1
Posted 08 March 2014 - 06:13 PM
Hey guys,

I was about to build a big door with two computers, one before and one behind the door.
-> http://pastebin.com/1MQX4dis
The computers are freezing after I type in the correct password. I am new to lua and computercraft, but I know the basics of Java.
I hope that someone can help me with this problem. :)/>
Lyqyd #2
Posted 08 March 2014 - 08:18 PM
They're not freezing, they're waiting for a rednet message from (I assume) the other computer. If they're both using the same program, that will never happen, since neither of them will ever send a rednet message until they have received one.
StormZ #3
Posted 08 March 2014 - 09:06 PM
Ah okay.. Yes they are both using nearly the same code. Can you help me to make this code working?