- 精华
- 阅读权限
- 20
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2013-1-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2013-1-23 09:57:30
|
显示全部楼层
本帖最后由 Constable._Dant 于 2013-1-23 09:59 编辑
微笑向暖 发表于 2013-1-22 21:21 
我眼下电脑没有端。
我只会简单修改以下几个参数:
1、经验倍率
因为我不会上传文件,所以用了最笨的办法,大家想笑就笑吧!还有这只是一部分!
################################################
# SkyFireEMU 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
#
###################################################################################################
###################################################################################################
# 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 realmd 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/skyfirecore"
# Default: "."
DataDir = "data"
#
# 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;username;password;auth" - (LoginDatabaseInfo)
# "127.0.0.1;3306;username;password;world" - (WorldDatabaseInfo)
# "127.0.0.1;3306;username;password;characters" - (CharacterDatabaseInfo)
LoginDatabaseInfo = "127.0.0.1;3306;root;ascent;skauth"
WorldDatabaseInfo = "127.0.0.1;3306;root;ascent;skwrd"
CharacterDatabaseInfo = "127.0.0.1;3306;root;ascent;skchr"
#
# 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 "realmd.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
#
# 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.ignoreSpellIds
# Description: These spells are ignored for LoS calculation.
# List of ids with delimiter ','.
# Example: "7720, 1337"
# Default: "7720"
vmap.ignoreSpellIds = "7720"
#
# vmap.petLOS
# Description: Check line of sight for pets, to avoid them attacking through walls.
# Default: 1 - (Enabled, each pet attack will be checked for line of sight)
# 0 - (Disabled, somewhat less CPU usage)
vmap.petLOS = 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
# mmap.enablePathFinding
# Description: Enable/Disable pathfinding using mmaps
# Default: 1 - (Enabled)
# 0 - (Disabled)
mmap.enablePathFinding = 1
#
# mmap.ignoreMapIds
# Disable mmap pathfinding on the listed maps.
# List of map ids with delimiter ','
mmap.ignoreMapIds = ""
#
# 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: "./worldd.pid" - (Enabled)
# Default: "" - (Disabled)
PidFile = ""
#
# LogLevel
# Description: Server console level of logging
# Default: 1 - (Basic)
# 0 - (Minimum)
# 2 - (Detail)
# 3 - (Full/Debug)
LogLevel = 1
#
# LogFile
# Description: Log file for main server log.
# Default: "Server.log" - (Enabled)
# "" - (Disabled)
LogFile = "Server.log"
#
# LogTimestamp
# Description: Append timestamp to the server log file name.
# Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
# Default: 0 - (Disabled)
# 1 - (Enabled)
LogTimestamp = 0
#
# LogFileLevel
# Description: Server file level of logging
# Default: 0 - (Minimum)
# 1 - (Basic)
# 2 - (Detail)
# 3 - (Full/Debug)
LogFileLevel = 0
#
# Debug Log Mask
# Description: Bitmask that determines which debug log output (level 3)
# will be logged.
# Possible flags:
# 1 - Anything related to units that doesn't fit in other
# categories.
# 2 - Anything related to pets.
# 4 - Anything related to vehicles.
# 8 - Anything related to C++ AI, instance scripts, etc.
# 16 - Anything related to DB AI, such as SAI, EAI, CreatureAI
# 32 - Anything related to DB map scripts
# 64 - Anything related to network input/output,
# such as packet handlers and netcode logs
# 128 - Anything related to the spellsystem and aurasystem
# 256 - Anything related to the achievement system
# 512 - Anything related to the condition system
# 1024 - Anything related to the pool system
# 2048 - Anything related to the auction house
# 4096 - Anything related to arena's and battlegrounds
# 8192 - Anything related to outdoor PVP
# 16384 - Anything related to the chat system
# 32768 - Anything related to the LFG system
# 65536 - Anything related to maps, instances (not scripts),
# grids, cells, visibility, etc.
# 131072 - Anything related to player loading from DB
# (Player::_LoadXXX functions)
# 262144 - Anything related to items
# 524288 - Anything related to player skills
# (do not confuse with spells)
# 1048576 - Anything related to loot
# 2097152 - Anything related to guilds
# 4194304 - Anything related to transports
# 8388608 - Incoming/outgoing Opcodes
# 8388608 - Anything related to Warden anti cheat
#
# Simply add the values together to create a bitmask.
# For more info see enum DebugLogFilters in Log.h
#
# Default: 0 (nothing)
DebugLogMask = 0
#
# WorldLogFile
# Description: Packet logging file for the world server.
# Example: "World.log" - (Enabled)
# Default: "" - (Disabled)
WorldLogFile = ""
#
# DBErrorLogFile
# Description: Log file for database errors.
# Default: "DBErrors.log" - (Enabled)
# "" - (Disabled)
DBErrorLogFile = "DBErrors.log"
#
# CharLogFile
# Description: Log file for character operations
# Default: "Char.log" - (Enabled)
# "" - (Disabled)
CharLogFile = "Char.log"
#
# CharLogTimestamp
# Description: Append timestamp to the character log file name.
# Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
# Default: 0 - (Disabled)
# 1 - (Enabled)
CharLogTimestamp = 0
#
# CharLogDump
# Description: Write a character dump in the CharLogFile before deleting it.
# For restoration, copy character data from log file starting from
# line == START DUMP == to line == END DUMP == (exclusive)
# and load it using the "pdump load" command.
# Default: 0 - (Disabled)
# 1 - (Enabled)
CharLogDump = 0
#
# CharLogDump.Separate
# Description: Write character dump to separate files files rather than adding it to the
# CharLogFile.
# Default: 0 - (Disabled)
# 1 - (Enabled)
CharLogDump.Separate = 0
#
# CharLogDump.SeparateDir
# Description: Write dump files into the sub folder within the log folder.
# Example: "chardumps" - (Enabled)
# Default: "" - (Disabled)
CharLogDump.SeparateDir = ""
#
# GmLogFile
# Description: Log file for gamemaster commands.
# Default: "GM.log" - (Enabled)
# "" - (Disabled)
GmLogFile = "GM.log"
#
# GmLogTimestamp
# Description: Append timestamp to the gamemaster log file name.
# Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
# Default: 0 - (Disabled)
# 1 - (Enabled)
GmLogTimestamp = 0
#
# GmLogPerAccount
# Description: Create a log file per gamemaster account.
# Important: Logs not created if GmLogFile is not set.
# Default: 0 - (Disabled)
# 1 - (Enabled)
GmLogPerAccount = 0
#
# RaLogFile
# Description: Log file for Remote Access commands.
# Default: "RA.log" - (Enabled)
# "" - (Disabled)
RaLogFile = "RA.log"
#
# ArenaLogFile
# Description: Log file for arena fights and arena team creations.
# Example: "Arena.log" - (Enabled)
# Default: "" - (Disabled)
ArenaLogFile = ""
#
# 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
#
# SQLDeveloperLogFile
# Description: Log file for core-generated SQL queries/dumps
# Example: "SQLDev.log" - (Enabled)
# Default: "" - (Disabled)
SQLDeveloperLogFile = ""
#
# SQLDriverLogFile
# Description: Log file for SQL driver events.
# Example: "SQLDriver.log" - (Enabled)
# Default: "" - (Disabled)
SQLDriverLogFile = ""
#
# SQLDriverQueryLogging
# Description: Log SQL queries to the SQLDriverLogFile and console.
# Default: 0 - (Disabled, Query errors only)
# 1 - (Enabled, Full query logging - may have performance impact)
SQLDriverQueryLogging = 0
#
# LogColors
# Description: Colors for log messages (Format: "normal basic detail debug").
# Colors: 0 - Black
# 1 - Lblue
# 2 - Green
# 3 - Brown
# 4 - Blue
# 5 - Magenta
# 6 - Cyan
# 7 - Grey
# 8 - Yellow
# 9 - Lblue
# 10 - Lgreen
# 11 - Lblue
# 12 - Lmagenta
# 13 - Lcyan
# 14 - White
# Example: "9" - (Enabled)
# "" - (Disabled)
# Default: "9"
LogColors = "9"
#
# EnableLogDB
# Description: Write log messages to database (LogDatabaseInfo).
# Default: 0 - (Disabled)
# 1 - (Enabled)
EnableLogDB = 0
#
# DBLogLevel
# Description: Log level of databases logging.
# Default: 2 - (Detail)
# 0 - (Minimum)
# 1 - (Basic)
# 3 - (Full/Debug)
DBLogLevel = 2
#
# LogDB.Char
# Description: Log character operations to database.
# Default: 0 - (Disabled)
# 1 - (Enabled)
LogDB.Char = 0
#
# LogDB.GM
# Description: Log gamemaster commands to database.
# Default: 0 - (Disabled)
# 1 - (Enabled)
LogDB.GM = 0
#
# LogDB.RA
# Description: Log remote access events to database.
# Default: 0 - (Disabled)
# 1 - (Enabled)
LogDB.RA = 0
#
# LogDB.World
# Description: Log world server packets to database.
# Default: 0 - (Disabled)
# 1 - (Enabled, May have performance impact)
LogDB.World = 0
#
# LogDB.Chat
# Description: Log chat messages to database.
# Default: 0 - (Disabled)
# 1 - (Enabled)
LogDB.Chat = 0
|
|