[8408] Optimized guild_member loading during startup. Changed rank ids in guild_rank table.
First start of mangos will take more time then usually, because of guild_rank change. If you want to speed first start up, execute command:
UPDATE guild_rank SET rid = rid - 1;
Signed-off-by: Triply <triply@getmangos.com>
--HG--
branch : trunk
This commit is contained in:
1 parent
0d5028eea4
commit
aa86640fdf
6 files changed
+208
-171
No files matched your search
@@ -368,7 +368,7 @@ void WorldSession::LogoutPlayer(bool Save)
|
||||
Guild *guild = objmgr.GetGuildById(_player->GetGuildId());
|
||||
if(guild)
|
||||
{
|
||||
guild->LoadPlayerStatsByGuid(_player->GetGUID());
|
||||
guild->SetMemberStats(_player->GetGUID());
|
||||
guild->UpdateLogoutTime(_player->GetGUID());
|
||||
|
||||
WorldPacket data(SMSG_GUILD_EVENT, (1+1+12+8)); // name limited to 12 in character table.
|
||||
|
||||
Reference in new issue
Block a user