Jump to content
TrinityCore

"unknown column" "missing table" "duplicate column" error / sql problems / SQLDriverLogFile < answer on 1st post of 1st page


Apple
 Share

Recommended Posts

Hello, I have installed trinitycore with db 335.50 and all world update, but i have a problem :

 

 


 

 

Using configuration file /home/wowserv/server/etc/worldserver.conf.
Using SSL version: OpenSSL 0.9.8o 01 Jun 2010 (library: OpenSSL 0.9.8o 01 Jun 2010)
Using ACE version: 6.0.3
TrinityCore rev. 2013-01-01 21:17:48 +0100 (87368cab45b8) (Unix, Release) (worldserver-daemon)
<Ctrl-C> to stop.
 
 ______                       __
/__  _       __          __/ __
/_/ / _ __ /_    ___ /_ , _  __  __
    /`'__/ /' _ `/ / / /
    / / / _ _
      _ _   _ _ _ _ __/`____
      /_//_/   /_//_//_//_//__/ `/___/>
                                 C O R E  /___/
http://TrinityCore.org                    /__/
 
Realm running as realm ID 1
Using World DB: TDB 335.50
Will clear `logs` table of entries older than 1209600 seconds every 10 minutes.
Using DataDir ./
VMap support included. LineOfSight:1, getHeight:1, indoorCheck:1 PetLOS:1
VMap data directory is: ./vmaps
Loading Trinity strings...
>> Loaded 993 Trinity strings from table trinity_string in 2 ms
Initialize data stores...
>> Initialized 96 data stores in 161 ms
Using frFR DBC Locale as default. All available DBC locales: frFR
Loading spell dbc data corrections...
>> Loaded spell dbc data corrections in 3 ms
Loading SpellInfo store...
>> Loaded spell custom attributes in 24 ms
Loading SkillLineAbilityMultiMap Data...
>> Loaded 10219 SkillLineAbility MultiMap Data in 2 ms
Loading spell custom attributes...
>> Loaded spell custom attributes in 15 ms
Loading GameObject models...
>> Loaded 2321 GameObject models in 1 ms
Loading Script Names...
>> Loaded 2147 Script Names in 58 ms
Loading Instance Template...
>> Loaded 83 instance templates in 0 ms
Loading instances...
>> Loaded instances in 2 ms
Loading Localization strings...
>> Localization strings loaded in 2 ms
Loading Page Texts...
>> Loaded 1834 page texts in 2 ms
Loading Game Object Templates...
>> Loaded 19061 game object templates in 130 ms
Loading Spell Rank Data...
>> Loaded 5593 spell rank records in 5 ms
Loading Spell Required Data...
>> Loaded 41 spell required records in 0 ms
Loading Spell Group types...
>> Loaded 461 spell group definitions in 1 ms
Loading Spell Learn Skills...
>> Loaded 99 Spell Learn Skills from DBC in 1 ms
Loading Spell Learn Spells...

>> Loaded 8 spell learn spells + 572 found in DBC in 2 ms
Loading Spell Proc Event conditions...
>> Loaded 1085 extra and 59 custom spell proc event conditions in 3 ms
Loading Spell Proc conditions and data...
>> Loaded 0 spell proc conditions and data. DB table `spell_proc` is empty.
Loading Spell Bonus Data...
>> Loaded 332 extra spell bonus data in 1 ms
Loading Aggro Spells Definitions...
>> Loaded 106 SpellThreatEntries in 0 ms
Loading Spell Group Stack Rules...
>> Loaded 53 spell group stack rules in 0 ms
Loading NPC Texts...
>> Loaded 6044 npc texts in 84 ms
Loading Enchant Spells Proc datas...
>> Loaded 42 enchant proc data definitions in 0 ms
Loading Item Random Enchantments Table...
>> Loaded 28607 Item Enchantment definitions in 25 ms
Loading Disables
>> Loaded 801 disables in 1 ms
Loading Items...
>> Loaded 37293 item templates in 815 ms
Loading Item set names...
>> Loaded 2481 item set names in 3 ms
Loading Creature Model Based Info Data...
>> Loaded 24142 creature model based info in 35 ms
Loading Equipment templates...
>> Loaded 2493 equipment templates in 2 ms
Loading Creature templates...
>> Loaded 29923 creature definitions in 506 ms
Loading Creature template addons...
>> Loaded 7567 creature template addons in 11 ms
Loading Reputation Reward Rates...
>> Loaded 14 reputation_reward_rate in 1 ms
Loading Creature Reputation OnKill Data...
>> Loaded 2002 creature award reputation definitions in 3 ms
Loading Reputation Spillover Data...
>> Loaded 26 reputation_spillover_template in 0 ms
Loading Points Of Interest Data...
>> Loaded 453 Points of Interest definitions in 2 ms
Loading Creature Base Stats...
>> Loaded 400 creature base stats in 2 ms
Loading Creature Data...
>> Loaded 143518 creatures in 1143 ms
Loading pet levelup spells...
>> Loaded 993 pet levelup and default spells for 39 families in 4 ms
Loading pet default spells additional to levelup spells...
>> Loaded addition spells for 111 pet spell data entries in 1 ms
Loading summonable creature templates...
>> Loaded 375 summonable creature templates in 2 ms
Loading Creature Addon Data...
>> Loaded 34646 creature addons in 47 ms
Loading Gameobject Data...
>> Loaded 82581 gameobjects in 706 ms
Loading Creature Linked Respawn...
>> Loaded 5547 linked respawns in 4 ms
Loading Weather Data...

>> Loaded 35 weather definitions in 1 ms
Loading Quests...
>> Loaded 9464 quests definitions in 221 ms
Checking Quest Disables
>> Checked 651 quest disables in 0 ms
Loading Quest POI
>> Loaded 18759 quest POI definitions in 75 ms
Loading Quests Relations...
Loading GO Start Quest Data...
>> Loaded 520 quest relations from gameobject_questrelation in 1 ms
Loading GO End Quest Data...
>> Loaded 450 quest relations from gameobject_involvedrelation in 1 ms
Loading Creature Start Quest Data...
>> Loaded 7505 quest relations from creature_questrelation in 10 ms
Loading Creature End Quest Data...
>> Loaded 7853 quest relations from creature_involvedrelation in 10 ms
Loading Objects Pooling Data...
>> Loaded 3024 objects pools in 2 ms
Loading Creatures Pooling Data...
>> Loaded 904 creatures in pools in 1 ms
Loading Gameobject Pooling Data...
>> Loaded 24080 gameobject in pools in 30 ms
Loading Mother Pooling Data...
>> Loaded 2290 pools in mother pools in 6 ms
Loading Quest Pooling Data...
>> Loaded 133 quests in pools in 1 ms
Starting objects pooling system...
Loading Game Event Data...
>> Loaded 64 game events in 0 ms
Loading Game Event Saves Data...
>> Loaded 15 game event saves in game events in 0 ms
Loading Game Event Prerequisite Data...
>> Loaded 15 game event prerequisites in game events in 0 ms
Loading Game Event Creature Data...
>> Loaded 8259 creatures in game events in 12 ms
Loading Game Event GO Data...
>> Loaded 19799 gameobjects in game events in 27 ms
Loading Game Event Model/Equipment Change Data...
>> Loaded 10 model/equipment changes in game events in 1 ms
Loading Game Event Quest Data...
>> Loaded 217 quests additions in game events in 0 ms
Loading Game Event GO Quest Data...
>> Loaded 78 quests additions in game events in 0 ms
Loading Game Event Quest Condition Data...
>> Loaded 11 quest event conditions in game events in 0 ms
Loading Game Event Condition Data...
>> Loaded 15 conditions in game events in 1 ms
Loading Game Event Condition Save Data...
>> Loaded 0 condition saves in game events. DB table `game_event_condition_save` is empty.
Loading Game Event NPCflag Data...
>> Loaded 6 npcflags in game events in 0 ms
Loading Game Event Seasonal Quest Relations...
>> Loaded 614 quests additions in game events in 0 ms
Loading Game Event Vendor Additions Data...
>> Loaded 71 vendor additions in game events in 1 ms
Loading Game Event Battleground Data...

>> Loaded 6 battleground holidays in game events in 0 ms
Loading Game Event Pool Data...
>> Loaded 8 pools for game events in 0 ms
Loading UNIT_NPC_FLAG_SPELLCLICK Data...
>> Loaded 258 spellclick definitions in 1 ms
Loading Vehicle Template Accessories...
>> Loaded 116 Vehicle Template Accessories in 1 ms
Loading Vehicle Accessories...
>> Loaded 0 Vehicle Accessories in 0 ms
Loading SpellArea Data...
>> Loaded 425 spell area requirements in 1 ms
Loading AreaTrigger definitions...
>> Loaded 224 area trigger teleport definitions in 1 ms
Loading Access Requirements...
>> Loaded 121 access requirement definitions in 0 ms
Loading Quest Area Triggers...
>> Loaded 59 quest trigger points in 0 ms
Loading Tavern Area Triggers...
>> Loaded 113 tavern triggers in 1 ms
Loading AreaTrigger script names...
>> Loaded 72 areatrigger scripts in 0 ms
Loading LFG entrance positions...
>> Loaded 16 lfg entrance positions in 0 ms
Loading Dungeon boss data...
>> Loaded 612 instance encounters in 1 ms
Loading LFG rewards...
[1054] Unknown column 'firstMoneyVar' in 'field list'
Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
 

 

 

 

Thx in advance.

Link to comment
Share on other sites

--- Canned message start --- Please Look in upper right hand corner of the forum, there is a button labeled search field, feel free to search for your issues first before posting, most questions like this one have already been answered. If you still cannot find the answers you seek feel free to make a post and tell us the steps you took to resolve this issue and we will do our best to help you. --- Canned message end ---

Link to comment
Share on other sites

Greetings!
 
My name is Brant and I am a member of the Roman Armada gaming community. I recently became aware of Trinity Core and me and my friends are using this program to develop our own server. Everything was going fine, we've developed we had a few developmental roadblocks and I am new to the community I'm not sure where I should post this message but I would like to request for assistance from someone as we're so close and we have overcome so many hurdles in the last 3 1/2 days we have dedicated several hours to this project I would appreciate the community support we're new to this community so were hoping that we will find support and help we need or be directed to the right place.
 
Our problem is as follows (It loads and then crashes immediately.)
 
Using configuration file worldserver.conf.
Using SSL version: OpenSSL 1.0.1c 10 May 2012 (library: OpenSSL 1.0.1c 10 May 2012)
Using ACE version: 6.1.4
TrinityCore rev. 0000-00-00 00:00:00 +0000 (Archived) (Win32, Release) (worldserver-daemon)
<Ctrl-C> to stop.

 ______                       __
/__  _       __          __/ __
/_/ / _ __ /_    ___ /_ , _  __  __
     /`'__/  /' _ `/   / / / 
        /   / /     _  _ 
      _ _   _ _ _ _ __/`____ 
      /_//_/   /_//_//_//_//__/ `/___/> 
                                 C O R E  /___/
http://TrinityCore.org                    /__/

In mysql_stmt_prepare() id: 12, sql: "INSERT INTO npc_vendor (entry, item, maxcount, incrtime, extendedcost, type) VALUES(?, ?, ?, ?, ?, ?)"
Unknown column 'type' in 'field list'
In mysql_stmt_prepare() id: 13, sql: "DELETE FROM npc_vendor WHERE entry = ? AND item = ? AND type = ?"
Unknown column 'type' in 'where clause'
In mysql_stmt_prepare() id: 14, sql: "SELECT item, maxcount, incrtime, ExtendedCost, type FROM npc_vendor WHERE entry = ? AND type = ? ORDER BY slot ASC"
Unknown column 'type' in 'field list'
In mysql_stmt_prepare() id: 56, sql: "SELECT difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction_A, faction_H, npcflag, speed_walk, speed_run, scale, rank, mindmg, maxdmg, dmgschool, attackpower, dmg_multiplier, baseattacktime, rangeattacktime, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_class, trainer_race, minrangedmg, maxrangedmg, rangedattackpower, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, Health_mod, Mana_mod, Mana_mod_extra, Armor_mod, RacialLeader, questItem1, questItem2, questItem3, questItem4, questItem5, questItem6, movementId, RegenHealth, equipment_id, mechanic_immune_mask, flags_extra, ScriptName FROM creature_template WHERE entry = ?"
Unknown column 'Mana_mod_extra' in 'field list'
DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to world database 127.0.0.1;3306;root;*****;world

 

 

Now, I have been reading to have ServerDriver.log enabled in the worldserver.conf file, yet that does not exist in the config file that we have.

 

All of the databases have been updated, etc.

 

I appreciate all the help in advance!

Edited by Brant
Link to comment
Share on other sites

I might be mistaken, but I don't think there is a type column in npc_vendor in an up-to-date world db? Unless it was added in the past hours and I missed it :/ Perhaps it was removed at some time in the past and Brant is using some old revision of the core?

Edited by chocochaos
Link to comment
Share on other sites

"TrinityCore rev. 0000-00-00 00:00:00 + 000"

 

You should try and install Git properly so you are aware of what revision you have compiled. (You also have to re-run CMake to make the Visual Studio files on Windows) Here's a link that will help you; http://www.trinitycore.org/f/topic/345-howto-properly-install-git-on-windows-fix-trinitycore-rev-0000-00-00/

 

"DatabasePool world NOT opened. There were errors opening the MySQL connections."

 

Your errors point into issues with MySQL connectivity, please check that you have configured your MySQL server properly. (Both your my.conf inside your MySQL directory and your worldserver.conf) You should also make sure that the MySQL service is running on Windows without any issues.

Edited by Mirana Starlight
Link to comment
Share on other sites

Hello again. 

 

i have the issue that my world wont start, after the updated trinitycore.

 

server log

 

 

Using configuration file worldserver.conf.
Using SSL version: OpenSSL 1.0.1d 5 Feb 2013 (library: OpenSSL 1.0.1d 5 Feb 2013)
Using ACE version: 6.1.4
TrinityCore rev. 0000-00-00 00:00:00 +0000 (TC-COPY-WITH-NO-GIT-SUPPORT) (Win32, Release) (worldserver-daemon)
<Ctrl-C> to stop.
 
 ______                       __
/__  _       __          __/ __
/_/ / _ __ /_    ___ /_ , _  __  __
    /`'__/ /' _ `/ / / /
    / / / _ _
      _ _   _ _ _ _ __/`____
      /_//_/   /_//_//_//_//__/ `/___/>
                                 C O R E  /___/
http://TrinityCore.org                    /__/
 
In mysql_stmt_prepare() id: 56, sql: "SELECT difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction_A, faction_H, npcflag, speed_walk, speed_run, scale, rank, mindmg, maxdmg, dmgschool, attackpower, dmg_multiplier, baseattacktime, rangeattacktime, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, minrangedmg, maxrangedmg, rangedattackpower, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, Health_mod, Mana_mod, Armor_mod, RacialLeader, questItem1, questItem2, questItem3, questItem4, questItem5, questItem6, movementId, RegenHealth, equipment_id, mechanic_immune_mask, flags_extra, ScriptName FROM creature_template WHERE entry = ?"
Unknown column 'trainer_spell' in 'field list'
DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to world database 127.0.0.1;3307;root;00220022;world
 
 
 
 
Error log
 
 
 
 
In mysql_stmt_prepare() id: 56, sql: "SELECT difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction_A, faction_H, npcflag, speed_walk, speed_run, scale, rank, mindmg, maxdmg, dmgschool, attackpower, dmg_multiplier, baseattacktime, rangeattacktime, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, minrangedmg, maxrangedmg, rangedattackpower, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, Health_mod, Mana_mod, Armor_mod, RacialLeader, questItem1, questItem2, questItem3, questItem4, questItem5, questItem6, movementId, RegenHealth, equipment_id, mechanic_immune_mask, flags_extra, ScriptName FROM creature_template WHERE entry = ?"
Unknown column 'trainer_spell' in 'field list'
 
 
 
wheres the problem.
 
 
I have updated all Updates that i found for 434, but not fixed.
 
installed clean,db, from here, and installed all updates from "sql/updates/world" same error
 
 
Edited by Fammouzzz
Link to comment
Share on other sites

... Completely new, from github.com/trinitycore

That doesn't help amigo... We are asking for a revision.. but anyways, Nay provided the link that should help you "update your DB".

Too many people ask for help and don't provide what revision they are using, come to find out it isn't even the correct version (even with links provided does not help us, help you!)

Link to comment
Share on other sites

  • 2 weeks later...

My worldserver dosent start,gives error

I use this dbase http://www.trinitycore.org/f/files/file/9-tdb-full-434/

And this core https://github.com/TrinityCore/TrinityCore

I compilied today and gives error,i run the updates and still nothing

below is the error

 

 

 

 

Using configuration file worldserver.conf.
Using SSL version: OpenSSL 1.0.0c 2 Dec 2010 (library: OpenSSL 1.0.1e 11 Feb 2013)
Using ACE version: 6.1.4
TrinityCore rev. 2013-02-22 18:01:57 +0100 (729a37363b76) (Win32, Release) (worldserver-daemon)
<Ctrl-C> to stop.

______ __
/__ _ __ __/ __
/_/ / _ __ /_ ___ /_ , _ __ __
/`'__/ /' _ `/ / / /
/ / / _ _
_ _ _ _ _ _ __/`____
/_//_/ /_//_//_//_//__/ `/___/>
C O R E /___/
http://TrinityCore.org /__/

In mysql_stmt_prepare() id: 56, sql: "SELECT difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction_A, faction_H, npcflag, speed_walk, speed_run, scale, rank, mindmg, maxdmg, dmgschool, attackpower, dmg_multiplier, baseattacktime, rangeattacktime, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, minrangedmg, maxrangedmg, rangedattackpower, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, Health_mod, Mana_mod, Armor_mod, RacialLeader, questItem1, questItem2, questItem3, questItem4, questItem5, questItem6, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName FROM creature_template WHERE entry = ?"
Unknown column 'trainer_spell' in 'field list'
DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to world database 127.0.0.1;3306;root;aslordmypref;world

 

 

 

 

 

here is the worldserver.conf

 

 

 

################################################


# Trinity Core World Server configuration file #
################################################
[worldserver]

###################################################################################################
# SECTION INDEX
#
# EXAMPLE CONFIG
# CONNECTIONS AND DIRECTORIES
# PERFORMANCE SETTINGS
# SERVER LOGGING
# SERVER SETTINGS
# WARDEN SETTINGS
# PLAYER INTERACTION
# CREATURE SETTINGS
# CHAT SETTINGS
# GAME MASTER SETTINGS
# VISIBILITY AND DISTANCES
# SERVER RATES
# AUTO BROADCAST
# BATTLEGROUND CONFIG
# BATTLEFIELD CONFIG
# ARENA CONFIG
# NETWORK CONFIG
# CONSOLE AND REMOTE ACCESS
# CHARACTER DELETE OPTIONS
# CUSTOM SERVER OPTIONS
# LOGGING SYSTEM SETTINGS
#
###################################################################################################

###################################################################################################
# EXAMPLE CONFIG
#
# Variable
# Description: Brief description what the variable is doing.
# Important: Annotation for important things about this variable.
# Example: "Example, i.e. if the value is a string"
# Default: 10 - (Enabled|Comment|Variable name in case of grouped config options)
# 0 - (Disabled|Comment|Variable name in case of grouped config options)
#
# Note to developers:
# - Copy this example to keep the formatting.
# - Line breaks should be at column 100.
###################################################################################################

###################################################################################################
# CONNECTIONS AND DIRECTORIES
#
# RealmID
# Description: ID of the Realm using this config.
# Important: RealmID must match the realmlist inside the auth database.
# Default: 1

RealmID = 1

#
# DataDir
# Description: Data directory setting.
# Important: DataDir needs to be quoted, as the string might contain space characters.
# Example: "@prefix@/share/trinitycore"
# Default: "."

DataDir = "."

#
# LogsDir
# Description: Logs directory setting.
# Important: LogsDir needs to be quoted, as the string might contain space characters.
# Logs directory must exists, or log file creation will be disabled.
# Default: "" - (Log files will be stored in the current path)

LogsDir = "logs"

#
# LoginDatabaseInfo
# WorldDatabaseInfo
# CharacterDatabaseInfo
# Description: Database connection settings for the world server.
# Example: "hostname;port;username;password;database"
# ".;somenumber;username;password;database" - (Use named pipes on Windows
# "enable-named-pipe" to [mysqld]
# section my.ini)
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
# Unix/Linux)
# Default: "127.0.0.1;3306;trinity;trinity;auth" - (LoginDatabaseInfo)
# "127.0.0.1;3306;trinity;trinity;world" - (WorldDatabaseInfo)
# "127.0.0.1;3306;trinity;trinity;characters" - (CharacterDatabaseInfo)

LoginDatabaseInfo = "127.0.0.1;3306;root;aslordmypref;auth"
WorldDatabaseInfo = "127.0.0.1;3306;root;aslordmypref;world"
CharacterDatabaseInfo = "127.0.0.1;3306;root;aslordmypref;characters"

#
# LoginDatabase.WorkerThreads
# WorldDatabase.WorkerThreads
# CharacterDatabase.WorkerThreads
# Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
# statements. Each worker thread is mirrored with its own connection to the
# MySQL server and their own thread on the MySQL server.
# Default: 1 - (LoginDatabase.WorkerThreads)
# 1 - (WorldDatabase.WorkerThreads)
# 1 - (CharacterDatabase.WorkerThreads)

LoginDatabase.WorkerThreads = 1
WorldDatabase.WorkerThreads = 1
CharacterDatabase.WorkerThreads = 1

#
# LoginDatabase.SynchThreads
# WorldDatabase.SynchThreads
# CharacterDatabase.SynchThreads
# Description: The amount of MySQL connections spawned to handle.
# Default: 1 - (LoginDatabase.WorkerThreads)
# 1 - (WorldDatabase.WorkerThreads)
# 2 - (CharacterDatabase.WorkerThreads)

LoginDatabase.SynchThreads = 1
WorldDatabase.SynchThreads = 1
CharacterDatabase.SynchThreads = 2

#
# MaxPingTime
# Description: Time (in minutes) between database pings.
# Default: 30

MaxPingTime = 30

#
# WorldServerPort
# Description: TCP port to reach the world server.
# Default: 8085

WorldServerPort = 8085

#
# BindIP
# Description: Bind world server to IP/hostname
# Default: "0.0.0.0" - (Bind to all IPs on the system)

BindIP = "0.0.0.0"

#
###################################################################################################

###################################################################################################
# PERFORMANCE SETTINGS
#
# UseProcessors
# Description: Processors mask for Windows based multi-processor systems.
# Default: 0 - (Selected by OS)
# 1+ - (Bit mask value of selected processors)

UseProcessors = 0

#
# ProcessPriority
# Description: Process priority setting for Windows based systems.
# Default: 1 - (High)
# 0 - (Normal)

ProcessPriority = 1

#
# Compression
# Description: Compression level for client update packages
# Range: 1-9
# Default: 1 - (Speed)
# 9 - (Best compression)

Compression = 1

#
# PlayerLimit
# Description: Maximum number of players in the world. Excluding Mods, GMs and Admins.
# Important: If you want to block players and only allow Mods, GMs or Admins to join the
# server, use the DB field "auth.realmlist.allowedSecurityLevel".
# Default: 100 - (Enabled)
# 1+ - (Enabled)
# 0 - (Disabled, No limit)

PlayerLimit = 100

#
# SaveRespawnTimeImmediately
# Description: Save respawn time for creatures at death and gameobjects at use/open.
# Default: 1 - (Enabled, Save respawn time immediately)
# 0 - (Disabled, Save respawn time at grid unloading)

SaveRespawnTimeImmediately = 1

#
# MaxOverspeedPings
# Description: Maximum overspeed ping count before character is disconnected.
# Default: 2 - (Enabled, Minimum value)
# 3+ - (Enabled, More checks before kick)
# 0 - (Disabled)

MaxOverspeedPings = 2

#
# GridUnload
# Description: Unload grids to save memory. Can be disabled if enough memory is available
# to speed up moving players to new grids.
# Default: 1 - (enable, Unload grids)
# 0 - (disable, Do not unload grids)

GridUnload = 1

#
# SocketTimeOutTime
# Description: Time (in milliseconds) after which a connection being idle on the character
# selection screen is disconnected.
# Default: 900000 - (15 minutes)

SocketTimeOutTime = 900000

#
# SessionAddDelay
# Description: Time (in microseconds) that a network thread will sleep after authentication
# protocol handling before adding a connection to the world session map.
# Default: 10000 - (10 milliseconds, 0.01 second)

SessionAddDelay = 10000

#
# GridCleanUpDelay
# Description: Time (in milliseconds) grid clean up delay.
# Default: 300000 - (5 minutes)

GridCleanUpDelay = 300000

#
# MapUpdateInterval
# Description: Time (milliseconds) for map update interval.
# Default: 100 - (0.1 second)

MapUpdateInterval = 100

#
# ChangeWeatherInterval
# Description: Time (in milliseconds) for weather update interval.
# Default: 600000 - (10 min)

ChangeWeatherInterval = 600000

#
# PlayerSaveInterval
# Description: Time (in milliseconds) for player save interval.
# Default: 900000 - (15 min)

PlayerSaveInterval = 900000

#
# PlayerSave.Stats.MinLevel
# Description: Minimum level for saving character stats in the database for external usage.
# Default: 0 - (Disabled, Do not save character stats)
# 1+ - (Enabled, Level beyond which character stats are saved)

PlayerSave.Stats.MinLevel = 0

#
# PlayerSave.Stats.SaveOnlyOnLogout
# Description: Save player stats only on logout.
# Default: 1 - (Enabled, Only save on logout)
# 0 - (Disabled, Save on every player save)

PlayerSave.Stats.SaveOnlyOnLogout = 1

#
# mmap.enablePathFinding
# Description: Enable/Disable pathfinding using mmaps - experimental
# Default: 0 - (Disabled)
# 1 - (Enabled)

mmap.enablePathFinding = 0

#
# vmap.enableLOS
# vmap.enableHeight
# Description: VMmap support for line of sight and height calculation.
# Default: 1 - (Enabled, vmap.enableLOS)
# 1 - (Enabled, vmap.enableHeight)
# 0 - (Disabled)

vmap.enableLOS = 1
vmap.enableHeight = 1

#
# vmap.enableIndoorCheck
# Description: VMap based indoor check to remove outdoor-only auras (mounts etc.).
# Default: 1 - (Enabled)
# 0 - (Disabled, somewhat less CPU usage)

vmap.enableIndoorCheck = 1

#
# DetectPosCollision
# Description: Check final move position, summon position, etc for visible collision with
# other objects or walls (walls only if vmaps are enabled).
# Default: 1 - (Enabled)
# 0 - (Disabled, Less position precision but less CPU usage)

DetectPosCollision = 1

#
# TargetPosRecalculateRange
# Description: Max distance from movement target point (+moving unit size) and targeted
# object (+size) after that new target movement point calculated.
# Range: 0.5-5.0
# Default: 1.5
# 0.5 - (Minimum, Contact Range, More sensitive reaction to target movement)
# 5.0 - (Maximum, Melee attack range, Less CPU usage)

TargetPosRecalculateRange = 1.5

#
# UpdateUptimeInterval
# Description: Update realm uptime period (in minutes).
# Default: 10 - (10 minutes)
# 1+

UpdateUptimeInterval = 10

#
# LogDB.Opt.ClearInterval
# Description: Time (in minutes) for the WUPDATE_CLEANDB timer that clears the `logs` table
# of old entries.
# Default: 10 - (10 minutes)
# 1+

LogDB.Opt.ClearInterval = 10

#
# LogDB.Opt.ClearTime
# Description: Time (in seconds) for keeping old `logs` table entries.
# Default: 1209600 - (Enabled, 14 days)
# 0 - (Disabled, Do not clear entries)

LogDB.Opt.ClearTime = 1209600

#
# MaxCoreStuckTime
# Description: Time (in seconds) before the server is forced to crash if it is frozen.
# Default: 0 - (Disabled)
# 10+ - (Enabled, Recommended 10+)

MaxCoreStuckTime = 0

#
# AddonChannel
# Description: Configure the use of the addon channel through the server (some client side
# addons will not work correctly with disabled addon channel)
# Default: 1 - (Enabled)
# 0 - (Disabled)

AddonChannel = 1

#
# MapUpdate.Threads
# Description: Number of threads to update maps.
# Default: 1

MapUpdate.Threads = 1

#
# CleanCharacterDB
# Description: Clean out deprecated achievements, skills, spells and talents from the db.
# Default: 0 - (Disabled)
# 1 - (Enable)

CleanCharacterDB = 0

#
# PersistentCharacterCleanFlags
# Description: Determines the character clean flags that remain set after cleanups.
# This is a bitmask value, check /doc/CharacterDBCleanup.txt for more
# information.
# Example: 14 - (Cleaning up skills, talents and spells will remain enabled after the
# next cleanup)
# Default: 0 - (All cleanup methods will be disabled after the next cleanup)

PersistentCharacterCleanFlags = 0

#
###################################################################################################

###################################################################################################
# SERVER LOGGING
#
# PidFile
# Description: World daemon PID file
# Example: "./world.pid" - (Enabled)
# Default: "" - (Disabled)

PidFile = ""

#
# PacketLogFile
# Description: Binary packet logging file for the world server.
# Filename extension must be .bin to be parsable with WowPacketParser.
# Example: "World.bin" - (Enabled)
# Default: "" - (Disabled)

PacketLogFile = ""

#
# ChatLogs.Channel
# Description: Log custom channel chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.Channel = 0

#
# ChatLogs.Whisper
# Description: Log whispers between players.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.Whisper = 0

#
# ChatLogs.SysChan
# Description: Log system channel messages.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.SysChan = 0

#
# ChatLogs.Party
# Description: Log party chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)


ChatLogs.Party = 0

#
# ChatLogs.Raid
# Description: Log raid chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)


ChatLogs.Raid = 0

#
# ChatLogs.Guild
# Description: Log guild chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.Guild = 0

#
# ChatLogs.Public
# Description: Log public chat (say/yell/emote).
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.Public = 0

#
# ChatLogs.Addon
# Description: Log addon messages.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.Addon = 0

#
# ChatLogs.BattleGround
# Description: Log battleground chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatLogs.BattleGround = 0

# Extended Logging system configuration moved to end of file (on purpose)
#
###################################################################################################

###################################################################################################
# SERVER SETTINGS
#
# GameType
# Description: Server realm type.
# Default: 0 - (NORMAL)
# 1 - (PVP)
# 4 - (NORMAL)
# 6 - (RP)
# 8 - (RPPVP)
# 16 - (FFA_PVP, Free for all pvp mode like arena PvP in all zones except rest
# activated places and sanctuaries)

GameType = 0

#
# RealmZone
# Description: Server realm zone. Set allowed alphabet in character, etc. names.
# Default 1 - (Development - any language)
# 2 - (United States - extended-Latin)
# 3 - (Oceanic - extended-Latin)
# 4 - (Latin America - extended-Latin)
# 5 - (Tournament - basic-Latin at create, any at login)
# 6 - (Korea - East-Asian)
# 7 - (Tournament - basic-Latin at create, any at login)
# 8 - (English - extended-Latin)
# 9 - (German - extended-Latin)
# 10 - (French - extended-Latin)
# 11 - (Spanish - extended-Latin)
# 12 - (Russian - Cyrillic)
# 13 - (Tournament - basic-Latin at create, any at login)
# 14 - (Taiwan - East-Asian)
# 15 - (Tournament - basic-Latin at create, any at login)
# 16 - (China - East-Asian)
# 17 - (CN1 - basic-Latin at create, any at login)
# 18 - (CN2 - basic-Latin at create, any at login)
# 19 - (CN3 - basic-Latin at create, any at login)
# 20 - (CN4 - basic-Latin at create, any at login)
# 21 - (CN5 - basic-Latin at create, any at login)
# 22 - (CN6 - basic-Latin at create, any at login)
# 23 - (CN7 - basic-Latin at create, any at login)
# 24 - (CN8 - basic-Latin at create, any at login)
# 25 - (Tournament - basic-Latin at create, any at login)
# 26 - (Test Server - any language)
# 27 - (Tournament - basic-Latin at create, any at login)
# 28 - (QA Server - any language)
# 29 - (CN9 - basic-Latin at create, any at login)

RealmZone = 1

#
# StrictPlayerNames
# Description: Limit player name to language specific symbol set. Prevents character
# creation and forces rename request if not allowed symbols are used
# Default: 0 - (Disable, Limited server timezone dependent client check)
# 1 - (Enabled, Strictly basic Latin characters)
# 2 - (Enabled, Strictly realm zone specific, See RealmZone setting,
# Note: Client needs to have the appropriate fonts installed which support
# the charset. For non-official localization, custom fonts need to be
# placed in clientdir/Fonts.
# 3 - (Enabled, Basic Latin characters + server timezone specific)

StrictPlayerNames = 0

#
# StrictCharterNames
# Description: Limit guild/arena team charter names to language specific symbol set.
# Prevents charter creation if not allowed symbols are used.
# Default: 0 - (Disable, Limited server timezone dependent client check)
# 1 - (Enabled, Strictly basic Latin characters)
# 2 - (Enabled, Strictly realm zone specific, See RealmZone setting,
# Note: Client needs to have the appropriate fonts installed which support
# the charset. For non-official localization, custom fonts need to be
# placed in clientdir/Fonts.
# 3 - (Enabled, Basic Latin characters + server timezone specific)

StrictCharterNames = 0

#
# StrictPetNames
# Description: Limit pet names to language specific symbol set.
# Prevents pet naming if not allowed symbols are used.
# Default: 0 - (Disable, Limited server timezone dependent client check)
# 1 - (Enabled, Strictly basic Latin characters)
# 2 - (Enabled, Strictly realm zone specific, See RealmZone setting,
# Note: Client needs to have the appropriate fonts installed which support
# the charset. For non-official localization, custom fonts need to be
# placed in clientdir/Fonts.
# 3 - (Enabled, Basic Latin characters + server timezone specific)

StrictPetNames = 0

#
# DBC.Locale
# Description: DBC language settings.
# Default: 255 - (Auto Detect)
# 0 - (English)
# 1 - (Korean)
# 2 - (French)
# 3 - (German)
# 4 - (Chinese)
# 5 - (Taiwanese)
# 6 - (Spanish)
# 7 - (Spanish Mexico)
# 8 - (Russian)

DBC.Locale = 255

#
# DeclinedNames
# Description: Allow Russian clients to set and use declined names.
# Default: 0 - (Disabled, Except when the Russian RealmZone is set)
# 1 - (Enabled)

DeclinedNames = 0

#
# Expansion
# Description: Allow server to use content from expansions. Checks for expansion-related
# map files, client compatibility and class/race character creation.
# Default: 2 - (Expansion 2)
# 1 - (Expansion 1)
# 0 - (Disabled, Ignore and disable expansion content (maps, races, classes)

Expansion = 2

#
# MinPlayerName
# Description: Minimal player name length.
# Range: 1-12
# Default: 2

MinPlayerName = 2

#
# MinCharterName
# Description: Minimal charter name length.
# Range: 1-24
# Default: 2

MinCharterName = 2

#
# MinPetName
# Description: Minimal pet name length.
# Range: 1-12
# Default: 2

MinPetName = 2

#
# MaxWhoListReturns
# Description: Set the max number of players returned in the /who list and interface.
# Default: 49 - (stable)

MaxWhoListReturns = 49

#
# CharacterCreating.Disabled
# Description: Disable character creation for players based on faction.
# Default: 0 - (Enabled, All factions are allowed)
# 1 - (Disabled, Alliance)
# 2 - (Disabled, Horde)
# 3 - (Disabled, Both factions)

CharacterCreating.Disabled = 0

#
# CharacterCreating.Disabled.RaceMask
# Description: Mask of races which cannot be created by players.
# Example: 1536 - (1024 + 512, Blood Elf and Draenei races are disabled)
# Default: 0 - (Enabled, All races are allowed)
# 1 - (Disabled, Human)
# 2 - (Disabled, Orc)
# 4 - (Disabled, Dwarf)
# 8 - (Disabled, Night Elf)
# 16 - (Disabled, Undead)
# 32 - (Disabled, Tauren)
# 64 - (Disabled, Gnome)
# 128 - (Disabled, Troll)
# 512 - (Disabled, Blood Elf)
# 1024 - (Disabled, Draenei)

CharacterCreating.Disabled.RaceMask = 0

#
# CharacterCreating.Disabled.ClassMask
# Description: Mask of classes which cannot be created by players.
# Example: 288 - (32 + 256, Death Knight and Warlock classes are disabled)
# Default: 0 - (Enabled, All classes are allowed)
# 1 - (Disabled, Warrior)
# 2 - (Disabled, Paladin)
# 4 - (Disabled, Hunter)
# 8 - (Disabled, Rogue)
# 16 - (Disabled, Undead)
# 32 - (Disabled, Death Knight)
# 64 - (Disabled, Shaman)
# 128 - (Disabled, Mage)
# 256 - (Disabled, Warlock)
# 1024 - (Disabled, Druid)

CharacterCreating.Disabled.ClassMask = 0

#
# CharactersPerAccount
# Description: Limit number of characters per account on all realms on this realmlist.
# Important: Number must be >= CharactersPerRealm
# Default: 50

CharactersPerAccount = 50
#
# CharactersPerRealm
# Description: Limit number of characters per account on this realm.
# Range: 1-10
# Default: 10 - (Client limitation)

CharactersPerRealm = 10

#
# HeroicCharactersPerRealm
# Description: Limit number of heroic class characters per account on this realm.
# Range: 1-10
# Default: 1

HeroicCharactersPerRealm = 1

#
# CharacterCreating.MinLevelForHeroicCharacter
# Description: Limit creating heroic characters only for account with another
# character of specific level (ignored for GM accounts)
# Default: 55 - (Enabled, Requires at least another level 55 character)
# 0 - (Disabled)
# 1 - (Enabled, Requires at least another level 1 character)

CharacterCreating.MinLevelForHeroicCharacter = 55

#
# SkipCinematics
# Description: Disable cinematic intro at first login after character creation.
# Prevents buggy intros in case of custom start location coordinates.
# Default: 0 - (Show intro for each new character)
# 1 - (Show intro only for first character of selected race)
# 2 - (Disable intro for all classes)

SkipCinematics = 0

#
# MaxPlayerLevel
# Description: Maximum level that can be reached by players.
# Important: Levels beyond 100 are not recommended at all.
# Range: 1-255
# Default: 80

MaxPlayerLevel = 80

#
# MinDualSpecLevel
# Description: Level requirement for Dual Talent Specialization
# Default: 40

MinDualSpecLevel = 40

#
# StartPlayerLevel
# Description: Starting level for characters after creation.
# Range: 1-MaxPlayerLevel
# Default: 1

StartPlayerLevel = 1

#
# StartHeroicPlayerLevel
# Description: Staring level for heroic class characters after creation.
# Range: 1-MaxPlayerLevel
# Default: 55

StartHeroicPlayerLevel = 55

#
# StartPlayerMoney
# Description: Amount of money (in Copper) that a character has after creation.
# Default: 0
# 100 - (1 Silver)

StartPlayerMoney = 0

#
# MaxHonorPoints
# Description: Maximum honor points a character can have.
# Default: 75000

MaxHonorPoints = 75000

#
# StartHonorPoints
# Description: Amount of honor points that characters have after creation.
# Default: 0

StartHonorPoints = 0

#
# MaxArenaPoints
# Description: Maximum arena points a character can have.
# Default: 10000

MaxArenaPoints = 10000

#
# StartArenaPoints
# Description: Amount of arena points that characters has after creation.
# Default: 0

StartArenaPoints = 0

#
# RecruitAFriend.MaxLevel
# Description: Highest level up to which a character can benefit from the Recruit-A-Friend
# experience multiplier.
# Default: 60

RecruitAFriend.MaxLevel = 60

#
# RecruitAFriend.MaxDifference
# Description: Highest level difference between linked Recruiter and Friend benefit from
# the Recruit-A-Friend experience multiplier.
# Default: 4

RecruitAFriend.MaxDifference = 4

#
# DisableWaterBreath
# Description: Required security level for water breathing.
# Default: 4 - (Disabled)
# 0 - (Enabled, Everyone)
# 1 - (Enabled, Mods/GMs/Admins)
# 2 - (Enabled, GMs/Admins)
# 3 - (Enabled, Admins)

DisableWaterBreath = 4

#
# AllFlightPaths
# Description: Character knows all flight paths (of both factions) after creation.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllFlightPaths = 0

#
# InstantFlightPaths
# Description: Flight paths will take players to their destination instantly instead
# of making them wait while flying.
# Default: 0 - (Disabled)
# 1 - (Enabled)

InstantFlightPaths = 0

#
# AlwaysMaxSkillForLevel
# Description: Players will automatically gain max skill level when logging in or leveling
# up.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AlwaysMaxSkillForLevel = 0

#
# ActivateWeather
# Description: Activate the weather system.
# Default: 1 - (Enabled)
# 0 - (Disabled)

ActivateWeather = 1

#
# CastUnstuck
# Description: Allow casting the Unstuck spell using .start or unstuck button in client
# help options.
# Default: 1 - (Enabled)
# 0 - (Disabled)

CastUnstuck = 1

#
# Instance.IgnoreLevel
# Description: Ignore level requirement when entering instances.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Instance.IgnoreLevel = 0

#
# Instance.IgnoreRaid
# Description: Ignore raid group requirement when entering instances.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Instance.IgnoreRaid = 0

#
# Instance.ResetTimeHour
# Description: Hour of the day when the global instance reset occurs.
# Range: 0-23
# Default: 4 - (04:00 AM)

Instance.ResetTimeHour = 4

#
# Instance.UnloadDelay
# Description: Time (in milliseconds) before instance maps are unloaded from memory if no
# characters are inside.
# Default: 1800000 - (Enabled, 30 minutes)
# 0 - (Disabled, Instance maps are kept in memory until the instance
# resets)

Instance.UnloadDelay = 1800000

#
# Quests.LowLevelHideDiff
# Description: Level difference between player and quest level at which quests are
# considered low-level and are not shown via exclamation mark (!) at quest
# givers.
# Default: 4 - (Enabled, Hide quests that have 4 levels less than the character)
# -1 - (Disabled, Show all available quest marks)

Quests.LowLevelHideDiff = 4

#
# Quests.HighLevelHideDiff
# Description: Level difference between player and quest level at which quests are
# considered high-level and are not shown via exclamation mark (!) at quest
# givers.
# Default: 7 - (Enabled, Hide quests that have 7 levels more than the character)
# -1 - (Disabled, Show all available quest marks)

Quests.HighLevelHideDiff = 7

#
# Quests.IgnoreRaid
# Description: Allow non-raid quests to be completed while in a raid group.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Quests.IgnoreRaid = 0

#
# Quests.IgnoreAutoAccept
# Description: Ignore auto accept flag. Clients will have to manually accept all quests.
# Default: 0 - (Disabled, DB values determine if quest is marked auto accept or not.)
# 1 - (Enabled, clients will not be told to automatically accept any quest.)

Quests.IgnoreAutoAccept = 0

#
# Quests.IgnoreAutoComplete
# Description: Ignore auto complete flag. Clients will have to manually complete all quests.
# Default: 0 - (Disabled, DB values determine if quest is marked auto complete or not.)
# 1 - (Enabled, clients will not be told to automatically complete any quest.)

Quests.IgnoreAutoComplete = 0

#
# Guild.EventLogRecordsCount
# Description: Number of log entries for guild events that are stored per guild. Old entries
# will be overwritten if the number of log entries exceed the configured value.
# High numbers prevent this behavior but may have performance impacts.
# Default: 100

Guild.EventLogRecordsCount = 100

#
# Guild.ResetHour
# Description: Hour of the day when the daily cap resets occur.
# Range: 0-23
# Default: 6 - (06:00 AM)

Guild.ResetHour = 6

#
# Guild.BankEventLogRecordsCount
# Description: Number of log entries for guild bank events that are stored per guild. Old
# entries will be overwritten if the number of log entries exceed the
# configured value. High numbers prevent this behavior but may have performance
# impacts.
# Default: 25 - (Minimum)

Guild.BankEventLogRecordsCount = 25

#
# MaxPrimaryTradeSkill
# Description: Maximum number of primary professions a character can learn.
# Range: 0-10
# Default: 2

MaxPrimaryTradeSkill = 2

#
# MinPetitionSigns
# Description: Number of required signatures on charters to create a guild.
# Range: 0-9
# Default: 9

MinPetitionSigns = 9

#
# MaxGroupXPDistance
# Description: Max distance to creature for group member to get experience at creature
# death.
# Default: 74

MaxGroupXPDistance = 74

#
# MaxRecruitAFriendBonusDistance
# Description: Max distance between character and and group to gain the Recruit-A-Friend
# XP multiplier.
# Default: 100

MaxRecruitAFriendBonusDistance = 100

#
# MailDeliveryDelay
# Description: Time (in seconds) mail delivery is delayed when sending items.
# Default: 3600 - (1 hour)

MailDeliveryDelay = 3600

#
# SkillChance.Prospecting
# Description: Allow skill increase from prospecting.
# Default: 0 - (Disabled)
# 1 - (Enabled)

SkillChance.Prospecting = 0

#
# SkillChance.Milling
# Description: Allow skill increase from milling.
# Default: 0 - (Disabled)
# 1 - (Enabled)

SkillChance.Milling = 0

#
# OffhandCheckAtSpellUnlearn
# Description: Unlearning certain spells can change offhand weapon restrictions
# for equip slots.
# Default: 1 - (Recheck offhand slot weapon at unlearning a spell)
# 0 - (Recheck offhand slot weapon only at zone update)

OffhandCheckAtSpellUnlearn = 1

#
# ClientCacheVersion
# Description: Client cache version for client cache data reset. Use any value different
# from DB and not recently been used to trigger client side cache reset.
# Default: 0 - (Use DB value from world DB db_version.cache_id field)

ClientCacheVersion = 0

#
# Event.Announce
# Description: Announce events.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Event.Announce = 0

#
# BeepAtStart
# Description: Beep when the world server finished starting.
# Default: 1 - (Enabled)
# 0 - (Disabled)

BeepAtStart = 1

#
# Motd
# Description: Message of the Day, displayed at login.
# Use '@' for a newline and be sure to escape special characters.
# Example: "Welcome to John's Server@This server runs on Trinity Core."
# Default: "Welcome to a Trinity Core server."

Motd = "Welcome to a Trinity Core server."

#
# Server.LoginInfo
# Description: Display core version (.server info) on login.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Server.LoginInfo = 0

#
# Command.LookupMaxResults
# Description: Number of results being displayed using a .lookup command.
# Default: 0 - (Unlimited)

Command.LookupMaxResults = 0

#
# AllowTickets
# Description: Allow/disallow sending new tickets.
# Default: 1 - (Enabled)
# 0 - (Disabled)

AllowTickets = 1

#
# DungeonFinder.OptionsMask
# Description: Dungeon and raid finder system.
# Value is a bitmask consisting of:
# LFG_OPTION_ENABLE_DUNGEON_FINDER = 1, Enable the dungeon finder browser
# LFG_OPTION_ENABLE_RAID_BROWSER = 2, Enable the raid browser
# Default: 1

DungeonFinder.OptionsMask = 1


#
# DBC.EnforceItemAttributes
# Description: Disallow overriding item attributes stored in DBC files with values from the
# database.
# Default: 1 - (Enabled, Enforce DBC values)
# 0 - (Disabled, Use database values)

DBC.EnforceItemAttributes = 1

#
# AccountInstancesPerHour
# Description: Controls the max amount of different instances player can enter within hour
# Default: 5

AccountInstancesPerHour = 5

#
# RBAC.DefaultGroups
# Description: Comma separated list of groups to be added to any account
# Check auth.rbac_groups for correct ids
# Default: "" (No group)

RBAC.DefaultGroups = ""

#
###################################################################################################

###################################################################################################
# WARDEN SETTINGS
#
# Warden.Enabled
# Description: Enable Warden anticheat system.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Warden.Enabled = 0

#
# Warden.NumMemChecks
# Description: Number of Warden memory checks that are sent to the client each cycle.
# Default: 3 - (Enabled)
# 0 - (Disabled)

Warden.NumMemChecks = 3

#
# Warden.NumOtherChecks
# Description: Number of Warden checks other than memory checks that are added to request
# each checking cycle.
# Default: 7 - (Enabled)
# 0 - (Disabled)

Warden.NumOtherChecks = 7

#
# Warden.ClientResponseDelay
# Description: Time (in seconds) before client is getting disconnecting for not responding.
# Default: 600 - (10 Minutes)
# 0 - (Disabled, client won't be kicked)

Warden.ClientResponseDelay = 600

#
# Warden.ClientCheckHoldOff
# Description: Time (in seconds) to wait before sending the next check request to the client.
# A low number increases traffic and load on client and server side.
# Default: 30 - (30 Seconds)
# 0 - (Send check as soon as possible)

Warden.ClientCheckHoldOff = 30

#
# Warden.ClientCheckFailAction
# Description: Default action being taken if a client check failed. Actions can be
# overwritten for each single check via warden_action table in characters
# database.
# Default: 0 - (Disabled, Logging only)
# 1 - (Kick)
# 2 - (Ban)

Warden.ClientCheckFailAction = 0

#
# Warden.BanDuration
# Description: Time (in seconds) an account will be banned if ClientCheckFailAction is set
# to ban.
# Default: 86400 - (24 hours)
# 0 - (Permanent ban)

Warden.BanDuration = 86400

#
###################################################################################################

###################################################################################################
# PLAYER INTERACTION
#
# AllowTwoSide.Accounts
# Description: Allow creating characters of both factions on the same account.
# Default: 1 - (Enabled)
# 0 - (Disabled)

AllowTwoSide.Accounts = 1

#
# AllowTwoSide.Interaction.Calendar
# Description: Allow calendar invites between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Calendar = 0

#
# AllowTwoSide.Interaction.Chat
# Description: Allow say chat between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Chat = 0

#
# AllowTwoSide.Interaction.Channel
# Description: Allow channel chat between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Channel = 0

#
# AllowTwoSide.Interaction.Group
# Description: Allow group joining between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Group = 0

#
# AllowTwoSide.Interaction.Guild
# Description: Allow guild joining between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Guild = 0

#
# AllowTwoSide.Interaction.Auction
# Description: Allow auctions between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Auction = 0

#
# AllowTwoSide.Interaction.Mail
# Description: Allow sending mails between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Interaction.Mail = 0

#
# AllowTwoSide.WhoList
# Description: Show characters from both factions in the /who list.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.WhoList = 0

#
# AllowTwoSide.AddFriend
# Description: Allow adding friends from other faction the friends list.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.AddFriend = 0

#
# AllowTwoSide.Trade
# Description: Allow trading between factions.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AllowTwoSide.Trade = 0

#
# TalentsInspecting
# Description: Allow inspecting characters from the opposing faction.
# Doesn't affect characters in gamemaster mode.
# Default: 1 - (Enabled)
# 0 - (Disabled)

TalentsInspecting = 1

#
###################################################################################################

###################################################################################################
# CREATURE SETTINGS
#
# ThreatRadius
# Description: Distance for creatures to evade after being pulled away from the combat
# starting point. If ThreatRadius is less than creature aggro radius then aggro
# radius will be used.
# Default: 60

ThreatRadius = 60

#
# Rate.Creature.Aggro
# Description: Aggro radius percentage.
# Default: 1 - (Enabled, 100%)
# 1.5 - (Enabled, 150%)
# 0 - (Disabled, 0%)

Rate.Creature.Aggro = 1

#
# CreatureFamilyFleeAssistanceRadius
# Description: Distance for fleeing creatures seeking assistance from other creatures.
# Default: 30 - (Enabled)
# 0 - (Disabled)

CreatureFamilyFleeAssistanceRadius = 30

#
# CreatureFamilyAssistanceRadius
# Description: Distance for creatures calling for assistance from other creatures without
# moving.
# Default: 10 - (Enabled)
# 0 - (Disabled)

CreatureFamilyAssistanceRadius = 10

#
# CreatureFamilyAssistanceDelay
# Description: Time (in milliseconds) before creature assistance call.
# Default: 1500 - (1.5 Seconds)

CreatureFamilyAssistanceDelay = 1500

#
# CreatureFamilyFleeDelay
# Description: Time (in milliseconds) during which creature can flee if no assistance was
# found.
# Default: 7000 (7 Seconds)

CreatureFamilyFleeDelay = 7000

#
# WorldBossLevelDiff
# Description: World boss level difference.
# Default: 3

WorldBossLevelDiff = 3

#
# Corpse.Decay.NORMAL
# Corpse.Decay.RARE
# Corpse.Decay.ELITE
# Corpse.Decay.RAREELITE
# Corpse.Decay.WORLDBOSS
# Description: Time (in seconds) until creature corpse will decay if not looted or skinned.
# Default: 60 - (1 Minute, Corpse.Decay.NORMAL)
# 300 - (5 Minutes, Corpse.Decay.RARE)
# 300 - (5 Minutes, Corpse.Decay.ELITE)
# 300 - (5 Minutes, Corpse.Decay.RAREELITE)
# 3600 - (1 Hour, Corpse.Decay.WORLDBOSS)

Corpse.Decay.NORMAL = 60
Corpse.Decay.RARE = 300
Corpse.Decay.ELITE = 300
Corpse.Decay.RAREELITE = 300
Corpse.Decay.WORLDBOSS = 3600

#
# Rate.Corpse.Decay.Looted
# Description: Multiplier for Corpse.Decay.* to configure how long creature corpses stay
# after they have been looted.
# Default: 0.5

Rate.Corpse.Decay.Looted = 0.5

#
# Rate.Creature.Normal.Damage
# Rate.Creature.Elite.Elite.Damage
# Rate.Creature.Elite.RARE.Damage
# Rate.Creature.Elite.RAREELITE.Damage
# Rate.Creature.Elite.WORLDBOSS.Damage
# Description: Mulitplier for creature melee damage.
# Default: 1 - (Rate.Creature.Normal.Damage)
# 1 - (Rate.Creature.Elite.Elite.Damage)
# 1 - (Rate.Creature.Elite.RARE.Damage)
# 1 - (Rate.Creature.Elite.RAREELITE.Damage)
# 1 - (Rate.Creature.Elite.WORLDBOSS.Damage)
#

Rate.Creature.Normal.Damage = 1
Rate.Creature.Elite.Elite.Damage = 1
Rate.Creature.Elite.RARE.Damage = 1
Rate.Creature.Elite.RAREELITE.Damage = 1
Rate.Creature.Elite.WORLDBOSS.Damage = 1

#
# Rate.Creature.Normal.SpellDamage
# Rate.Creature.Elite.Elite.SpellDamage
# Rate.Creature.Elite.RARE.SpellDamage
# Rate.Creature.Elite.RAREELITE.SpellDamage
# Rate.Creature.Elite.WORLDBOSS.SpellDamage
# Description: Mulitplier for creature spell damage.
# Default: 1 - (Rate.Creature.Normal.SpellDamage)
# 1 - (Rate.Creature.Elite.Elite.SpellDamage)
# 1 - (Rate.Creature.Elite.RARE.SpellDamage)
# 1 - (Rate.Creature.Elite.RAREELITE.SpellDamage)
# 1 - (Rate.Creature.Elite.WORLDBOSS.SpellDamage)

Rate.Creature.Normal.SpellDamage = 1
Rate.Creature.Elite.Elite.SpellDamage = 1
Rate.Creature.Elite.RARE.SpellDamage = 1
Rate.Creature.Elite.RAREELITE.SpellDamage = 1
Rate.Creature.Elite.WORLDBOSS.SpellDamage = 1

#
# Rate.Creature.Normal.HP
# Rate.Creature.Elite.Elite.HP
# Rate.Creature.Elite.RARE.HP
# Rate.Creature.Elite.RAREELITE.HP
# Rate.Creature.Elite.WORLDBOSS.HP
# Description: Mulitplier for creature health.
# Default: 1 - (Rate.Creature.Normal.HP)
# 1 - (Rate.Creature.Elite.Elite.HP)
# 1 - (Rate.Creature.Elite.RARE.HP)
# 1 - (Rate.Creature.Elite.RAREELITE.HP)
# 1 - (Rate.Creature.Elite.WORLDBOSS.HP)

Rate.Creature.Normal.HP = 1
Rate.Creature.Elite.Elite.HP = 1
Rate.Creature.Elite.RARE.HP = 1
Rate.Creature.Elite.RAREELITE.HP = 1
Rate.Creature.Elite.WORLDBOSS.HP = 1

#
# ListenRange.Say
# Description: Distance in which players can read say messages from creatures or
# gameobjects.
# Default: 40

ListenRange.Say = 40

#
# ListenRange.TextEmote
# Description: Distance in which players can read emotes from creatures or gameobjects.
# Default: 40

ListenRange.TextEmote = 40

#
# ListenRange.Yell
# Description: Distance in which players can read yell messages from creatures or
# gameobjects.
# Default: 300

ListenRange.Yell = 300

#
###################################################################################################

###################################################################################################
# CHAT SETTINGS
#
# ChatFakeMessagePreventing
# Description: Chat protection from creating fake messages using a lot spaces or other
# invisible symbols. Not applied to the addon language, but may break old
# addons that use normal languages for sending data to other clients.
# Default: 0 - (Disabled)
# 1 - (Enabled)

ChatFakeMessagePreventing = 0

#
# ChatStrictLinkChecking.Severity
# Description: Check chat messages for ingame links to spells, items, quests, etc.
# Default: 0 - (Disabled)
# 1 - (Enabled, Check if only valid pipe commands are used, Prevents posting
# pictures.)
# 2 - (Enabled, Verify that pipe commands are used in a correct order)
# 3 - (Check if color, entry and name don't contradict each other. For this to
# work correctly, please assure that you have extracted locale DBCs of
# every language specific client playing on this server)

ChatStrictLinkChecking.Severity = 0

#
# ChatStrictLinkChecking.Kick
# Description: Defines what should be done if a message is considered to contain invalid
# pipe commands.
# Default: 0 - (Silently ignore message)
# 1 - (Disconnect players who sent malformed messages)

ChatStrictLinkChecking.Kick = 0

#
# ChatFlood.MessageCount
# Description: Chat flood protection, number of messages before player gets muted.
# Default: 10 - (Enabled)
# 0 - (Disabled)

ChatFlood.MessageCount = 10

#
# ChatFlood.MessageDelay
# Description: Time (in seconds) between messages to be counted into ChatFlood.MessageCount.
# Default: 1

ChatFlood.MessageDelay = 1

#
# ChatFlood.MuteTime
# Description: Time (in seconds) characters get muted for violating ChatFlood.MessageCount.
# Default: 10

ChatFlood.MuteTime = 10

#
# Channel.RestrictedLfg
# Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
# Default: 1 - (Enabled, Allow join to channel only if registered in LFG)
# 0 - (Disabled, Allow join to channel in any time)

Channel.RestrictedLfg = 1

#
# Channel.SilentlyGMJoin
# Description: Silently join GM characters to channels. If set to 1, channel kick and ban
# commands issued by a GM will not be broadcasted.
# Default: 0 - (Disabled, Join with announcement)
# 1 - (Enabled, Join without announcement)

Channel.SilentlyGMJoin = 0

#
# ChatLevelReq.Channel
# Description: Level requirement for characters to be able to write in chat channels.
# Default: 1

ChatLevelReq.Channel = 1

#
# ChatLevelReq.Whisper
# Description: Level requirement for characters to be able to whisper other characters.
# Default: 1

ChatLevelReq.Whisper = 1

#
# ChatLevelReq.Say
# Description: Level requirement for characters to be able to use say/yell/emote.
# Default: 1

ChatLevelReq.Say = 1

#
# PreserveCustomChannels
# Description: Store custom chat channel settings like password, automatic ownership handout
# or ban list in the database. Needs to be enabled to save custom
# world/trade/etc. channels that have automatic ownership handout disabled.
# (.channel set ownership $channel off)
# Default: 0 - (Disabled, Blizzlike, Channel settings are lost if last person left)
# 1 - (Enabled)

PreserveCustomChannels = 1

#
# PreserveCustomChannelDuration
# Description: Time (in days) that needs to pass before the customs chat channels get
# cleaned up from the database. Only channels with ownership handout enabled
# (default behavior) will be cleaned.
# Default: 14 - (Enabled, Clean channels that haven't been used for 14 days)
# 0 - (Disabled, Infinite channel storage)

PreserveCustomChannelDuration = 14

#
###################################################################################################

###################################################################################################
# GAME MASTER SETTINGS
#
# GM.LoginState
# Description: GM mode at login.
# Default: 2 - (Last save state)
# 0 - (Disable)
# 1 - (Enable)

GM.LoginState = 2

#
# GM.Visible
# Description: GM visibility at login.
# Default: 2 - (Last save state)
# 0 - (Invisible)
# 1 - (Visible)

GM.Visible = 2

#
# GM.Chat
# Description: GM chat mode at login.
# Default: 2 - (Last save state)
# 0 - (Disable)
# 1 - (Enable)

GM.Chat = 2

#
# GM.WhisperingTo
# Description: Is GM accepting whispers from player by default or not.
# Default: 2 - (Last save state)
# 0 - (Disable)
# 1 - (Enable)

GM.WhisperingTo = 2

#
# GM.InGMList.Level
# Description: Maximum GM level shown in GM list (if enabled) in non-GM state (.gm off).
# Default: 3 - (Anyone)
# 0 - (Only players)
# 1 - (Only moderators)
# 2 - (Only gamemasters)

GM.InGMList.Level = 3

#
# GM.InWhoList.Level
# Description: Max GM level showed in who list (if visible).
# Default: 3 - (Anyone)
# 0 - (Only players)
# 1 - (Only moderators)
# 2 - (Only gamemasters)

GM.InWhoList.Level = 3

#
# GM.LogTrade
# Description: Include GM trade and trade slot enchanting operations in GM log.
# Default: 1 - (Enabled)
# 0 - (Disabled)

GM.LogTrade = 1

#
# GM.StartLevel
# Description: GM character starting level.
# Default: 1

GM.StartLevel = 1

#
# GM.AllowInvite
# Description: Allow players to invite GM characters.
# Default: 0 - (Disabled)
# 1 - (Enabled)

GM.AllowInvite = 0

#
# GM.AllowFriend
# Description: Allow players to add GM characters to their friends list.
# Default: 0 - (Disabled)
# 1 - (Enabled)

GM.AllowFriend = 0

#
# GM.LowerSecurity
# Description: Allow lower security levels to use commands on higher security level
# characters.
# Default: 0 - (Disabled)
# 1 - (Enabled)

GM.LowerSecurity = 0

#
# GM.TicketSystem.ChanceOfGMSurvey
# Description: Chance of sending a GM survey after ticket completion.
# Default: 50 - (Enabled)
# 0 - (Disabled)

GM.TicketSystem.ChanceOfGMSurvey = 50

#
###################################################################################################

###################################################################################################
# VISIBILITY AND DISTANCES
#
# Visibility.GroupMode
# Description: Group visibility modes. Defines which groups can aways detect invisible
# characters of the same raid, group or faction.
# Default: 1 - (Raid)
# 0 - (Party)
# 2 - (Faction)

Visibility.GroupMode = 1

#
# Visibility.Distance.Continents
# Visibility.Distance.Instances
# Visibility.Distance.BGArenas
# Description: Visibility distance to see other players or gameobjects.
# Visibility on continents on retail ~90 yards. In BG/Arenas ~533.
# For instances default ~170.
# Max limited by grid size: 533.33333
# Min limit is max aggro radius (45) * Rate.Creature.Aggro
# Default: 90 - (Visibility.Distance.Continents)
# 170 - (Visibility.Distance.Instances)
# 533 - (Visibility.Distance.BGArenas)

Visibility.Distance.Continents = 90
Visibility.Distance.Instances = 170
Visibility.Distance.BGArenas = 533

#
# Visibility.Notify.Period.OnContinents
# Visibility.Notify.Period.InInstances
# Visibility.Notify.Period.InBGArenas
# Description: Time (in milliseconds) for visibility update period. Lower values may have
# performance impact.
# Default: 1000 - (Visibility.Notify.Period.OnContinents)
# 1000 - (Visibility.Notify.Period.InInstances)
# 1000 - (Visibility.Notify.Period.InBGArenas)

Visibility.Notify.Period.OnContinents = 1000
Visibility.Notify.Period.InInstances = 1000
Visibility.Notify.Period.InBGArenas = 1000

#
###################################################################################################

###################################################################################################
# SERVER RATES
#
# Rate.Health
# Rate.Mana
# Rate.Rage.Income
# Rate.Rage.Loss
# Rate.RunicPower.Income
# Rate.RunicPower.Loss
# Rate.Focus
# Rate.Energy
# Rate.Loyalty
# Description: Multiplier to configure health, mana, incoming rage, loss of rage, focus
# energy and loyalty increase or decrease.
# Default: 1 - (Rate.Health)
# 1 - (Rate.Mana)
# 1 - (Rate.Rage.Income)
# 1 - (Rate.Rage.Loss)
# 1 - (Rate.RunicPower.Income)
# 1 - (Rate.RunicPower.Loss)
# 1 - (Rate.Focus)
# 1 - (Rate.Energy)
# 1 - (Rate.Loyalty)

Rate.Health = 1
Rate.Mana = 1
Rate.Rage.Income = 1
Rate.Rage.Loss = 1
Rate.RunicPower.Income = 1
Rate.RunicPower.Loss = 1
Rate.Focus = 1
Rate.Energy = 1
Rate.Loyalty = 1

#
# Rate.Skill.Discovery
# Description: Multiplier for skill discovery.
# Default: 1

Rate.Skill.Discovery = 1

#
# Rate.Drop.Item.Poor
# Rate.Drop.Item.Normal
# Rate.Drop.Item.Uncommon
# Rate.Drop.Item.Rare
# Rate.Drop.Item.Epic
# Rate.Drop.Item.Legendary
# Rate.Drop.Item.Artifact
# Rate.Drop.Item.Referenced
# Rate.Drop.Money
# Description: Drop rates for money and items based on quality.
# Default: 1 - (Rate.Drop.Item.Poor)
# 1 - (Rate.Drop.Item.Normal)
# 1 - (Rate.Drop.Item.Uncommon)
# 1 - (Rate.Drop.Item.Rare)
# 1 - (Rate.Drop.Item.Epic)
# 1 - (Rate.Drop.Item.Legendary)
# 1 - (Rate.Drop.Item.Artifact)
# 1 - (Rate.Drop.Item.Referenced)
# 1 - (Rate.Drop.Money)

Rate.Drop.Item.Poor = 1
Rate.Drop.Item.Normal = 1
Rate.Drop.Item.Uncommon = 1
Rate.Drop.Item.Rare = 1
Rate.Drop.Item.Epic = 1
Rate.Drop.Item.Legendary = 1
Rate.Drop.Item.Artifact = 1
Rate.Drop.Item.Referenced = 1
Rate.Drop.Money = 1

#
# Rate.Drop.Item.ReferencedAmount
# Description: Multiplier for referenced loot amount.
# Default: 1

Rate.Drop.Item.ReferencedAmount = 1

#
# Rate.XP.Kill
# Rate.XP.Quest
# Rate.XP.Explore
# Description: Experience rates.
# Default: 1 - (Rate.XP.Kill)
# 1 - (Rate.XP.Quest)
# 1 - (Rate.XP.Explore)

Rate.XP.Kill = 1
Rate.XP.Quest = 1
Rate.XP.Explore = 1

#
# Rate.RepairCost
# Description: Repair cost rate.
# Default: 1

Rate.RepairCost = 1

#
# Rate.Rest.InGame
# Rate.Rest.Offline.InTavernOrCity
# Rate.Rest.Offline.InWilderness
# Description: Resting points grow rates.
# Default: 1 - (Rate.Rest.InGame)
# 1 - (Rate.Rest.Offline.InTavernOrCity)
# 1 - (Rate.Rest.Offline.InWilderness)

Rate.Rest.InGame = 1
Rate.Rest.Offline.InTavernOrCity = 1
Rate.Rest.Offline.InWilderness = 1

#
# Rate.Damage.Fall
# Description: Damage after fall rate.
# Default: 1

Rate.Damage.Fall = 1

#
# Rate.Auction.Time
# Rate.Auction.Deposit
# Rate.Auction.Cut
# Description: Auction rates (auction time, deposit get at auction start,
# auction cut from price at auction end)
# Default: 1 - (Rate.Auction.Time)
# 1 - (Rate.Auction.Deposit)
# 1 - (Rate.Auction.Cut)

Rate.Auction.Time = 1
Rate.Auction.Deposit = 1
Rate.Auction.Cut = 1

#
# Rate.Honor
# Description: Honor gain rate.
# Default: 1

Rate.Honor = 1

#
# Rate.Mining.Amount
# Description: Rate for minimum/maximum times a deposit can be used.
# Default: 1

Rate.Mining.Amount = 1

#
# Rate.Mining.Next
# Description: Mining rates.
# Default: Chance to to mine a deposit again.

Rate.Mining.Next = 1

#
# Rate.Talent
# Description: Talent point rate.
# Default: 1

Rate.Talent = 1

#
# Rate.Reputation.Gain
# Description: Reputation gain rate.
# Default: 1

Rate.Reputation.Gain = 1

#
# Rate.Reputation.LowLevel.Kill
# Description: Reputation gain from killing low level (grey) creatures.
# Default: 1

Rate.Reputation.LowLevel.Kill = 1

#
# Rate.Reputation.LowLevel.Quest
# Description: Reputation gain rate.
# Default: 1

Rate.Reputation.LowLevel.Quest = 1

#
# Rate.Reputation.RecruitAFriendBonus
# Description: Reputation bonus rate for recruit-a-friend.
# Default: 0.1

Rate.Reputation.RecruitAFriendBonus = 0.1

#
# Rate.MoveSpeed
# Description: Movement speed rate.
# Default: 1

Rate.MoveSpeed = 1

#
# Rate.InstanceResetTime
# Description: Multiplier for the rate between global raid/heroic instance resets
# (dbc value). Higher value increases the time between resets,
# lower value lowers the time, you need clean instance_reset in
# characters db in order to let new values work.
# Default: 1

Rate.InstanceResetTime = 1

#
# SkillGain.Crafting
# SkillGain.Defense
# SkillGain.Gathering
# SkillGain.Weapon
# Description: Crafting/defense/gathering/weapon skills gain rate.
# Default: 1 - (SkillGain.Crafting)
# 1 - (SkillGain.Defense)
# 1 - (SkillGain.Gathering)
# 1 - (SkillGain.Weapon)

SkillGain.Crafting = 1
SkillGain.Defense = 1
SkillGain.Gathering = 1
SkillGain.Weapon = 1

#
# SkillChance.Orange
# SkillChance.Yellow
# SkillChance.Green
# SkillChance.Grey
# Description: Chance to increase skill based on recipe color.
# Default: 100 - (SkillChance.Orange)
# 75 - (SkillChance.Yellow)
# 25 - (SkillChance.Green)
# 0 - (SkillChance.Grey)

SkillChance.Orange = 100
SkillChance.Yellow = 75
SkillChance.Green = 25
SkillChance.Grey = 0

#
# SkillChance.MiningSteps
# SkillChance.SkinningSteps
# Description: Skinning and Mining chance decreases with skill level.
# Default: 0 - (Disabled)
# 75 - (In 2 times each 75 skill points)

SkillChance.MiningSteps = 0
SkillChance.SkinningSteps = 0

#
# DurabilityLoss.InPvP
# Description: Durability loss on death during PvP.
# Default: 0 - (Disabled)
# 1 - (Enabled)

DurabilityLoss.InPvP = 0

#
# DurabilityLoss.OnDeath
# Description: Durability loss percentage on death.
# Default: 10

DurabilityLoss.OnDeath = 10

#
# DurabilityLossChance.Damage
# Description: Chance to lose durability on one equipped item from damage.
# Default: 0.5 - (100/0.5 = 200, Each 200 damage one equipped item will use durability)

DurabilityLossChance.Damage = 0.5

#
# DurabilityLossChance.Absorb
# Description: Chance to lose durability on one equipped armor item when absorbing damage.
# Default: 0.5 - (100/0.5 = 200, Each 200 absorbed damage one equipped item will lose
# durability)

DurabilityLossChance.Absorb = 0.5

#
# DurabilityLossChance.Parry
# Description: Chance to lose durability on main weapon when parrying attacks.
# Default: 0.05 - (100/0.05 = 2000, Each 2000 parried damage the main weapon will lose
# durability)

DurabilityLossChance.Parry = 0.05

#
# DurabilityLossChance.Block
# Description: Chance to lose durability on shield when blocking attacks.
# Default: 0.05 - (100/0.05 = 2000, Each 2000 blocked damage the shield will lose
# durability)

DurabilityLossChance.Block = 0.05

#
# Death.SicknessLevel
# Description: Starting level for resurrection sickness.
# Example: 11 - (Level 1-10 characters will not be affected,
# Level 11-19 characters will be affected for 1 minute,
# Level 20-MaxPlayerLevel characters will be affected for 10 minutes)
# Default: 11 - (Enabled, See Example)
# MaxPlayerLevel+1 - (Disabled)
# -10 - (Enabled, Level 1+ characters have 10 minute duration)

Death.SicknessLevel = 11

#
# Death.CorpseReclaimDelay.PvP
# Death.CorpseReclaimDelay.PvE
# Description: Increase corpse reclaim delay at PvP/PvE deaths.
# Default: 1 - (Enabled)
# 0 - (Disabled)

Death.CorpseReclaimDelay.PvP = 1
Death.CorpseReclaimDelay.PvE = 0

#
# Death.Bones.World
# Death.Bones.BattlegroundOrArena
# Description: Create bones instead of corpses at resurrection in normal zones, instances,
# battleground or arenas.
# Default: 1 - (Enabled, Death.Bones.World)
# 1 - (Enabled, Death.Bones.BattlegroundOrArena)
# 0 - (Disabled)

Death.Bones.World = 1
Death.Bones.BattlegroundOrArena = 1

#
# Die.Command.Mode
# Description: Do not trigger things like loot from .die command.
# Default: 1 - (Enabled)
# 0 - (Disabled)

Die.Command.Mode = 1

#
###################################################################################################

###################################################################################################
# AUTO BROADCAST
#
# AutoBroadcast.On
# Description: Enable auto broadcast.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AutoBroadcast.On = 0

#
# AutoBroadcast.Center
# Description: Auto broadcasting display method.
# Default: 0 - (Announce)
# 1 - (Notify)
# 2 - (Both)

AutoBroadcast.Center = 0

#
# AutoBroadcast.Timer
# Description: Timer (in milliseconds) for auto broadcasts.
# Default: 60000 - (60 seconds)

AutoBroadcast.Timer = 60000

#
###################################################################################################

###################################################################################################
# BATTLEGROUND CONFIG
#
# Battleground.CastDeserter
# Description: Cast Deserter spell at players who leave battlegrounds in progress.
# Default: 1 - (Enabled)
# 0 - (Disabled)

Battleground.CastDeserter = 1

#
# Battleground.QueueAnnouncer.Enable
# Description: Announce battleground queue status to chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Battleground.QueueAnnouncer.Enable = 0

#
# Battleground.QueueAnnouncer.PlayerOnly
# Description: Battleground queue announcement type.
# Default: 0 - (System message, Anyone can see it)
# 1 - (Private, Only queued players can see it)

Battleground.QueueAnnouncer.PlayerOnly = 0

#
# Battleground.InvitationType
# Description: Set Battleground invitation type.
# Default: 0 - (Normal, Invite as much players to battlegrounds as queued,
# Don't bother with balance)
# 1 - (Experimental, Don't allow to invite much more players
# of one faction)

Battleground.InvitationType = 0

#
# Battleground.PrematureFinishTimer
# Description: Time (in milliseconds) before battleground will end prematurely if there are
# not enough players on one team. (Values defined in battleground template)
# Default: 300000 - (Enabled, 5 minutes)
# 0 - (Disabled, Not recommended)

BattleGround.PrematureFinishTimer = 300000

#
# BattleGround.PremadeGroupWaitForMatch
# Description: Time (in milliseconds) a pre-made group has to wait for matching group of the
# other faction.
# Default: 1800000 - (Enabled, 30 minutes)
# 0 - (Disabled, Not recommended)

BattleGround.PremadeGroupWaitForMatch = 1800000

#
# Battleground.GiveXPForKills
# Description: Give experience for honorable kills in battlegrounds.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Battleground.GiveXPForKills = 0

#
# Battleground.Random.ResetHour
# Description: Hour of the day when the global instance resets occur.
# Range: 0-23
# Default: 6 - (06:00 AM)

Battleground.Random.ResetHour = 6

#
###################################################################################################

###################################################################################################
# BATTLEFIELD CONFIG
#
# Wintergrasp.Enable
# Description: Enable the Wintergrasp battlefield.
# Default: 0 - (Disabled)
# 1 - (Enabled, Experimental as of still being in development)

Wintergrasp.Enable = 0

#
# Wintergrasp.PlayerMax
# Description: Maximum number of players allowed in Wintergrasp.
# Default: 100

Wintergrasp.PlayerMax = 100

#
# Wintergrasp.PlayerMin
# Description: Minimum number of players required for Wintergrasp.
# Default: 0

Wintergrasp.PlayerMin = 0

#
# Wintergrasp.PlayerMinLvl
# Description: Required character level for the Wintergrasp battle.
# Default: 77

Wintergrasp.PlayerMinLvl = 77

#
# Wintergrasp.BattleTimer
# Description: Time (in minutes) for the Wintergrasp battle to last.
# Default: 30

Wintergrasp.BattleTimer = 30

#
# Wintergrasp.NoBattleTimer
# Description: Time (in minutes) between Wintergrasp battles.
# Default: 150

Wintergrasp.NoBattleTimer = 150

#
# Wintergrasp.CrashRestartTimer
# Description: Time (in minutes) to delay the restart of Wintergrasp if the world server
# crashed during a running battle.
# Default: 10

Wintergrasp.CrashRestartTimer = 10

#
###################################################################################################

###################################################################################################
# ARENA CONFIG
#
# Arena.MaxRatingDifference
# Description: Maximum rating difference between two teams in rated matches.
# Default: 150 - (Enabled)
# 0 - (Disabled)

Arena.MaxRatingDifference = 150

#
# Arena.RatingDiscardTimer
# Description: Time (in milliseconds) after which rating differences are ignored when
# setting up matches.
# Default: 600000 - (Enabled, 10 minutes)
# 0 - (Disabled)

Arena.RatingDiscardTimer = 600000

#
# Arena.RatedUpdateTimer
# Description: Time (in milliseconds) between checks for matchups in rated arena
# Default: 5000 - (5 seconds)

Arena.RatedUpdateTimer = 5000

#
# Arena.AutoDistributePoints
# Description: Automatically distribute arena points.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Arena.AutoDistributePoints = 0

#
# Arena.AutoDistributeInterval
# Description: Time (in days) how often arena points should be distributed if automatic
# distribution is enabled.
# Default: 7 - (Weekly)

Arena.AutoDistributeInterval = 7

#
# Arena.QueueAnnouncer.Enable
# Description: Announce arena queue status to chat.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Arena.QueueAnnouncer.Enable = 0

#
# Arena.ArenaSeason.ID
# Description: Current arena season id shown in clients.
# Default: 8

Arena.ArenaSeason.ID = 8

#
# Arena.ArenaSeason.InProgress
# Description: State of current arena season.
# Default: 1 - (Active)
# 0 - (Finished)

Arena.ArenaSeason.InProgress = 1

#
# Arena.ArenaStartRating
# Description: Start rating for new arena teams.
# Default: 0

Arena.ArenaStartRating = 0

#
# Arena.ArenaStartPersonalRating
# Description: Start personal rating when joining a team.
# Default: 0

Arena.ArenaStartPersonalRating = 0

#
# Arena.ArenaStartMatchmakerRating
# Description: Start matchmaker rating for players.
# Default: 1500

Arena.ArenaStartMatchmakerRating = 1500

#
# ArenaLog.ExtendedInfo
# Description: Include extended info to ArenaLogFile for each player after rated arena
# matches (guid, name, team, IP, healing/damage done, killing blows).
# Default: 0 - (Disabled)
# 1 - (Enabled)

ArenaLog.ExtendedInfo = 0

#
###################################################################################################

###################################################################################################
# NETWORK CONFIG
#
# Network.Threads
# Description: Number of threads for network.
# Default: 1 - (Recommended 1 thread per 1000 connections)

Network.Threads = 1

#
# Network.OutKBuff
# Description: Amount of memory (in bytes) used for the output kernel buffer (see SO_SNDBUF
# socket option, TCP manual).
# Default: -1 - (Use system default setting)

Network.OutKBuff = -1

#
# Network.OutUBuff
# Description: Amount of memory (in bytes) reserved in the user space per connection for
# output buffering.
# Default: 65536

Network.OutUBuff = 65536

#
# Network.TcpNoDelay:
# Description: TCP Nagle algorithm setting.
# Default: 0 - (Enabled, Less traffic, More latency)
# 1 - (Disabled, More traffic, Less latency, TCP_NO_DELAY)

Network.TcpNodelay = 1

#
###################################################################################################

###################################################################################################
# CONSOLE AND REMOTE ACCESS
#
# Console.Enable
# Description: Enable console.
# Default: 1 - (Enabled)
# 0 - (Disabled)

Console.Enable = 1

#
# Ra.Enable
# Description: Enable remote console (telnet).
# Default: 0 - (Disabled)
# 1 - (Enabled)

Ra.Enable = 0

#
# Ra.IP
# Description: Bind remote access to IP/hostname.
# Default: "0.0.0.0" - (Bind to all IPs on the system)

Ra.IP = "0.0.0.0"

#
# Ra.Port
# Description: TCP port to reach the remote console.
# Default: 3443

Ra.Port = 3443

#
# Ra.MinLevel
# Description: Required security level to use the remote console.
# Default: 3

Ra.MinLevel = 3

#
# SOAP.Enable
# Description: Enable soap service
# Default: 0 - (Disabled)
# 1 - (Enabled)

SOAP.Enabled = 0

#
# SOAP.IP
# Description: Bind SOAP service to IP/hostname
# Default: "127.0.0.1" - (Bind to localhost)

SOAP.IP = "127.0.0.1"

#
# SOAP.Port
# Description: TCP port to reach the SOAP service.
# Default: 7878

SOAP.Port = 7878

#
###################################################################################################

###################################################################################################
# CHARACTER DELETE OPTIONS
#
# CharDelete.Method
# Description: Character deletion behavior.
# Default: 0 - (Completely remove character from the database)
# 1 - (Unlink the character from account and free up the name, Appears as
# deleted ingame)

CharDelete.Method = 0

#
# CharDelete.MinLevel
# Description: Required level to use the unlinking method if enabled.
# Default: 0 - (Same method for every level)
# 1+ - (Only characters with the specified level will use the unlinking method)

CharDelete.MinLevel = 0

#
# CharDelete.KeepDays
# Description: Time (in days) before unlinked characters will be removed from the database.
# Default: 30 - (Enabled)
# 0 - (Disabled, Don't delete any characters)

CharDelete.KeepDays = 30

#
###################################################################################################

###################################################################################################
# CUSTOM SERVER OPTIONS
#
# PlayerStart.AllReputation
# Description: Players will start with most of the high level reputations that are needed
# for items, mounts etc.
# Default: 0 - (Disabled)
# 1 - (Enabled)

PlayerStart.AllReputation = 0

#
# PlayerStart.AllSpells
# Description: If enabled, players will start with all their class spells (not talents).
# You must populate playercreateinfo_spell_custom table with the spells you
# want, or this will not work! The table has data for all classes / races up
# to TBC expansion.
# Default: 0 - (Disabled)
# 1 - (Enabled)

PlayerStart.AllSpells = 0

#
# PlayerStart.MapsExplored
# Description: Characters start with all maps explored.
# Default: 0 - (Disabled)
# 1 - (Enabled)

PlayerStart.MapsExplored = 0

#
# HonorPointsAfterDuel
# Description: Amount of honor points the duel winner will get after a duel.
# Default: 0 - (Disabled)
# 1+ - (Enabled)

HonorPointsAfterDuel = 0

#
# AlwaysMaxWeaponSkill
# Description: Players will automatically gain max weapon/defense skill when logging in,
# or leveling.
# Default: 0 - (Disabled)
# 1 - (Enabled)

AlwaysMaxWeaponSkill = 0

#
# PvPToken.Enable
# Description: Character will receive a token after defeating another character that yields
# honor.
# Default: 0 - (Disabled)
# 1 - (Enabled)

PvPToken.Enable = 0

#
# PvPToken.MapAllowType
# Description: Define where characters can receive tokens.
# Default: 4 - (All maps)
# 3 - (Battlegrounds)
# 2 - (FFA areas only like Gurubashi arena)
# 1 - (Battlegrounds and FFA areas)

PvPToken.MapAllowType = 4

#
# PvPToken.ItemID
# Description: Item characters will receive after defeating another character if PvP Token
# system is enabled.
# Default: 29434 - (Badge of justice)

PvPToken.ItemID = 29434

#
# PvPToken.ItemCount
# Description: Number of tokens a character will receive.
# Default: 1

PvPToken.ItemCount = 1

#
# NoResetTalentsCost
# Description: Resetting talents doesn't cost anything.
# Default: 0 - (Disabled)
# 1 - (Enabled)

NoResetTalentsCost = 0

#
# Guild.AllowMultipleGuildMaster
# Description: Allow more than one guild master. Additional Guild Masters must be set using
# the ".guild rank" command.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Guild.AllowMultipleGuildMaster = 0

#
# ShowKickInWorld
# Description: Determines whether a message is broadcasted to the entire server when a
# player gets kicked
# Default: 0 - (Disabled)
# 1 - (Enabled)

ShowKickInWorld = 0

#
# RecordUpdateTimeDiffInterval
# Description: Time (in milliseconds) update time diff is written to the log file.
# Update diff can be used as a performance indicator. Diff < 300: good
# performance. Diff > 600 bad performance, may be caused by high CPU usage.
# Default: 60000 - (Enabled, 1 minute)
# 0 - (Disabled)

RecordUpdateTimeDiffInterval = 60000
#
# MinRecordUpdateTimeDiff
# Description: Only record update time diff which is greater than this value.
# Default: 100

MinRecordUpdateTimeDiff = 100

#
# PlayerStart.String
# Description: String to be displayed at first login of newly created characters.
# Default: "" - (Disabled)

PlayerStart.String = ""

#
# LevelReq.Trade
# Description: Level requirement for characters to be able to trade.
# Default: 1

LevelReq.Trade = 1

#
# LevelReq.Ticket
# Description: Level requirement for characters to be able to write tickets.
# Default: 1

LevelReq.Ticket = 1

#
# LevelReq.Auction
# Description: Level requirement for characters to be able to use the auction house.
# Default: 1

LevelReq.Auction = 1

#
# LevelReq.Mail
# Description: Level requirement for characters to be able to send and receive mails.
# Default: 1

LevelReq.Mail = 1

#
# PlayerDump.DisallowPaths
# Description: Disallow using paths in PlayerDump output files
# Default: 1

PlayerDump.DisallowPaths = 1

#
# PlayerDump.DisallowOverwrite
# Description: Disallow overwriting existing files with PlayerDump
# Default: 1

PlayerDump.DisallowOverwrite = 1

#
# UI.ShowQuestLevelsInDialogs
# Description: Show quest levels next to quest titles in UI dialogs
# Example: [13] Westfall Stew
# Default: 0 (do not show)

UI.ShowQuestLevelsInDialogs = 0

#
###################################################################################################

###################################################################################################
#
# LOGGING SYSTEM SETTINGS
#
# Appender config values: Given a appender "name"
# Appender.name
# Description: Defines 'where to log'
# Format: Type,LogLevel,Flags,optional1,optional2,optional3
#
# Type
# 0 - (None)
# 1 - (Console)
# 2 - (File)
# 3 - (DB)
#
# LogLevel
# 0 - (Disabled)
# 1 - (Trace)
# 2 - (Debug)
# 3 - (Info)
# 4 - (Warn)
# 5 - (Error)
# 6 - (Fatal)
#
# Flags:
# 0 - None
# 1 - Prefix Timestamp to the text
# 2 - Prefix Log Level to the text
# 4 - Prefix Log Filter type to the text
# 8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS (Only used with Type = 2)
# 16 - Make a backup of existing file before overwrite (Only used with Mode = w)
#
# Colors (read as optional1 if Type = Console)
# Format: "fatal error warn info debug trace"
# 0 - BLACK
# 1 - RED
# 2 - GREEN
# 3 - BROWN
# 4 - BLUE
# 5 - MAGENTA
# 6 - CYAN
# 7 - GREY
# 8 - YELLOW
# 9 - LRED
# 10 - LGREEN
# 11 - LBLUE
# 12 - LMAGENTA
# 13 - LCYAN
# 14 - WHITE
# Example: "13 11 9 5 3 1"
#
# File: Name of the file (read as optional1 if Type = File)
# Allows to use one "%s" to create dynamic files
#
# Mode: Mode to open the file (read as optional2 if Type = File)
# a - (Append)
# w - (Overwrite)
#
# MaxFileSize: Maximum file size of the log file before creating a new log file
# (read as optional3 if Type = File)
# Size is measured in bytes expressed in a 64-bit unsigned integer.
# Maximum value is 4294967295 (4 gb). Leave blank for no limit.
# NOTE: Does not work with dynamic filenames.
# Example: 536870912 (512 mb)
#

Appender.Console=1,3,0
Appender.Server=2,2,0,Server.log,w
Appender.GM=2,2,0,GM.log
Appender.DBErrors=2,2,0,DBErrors.log
Appender.Char=2,2,0,Char.log,w
Appender.RA=2,2,0,RA.log
Appender.Warden=2,4,0,Warden.log
Appender.Chat=2,2,0,Chat.log
Appender.CharDump=2,2,0,%s.log
Appender.Arenas=2,2,0,Arena.log
Appender.SQLDev=2,2,0,SQLDev.log
Appender.SQLDriver=2,2,0,SQLDriver.log

# Appenders
# Description: List of Appenders to read from config
# (Using spaces as separator).
# Default: "Console Server GM DBErrors Char RA Warden Chat"

Appenders=Console Server GM DBErrors Char RA Warden Chat

# Logger config values: Given a logger "name"
# Logger.name
# Description: Defines 'What to log'
# Format: Type,LogLevel,AppenderList
# Type
# 0 - Default. Each type that has no config will
# rely on this one. Core will create this logger
# (disabled) if it's not configured
# 1 - Units that doesn't fit in other categories
# 2 - Pets
# 3 - Vehicles
# 4 - C++ AI, instance scripts, etc.
# 5 - DB AI, such as SAI, EAI, CreatureAI
# 6 - DB map scripts
# 7 - Network input/output,
# such as packet handlers and netcode logs
# 8 - Spellsystem and aurasystem
# 9 - Achievement system
# 10 - Condition system
# 11 - Pool system
# 12 - Auction house
# 13 - Arena's and battlegrounds
# 14 - Outdoor PVP
# 15 - Chat system
# 16 - LFG system
# 17 - Maps, instances (not scripts),
# grids, cells, visibility, etc.
# 18 - Player that doesn't fit in other categories.
# 19 - Player loading from DB
# (Player::_LoadXXX functions)
# 20 - Items
# 21 - Player skills (do not confuse with spells)
# 22 - Player chat logs
# 23 - loot
# 24 - guilds
# 25 - transports
# 26 - SQL. DB errors
# 27 - GM Commands
# 28 - Remote Access Commands
# 29 - Warden
# 30 - Authserver
# 31 - Worldserver
# 32 - Game Events
# 33 - Calendar
# 34 - Character (Exclusive to log login, logout, create, rename)
# 35 - Arenas
# 36 - SQL Driver
# 37 - SQL Dev
# 38 - Player Dump
# 39 - Battlefield
# 40 - Server Loading
# 41 - Opcodes (just id and name sent / received)
# 42 - SOAP
#
# LogLevel
# 0 - (Disabled)
# 1 - (Trace)
# 2 - (Debug)
# 3 - (Info)
# 4 - (Warn)
# 5 - (Error)
# 6 - (Fatal)
#
# AppenderList: List of appenders linked to logger
# (Using spaces as separator).
#

Logger.Root=0,5,Console Server
Logger.Chat=22,2,Chat
Logger.DBErrors=26,5,Console Server DBErrors
Logger.GM=27,3,Console Server GM
Logger.RA=28,3,RA
Logger.Warden=29,4,Warden
Logger.WorldServer=31,3,Console Server
Logger.Character=34,3,Char
Logger.Arenas=35,3,Arenas
Logger.SQLDriver=36,5,SQLDriver
Logger.SQLDev=37,3,SQLDev
Logger.CharDump=38,3,CharDump
Logger.Load=40,3,Console Server
Logger.Opcodes=41,6,Console Server

#
# Loggers
# Description: List of Loggers to read from config
# (Using spaces as separator).
# Default: "Root Chat DBErrors GM RA Warden Character Load"

Loggers=Root Chat DBErrors GM RA Warden Character Load WorldServer Opcodes

#
# Log.Async.Enable
# Description: Enables asyncronous message logging.
# Default: 0 - (Disabled)
# 1 - (Enabled)

Log.Async.Enable = 0

#
###################################################################################################

Edited by Royal DK
Link to comment
Share on other sites

Well first (which is PRIMARY for you) edit your postet core from the worldserver.conf and erase the password ^^ 

second: The error showing up with the invaled sql query is not your main problem. But you could try to completely re- upload your database (delete it, make new). After that you should pull the core again and re-compile it with all updates. Because: That mysql query was send by the core to your database. If it's broken in the core it sure wont work ;) 


When you did that and it still didnt work, write again... 

Link to comment
Share on other sites

So just for my understanding please:

You are using mapextractor and want to extract the "maps" folder from your world of warcraft client, right? 

 

Check if you are really using "mapextractor" and not "vmap4assembler" ore "vmap4extractor".. Run it with sudo rights (on windows -> Run as admin)... Check, that the Folder does not exist, before extracting and if that all does not help you can try editing the worldserver.conf and use the DataPath in order to specify a path for your maps. If that also doesn't works you'll unfortunately have to download an other client. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


  • Similar Content

    • By xgamerninjax
      Hello all, first time posting here and it's really got me scratching my head.
      I've compiled everything on my own computer, and then transferred everything to a host computer so the server can stay live. The server was running fine for a month or so and then suddenly it just crashes when it hits "Loading C++ scripts", exiting saying "caught signal 22"
      I tried setting up the host computer from scratch and transferred everything over fresh and it's still happening for some reason. (Note, I can run the server perfectly on my personal pc where I compiled it.)
      Any help would be greatly appreciated, thanks!
      3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].dmp 3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].txt
    • By Rochet2
      A lot of people have asked how to debug so I made this short guide on how to set up debugging.
      This guide only tells you how to actually set up debugging in TrinityCore on Windows and Linux.
      This will not explain the basics of debugging. You can google those or play around with the debugger to learn.
      Here are a few videos that explain how to actually debug after setting debugging up on visual studio: https://youtu.be/0ebzPwixrJA and linux: https://www.youtube.com/watch?v=sCtY--xRUyI

      This guide contains multiple guides. Each list of bullet points is it's own guide.
      Make sure you can run the server normally before trying to debug.

      Windows:
      On Windows before anything you should check these
      - Before debugging or making crashlogs etc. with Visual Studio you must compile the core in "Debug" instead of "Release". You can select this in "Build>Configuration Manager" or at the top of Visual Studio window http://i.imgur.com/5oHd59j.png
      - You also need to move the new pdb files generate by compiling in debug mode on Visual Studio from the compile output folder (bin) to your server folder - these files contain information needed for debugging.
      - It is assumed that Solution Explorer is open. Open it by selecting "View>Solution Explorer" in Visual Studio http://i.imgur.com/hkW6Gk0.png
      -- You may want to click on the Home icon to reset the view on Solution Explorer http://i.imgur.com/N8UPwDh.png
      - You can place breakpoints in Visual Studio editor by right clicking a line of code and selecting "Breakpoint>Insert Breakpoint" http://i.imgur.com/L2TxBVG.png
      - At the top of the window you should see controls for stepping and continuing when you have started to debug.
      - Here is a video showing the basic Visual Studio functionality https://www.youtube.com/watch?v=Ijdk4z8-2OI
      Fastest way to debug on windows. This is the easiest way to start up debugging a script.
      - Start the authserver and worldserver normally
      - Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core
      - In Visual Studio at the top select "Debug>Attach to process...>worldserver.exe" and click "Attach" http://i.imgur.com/jDEI2Hq.png
      - You are now debugging
       
      The second slower way of debugging on windows. This is useful for debugging something that occurs in the startup of the server.
      - Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core
      - In solution explorer right click on worldserver and select "Set as StartUp Project" http://i.imgur.com/wvMzeRA.png
      - In solution explorer right click on worldserver and select "Properties" http://i.imgur.com/rTNEF9O.png
      -- In Properties you should go to "Configuration Properties>Debugging" and edit "Working Directory" to point to the server folder. For me this is the default compile folder so I use "$(OutDir)" http://i.imgur.com/aRI29fB.png
      - Start the authserver normally
      - Start the worldserver by selecting "Debug>Start Debugging". The server will start with debugging attached from the beginning http://i.imgur.com/cg1KJNw.png
      - You are now debugging
      Crashlogs on windows. Once you have a way to reproduce a crash you can get a crashlog that can help you resolve it.
      - After compiling the core in "Debug" instead of "Release" start up the worldserver and authserver
      - Reproduce the crash you have
      - In the server folder there is now a folder called Crashes that contains txt and dmp files. http://i.imgur.com/9eQIdql.png
      - You can open the txt files in text editors http://i.imgur.com/EH6R17E.png
      -- At the top of a txt file there is some information about your system and below it there is the Call Stack and below that there are Variables of each part of the call stack
      -- The Call Stack will tell you at the top what was the last function call before crashing and what function calls led to that function call.
      -- Next to the function names there is the file that the function is defined in and the line number the code was executing in that function.
      -- In the Variables section you can inspect variables that were present at each function call.
      -- Based on this information you are often able to see what crashed or get a better view of what you need to inspect more in your code.
      - The dmp file can be opened in Visual Studio
      -- Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core
      -- Drag and drop the dmp file to Visual Studio
      -- In the window that opens click to "Debug with Native Only" http://i.imgur.com/OgyU2kM.png
      -- In the window popup click "Break" http://i.imgur.com/4jDzqRn.png
      -- You are now in a state like you would have hit a break point in the code or a crash while debugging. You can inspect the call stack and the variables.
      Edit and continue on windows. When debugging this allows you to change the code and without restarting the server apply those changes so they actually work ingame.
      - Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core
      - In solution explorer right click on worldserver and select "Properties" http://i.imgur.com/rTNEF9O.png
      -- In Properties select "Configuration Properties>Linker>General" and set "Enable Incremental Linking" to "Yes". http://i.imgur.com/caQqwN5.png
      -- In Properties select "Configuration Properties>Linker>Advanced" and set "Image Has Safe Exception Handlers" to "No". http://i.imgur.com/FYzN8Ks.png
      -- In Properties select "Configuration Properties>C/C++>General" and set "Debug Information Format" to "Program Database for Edit And Continue". http://i.imgur.com/pxQ6I8N.png
      - At the top of the window select "Tools>Options". In the Options select "Debugging>General" and in there select "Enable Edit and Continue", "Enable Native Edit and Continue" and "Require source files to exactly match the original version".
      - Compile the server for the changes to take effect.
      - Set up "The second slower way of debugging" (I did not test edit and continue on other configurations)
      - Start the authserver normally
      - Start the worldserver by selecting "Debug>Start Debugging".
      - Try edit a cpp file a little and save it.
      - At top of Visual Studio window select "Debug>Apply Code Changes" and wait until the changes are applied. Warning: it can take considerable amount of time for the changes to be applied. http://i.imgur.com/77pb58E.png
      - If you have issues, be sure to check the error messages in Output. You can view it by selecting "View>Output" http://i.imgur.com/4cIznW9.png
      - This guide was written based on https://msdn.microsoft.com/en-us/library/esaeyddf.aspx and https://blogs.msdn.microsoft.com/vcblog/2015/07/22/c-edit-and-continue-in-visual-studio-2015/
      Linux:
      First we need to compile the server in debug mode.
      - Compile the server with the cmake flag -DCMAKE_BUILD_TYPE=Debug

      Debugging on linux. You can debug on linux by using GDB.
      - Here is a good video about it: https://www.youtube.com/watch?v=sCtY--xRUyI
      - Basically you
      -- Start the authserver
      -- Start the worldserver by using "gdb ./worldserver"
      -- Enter breakpoints by using break command on gdb
      -- Use the run command on gdb to start the server
      -- You are now debugging
      - You may also be interested in using VScode or some other more visual debuggers. https://www.youtube.com/watch?v=B0xTgyCwsAo
      Crashlogs on linux. Once you have a way to reproduce a crash you can get a crashlog that can help you resolve it.
      - Take crashreport.gdb from /contrib/debugger from source folder and place it to your server folder
      - Start the authserver
      - Start the worldserver by using "gdb -x crashreport.gdb ./worldserver"
      - Reproduce your crash
      - There should be a backtrace.log in your server folder that contains information about the crash like the callstack and variables in each function call in the call stack
      - This guide was written based on https://github.com/TrinityCore/TrinityCore/blob/master/contrib/debugger/README
      Running valgrind on linux. This helps you find memory errors like invalid reads and writes and memory leaks.
      - Here is a good video about it: https://www.youtube.com/watch?v=fvTsFjDuag8
      - Basically you
      -- Start the authserver
      -- Start the worldserver by using "valgrind ./worldserver"
      -- Run your code that you want to analyze and close the server
      -- The console or an output log should contain the valgrind log
    • By reyne
      Hey there!

      I've followed a few threads here about map extraction, and am still having issues. Originally, I was having the issue described here.
      After following the advice given in that thread (creating characters of both BC races and running around for a bit), I am no longer getting that error, however now I get the following error while trying to extract maps:

      `Error loading World\Maps\Expansion01\Expansion01_42_6.adt`

      This repeats for every line in Expansion01, and then the extractor crashes.

      I'm not sure where else to go from here.

      Thanks for your help

      Edit: I've created an 85 on an i85 server and flown all around Outland now, same issue.
    • By Uee
      I recently found the Trinity Cataclsym Preservation Project and thought I will try it out.
      I am already running 3.3.5a and Master - both server run great
      Pulled 4.3.4 down using Git and built it same way as others:
      boost_1_73_0 cmake 3.17.2 Mysql 5.7.30 VS Community 2019 Built fine - no issue. Used 'Extractor.bat' to run all the map extractors - worked great!
      Noticed there was extra file 'connection_patcher.exe`, ran that - worked great! Now have "wow_patched" and use this to launch client
      MySQL runs in standalone mode, -initialize, added base sql files, imported, auth and character sql files
      Configured both the .conf files and passwords, IPs etc are all in place.
      Note: When loading the exe and built conf file, bnetserver complain about these items missing, so I add them:
      Updates.AutoSetup = 1 Updates.EnableDatabases = 0 LoginDatabase.SynchThreads = 1 Load up Mysql - loads fine
      Load up bnetserver and appears to load ok - last few lines look like this:
      Connected to MySQL database at 127.0.0.1
      DatabasePool 'auth' opened successfully. 2 total connections running.
      Started auth database connection pool.
      Listening on connections from worldservers on port 1118...
      Load up worldserver and it adds the FULL world and hotfixes, then applied all updates (confirmed archived in SQL) - last few lines look like this:
      Calculate next monthly quest reset time...
      Calculate random battleground reset time...
      Calculate guild limitation(s) reset time...
      Calculate next currency reset time...
      World initialized in 0 minutes 13 seconds
      TrinityCore rev. d0c7bbab40bc 2020-05-06 00:01:21 +0200 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon) ready...
       
      There are no db errors in logs.
      Config.wtf contain portal, realmlist as remote server and patchlist as localhost.
      When I try to connecting using "user@local" and password I get immediately disconnected.
      What I did noticed different is that the bnetserver doesnt add "Added realm "Battle for Azeroth" at 192.168.10.213:8085." (From my Master log) 
      3.3.5a also have this line as last line in authserver - but 4.3.4 is not giving me this one.
      Realmlist table is accurate with right information.
      Anyone know why bnetserver is not starting me realm?
       
    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
×
×
  • Create New...