Player authentication

Post here if you need help setting up your server, etc.
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Player authentication

Post by catlover »

Hello, I have Armagetron Linux dedicated 0.2.8.3.2 installed, and the one thing I can't figure out is whenever I try to log in, it says "Login denied!".

My Server_info.cfg is as follows:

Code: Select all

SERVER_NAME name of server
SERVER_OPTIONS server info
TALK_TO_MASTER 1
TRUST_LAN 1
GLOBAL_ID 1
USER_LEVEL catlover@forums 0
Thanks :)
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Re: Player authentication

Post by epsy »

How far in the login process do you get this error?

Are you using /login catlover@forums?
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Re: Player authentication

Post by catlover »

I was using /login forums, but /login catlover@forums returns "Login denied!" just the same.

EDIT: It returns the error instantly after /login forums or /login catlover@forums, didn't realise what you were asking.
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Player authentication

Post by Z-Man »

That's not the full error message, there must be something related in the next or previous line. Can you post that?

Also, how did you install the server? Not all ways support authentication.
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Re: Player authentication

Post by catlover »

Hi, well, I type "/login forums", and it says "Login denied!". No more, no less. There is nothing more to post, unless there is a logfile that I should look in.


I installed it from the Ubuntu repositories.
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Player authentication

Post by Z-Man »

Ah, the Ubuntu official Ubuntu builds don't support authentication of that kind, only the old insecure ADMIN_PASS method. That's because the new stuff was still considered experimental when 0.2.8.3 was released. You'd need to either use ADMIN_PASS or switch build types. The PPA has alpha builds you can use just as easily (they're not very much broken very often), and if you want to stick to 0.2.8.3.2, there are autopackage builds, zero install streams or building from source.
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Re: Player authentication

Post by catlover »

OK, I installed armagetronad-alpha-dedicated from the PPA, and copied the .cfg files accordingly, but it still says "Login denied!".

Note that it also says "This server does not support authentication of the type you requested, sorry." if I try to login from the menu.
User avatar
Z-Man
God & Project Admin
Posts: 11624
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Player authentication

Post by Z-Man »

Oh, sorry, turned out I connected to the wrong local server when testing. The ppa builds are also authentication-less. I'll fix that for the next one, due to upload on Monday.
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Re: Player authentication

Post by catlover »

So, you'll enable authentication in the next update of the PPA, so I can be patient or compile it myself. :)
User avatar
compguygene
Adjust Outside Corner Grinder
Posts: 2346
Joined: Thu Aug 21, 2008 12:09 pm
Location: Cleveland, Ohio
Contact:

Re: Player authentication

Post by compguygene »

As a person who builds all of his server binaries from source, I would highly recommend that you try doing it that way. Then, if you want to try some experimental build or branch that is only available from source, you can do it. Also, you do have some more options available to you when you build from source. The devs have made the process pretty painless, with the sole exception being personal stupidity.
Armagetron: It's a video game that people should just play and enjoy :)
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Re: Player authentication

Post by catlover »

I'm sorry for my ignorance, but where can I find the source code for the alpha and beta dedicated server?

The beta site seems to be outdated. (?)
User avatar
compguygene
Adjust Outside Corner Grinder
Posts: 2346
Joined: Thu Aug 21, 2008 12:09 pm
Location: Cleveland, Ohio
Contact:

Re: Player authentication

Post by compguygene »

Here is the forum topic with the list of weekly builds. http://forums3.armagetronad.net/viewtop ... 50&t=21815

Also, you can just check out the launchpad site. https://launchpad.net/armagetronad You can find a variety of current versions of Armagetron there.
Armagetron: It's a video game that people should just play and enjoy :)
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1897
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Player authentication

Post by kyle »

Image
User avatar
catlover
On Lightcycle Grid
Posts: 20
Joined: Wed Jul 06, 2011 9:29 pm

Re: Player authentication

Post by catlover »

I just installed 0.2.8.3.2 (with --enable-authentication) from source, the only problem that I see is when I type "Login catlover@forums", it waits until the beginning of the next round to prompt for the password, and again until the next round to actually log me in.
As compguygene said, compiling was a breeze.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1897
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Player authentication

Post by kyle »

you need zthreads

you may have to compile it from source as root or using sudo in your case (meaning the make install you'll need to sudo)

Code: Select all

wget http://voxel.dl.sourceforge.net/sourceforge/zthread/ZThread-2.3.2.tar.gz
tar -xzf ZThread-2.3.2.tar.gz
cd ZThread-2.3.2
./configure CXXFLAGS="-fpermissive" --prefix=/usr/
make && make install
Image
Post Reply