[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>
This commit is contained in:
Triply 2009-08-23 09:14:23 +02:00
parent 5ceb0919e7
commit 512cb786ee
7 changed files with 209 additions and 156 deletions

View file

@ -2332,7 +2332,8 @@ enum PetDiet
#define GUILD_BANK_MAX_LOGS 25
#define GUILD_BANK_MONEY_LOGS_TAB 100
#define GUILD_EVENTLOG_MAX_RECORDS 100
#define GUILD_MAX_RANKS 10
#define GUILD_RANKS_MIN_COUNT 5
#define GUILD_RANKS_MAX_COUNT 10
enum AiReaction
{