Jump to content
  • [ALL] Server and database accept different long usernames

    • Status: suggested
      Main Category: Core / Mangos Daemon
      Sub-Category: Code Enhancement
      Version: 0.20 Milestone: 20 Priority: unknown
      Implemented Version: 0.20

    [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.

    User Feedback

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use