Hi!
I'm helping a frend who's developing a game with rpgmaker xp and I'm building him a website that will interface with the game. And he told me you mite be able to help me.
I need to know how the game encrypts passwords. It's not MD5 or SHA1 or Native mysql password(). SO how is it doing it. Hope you know.
Also if there is any documentation anywhere what the tables in the database are for, and how the game uses them. It would be very helpfull as we're integrating the site and the game.
EDIT: My game guy told me to specify it's for "rmx-os"
EDIT: Nevermind I already know. It's rubys build it crypt command with a 2 char salt. What i need to know now is: where the salt is stored (the manual said something about the admin beein able to change it) and if
http://php.net/manual/en/function.crypt.php
works in the same way (I quess I'll find out if it works when i get the salt and i test it :()
I should work in the same way. Ruby's crypt function works the same as the UNIX crypt function and PHP's crypt function should map into UNIX's crypt function when running it on a UNIX system. IDK if it works properly on Windows, but I think that Ryex made his RMX-OS GUI (made in C#) work normally using C#'s function for that kind of encryption.
Ok Thanks. I was hoping that was the case.
Does anyone know where the "salt " is hidden?
We've been searching for a while now and are slowly thinking about recoding the game to use mysqls native password() function instead (it's much simpler)
Salt is usually passed on as argument in the crypt function. RMX-OS itself uses a constant for the salt (refer to the manual) to the same salt is used in the entire client.
The thing is, the manual only seas that the salt can be changed by an admin. It does not say where it can be change. And it's not in the config file. So if anyone knows where the constats for the salt is located, that would really be helpfull.
the salt is located in the options part of the client's part of the rmx-os script
Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou!