Jump to content

[9320] Character title reset after account logout


Guest Shadez

Recommended Posts

Core: 9320

Once logged in, character's title is reset and does not appear. However, you can re-select it in the titles list and it will be displayed until the next logon.

Try this patch.
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index c2f2790..a772dff 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -15302,7 +15302,7 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder )

    // check PLAYER_CHOSEN_TITLE compatibility with PLAYER__FIELD_KNOWN_TITLES
    // note: PLAYER__FIELD_KNOWN_TITLES updated at quest status loaded
-    uint32 curTitle = fields[10].GetUInt32();
+    uint32 curTitle = fields[47].GetUInt32();
    if (curTitle && !HasTitle(curTitle))
        curTitle = 0;

Link to comment
Share on other sites

×
×
  • 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