First, what's the error? "Not working" is not good enough for us to give you hints about your problem.
This is a function which returns a string which should be encrypted in MD5 (only if that's really an MD5 encryption function):
Code:
HashBytes('MD5',$ps_loginname+$ps_password+1234567890)
Search for "HashBytes" function definition in your PHP files and see what's inside of it.
Not all the PHP base MD5 encryption functions are working with old PHP versions so it could be one of the many causes why isn't it working.
First, make sure your string in SQL database is MD5. It should look like this, that could mean it works, but not necessarily.
Code:
f67c2bcbfcfa30fccb36f72dca22a817
Your server files should have an MD5 enabling flag somewhere in a config file. Find it and set it to 1.
Also, make sure you have the same encryption/decryption string used in your server files because of this:
Code:
"$ps_loginname+$ps_password+1234567890" - this is concatenating the login, password and the string 1234567890,
so the encryption string is "ps_loginname+ps_password+1234567890".
If your server files have no idea how you encrypted it like this ("$ps_loginname+$ps_password+1234567890"), the MD5 won't be decrypted correctly when you're in-game logging in.
MD5(user+password+1234567890) IS NOT EQUAL with MD5(password).
I'm suggesting you to search for open source Mu Online CMS and get an encryption based on that. Most of the server files are using the same encryption/decryption as far as I know but it could be different as well, depending on your server files.
Server administrators have Mu Online Core Developers which would help doing/changing the MD5 encryption in the source codes in the server files according to the website requirements.
And also, why don't you read your config files with more attention? (IGCDS.ini - DataServer)
Code:
## IGC_MD5 - varchar(32) - for x86/x64 SQL, uses md5($pass) from PHP
PasswordEncryptType = 2
Solution: So the encryption MUST be md5($pass).
Do it yourself: Find an MD5 encryption and make sure your it's encrypting it.
Good luck.