Fandom

The Tekkit Wiki

Tutorial/ComputerCraft 1.33 Door Lock

< Tutorial

874pages on
this wiki
Add New Page
Talk0 Share
Cleanup This article is in need of a clean-up. You can help out The Tekkit Classic Wiki by re-organizing parts of the article, checking grammar and spelling, and doing other helpful things to correct the article.

Computer Craft Door Lock

Hey Guys! This is my door lock (Which I made my self, check out my vid here: http://www.youtube.com/watch?v=TJCTqaZ-u4Aere). Ok so here is the code

Code:

os.pullEvent = os.pullEventRaw—Disable Control T
term.clear()
term.setCursorPos(1,1)
function bypass()
if answer == "bypass" then
print("Password System Bypassed")
sleep(2)
term.clear()
term.setCursorPos(1,1)
else
print("Access Denied")
sleep(2)
term.clear()
term.setCursorPos(1,1)
main()
end
end
function main()
print("Enter Password")
answer = read("*")
if answer == "password" then
print("Access Granted")
redstone.setOutput("right", true)
sleep(5)
redstone.setOutput("right", false)
term.clear()
term.setCursorPos(1,1)
main()
else
bypass()
end
end


main()

How to "Install" it

First your going to want to get your computer and type in:

edit startup

after that is should bring you to a black screen. You then want to type in the code. Once you have done that, hit CTRL and the press enter on [SAVE], then hit CTRL again and this time press the right arrow key to select the [EXIT] one. Hit enter and reboot your computer by typing reboot. Now type in your password and the door should open. Type in bypass abd it will bypass the password system (this is in case you find any nifty upgrades or an update makes a piece of code invalid and corrupts something.

How to Hack it

If you want to break into someone elsess base but don't know the password? Then read this and find out how to hack it!

First try going to there computer and try holing CTRL+T. If this does not say something like:

Enter Password
Terminated!
>_

Then you will have to follow the steps below

First your going to want to get another computer, disk drive and floppy disk. (Make sure your target computer has a spae where YOU can put a disk drive). Then get your computer and disk drive and place them next to each other. INsert the floopy disk. Then open the computer anf type:

cd disk

Then type:

edit startup

NOTE: This will change the startup for yhe floppy disk not the computer

So now you should be in another editing screen. Then type in anything but just keep it simple like:

print("LOL you got hacked")

Or something. Then go to your targets computer put a disk drive next to their computer if one isntt alredyy there. Then insert the floppy disk and hold:

CTRL+R (Same with mac)

then it should say something like:

Craft OS 1.3
LOL you got hacked
>_

Then if there's a door there just type in:

edit startup

And remove the os.pullEvent = os.pullEventRaw. This will then allow you to hold CTRL+T to terminate the password protectonn each time you want to go back without been found out!

If you have aby idea's on how I could make this better or you have any questions email me at mrbrick1172@gmail.com. Also remember to check out my youtube channel here: http://www.youtube.com/channel/UCL_jAJRfoePVCCne2GeHPfg

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.