* Implemented DB cleaning on startup
* Must be enabled in conf AND set in worldstates for what you want to clean * CLEANING_FLAG_ACHIEVEMENT_PROGRESS = 0x1, * CLEANING_FLAG_SKILLS = 0x2, * CLEANING_FLAG_SPELLS = 0x4, * CLEANING_FLAG_TALENTS = 0x8 * Set to 0xF to clean all 4 * Patch by hunuza --HG-- branch : trunk
This commit is contained in:
1 parent
903a3cbe76
commit
c8662c888b
9 files changed
+227
-3
No files matched your search
@@ -1976,7 +1976,8 @@ LOCK TABLES `worldstates` WRITE;
|
||||
INSERT INTO `worldstates` (`entry`,`value`, `comment`) VALUES
|
||||
(20001, 0, 'NextArenaPointDistributionTime'),
|
||||
(20002, 0, 'NextWeeklyQuestResetTime'),
|
||||
(20003, 0, 'NextBGRandomDailyResetTime');
|
||||
(20003, 0, 'NextBGRandomDailyResetTime'),
|
||||
(20004, 0, 'cleaning_flags');
|
||||
/*!40000 ALTER TABLE `worldstates` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
Reference in new issue
Block a user