Global ID and md5 authentication

For all the help you need with Armagetron!
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Global ID and md5 authentication

Post by Jip »

epsy wrote:That is always the latest stuff, but I can't help you if you don't tell me what's the problem.
Jip wrote:Just to make sure that I am doing it right.
I choose my password "test".
In the config.php I define the prefix "123".
I store md5("123test") in my DB and should be able to log in with user Jip and password test. Is that right?
Our Problem is, that the hash what is generated from the game client is different to the hash from the auth server script. And I dont know why.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Global ID and md5 authentication

Post by Z-Man »

Where are you checking the client's MD5 hash? The right place is nKrawall::nMethod::ScramblePassword, the result of that hash gets further scrambled over the net later, but the one that is calculated there should be the one you generate in your first step and store in your database.
Post Reply