Talk:Login with Roaming Profiles

From ComputerCraft Wiki
Jump to: navigation, search

Does not work. Not authorised

Not the best tutorial

And by that, I mean that this program isn't conceptually simple enough. We should make room for other tutorials that are simpler to understand. Hopefully that will stop the flood of lock programs, as that is the only tutorial on the wiki that is simple enough for new programmers to follow.

Sora the Hedgehog 00:20, 6 April 2013 (MSK)

Should be posted in "Programs" instead?

My argument is that this does not belong on the wiki. My reason is: we have forums for this. That simple.

Just wanted to make a quick note here -

if validSender then

 for i,v in ipairs(users) do
  if message == v then
   password = passwords[i]
   valid = true
  else
   valid = false
  end
 end

That section of code is why it doesn't work - after the 'valid = true', there needs to be a 'break' or it will continue to iterate.

if validSender then

 for i,v in ipairs(users) do
  if message == v then
   password = passwords[i]
   valid = true
   break
  else
   valid = false
  end
 end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox