[8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.

Added config options to set count of eventlog records stored in DB.
    Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
    Renamed few variables in Guild class.
    Signed-off-by: Triply <[email protected]>

*Note: existing guild bank log will be removed.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-24 19:23:31 -05:00
parent ab8b1d8039
commit 6e8009446d
13 changed files with 458 additions and 367 deletions
+3 -2
View File
@@ -2418,8 +2418,9 @@ enum PetDiet
// Max values for Guild & Guild Bank
#define GUILD_BANK_MAX_TABS 6
#define GUILD_BANK_MAX_SLOTS 98
#define GUILD_BANK_MAX_LOGS 24
#define GUILD_EVENTLOG_MAX_ENTRIES 100
#define GUILD_BANK_MAX_LOGS 25
#define GUILD_BANK_MONEY_LOGS_TAB 100
#define GUILD_EVENTLOG_MAX_RECORDS 100
#define GUILD_MAX_RANKS 10
enum AiReaction