* 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:
Brian
2010-07-22 13:41:19 -06:00
parent 903a3cbe76
commit c8662c888b
9 changed files with 227 additions and 3 deletions
@@ -225,6 +225,11 @@ EAIErrorLevel = 2
# Number of threads to update maps.
# Default: 1
#
# CleanCharacterDB
# Perform character db clean ups on start up
# Default: 0 (Disabled)
# 1 (Enable)
#
###############################################################################
UseProcessors = 0
@@ -257,6 +262,7 @@ LogDB.Opt.ClearTime = 1209600
MaxCoreStuckTime = 0
AddonChannel = 1
MapUpdate.Threads = 1
CleanCharacterDB = 0
###############################################################################
# SERVER LOGGING