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

[Help] Roaming Profile Logins

Started by LifeRunner, 02 September 2012 - 10:17 PM
LifeRunner #1
Posted 03 September 2012 - 12:17 AM
Hi! I tried the example/tutorial code from the ComputerCraft wiki, however, no matter what I fill in as User and password on the client computer, I always get "Not authorised". Why? At first I thought it was a typing error because I was writing off the Wiki, so I copypasted it to Pastebin and downloaded it with the HTTP ingame, directly onto the ingame computer. Both the Client and the Server, I still get the "Not authorised"

Please help me? C:
Lyqyd #2
Posted 03 September 2012 - 02:18 AM
Please provide a link to the code.
LifeRunner #3
Posted 03 September 2012 - 09:07 AM
Here, http://pastebin.com/dacKxpPK dis be the server code.

And here's the client code http://pastebin.com/0yZgAcxn

They're modded to connect to the right computers.
Lyqyd #4
Posted 03 September 2012 - 10:00 AM
Each user string and password string needs to be in quotes.

Also, questions should be posted to the Ask a Pro section.
LifeRunner #5
Posted 03 September 2012 - 10:53 AM
Each user string and password string needs to be in quotes.

Also, questions should be posted to the Ask a Pro section.

Oh, sorry, I'm new to the forum.

But what do you mean in quotes? Here's the original code http://computercraft...oaming_Profiles I just edited it, and the users aren't in quotes.
If you don't mind making an example for me? :D/>/>
LifeRunner #6
Posted 03 September 2012 - 12:13 PM
I tried adding quotes, but it still doesn't work.

Anyone?
ChunLing #7
Posted 24 November 2012 - 03:03 AM
These lines

users = { LifeRunner, Neo } --make sure users and passwords line up
passwords = { test1, test2 }
In the original, those table entries are in quotes, see?

users = {"username1", "username2" } --make sure users and passwords line up
passwords = {"password1", "password2" }