Posted 28 October 2012 - 12:15 PM
So, I know everyone has done 1000 door scripts in their time using computercraft, but many are very easy to bypass, and just really as simple as it gets.
So I thought I would release my door-script.
It's as secure as it gets and as user-friendly as it gets.
I know that it is not perfect and that you can still get around it but there is a few things you can do to make it better, though, this protects against the simpler methods that usually work against other scripts.
Alright, here it is:
Pastebinned, code tags on here didn't like my tabbing.
http://pastebin.com/88Zb1Q1S
There is no need to edit anything in the script! Simply run it and you will go through the setup.
For it to work properly security wise use this startup script:
If you find a bug please report it.
The script should detect and prevent invalid input when setting it up, if you find a way to mess up the config process, please share it sp I can fix it.
I you have a question why I did something the way I did or have a better a way of doing it, post!
So I thought I would release my door-script.
It's as secure as it gets and as user-friendly as it gets.
I know that it is not perfect and that you can still get around it but there is a few things you can do to make it better, though, this protects against the simpler methods that usually work against other scripts.
Alright, here it is:
Pastebinned, code tags on here didn't like my tabbing.
http://pastebin.com/88Zb1Q1S
There is no need to edit anything in the script! Simply run it and you will go through the setup.
For it to work properly security wise use this startup script:
while true do
if shell.run("door") then
return
end
end
If you find a bug please report it.
The script should detect and prevent invalid input when setting it up, if you find a way to mess up the config process, please share it sp I can fix it.
I you have a question why I did something the way I did or have a better a way of doing it, post!