Step 1. Put some buttons up.
Step 2. Add a few repeaters and junk.
Step 3. Put in some RSNOR Latches combined with AND gates ( or are they NOR gates? whatever...)
Step 4. ????
Step 5. Profit!
You give me a lock with that security in a smaller package and I'll eat my hat.
Security?
1- Hold mouse button on door
2- Wait for door to disappear
3- Entry
PINs be damned!
OT: This is a very compact system, considering what it is. Well done. :smile.gif:
On a SMP server you can protect the space so that nothing can be destroyed except by those with permission. So all you have to do is set up a locking mechanism on a door and no one but people you want can get in.
4096 is still plenty enough strength. I’m thinking about adventure games, not player protection. If the player makes a mistake in entering the pin, how do they know where in the sequence they are? The lock needs some indication that in invalid buttons was pressed so that the user knows to start again. This wouldn't be necessary if you were making a lock in SMP, but would be essential for adventure games where players would be given the code and may make a simple "typo".
The only problem I see with this is the issue that pressing the wrong button in sequence, but that also happens to be the first button in the sequence skips a button press—i.e. pressing button 1, incorrectly, on the fifth in the sequence should require the player to press button 1 again for the first in the sequence, this could quickly confuse people, not knowing where in the sequence they are any more.
From thinking about it for a few seconds, the first idea that popped into my head on how to do this is to pull the power for the noteblock/s off of the reset line that is above each line of torches. Then just use your preferred noteblock setup if you want a tune of sorts, or just lead it to one noteblock. I hope you can understand what I said and I hope that it helps.
Request: A note block that plays a sound upon incorrect entry, and maybe a note block to play a sound on correct entry. It would make the lock more user-friendly if you knew when you had to start again.
I think the best way would be to figure out a way to have a buzzer or ding go off when the last digit of the pin is entered. Unfortunately the system resets on each wrong button so it doesn't know when you have hit the right number of buttons. All I can think of is some sort of counter hooked up to the reset(buzzer) and the set(ding) of the last conditional RS NOR Latch. That would add a lot of space though. Hmm....
Request: A note block that plays a sound upon incorrect entry, and maybe a note block to play a sound on correct entry. It would make the lock more user-friendly if you knew when you had to start again.
I got it to work where a counter counts the number of buttons pushed and when it hits six(or whatever size PIN you have) it will check to see if the correct code has been entered. If so it plays a pleasant sound and opens the door. If not, it plays a bad sound and resets everything. (will upload a TLP later)
I used a parallel array of the same conditional RS NOR Latches (~12x9x3) to count the entries. Does anyone know of a better way to count to six? Simply, I want a noteblock to sound when a button has been pushed six times.
I think that this set up will increase the security of the system. Before you could press the same button over and over and it wouldn't reset until you hit the wrong button for the current conditional RS NOR Latch. This eliminates that problem. You only get six presses before everything gets reset.
Ok, joking aside, I wrote this for the Wiki. Not sure if it's understandable though:
For a lock that can have a combination of any size, using all the buttons, and still have a wrong entry reset the system, you need a different way for it to reset. To construct this, hook up a panel of buttons (any number, but four or more is preferred) to a parallel series of adjacent repeaters. Invert as necessary so that all the repeaters are powered and are unpowered by the press of the corresponding button. These repeaters power a row of blocks. On top of the blocks, place a torch corresponding to the incorrect buttons for the fist number in the PIN. For the correct button/number, place dust under the powered block which leads to a RS NOR Latch. Place a row of blocks above the torches for the incorrect buttons, with redstone dust on top. Then connect this dust to the reset of the first RS NOR Latch. Only the correct button will set the RS NOR Latch and all others will reset it. Connect the output of the RS NOR LATCH to half of an AND gate. After the first row of blocks with the reset torches, place another row of repeaters and another row of blocks. Again place torches for the incorrect buttons and dust under the correct button's line. Power will be fed from the buttons through the rows of repeaters and blocks for as many rows as there are digits in the PIN number. Connect the dust from the correct button to the other half of the AND gate coming from the first RS NOR Latch. Only if the two conditions are met, that the first button was pushed correctly, setting the first RS NOR Latch, and the second button is pushed correctly will the AND gate send a signal to set the second RS NOR Latch. Again, connect a reset line from the incorrect button's torches to the reset of the second RS NOR Latch. NOTE: Delay the reset signals by one full repeater to give time for the next RS NOR Latch to be set before the reset happens. Continue building the array in the same manner until you reach the desired number of digits. In operation, when a button is hit, each RS NOR Latch checks (through the AND gate) to see if the previous RS NOR Latch is set, and the correct button for this RS NOR Latch has been pushed. Only when the correct buttons are pressed in order, will the signal progress through the conditional RS NOR Latches to the end. Connect the output of the last RS NOR Latch to a door and attach a line to a pressure plate inside the door to reset the last RS NOR Latch.
First of all let me say that compared to my first combination lock made up of 4 RS NOR Latches this is quite amazing. Since the implementation of RS Repeaters, I have seen some amazing things being built. I have studied your construction and made some improvement of my own and i think this might be so far the best Combination lock. I have added a total of 12 buttons and upped to a 8 Digit PIN with number ranging from 0-9, 1 button that unlock if you have the proper combination and a master reset. The foot print of this lock is 25x24x7 and for this amount of security it is insane considering at how many possible combination you can get out of adding 1 more digit.
First of all let me say that compared to my first combination lock made up of 4 RS NOR Latches this is quite amazing. Since the implementation of RS Repeaters, I have seen some amazing things being built. I have studied your construction and made some improvement of my own and i think this might be so far the best Combination lock. I have added a total of 12 buttons and upped to a 8 Digit PIN with number ranging from 0-9, 1 button that unlock if you have the proper combination and a master reset. The foot print of this lock is 25x24x7 and for this amount of security it is insane considering at how many possible combination you can get out of adding 1 more digit.
Yea this design allows you to add any amount of inputs and PIN length. If you want you can do a full alpha numeric input and have a sentence for a password
Yea this design allows you to add any amount of inputs and PIN length. If you want you can do a full alpha numeric input and have a sentence for a password
I have since upgraded mine to an 12 button 32 combination lock, that is set in a fancy security post.
The entire thing is set in an obsidian room with a 1 way iron door leading in, 2 buttons are also rigged as traps that drop lava from a single hole in the ceiling burning the wool floor (drops into a lava pit 15 blocks below, all obsidian). To help with the fact that it would be easy to just take the door down, i have them inset by 1 block on ether side (to block the view of whats above the door) with 1 sand block atop the door and a lava source block atop that, destroying the door drops the sand and lava, resulting in a blocked path and death since the floor burns out dropping the would be thief to there death.
So far this is just a hacked model of my plans, however it seems to be about as secure as i could make it, i am currently looking for ways to make fixing it, after some poor fool unleashes the lava, faster since its taking a good deal of wool and effort to reset the lava flows since they have to be done by hand. The hardest part will be hiding a back entrance since the main post becomes nothing more than a death trap once activated.
Now my lootz can be safer
Edit: Managed to remake it on my Legit world with ease :smile.gif:
Here you go:
Simple Coords - Simply displays your coordinates.
SaturationDisplay - Displays your hidden saturation.
now i'll just need alot of obsidian to make a huge bank..
Wat?
Step 1. Put some buttons up.
Step 2. Add a few repeaters and junk.
Step 3. Put in some RSNOR Latches combined with AND gates ( or are they NOR gates? whatever...)
Step 4. ????
Step 5. Profit!
4 Button - there are 4 buttons
6 Digit PIN - you must press buttons a total of 6 times
Combination Lock - Explains itself
Cube Craft, a simple pack by me!
On a SMP server you can protect the space so that nothing can be destroyed except by those with permission. So all you have to do is set up a locking mechanism on a door and no one but people you want can get in.
From thinking about it for a few seconds, the first idea that popped into my head on how to do this is to pull the power for the noteblock/s off of the reset line that is above each line of torches. Then just use your preferred noteblock setup if you want a tune of sorts, or just lead it to one noteblock. I hope you can understand what I said and I hope that it helps.
I think the best way would be to figure out a way to have a buzzer or ding go off when the last digit of the pin is entered. Unfortunately the system resets on each wrong button so it doesn't know when you have hit the right number of buttons. All I can think of is some sort of counter hooked up to the reset(buzzer) and the set(ding) of the last conditional RS NOR Latch. That would add a lot of space though. Hmm....
I got it to work where a counter counts the number of buttons pushed and when it hits six(or whatever size PIN you have) it will check to see if the correct code has been entered. If so it plays a pleasant sound and opens the door. If not, it plays a bad sound and resets everything. (will upload a TLP later)
I used a parallel array of the same conditional RS NOR Latches (~12x9x3) to count the entries. Does anyone know of a better way to count to six? Simply, I want a noteblock to sound when a button has been pushed six times.
I think that this set up will increase the security of the system. Before you could press the same button over and over and it wouldn't reset until you hit the wrong button for the current conditional RS NOR Latch. This eliminates that problem. You only get six presses before everything gets reset.
Ok, joking aside, I wrote this for the Wiki. Not sure if it's understandable though:
For a lock that can have a combination of any size, using all the buttons, and still have a wrong entry reset the system, you need a different way for it to reset. To construct this, hook up a panel of buttons (any number, but four or more is preferred) to a parallel series of adjacent repeaters. Invert as necessary so that all the repeaters are powered and are unpowered by the press of the corresponding button. These repeaters power a row of blocks. On top of the blocks, place a torch corresponding to the incorrect buttons for the fist number in the PIN. For the correct button/number, place dust under the powered block which leads to a RS NOR Latch. Place a row of blocks above the torches for the incorrect buttons, with redstone dust on top. Then connect this dust to the reset of the first RS NOR Latch. Only the correct button will set the RS NOR Latch and all others will reset it. Connect the output of the RS NOR LATCH to half of an AND gate. After the first row of blocks with the reset torches, place another row of repeaters and another row of blocks. Again place torches for the incorrect buttons and dust under the correct button's line. Power will be fed from the buttons through the rows of repeaters and blocks for as many rows as there are digits in the PIN number. Connect the dust from the correct button to the other half of the AND gate coming from the first RS NOR Latch. Only if the two conditions are met, that the first button was pushed correctly, setting the first RS NOR Latch, and the second button is pushed correctly will the AND gate send a signal to set the second RS NOR Latch. Again, connect a reset line from the incorrect button's torches to the reset of the second RS NOR Latch. NOTE: Delay the reset signals by one full repeater to give time for the next RS NOR Latch to be set before the reset happens. Continue building the array in the same manner until you reach the desired number of digits. In operation, when a button is hit, each RS NOR Latch checks (through the AND gate) to see if the previous RS NOR Latch is set, and the correct button for this RS NOR Latch has been pushed. Only when the correct buttons are pressed in order, will the signal progress through the conditional RS NOR Latches to the end. Connect the output of the last RS NOR Latch to a door and attach a line to a pressure plate inside the door to reset the last RS NOR Latch.
Here is the MCEdit schematic file
http://www.mediafire.com/?qgktj7bzb8zek8i
Wow, that's quite a setup.
Eh? There is no theoretical limit on how many buttons you can use. Or number of digits in the pin. You can expand it either way.
Dude! That's a great idea!
The entire thing is set in an obsidian room with a 1 way iron door leading in, 2 buttons are also rigged as traps that drop lava from a single hole in the ceiling burning the wool floor (drops into a lava pit 15 blocks below, all obsidian). To help with the fact that it would be easy to just take the door down, i have them inset by 1 block on ether side (to block the view of whats above the door) with 1 sand block atop the door and a lava source block atop that, destroying the door drops the sand and lava, resulting in a blocked path and death since the floor burns out dropping the would be thief to there death.
So far this is just a hacked model of my plans, however it seems to be about as secure as i could make it, i am currently looking for ways to make fixing it, after some poor fool unleashes the lava, faster since its taking a good deal of wool and effort to reset the lava flows since they have to be done by hand. The hardest part will be hiding a back entrance since the main post becomes nothing more than a death trap once activated.