[ALL] Server and database accept different long usernames
I looked through the server code and saw a little flaw in it.
The database accepts account usernames to be 32 chars long and the WoW client and the login can handle 32 chars long usernames too but if you try to change the username or password of such a 32 chars long account it will fail because the functions to change username and password are checking if the new username or password exceeds [code]MAX_ACCOUNT_STR[/code] which is defined as 16 chars. It's easy to fix: either the [code]MAX_ACCOUNT_STR[/code] gets increased to 32 chars or the realmd database structure for the column username in table account gets decreased from 32 chars to 16 chars.
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now