Authentication

For all the help you need with Armagetron!
Post Reply
User avatar
asdasd
On Lightcycle Grid
Posts: 35
Joined: Thu Jan 01, 2015 3:52 pm

Authentication

Post by asdasd »

Step by Step guide on how to setup up an login/auth for example: tronner@abc ?
Image ImageImageImage
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Authentication

Post by Z-Man »

If the source of your usernames and passwords is phpbb, then this: http://wiki.armagetronad.org/index.php? ... ion_Server
Durf
Match Winner
Posts: 426
Joined: Mon Jul 30, 2012 10:35 pm

Re: Authentication

Post by Durf »

Note: This post assumes they were asking for a global ID for themselves to use in game (as opposed to setting up their own authentication server).


If you are posting on these forums, then yours is already made!

In game, type the following (CaSe SeNsItIvE):

Code: Select all

/login asdasd@forums
When prompted, enter in your password (do not change the username field, just enter the pass).

Assuming you entered everything correctly, you should be logged in!

If not, an error message will tell you what went wrong:
- "user not found" means you probably typed the command incorrectly, or the username field was changed, or the account wasn't used (on this website) yet.
- "password fail" means you didn't get the password right



If you dislike the global ID "asdasd@forums", you can create another:
- by registering a new account on these forums, and logging into that account at least once (like you did to post this thread).
- or by registering at http://aagid.net/register/ (this will create one like: username@aagid instead of username@forums)
- or by registering at http://lightron.org/Authentication (this will create one like: username@lt)
User avatar
asdasd
On Lightcycle Grid
Posts: 35
Joined: Thu Jan 01, 2015 3:52 pm

Re: Authentication

Post by asdasd »

o_o Durf... Its for a private organization. to show you are a member, to represent the team, use it as an general login .. for the servers we are going to have etc.

Site: blackoutmob.net

Global ID looking to have: example@BlackoutMob
Image ImageImageImage
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Authentication

Post by Light »

asdasd wrote:o_o Durf... Its for a private organization. to show you are a member, to represent the team, use it as an general login .. for the servers we are going to have etc.

Site: blackoutmob.net

Global ID looking to have: example@BlackoutMob
To have a custom authority such as @blackoutmob, you'll need to make it public. Otherwise, the best you can do is have @blackoutmob.net. Another note would be that you will be be able to use capital letters in the GID. The client or server will set all lowercase when sent to the auth server.

http://bazaar.launchpad.net/~armagetron ... erence.php

There's a script that works perfectly fine. It's currently set up as flatfile, so if you would like to allow your members to register or anything it should be altered a bit. If you only have 14 members, that shouldn't be an issue though. Just add them yourself and they can log in.

Make sure the folder "armaauth" is in the root of your domain. Inside that, "0.1", and inside that goes your script. It would be "index.php" of course.

Line 74 is the array of users you'll need to edit. Once you do that, save it and you can log in with user@blackoutmob.net by typing "/login user@blackoutmob.net".
Post Reply