So you're sitting around Cargo doing your usual thing, when suddenly a miner walks in with this weird locked crate that they don't know how to open. With it's 4-digit lock, how could anyone hope to find out what goodies are inside?!
There are two ways to open these Deca-lock abandoned crates. One way is to blow it open; either with a gun or explosion. This destroys some of the crate's contents, which could be REALLY valuable (or not).
The other method, is actually solving the lock.
What You Need to Know:
Abandoned Crates have a randomized 4 digit code, digits 0-9, and you have 10 tries to guess the correct one before it (harmlessly) explodes, leaving nothing behind.
Hitting the crate with an ID, PDA, or melee weapon will also cause it to destruct instantly, so don't do that by accident.
There are no repeat digits.
Every digit in the code is unique; you will never have two of the same number in a crate's code. Use this knowledge to your advantage.
You can back out of a code input attempt by submitting an empty guess.
If you accidentally click on the crate, prompting a code entry, just leave it blank and submit, and you will instead leave the crate alone. Every attempt is precious.
You need a multitool.
When you hit an abandoned crate with a multitool, it tells you two things: How many attempts left before the crate is destroyed, and how close your last code input was to the real code.
You are only shown the MOST RECENT attempt though, so do not forget to use the multitool after every input, or else you learn nothing.
Write things down.
Use your IC notes, your PDA (make sure you don't smack the crate after taking notes), or even just a paper and pencil, but write down the results of every input (shortened preferably) or else you'll forget.
What To Do:
Let's get crackin'. First order of business is to throw away that first crate the miners gave you because they probably used up 4 of the 10 guesses on random things.
Once you get your hands on a crate with at least 9 attempts intact, as well as a multitool and some sort of note-taker, find a nice spot to sit down in for the next 5 minutes or so.
What you want to be taking note of is the code you inputted, how many correct numbers were in the incorrect place, and how many correct numbers were in the correct place of every attempt.
For simplicity's sake, you should write it down as this: [input] [#]c [#]i - Input being your guess, c being the number of correct digits in the correct place, and i being the number of correct digits in the incorrect place. Remember that c and i will add up to the total amount of correct digits you have in that attempt. 1c and 1i means 2 correct digits, just that one is in the correct spot and one isn't.
The method detailed in this guide is what I call the "Snake" method, because you slide up one number at a time and use the head and tail to find out which digits are part of the code.
Start with the code 0123. The crate will tell you it's wrong unless you're the luckiest person in the world. Then use the multitool to found out how many digits were in the correct and incorrect places, write it down, and move on to the code 1234. Repeat to 2345, 3456, all the way to 5678 (You can usually skip 6789, as you can deduce when theres a 9 in the code when you've only found 3 digits.)
Once you have everything written down, it's time for the Deduction phase. See where the amount of digits increases or decreases, and that will tell you what numbers are in the code.
Then you can go back and see when these numbers are in the correct position, and narrow it down to 1 or 2 possible answers.
Here is an easy example: