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

Circumventing Redworks Locked Terminal

Started by Espen, 31 January 2012 - 09:20 PM
Espen #1
Posted 31 January 2012 - 10:20 PM
Restored Post:
Hi there,

first of all, great work with the RedWorks addon!

I didn't yet try out the Master-Download for all terminals, only the Floppy-Download for single terminal installation.
So I noticed that when you lock the terminal using the "lock" program, then after entering the wrong password three times in a row will log you in nonetheless!?

I took a look at the code of the Lock program and noticed that you're calling redworks.doLogin(), which returns a username and a boolean value denoting the success of the login.
But then you're not checking these returned values and instead just continue with the program, which then ends and lands one back at the console.

Just thought I'll let you know in case you didn't notice that yourself already.

Keep up the good work! :(/>/>
Edited on 01 February 2012 - 10:07 AM
FuzzyPurp #2
Posted 01 February 2012 - 07:26 AM
You can find the latest of Redworks here, in the Program Library. This is a new forum for the Community of ComputerCraft.
Casper7526 #3
Posted 01 February 2012 - 07:26 AM
Heh, this is a forum all things computercraft, so your post was perfectly fine here and redworks developers would have seen it anyway :(/>/>
Espen #4
Posted 01 February 2012 - 11:08 AM
Heh, this is a forum all things computercraft, so your post was perfectly fine here and redworks developers would have seen it anyway :(/>/>
Alright, if that's the case then I'll restore it. :)/>/>
FuzzyPurp #5
Posted 02 February 2012 - 03:04 AM
Heh, this is a forum all things computercraft, so your post was perfectly fine here and redworks developers would have seen it anyway :(/>/>
Alright, if that's the case then I'll restore it. :)/>/>

Ahh, noted. Fix coming shortly, i'll post here when i fix it. Thanks!