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

NCF Coded Door using Disks

Started by cptdeath58, 08 May 2014 - 10:01 PM
cptdeath58 #1
Posted 09 May 2014 - 12:01 AM
This Program uses disks to give access to doors hence the name.
Pastebin: http://pastebin.com/Cn4Rd1b7
[Instructions and Requirements]
SpoilerYou will require these following things:
1 Computers
2 Drives
2 disks
4 wired modem and networking cable. ( Networking cable amounts depend on the distance )
redstone and a door
To make it:
1.First Place your computers and drives.
2.Connect the drives to the computer.
3.Ensure that the first connection you open is the drive where the access disk goes to.
4.Connect the other drive.
5.Place a disk in the second drive ( Not the one used for reading the disks )
6.Enter it and type "edit Profiles/User1" and put whatever the User is… (Change Profiles to whatever, just specify it in the coding)
7.Then type "edit Profiles/Pass1" and put whatever the pass is (Same above)
8.Place your access disk in a drive and edit it.
9. Enter "edit Profiles/User" then do basically #5 but you can't edit the Profiles part.
10. Same as #6 but can't edit Profiles.
11. Go to your computer and go to NCF and change the top local dataBase1 and dataBase2 to the Directories stated at #5 and #6 if changed.
12. setup your door by setting the redstone at the back of the computer and trailing it to the door.
13. After the long list you are done. enjoy!
[FAQ]
SpoilerQ. How do you get the program?
A. pastebin get Cn4Rd1b7 Lolipop, do this on your Computer NOT YOUR DISKS ( lol, you can change that to startup if you like. )
Q. "Program" :68: attempt to index ( a nil value? )
A. You didn't setup your system correctly. refer to [Instruction and Requirements]
Q. I got an error.
A. Post it
Q. Does it have ctrl-t protection?
A. Yes
Q. Is it unhackable?
A. No, due to the fact of what is hard-coded in Java. No Passcode Program is unhackable due to it.
Features:
*Simple Menu
*Displays User and Pass( Changeable )
*Does not require any input of any kind from user.
Plans:
*Add a secondary security measure.( will be toggled )
*Add the ability for multiple users and passes.
*If possible ( Most likely not but still a possiblity ) lighten the program
Edited on 08 May 2014 - 10:05 PM
Xarlas #2
Posted 13 June 2014 - 05:03 PM
Really nice :)/>
Maybe you could add passes with a limited number of uses and limited time of being usable.
than you could make a pass that will expire after 2 hours and can be used just one time.
I think that could be usefull on servers ;)/>
cptdeath58 #3
Posted 16 June 2014 - 10:21 PM
Really nice :)/>
Maybe you could add passes with a limited number of uses and limited time of being usable.
than you could make a pass that will expire after 2 hours and can be used just one time.
I think that could be usefull on servers ;)/>
That would be good with tickets for a tour or something. not for a coded door if you think about it.
But thanks for the feed back. :D/>
Edited on 16 June 2014 - 08:23 PM