[7383] Changed some comments in config file, changed default MaxRatingDifference from 100 to 150 in default config.

Signed-off-by: Triply <triply@getmangos.com>
This commit is contained in:
Triply 2009-03-05 16:48:00 +01:00
parent 167b192ff2
commit 5179230901
3 changed files with 26 additions and 26 deletions

View file

@ -552,9 +552,9 @@ void World::LoadConfigSettings(bool reload)
} }
m_configs[CONFIG_ADDON_CHANNEL] = sConfig.GetBoolDefault("AddonChannel", true); m_configs[CONFIG_ADDON_CHANNEL] = sConfig.GetBoolDefault("AddonChannel", true);
m_configs[CONFIG_GRID_UNLOAD] = sConfig.GetBoolDefault("GridUnload", true); m_configs[CONFIG_GRID_UNLOAD] = sConfig.GetBoolDefault("GridUnload", true);
m_configs[CONFIG_INTERVAL_SAVE] = sConfig.GetIntDefault("PlayerSaveInterval", 900000); m_configs[CONFIG_INTERVAL_SAVE] = sConfig.GetIntDefault("PlayerSaveInterval", 15 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_INTERVAL_GRIDCLEAN] = sConfig.GetIntDefault("GridCleanUpDelay", 300000); m_configs[CONFIG_INTERVAL_GRIDCLEAN] = sConfig.GetIntDefault("GridCleanUpDelay", 5 * MINUTE * IN_MILISECONDS);
if(m_configs[CONFIG_INTERVAL_GRIDCLEAN] < MIN_GRID_DELAY) if(m_configs[CONFIG_INTERVAL_GRIDCLEAN] < MIN_GRID_DELAY)
{ {
sLog.outError("GridCleanUpDelay (%i) must be greater %u. Use this minimal value.",m_configs[CONFIG_INTERVAL_GRIDCLEAN],MIN_GRID_DELAY); sLog.outError("GridCleanUpDelay (%i) must be greater %u. Use this minimal value.",m_configs[CONFIG_INTERVAL_GRIDCLEAN],MIN_GRID_DELAY);
@ -572,7 +572,7 @@ void World::LoadConfigSettings(bool reload)
if(reload) if(reload)
MapManager::Instance().SetMapUpdateInterval(m_configs[CONFIG_INTERVAL_MAPUPDATE]); MapManager::Instance().SetMapUpdateInterval(m_configs[CONFIG_INTERVAL_MAPUPDATE]);
m_configs[CONFIG_INTERVAL_CHANGEWEATHER] = sConfig.GetIntDefault("ChangeWeatherInterval", 600000); m_configs[CONFIG_INTERVAL_CHANGEWEATHER] = sConfig.GetIntDefault("ChangeWeatherInterval", 10 * MINUTE * IN_MILISECONDS);
if(reload) if(reload)
{ {
@ -764,7 +764,7 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_CAST_UNSTUCK] = sConfig.GetBoolDefault("CastUnstuck", true); m_configs[CONFIG_CAST_UNSTUCK] = sConfig.GetBoolDefault("CastUnstuck", true);
m_configs[CONFIG_INSTANCE_RESET_TIME_HOUR] = sConfig.GetIntDefault("Instance.ResetTimeHour", 4); m_configs[CONFIG_INSTANCE_RESET_TIME_HOUR] = sConfig.GetIntDefault("Instance.ResetTimeHour", 4);
m_configs[CONFIG_INSTANCE_UNLOAD_DELAY] = sConfig.GetIntDefault("Instance.UnloadDelay", 1800000); m_configs[CONFIG_INSTANCE_UNLOAD_DELAY] = sConfig.GetIntDefault("Instance.UnloadDelay", 30 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_MAX_PRIMARY_TRADE_SKILL] = sConfig.GetIntDefault("MaxPrimaryTradeSkill", 2); m_configs[CONFIG_MAX_PRIMARY_TRADE_SKILL] = sConfig.GetIntDefault("MaxPrimaryTradeSkill", 2);
m_configs[CONFIG_MIN_PETITION_SIGNS] = sConfig.GetIntDefault("MinPetitionSigns", 9); m_configs[CONFIG_MIN_PETITION_SIGNS] = sConfig.GetIntDefault("MinPetitionSigns", 9);
@ -932,7 +932,7 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_BATTLEGROUND_INVITATION_TYPE] = sConfig.GetIntDefault ("Battleground.InvitationType", 0); m_configs[CONFIG_BATTLEGROUND_INVITATION_TYPE] = sConfig.GetIntDefault ("Battleground.InvitationType", 0);
m_configs[CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER] = sConfig.GetIntDefault ("BattleGround.PrematureFinishTimer", 5 * MINUTE * IN_MILISECONDS); m_configs[CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER] = sConfig.GetIntDefault ("BattleGround.PrematureFinishTimer", 5 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_BATTLEGROUND_PREMADE_GROUP_WAIT_FOR_MATCH] = sConfig.GetIntDefault ("BattleGround.PremadeGroupWaitForMatch", 30 * MINUTE * IN_MILISECONDS); m_configs[CONFIG_BATTLEGROUND_PREMADE_GROUP_WAIT_FOR_MATCH] = sConfig.GetIntDefault ("BattleGround.PremadeGroupWaitForMatch", 30 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_ARENA_MAX_RATING_DIFFERENCE] = sConfig.GetIntDefault ("Arena.MaxRatingDifference", 100); m_configs[CONFIG_ARENA_MAX_RATING_DIFFERENCE] = sConfig.GetIntDefault ("Arena.MaxRatingDifference", 150);
m_configs[CONFIG_ARENA_RATING_DISCARD_TIMER] = sConfig.GetIntDefault ("Arena.RatingDiscardTimer", 10 * MINUTE * IN_MILISECONDS); m_configs[CONFIG_ARENA_RATING_DISCARD_TIMER] = sConfig.GetIntDefault ("Arena.RatingDiscardTimer", 10 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS] = sConfig.GetBoolDefault("Arena.AutoDistributePoints", false); m_configs[CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS] = sConfig.GetBoolDefault("Arena.AutoDistributePoints", false);
m_configs[CONFIG_ARENA_AUTO_DISTRIBUTE_INTERVAL_DAYS] = sConfig.GetIntDefault ("Arena.AutoDistributeInterval", 7); m_configs[CONFIG_ARENA_AUTO_DISTRIBUTE_INTERVAL_DAYS] = sConfig.GetIntDefault ("Arena.AutoDistributeInterval", 7);

View file

@ -94,7 +94,7 @@ BindIP = "0.0.0.0"
# #
# SocketSelectTime # SocketSelectTime
# Socket select time (in milliseconds) # Socket select time (in milliseconds)
# Default: 10000 # Default: 10000 (10 secs)
# #
# GridCleanUpDelay # GridCleanUpDelay
# Grid clean up delay (in milliseconds) # Grid clean up delay (in milliseconds)
@ -115,8 +115,8 @@ BindIP = "0.0.0.0"
# vmap.enableLOS # vmap.enableLOS
# vmap.enableHeight # vmap.enableHeight
# Enable/Disable VMmap support for line of sight and height calculation # Enable/Disable VMmap support for line of sight and height calculation
# Default: 1 (true) # Default: 0 (disable)
# 0 (false) # 1 (enable)
# #
# vmap.ignoreMapIds # vmap.ignoreMapIds
# Map id that will be ignored by VMaps # Map id that will be ignored by VMaps
@ -504,7 +504,7 @@ LogColors = ""
# #
# Instance.UnloadDelay # Instance.UnloadDelay
# Unload the instance map from memory after some time if no players are inside. # Unload the instance map from memory after some time if no players are inside.
# Default: 1800000 (miliseconds, i.e 30 minutes) # Default: 1800000 (miliseconds 30 minutes)
# 0 (instance maps are kept in memory until they are reset) # 0 (instance maps are kept in memory until they are reset)
# #
# Quests.LowLevelHideDiff # Quests.LowLevelHideDiff
@ -866,8 +866,8 @@ Channel.SilentlyGMJoin = 0
# #
# GM.AllowAchievementGain # GM.AllowAchievementGain
# If enabled it allows gaining achievements for GM characters # If enabled it allows gaining achievements for GM characters
# Default: 0 (disable) # Default: 1 (enable)
# 1 (enable) (default) # 0 (disable)
# #
################################################################################################################### ###################################################################################################################
@ -1052,7 +1052,7 @@ Visibility.Distance.Grey.Object = 10
# #
# Death.Bones.World # Death.Bones.World
# Death.Bones.BattlegroundOrArena # Death.Bones.BattlegroundOrArena
# Enabled/disabled creating bones instead corpse at resurrection (in normal zones/instacnes, or battleground/arenas) # Enable/disable creating bones instead corpse at resurrection (in normal zones/instacnes, or battleground/arenas)
# Default: 1 (enabled) # Default: 1 (enabled)
# 0 (disabled) # 0 (disabled)
# #
@ -1116,19 +1116,19 @@ Death.Bones.BattlegroundOrArena = 1
# BATTLEGROUND CONFIG # BATTLEGROUND CONFIG
# #
# Battleground.CastDeserter # Battleground.CastDeserter
# Cast or not Deserter spell at player who leave battleground in progress # Cast Deserter spell at player who leave battleground in progress
# Default: 1 (true) # Default: 1 (enable)
# 0 (false) # 0 (disable)
# #
# Battleground.QueueAnnouncer.Enable # Battleground.QueueAnnouncer.Enable
# Enable queue announcer posting to chat # Enable queue announcer posting to chat
# Default: 0 (false) # Default: 0 (disable)
# 1 (true) # 1 (enable)
# #
# Battleground.QueueAnnouncer.PlayerOnly # Battleground.QueueAnnouncer.PlayerOnly
# Enable queue announcer posting to chat # Enable queue announcer posting to chat
# Default: 0 (false) # Default: 0 (disable)
# 1 (true) # 1 (enable)
# #
# Battleground.InvitationType # Battleground.InvitationType
# Set Battleground invitation type # Set Battleground invitation type
@ -1160,7 +1160,7 @@ BattleGround.PremadeGroupWaitForMatch = 1800000
# #
# Arena.MaxRatingDifference # Arena.MaxRatingDifference
# The maximum rating difference between two groups in rated matches # The maximum rating difference between two groups in rated matches
# Default: 100 (enable, recommended) # Default: 150 (enable, recommended)
# 0 (disable, rating difference is discarded) # 0 (disable, rating difference is discarded)
# #
# Arena.RatingDiscardTimer # Arena.RatingDiscardTimer
@ -1168,7 +1168,7 @@ BattleGround.PremadeGroupWaitForMatch = 1800000
# rating information will be discarded when selecting teams for matches # rating information will be discarded when selecting teams for matches
# also initiates an update by this timer # also initiates an update by this timer
# Default: 600000 (10 minutes, recommended) # Default: 600000 (10 minutes, recommended)
# 0 (disable, DO NOT USE - it will cause lags) # 0 (disable)
# #
# Arena.AutoDistributePoints # Arena.AutoDistributePoints
# Set if arena points should be distributed automatically, or by GM command # Set if arena points should be distributed automatically, or by GM command
@ -1182,8 +1182,8 @@ BattleGround.PremadeGroupWaitForMatch = 1800000
# #
# Arena.QueueAnnouncer.Enable # Arena.QueueAnnouncer.Enable
# Enable bg queue announcer posting to chat # Enable bg queue announcer posting to chat
# Default: 0 (false) # Default: 0 (disable)
# 1 (true) # 1 (enable)
# #
# Arena.ArenaSeason.ID # Arena.ArenaSeason.ID
# Current area season id show in client # Current area season id show in client
@ -1196,7 +1196,7 @@ BattleGround.PremadeGroupWaitForMatch = 1800000
# #
################################################################################################################### ###################################################################################################################
Arena.MaxRatingDifference = 100 Arena.MaxRatingDifference = 150
Arena.RatingDiscardTimer = 600000 Arena.RatingDiscardTimer = 600000
Arena.AutoDistributePoints = 0 Arena.AutoDistributePoints = 0
Arena.AutoDistributeInterval = 7 Arena.AutoDistributeInterval = 7

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7382" #define REVISION_NR "7383"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__