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

Simple Touchscreen Code lock

Started by zabouth, 27 May 2013 - 04:51 AM
zabouth #1
Posted 27 May 2013 - 06:51 AM
This is a very simple touchscreen code lock I thought together last night. It uses a single monitor advanced monitor to display a 10 digit numerical pad. I plan to move to a server/client setup with the server keeping an audit log and centralised passwords.

Video
Spoiler[media]http://www.youtube.com/watch?v=NBj0tdWxDkE[/media]

Code:
Spoilerhttp://pastebin.com/KFB4tuES

Edit:

Fixed code to stop crash when black section of screen was clicked
BlankTitle #2
Posted 27 May 2013 - 09:17 AM
Very cool man, nice code. May implement this in my LP
zabouth #3
Posted 27 May 2013 - 09:22 AM
Very cool man, nice code. May implement this in my LP
Nice send me a link to the video if you do
UMayBleed #4
Posted 27 May 2013 - 04:48 PM
Wow, Nice job! now make a text version?
JPAchilles #5
Posted 31 May 2013 - 04:39 AM
i keep getting this error
lock:28: attempt to index ? (a nil value)
zabouth #6
Posted 12 June 2013 - 11:08 AM
i keep getting this error
lock:28: attempt to index ? (a nil value)

Did you place a single advanced monitor on top of an advanced computer?
civilwargeeky #7
Posted 12 June 2013 - 01:54 PM
Hello. This is a nice program. I think that you should include a basic redstone signal in your program to output to doors and such, instead of having a "Insert Code Here" right out of the box.
logwet #8
Posted 13 July 2013 - 05:03 AM
Whenever I click the button on the monitor nothing happens, is it a problem with my computer or is one of my config files wrong?
logwet #9
Posted 13 July 2013 - 05:08 AM
Oh i figured it out ;P I have to right-click
lesander #10
Posted 13 July 2013 - 11:56 AM
Thanks for your awesome code! I'm using it in my base :D/>
gabriel2anjos #11
Posted 15 July 2013 - 08:53 PM
Great work man! And by the way, i know it's not really related to the forum, but what mod you used to make that nice sliding door?