M2Server的日志能力主要依赖!Setup.txt中的日志开关、日志目录路径、LogDataSrv日志服务端配合,以及ConLog、Log两个日志目录。下面这份配置把关键参数全部加上中文注释,并针对排查网关、登录、脚本报错做了专项设置。
文件路径为Mir200!Setup.txt,修改后必须重启M2Server生效。
[Server]段:服务基础与日志开关
这一段决定服务端身份、数据库连接和日志记录行为。ViewHackMessage和ViewAdmissionFailure是两个最关键的排查开关,开启后控制台会打印外挂检测、非法登录、封禁拒绝等详细日志。
[Server]
;服务器群编号,多开时每个服务端必须不同,默认0
ServerIndex=0
;服务器名称,必须与登录器列表、!AddrTable.txt中的名称完全一致
ServerName=测试传奇
;服务器组编号
ServerNumber=0
;冒险形式服务器,FALSE为否,TRUE为是,付费服祈祷装备生效
VentureServer=FALSE
;测试形式服务器,免费服改TRUE,收费服改FALSE
TestServer=TRUE
;注册角色初始等级,范围0-500
TestLevel=1
;注册角色初始金币,范围0-10000000
TestGold=30000
;测试服最大在线人数
TestServerUserLimit=1000
;服务性模式,收费服必须TRUE,冒险服也必须TRUE
ServiceMode=TRUE
;禁止PK服务器,仅付费服生效
NonPKServer=FALSE
;数据库服务IP,内部通信填内网IP或127.0.0.1,不要填公网IP
DBAddr=127.0.0.1
;数据库服务端口
DBPort=6000
;注册信息服务IP
IDSAddr=127.0.0.1
;注册信息服务端口
IDSPort=5600
;消息服务IP
MsgSrvAddr=127.0.0.1
;消息服务端口
MsgSrvPort=4900
;人物数据处理间隔,数值越小处理越快但占用越高
HumLimit=30
;怪物处理间隔
MonLimit=30
;金币处理间隔
ZenLimit=30
;NPC处理间隔
NpcLimit=5
;社交数据处理间隔
SocLimit=30
;掉落数据处理间隔
DecLimit=10
;人物缓冲区大小
UserFull=100
;金币快速处理步长
ZenFastStep=300
;发送数据块大小
SendBlock=1000
;检查数据块大小
CheckBlock=8000
;可用数据块大小
AvailableBlock=200
;网关负载,0为不限制
GateLoad=0
;物品日志服务端IP,LogDataSrv所在机器地址
LogServerAddr=127.0.0.1
;物品日志服务端端口,必须与LogData.ini一致
LogServerPort=10000
;控制台显示外挂、非法登录等提示信息,排查时务必TRUE
ViewHackMessage=TRUE
;控制台显示登录拒绝、封号等提示信息,排查时务必TRUE
ViewAdmissionFailure=TRUE
;数据库名称,必须与BDE中配置的数据库名一致
DBName=HeroDB
;网关监听地址,内部通信填内网IP
GateAddr=127.0.0.1
;网关监听端口
GatePort=5000
;夜间半价开关
DiscountForNightTime=FALSE
;半价开始小时
HalfFeeStart=2
;半价结束小时
HalfFeeEnd=10
;社交检查超时时间
SocCheckTimeOut=50
;怪物处理周期
ProcessMonstersTime=10
;怪物刷新周期
RegenMonstersTime=200
;人物消息获取时限
HumanGetMsgTimeLimit=200
[Share]段:日志目录与路径配置
这一段决定日志文件写到哪里。LogDir是M2运行日志目录,ConLogDir是登录时间记录目录,两个目录必须真实存在,否则日志无法写入。路径中不要出现中文和空格。
[Share]
;用户付费记录目录
BaseDir=D:\Mirserver\Mir200\Share
;行会文件目录,一个文件代表一个行会
GuildDir=D:\Mirserver\Mir200\GuildBase\Guilds
;行会总记录文件
GuildFile=D:\Mirserver\Mir200\GuildBase\Guildlist.txt
;临时用户信息目录,仅服务模式产生文件
VentureDir=D:\Mirserver\Mir200\ShareV
;登录时间记录目录,记录每次登录时间
ConLogDir=D:\Mirserver\Mir200\ConLog
;沙巴克城资料及攻城信息目录
CastleDir=D:\Mirserver\Mir200\Envir\Castle
;核心配置目录
EnvirDir=D:\Mirserver\Mir200\Envir
;地图文件目录
MapDir=D:\Mirserver\Mir200\Map
;沙巴克列表文件
CastleFile=D:\Mirserver\Mir200\Envir\Castle\List.txt
;公告目录
NoticeDir=.\Notice
;运行日志目录,M2控制台日志、报错日志写在这里
LogDir=.\Log
;插件目录
PlugDir=.
;游戏内货币名称
GameGold=元宝
;游戏点名称
GamePoint=游戏点
;付费点名称
PayMentPointName=秒卡点
[Setup]段:日志相关运行参数
这一段包含客户端校验、回城点、死亡掉落、速度控制、公告间隔等参数。其中ShowExceptionMsg、ShowPreFixMsg、ShowScriptActionMsg、ShowMakeItemMsg直接影响控制台能看到多少运行日志。
`
[Setup]
;客户端校验文件
ClientFile1=Mir.dat
ClientFile2=mir.2
ClientFile3=mir.3
;物品编号上限
ItemNumber=3181256
;应急回城地图号,异常回城落点
HomeMap=0
;应急回城坐标X
HomeX=334
;应急回城坐标Y
HomeY=266
DropLargeBlock=1
ItemNumberEx=1073751010
;宝宝升级杀怪基数
MonUpLvNeedKillBase=100
;宝宝升级杀怪倍数
MonUpLvRate=16
;宝宝升级所需杀怪数0-7级
MonUpLvNeedKillCount0=0
MonUpLvNeedKillCount1=0
MonUpLvNeedKillCount2=50
MonUpLvNeedKillCount3=100
MonUpLvNeedKillCount4=200
MonUpLvNeedKillCount5=300
MonUpLvNeedKillCount6=600
MonUpLvNeedKillCount7=1200
;红名村地图号与坐标
RedHomeMap=3
RedHomeX=845
RedHomeY=674
;红名死亡回城地图号与坐标
RedDieHomeMap=3
RedDieHomeX=839
RedDieHomeY=668
;HP恢复间隔
HealthFillTime=300
;MP恢复间隔
SpellFillTime=800
;自动减PK点间隔,60000为60秒
DecPkPointTime=60000
;每次减少PK点数
DecPkPointCount=1
;PK状态变色时间
PKFlagTime=60000
;杀人增加PK点数
KillHumanAddPKPoint=60
KillHumanDecLuckPoint=500
DecLightItemDrugTime=500
;安全区范围
SafeZoneSize=10
;安全区出生点范围
StartPointSize=2
;转生名字颜色1-10
ReNewNameColor0=241
ReNewNameColor1=250
ReNewNameColor2=248
ReNewNameColor3=191
ReNewNameColor4=242
ReNewNameColor5=150
ReNewNameColor6=254
ReNewNameColor7=253
ReNewNameColor8=186
ReNewNameColor9=243
;转生名字颜色变换间隔,1000代表1秒
ReNewNameColorTime=2000
;转生是否变色
ReNewChangeColor=1
;转生后原有经验是否清除,1清除0不清除
ReNewLevelClearExp=1
;武士转生加点所需点数
BonusAbilofWarrDC=17
BonusAbilofWarrMC=20
BonusAbilofWarrSC=20
BonusAbilofWarrAC=20
BonusAbilofWarrMAC=20
BonusAbilofWarrHP=1
BonusAbilofWarrMP=3
BonusAbilofWarrHit=20
BonusAbilofWarrSpeed=35
BonusAbilofWarrX2=0
;法师转生加点所需点数
BonusAbilofWizardDC=17
BonusAbilofWizardMC=25
BonusAbilofWizardSC=30
BonusAbilofWizardAC=20
BonusAbilofWizardMAC=15
BonusAbilofWizardHP=2
BonusAbilofWizardMP=1
BonusAbilofWizardHit=25
BonusAbilofWizardSpeed=35
BonusAbilofWizardX2=0
;道士转生加点所需点数
BonusAbilofTaosDC=20
BonusAbilofTaosMC=30
BonusAbilofTaosSC=17
BonusAbilofTaosAC=20
BonusAbilofTaosMAC=15
BonusAbilofTaosHP=2
BonusAbilofTaosMP=1
BonusAbilofTaosHit=30
BonusAbilofTaosSpeed=30
BonusAbilofTaosX2=0
;组队人数上限
GroupMembersMax=10
;武器升级取回时间,180000为1800秒
UPgradeWeaponGetBackTime=1800000
;武器升级过期天数
ClearExpireUpgradeWeaponDays=8
;武器升级费用
UpgradeWeaponPrice=10000
;武器升级最高点数
UpgradeWeaponMaxPoint=20
;攻击、魔法、道术升级成功率,数字越低越高
UpgradeWeaponDCRate=60
UpgradeWeaponDCTwoPointRate=25
UpgradeWeaponDCThreePointRate=150
UpgradeWeaponMCRate=60
UpgradeWeaponMCTwoPointRate=25
UpgradeWeaponMCThreePointRate=150
UpgradeWeaponSCRate=60
UpgradeWeaponSCTwoPointRate=25
UpgradeWeaponSCThreePointRate=150
;申请行会费用
BuildGuild=1000000
;炼药费用
MakeDurg=100
;申请行会战费用
GuildWarFee=30000
;雇用护卫、弓箭手费用
HireGuard=300000
HireArcher=300000
;修理城门、城墙费用
RepairDoor=2000000
RepairWall=500000
;沙城成员修理折扣百分比
CastleMemberPriceRate=80
;沙城最高存资金
CastleGoldMax=10000000
;沙城一天最高收入
CastleOneDayGold=2000000
;沙巴克名称
CastleName=沙巴克
;沙巴克回城点
CastleHomeMap=3
CastleHomeX=644
CastleHomeY=290
;攻城区域范围
CastleWarRangeX=100
CastleWarRangeY=100
;商人交税百分比
CastleTaxRate=5
CastleGetAllNpcTax=1
;刷怪随机率
GenMonRate=10
ProcessMonRandRate=5
ProcessMonLimitCount=5
;正式模式人物金币上限
HumanMaxGold=10000000
;试玩模式人物金币上限
HumanTryModeMaxGold=100000
;试玩模式等级限制
TryModeLevel=7
;试玩模式可用仓库
TryModeUseStorage=1
;广播信息是否显示人物名
ShutRedMsgShowGMName=1
;显示制造物品提示,排查爆率问题时开启
ShowMakeItemMsg=1
ShowGuildName=1
;开启称号系统
ShowRankLevelName=1
;怪物说话开关
MonSayMsg=1
;聊天最大长度
SayMsgMaxLen=80
;聊天发送间隔,5000为5秒
SayMsgTime=3000
;聊天发送数量
SayMsgCount=2
;禁言时间
DisableSayMsgTime=60000
;广播最大长度
SayRedMsgMaxLen=255
;允许喊话等级
CanShoutMsgLevel=7
;交易间隔
TryDealTime=3000
;确认交易时间
DealOKTime=1000
;交易时不可取回物品
CanNotGetBackDeal=1
;禁止交易
DisableDeal=0
;出师等级
MasterOKLevel=42
MasterOKCreditPoint=20
MasterOKBonusPoint=0
;PK保护开关与等级
PKProtect=1
PKProtectLevel=30
RedPKProtectLevel=10
ItemPowerRate=10000
ItemExpRate=10000
;脚本跳转次数上限,过低会导致脚本执行中断
ScriptGotoCountLimit=30
;聊天、私聊、喊话、行会、编组、祝福语文字颜色与背景色
HearMsgFColor=0
HearMsgBColor=255
WhisperMsgFColor=252
WhisperMsgBColor=255
GMWhisperMsgFColor=252
GMWhisperMsgBColor=255
CryMsgFColor=0
CryMsgBColor=151
GreenMsgFColor=219
GreenMsgBColor=255
BlueMsgFColor=255
BlueMsgBColor=252
RedMsgFColor=255
RedMsgBColor=56
GuildMsgFColor=219
GuildMsgBColor=255
GroupMsgFColor=196
GroupMsgBColor=255
CustMsgFColor=249
CustMsgBColor=255
;挖矿机率与矿石参数
MakeMineHitRate=2
MakeMineRate=10
StoneTypeRate=141
StoneTypeRateMin=56
GoldStoneMin=1
GoldStoneMax=5
SilverStoneMin=6
SilverStoneMax=14
SteelStoneMin=15
SteelStoneMax=30
BlackStoneMin=31
BlackStoneMax=63
StoneMinDura=7000
StoneGeneralDuraRate=13000
StoneAddDuraRate=20
StoneAddDuraMax=10000
;彩票机率与奖金
WinLottery1Min=16180
WinLottery1Max=16185
WinLottery2Min=16170
WinLottery2Max=16179
WinLottery3Min=16150
WinLottery3Max=16169
WinLottery4Min=16000
WinLottery4Max=16149
WinLottery5Min=5000
WinLottery5Max=15999
WinLottery6Min=1
WinLottery6Max=4999
WinLotteryRate=30000
WinLottery1Gold=1000000
WinLottery2Gold=200000
WinLottery3Gold=100000
WinLottery4Gold=10000
WinLottery5Gold=1000
WinLottery6Gold=500
GuildRecallTime=180
GroupRecallTime=6
;扔物品控制开关
ControlDropItem=1
InSafeDisableDrop=0
CanDropGold=1000
CanDropPrice=500
SendCustemMsg=1
RepairItemDecDura=30
;死亡掉落控制,排查掉落问题重点看这几项
DieScatterBag=1
DieScatterBagRate=10
DieRedScatterBagAll=1
DieDropUseItemRate=30
DieRedDropUseItemRate=20
DieDropGold=0
KillByHumanDropUseItem=1
KillByMonstDropUseItem=1
KickExpireHuman=0
GuildRankNameLen=16
GuildNameLen=16
GuildMemberMaxLimit=200
AttackPosionRate=6
AttackPosionTime=4
RevivalTime=60000
UserMoveCanDupObj=0
UserMoveCanOnItem=1
UserMoveTime=10
PKDieLostExpRate=1000
PKDieLostLevelRate=20000
;名字颜色设置
PKFlagNameColor=47
AllyAndGuildNameColor=180
WarGuildNameColor=69
InFreePKAreaNameColor=221
PKLevel1NameColor=251
PKLevel2NameColor=249
;祈祷生效设置
SpiritMutiny=1
SpiritMutinyTime=3600000
SpiritPowerRate=2
MasterDieMutiny=0
MasterDieMutinyRate=5
MasterDieMutinyPower=5
;七彩宝宝设置
BBMonAutoChangeColor=1
BBMonAutoChangeColorTime=3000
OldClientShowHiLevel=1
;显示脚本动作提示,排查脚本问题时务必开启
ShowScriptActionMsg=1
RunSocketDieLoopLimit=100
ThreadRun=0
DeathColorEffect=5
ParalyCanRun=0
ParalyCanWalk=0
ParalyCanHit=0
ParalyCanSpell=0
;显示异常信息,排查崩溃、卡顿时开启
ShowExceptionMsg=1
;显示前缀信息
ShowPreFixMsg=1
;诱惑之光相关
MagTurnUndeadLevel=50
MagTammingLevel=50
MagTammingTargetLevel=1
MagTammingTargetHPRate=500
MagTammingCount=5
MabMabeHitRandRate=100
MabMabeHitMinLvLimit=10
MabMabeHitSucessRate=21
MabMabeHitMabeTimeRate=20
MagicAttackRage=9
AmyOunsulPoint=10
DisableInSafeZoneFireCross=0
GroupMbAttackPlayObject=1
PosionDecHealthTime=2000
PosionDamagarmor=10
LimitSwordLong=0
SwordLongPowerRate=100
FireBoomRage=2
SnowWindRange=2
ElecBlizzardRange=3
HumanLevelDiffer=10
;PK等级经验设置
KillHumanWinLevel=1
KilledLostLevel=0
KillHumanWinLevelPoint=3
KilledLostLevelPoint=2
KillHumanWinExp=0
KilledLostExp=0
KillHumanWinExpPoint=100000
KillHumanLostExpPoint=100000
;怪物、物品属性倍数
MonsterPowerRate=10
ItemsPowerRate=10
ItemsACPowerRate=10
;在线人数广播
SendOnlineCount=1
SendOnlineCountRate=20
SendOnlineTime=300000
;人物数据保存间隔,600000为600秒
SaveHumanRcdTime=600000
HumanFreeDelayTime=300000
;死尸清理时间
MakeGhostTime=30000
;地面物品清理时间
ClearDropOnFloorItemTime=240000
;爆物可捡时间
FloorItemCanPickUpTime=280000
;保护密码系统
PasswordLockSystem=1
PasswordLockDealAction=1
PasswordLockDropAction=1
PasswordLockGetBackItemAction=1
PasswordLockHumanLogin=1
PasswordLockWalkAction=1
PasswordLockRunAction=1
PasswordLockHitAction=1
PasswordLockSpellAction=1
PasswordLockSendMsgAction=1
PasswordLockUserItemAction=0
PasswordLockInObModeAction=1
PasswordErrorKick=0
PasswordErrorCountLock=3
;客户端版本号
SoftVersionDate=20020522
CanOldClientLogon=1
;控制台显示在线人数间隔
ConsoleShowUserCountTime=600000
;游戏公告显示间隔
ShowLineNoticeTime=300000
LineNoticeColor=2
;速度控制与防加速
ItemSpeedTime=30
MaxHitMsgCount=1
MaxSpellMsgCount=1
MaxRunMsgCount=1
MaxWalkMsgCount=1
MaxTurnMsgCount=1
MaxSitDonwMsgCount=1
MaxDigUpMsgCount=1
SpellSendUpdateMsg=0
ActionSendActionMsg=0
OverSpeedKickCount=1
DropOverSpeed=1
KickOverSpeed=1
SpeedControlMode=0
HitIntervalTime=900
MagicHitIntervalTime=800
RunIntervalTime=600
WalkIntervalTime=600
TurnIntervalTime=600
ControlActionInterval=1
ControlWalkHit=1
ControlRunLongHit=1
ControlRunHit=1
ControlRunMagic
文件路径为Mir200!Setup.txt,修改后必须重启M2Server生效。
[Server]段:服务基础与日志开关
这一段决定服务端身份、数据库连接和日志记录行为。ViewHackMessage和ViewAdmissionFailure是两个最关键的排查开关,开启后控制台会打印外挂检测、非法登录、封禁拒绝等详细日志。
[Server]
;服务器群编号,多开时每个服务端必须不同,默认0
ServerIndex=0
;服务器名称,必须与登录器列表、!AddrTable.txt中的名称完全一致
ServerName=测试传奇
;服务器组编号
ServerNumber=0
;冒险形式服务器,FALSE为否,TRUE为是,付费服祈祷装备生效
VentureServer=FALSE
;测试形式服务器,免费服改TRUE,收费服改FALSE
TestServer=TRUE
;注册角色初始等级,范围0-500
TestLevel=1
;注册角色初始金币,范围0-10000000
TestGold=30000
;测试服最大在线人数
TestServerUserLimit=1000
;服务性模式,收费服必须TRUE,冒险服也必须TRUE
ServiceMode=TRUE
;禁止PK服务器,仅付费服生效
NonPKServer=FALSE
;数据库服务IP,内部通信填内网IP或127.0.0.1,不要填公网IP
DBAddr=127.0.0.1
;数据库服务端口
DBPort=6000
;注册信息服务IP
IDSAddr=127.0.0.1
;注册信息服务端口
IDSPort=5600
;消息服务IP
MsgSrvAddr=127.0.0.1
;消息服务端口
MsgSrvPort=4900
;人物数据处理间隔,数值越小处理越快但占用越高
HumLimit=30
;怪物处理间隔
MonLimit=30
;金币处理间隔
ZenLimit=30
;NPC处理间隔
NpcLimit=5
;社交数据处理间隔
SocLimit=30
;掉落数据处理间隔
DecLimit=10
;人物缓冲区大小
UserFull=100
;金币快速处理步长
ZenFastStep=300
;发送数据块大小
SendBlock=1000
;检查数据块大小
CheckBlock=8000
;可用数据块大小
AvailableBlock=200
;网关负载,0为不限制
GateLoad=0
;物品日志服务端IP,LogDataSrv所在机器地址
LogServerAddr=127.0.0.1
;物品日志服务端端口,必须与LogData.ini一致
LogServerPort=10000
;控制台显示外挂、非法登录等提示信息,排查时务必TRUE
ViewHackMessage=TRUE
;控制台显示登录拒绝、封号等提示信息,排查时务必TRUE
ViewAdmissionFailure=TRUE
;数据库名称,必须与BDE中配置的数据库名一致
DBName=HeroDB
;网关监听地址,内部通信填内网IP
GateAddr=127.0.0.1
;网关监听端口
GatePort=5000
;夜间半价开关
DiscountForNightTime=FALSE
;半价开始小时
HalfFeeStart=2
;半价结束小时
HalfFeeEnd=10
;社交检查超时时间
SocCheckTimeOut=50
;怪物处理周期
ProcessMonstersTime=10
;怪物刷新周期
RegenMonstersTime=200
;人物消息获取时限
HumanGetMsgTimeLimit=200
[Share]段:日志目录与路径配置
这一段决定日志文件写到哪里。LogDir是M2运行日志目录,ConLogDir是登录时间记录目录,两个目录必须真实存在,否则日志无法写入。路径中不要出现中文和空格。
[Share]
;用户付费记录目录
BaseDir=D:\Mirserver\Mir200\Share
;行会文件目录,一个文件代表一个行会
GuildDir=D:\Mirserver\Mir200\GuildBase\Guilds
;行会总记录文件
GuildFile=D:\Mirserver\Mir200\GuildBase\Guildlist.txt
;临时用户信息目录,仅服务模式产生文件
VentureDir=D:\Mirserver\Mir200\ShareV
;登录时间记录目录,记录每次登录时间
ConLogDir=D:\Mirserver\Mir200\ConLog
;沙巴克城资料及攻城信息目录
CastleDir=D:\Mirserver\Mir200\Envir\Castle
;核心配置目录
EnvirDir=D:\Mirserver\Mir200\Envir
;地图文件目录
MapDir=D:\Mirserver\Mir200\Map
;沙巴克列表文件
CastleFile=D:\Mirserver\Mir200\Envir\Castle\List.txt
;公告目录
NoticeDir=.\Notice
;运行日志目录,M2控制台日志、报错日志写在这里
LogDir=.\Log
;插件目录
PlugDir=.
;游戏内货币名称
GameGold=元宝
;游戏点名称
GamePoint=游戏点
;付费点名称
PayMentPointName=秒卡点
[Setup]段:日志相关运行参数
这一段包含客户端校验、回城点、死亡掉落、速度控制、公告间隔等参数。其中ShowExceptionMsg、ShowPreFixMsg、ShowScriptActionMsg、ShowMakeItemMsg直接影响控制台能看到多少运行日志。
`
[Setup]
;客户端校验文件
ClientFile1=Mir.dat
ClientFile2=mir.2
ClientFile3=mir.3
;物品编号上限
ItemNumber=3181256
;应急回城地图号,异常回城落点
HomeMap=0
;应急回城坐标X
HomeX=334
;应急回城坐标Y
HomeY=266
DropLargeBlock=1
ItemNumberEx=1073751010
;宝宝升级杀怪基数
MonUpLvNeedKillBase=100
;宝宝升级杀怪倍数
MonUpLvRate=16
;宝宝升级所需杀怪数0-7级
MonUpLvNeedKillCount0=0
MonUpLvNeedKillCount1=0
MonUpLvNeedKillCount2=50
MonUpLvNeedKillCount3=100
MonUpLvNeedKillCount4=200
MonUpLvNeedKillCount5=300
MonUpLvNeedKillCount6=600
MonUpLvNeedKillCount7=1200
;红名村地图号与坐标
RedHomeMap=3
RedHomeX=845
RedHomeY=674
;红名死亡回城地图号与坐标
RedDieHomeMap=3
RedDieHomeX=839
RedDieHomeY=668
;HP恢复间隔
HealthFillTime=300
;MP恢复间隔
SpellFillTime=800
;自动减PK点间隔,60000为60秒
DecPkPointTime=60000
;每次减少PK点数
DecPkPointCount=1
;PK状态变色时间
PKFlagTime=60000
;杀人增加PK点数
KillHumanAddPKPoint=60
KillHumanDecLuckPoint=500
DecLightItemDrugTime=500
;安全区范围
SafeZoneSize=10
;安全区出生点范围
StartPointSize=2
;转生名字颜色1-10
ReNewNameColor0=241
ReNewNameColor1=250
ReNewNameColor2=248
ReNewNameColor3=191
ReNewNameColor4=242
ReNewNameColor5=150
ReNewNameColor6=254
ReNewNameColor7=253
ReNewNameColor8=186
ReNewNameColor9=243
;转生名字颜色变换间隔,1000代表1秒
ReNewNameColorTime=2000
;转生是否变色
ReNewChangeColor=1
;转生后原有经验是否清除,1清除0不清除
ReNewLevelClearExp=1
;武士转生加点所需点数
BonusAbilofWarrDC=17
BonusAbilofWarrMC=20
BonusAbilofWarrSC=20
BonusAbilofWarrAC=20
BonusAbilofWarrMAC=20
BonusAbilofWarrHP=1
BonusAbilofWarrMP=3
BonusAbilofWarrHit=20
BonusAbilofWarrSpeed=35
BonusAbilofWarrX2=0
;法师转生加点所需点数
BonusAbilofWizardDC=17
BonusAbilofWizardMC=25
BonusAbilofWizardSC=30
BonusAbilofWizardAC=20
BonusAbilofWizardMAC=15
BonusAbilofWizardHP=2
BonusAbilofWizardMP=1
BonusAbilofWizardHit=25
BonusAbilofWizardSpeed=35
BonusAbilofWizardX2=0
;道士转生加点所需点数
BonusAbilofTaosDC=20
BonusAbilofTaosMC=30
BonusAbilofTaosSC=17
BonusAbilofTaosAC=20
BonusAbilofTaosMAC=15
BonusAbilofTaosHP=2
BonusAbilofTaosMP=1
BonusAbilofTaosHit=30
BonusAbilofTaosSpeed=30
BonusAbilofTaosX2=0
;组队人数上限
GroupMembersMax=10
;武器升级取回时间,180000为1800秒
UPgradeWeaponGetBackTime=1800000
;武器升级过期天数
ClearExpireUpgradeWeaponDays=8
;武器升级费用
UpgradeWeaponPrice=10000
;武器升级最高点数
UpgradeWeaponMaxPoint=20
;攻击、魔法、道术升级成功率,数字越低越高
UpgradeWeaponDCRate=60
UpgradeWeaponDCTwoPointRate=25
UpgradeWeaponDCThreePointRate=150
UpgradeWeaponMCRate=60
UpgradeWeaponMCTwoPointRate=25
UpgradeWeaponMCThreePointRate=150
UpgradeWeaponSCRate=60
UpgradeWeaponSCTwoPointRate=25
UpgradeWeaponSCThreePointRate=150
;申请行会费用
BuildGuild=1000000
;炼药费用
MakeDurg=100
;申请行会战费用
GuildWarFee=30000
;雇用护卫、弓箭手费用
HireGuard=300000
HireArcher=300000
;修理城门、城墙费用
RepairDoor=2000000
RepairWall=500000
;沙城成员修理折扣百分比
CastleMemberPriceRate=80
;沙城最高存资金
CastleGoldMax=10000000
;沙城一天最高收入
CastleOneDayGold=2000000
;沙巴克名称
CastleName=沙巴克
;沙巴克回城点
CastleHomeMap=3
CastleHomeX=644
CastleHomeY=290
;攻城区域范围
CastleWarRangeX=100
CastleWarRangeY=100
;商人交税百分比
CastleTaxRate=5
CastleGetAllNpcTax=1
;刷怪随机率
GenMonRate=10
ProcessMonRandRate=5
ProcessMonLimitCount=5
;正式模式人物金币上限
HumanMaxGold=10000000
;试玩模式人物金币上限
HumanTryModeMaxGold=100000
;试玩模式等级限制
TryModeLevel=7
;试玩模式可用仓库
TryModeUseStorage=1
;广播信息是否显示人物名
ShutRedMsgShowGMName=1
;显示制造物品提示,排查爆率问题时开启
ShowMakeItemMsg=1
ShowGuildName=1
;开启称号系统
ShowRankLevelName=1
;怪物说话开关
MonSayMsg=1
;聊天最大长度
SayMsgMaxLen=80
;聊天发送间隔,5000为5秒
SayMsgTime=3000
;聊天发送数量
SayMsgCount=2
;禁言时间
DisableSayMsgTime=60000
;广播最大长度
SayRedMsgMaxLen=255
;允许喊话等级
CanShoutMsgLevel=7
;交易间隔
TryDealTime=3000
;确认交易时间
DealOKTime=1000
;交易时不可取回物品
CanNotGetBackDeal=1
;禁止交易
DisableDeal=0
;出师等级
MasterOKLevel=42
MasterOKCreditPoint=20
MasterOKBonusPoint=0
;PK保护开关与等级
PKProtect=1
PKProtectLevel=30
RedPKProtectLevel=10
ItemPowerRate=10000
ItemExpRate=10000
;脚本跳转次数上限,过低会导致脚本执行中断
ScriptGotoCountLimit=30
;聊天、私聊、喊话、行会、编组、祝福语文字颜色与背景色
HearMsgFColor=0
HearMsgBColor=255
WhisperMsgFColor=252
WhisperMsgBColor=255
GMWhisperMsgFColor=252
GMWhisperMsgBColor=255
CryMsgFColor=0
CryMsgBColor=151
GreenMsgFColor=219
GreenMsgBColor=255
BlueMsgFColor=255
BlueMsgBColor=252
RedMsgFColor=255
RedMsgBColor=56
GuildMsgFColor=219
GuildMsgBColor=255
GroupMsgFColor=196
GroupMsgBColor=255
CustMsgFColor=249
CustMsgBColor=255
;挖矿机率与矿石参数
MakeMineHitRate=2
MakeMineRate=10
StoneTypeRate=141
StoneTypeRateMin=56
GoldStoneMin=1
GoldStoneMax=5
SilverStoneMin=6
SilverStoneMax=14
SteelStoneMin=15
SteelStoneMax=30
BlackStoneMin=31
BlackStoneMax=63
StoneMinDura=7000
StoneGeneralDuraRate=13000
StoneAddDuraRate=20
StoneAddDuraMax=10000
;彩票机率与奖金
WinLottery1Min=16180
WinLottery1Max=16185
WinLottery2Min=16170
WinLottery2Max=16179
WinLottery3Min=16150
WinLottery3Max=16169
WinLottery4Min=16000
WinLottery4Max=16149
WinLottery5Min=5000
WinLottery5Max=15999
WinLottery6Min=1
WinLottery6Max=4999
WinLotteryRate=30000
WinLottery1Gold=1000000
WinLottery2Gold=200000
WinLottery3Gold=100000
WinLottery4Gold=10000
WinLottery5Gold=1000
WinLottery6Gold=500
GuildRecallTime=180
GroupRecallTime=6
;扔物品控制开关
ControlDropItem=1
InSafeDisableDrop=0
CanDropGold=1000
CanDropPrice=500
SendCustemMsg=1
RepairItemDecDura=30
;死亡掉落控制,排查掉落问题重点看这几项
DieScatterBag=1
DieScatterBagRate=10
DieRedScatterBagAll=1
DieDropUseItemRate=30
DieRedDropUseItemRate=20
DieDropGold=0
KillByHumanDropUseItem=1
KillByMonstDropUseItem=1
KickExpireHuman=0
GuildRankNameLen=16
GuildNameLen=16
GuildMemberMaxLimit=200
AttackPosionRate=6
AttackPosionTime=4
RevivalTime=60000
UserMoveCanDupObj=0
UserMoveCanOnItem=1
UserMoveTime=10
PKDieLostExpRate=1000
PKDieLostLevelRate=20000
;名字颜色设置
PKFlagNameColor=47
AllyAndGuildNameColor=180
WarGuildNameColor=69
InFreePKAreaNameColor=221
PKLevel1NameColor=251
PKLevel2NameColor=249
;祈祷生效设置
SpiritMutiny=1
SpiritMutinyTime=3600000
SpiritPowerRate=2
MasterDieMutiny=0
MasterDieMutinyRate=5
MasterDieMutinyPower=5
;七彩宝宝设置
BBMonAutoChangeColor=1
BBMonAutoChangeColorTime=3000
OldClientShowHiLevel=1
;显示脚本动作提示,排查脚本问题时务必开启
ShowScriptActionMsg=1
RunSocketDieLoopLimit=100
ThreadRun=0
DeathColorEffect=5
ParalyCanRun=0
ParalyCanWalk=0
ParalyCanHit=0
ParalyCanSpell=0
;显示异常信息,排查崩溃、卡顿时开启
ShowExceptionMsg=1
;显示前缀信息
ShowPreFixMsg=1
;诱惑之光相关
MagTurnUndeadLevel=50
MagTammingLevel=50
MagTammingTargetLevel=1
MagTammingTargetHPRate=500
MagTammingCount=5
MabMabeHitRandRate=100
MabMabeHitMinLvLimit=10
MabMabeHitSucessRate=21
MabMabeHitMabeTimeRate=20
MagicAttackRage=9
AmyOunsulPoint=10
DisableInSafeZoneFireCross=0
GroupMbAttackPlayObject=1
PosionDecHealthTime=2000
PosionDamagarmor=10
LimitSwordLong=0
SwordLongPowerRate=100
FireBoomRage=2
SnowWindRange=2
ElecBlizzardRange=3
HumanLevelDiffer=10
;PK等级经验设置
KillHumanWinLevel=1
KilledLostLevel=0
KillHumanWinLevelPoint=3
KilledLostLevelPoint=2
KillHumanWinExp=0
KilledLostExp=0
KillHumanWinExpPoint=100000
KillHumanLostExpPoint=100000
;怪物、物品属性倍数
MonsterPowerRate=10
ItemsPowerRate=10
ItemsACPowerRate=10
;在线人数广播
SendOnlineCount=1
SendOnlineCountRate=20
SendOnlineTime=300000
;人物数据保存间隔,600000为600秒
SaveHumanRcdTime=600000
HumanFreeDelayTime=300000
;死尸清理时间
MakeGhostTime=30000
;地面物品清理时间
ClearDropOnFloorItemTime=240000
;爆物可捡时间
FloorItemCanPickUpTime=280000
;保护密码系统
PasswordLockSystem=1
PasswordLockDealAction=1
PasswordLockDropAction=1
PasswordLockGetBackItemAction=1
PasswordLockHumanLogin=1
PasswordLockWalkAction=1
PasswordLockRunAction=1
PasswordLockHitAction=1
PasswordLockSpellAction=1
PasswordLockSendMsgAction=1
PasswordLockUserItemAction=0
PasswordLockInObModeAction=1
PasswordErrorKick=0
PasswordErrorCountLock=3
;客户端版本号
SoftVersionDate=20020522
CanOldClientLogon=1
;控制台显示在线人数间隔
ConsoleShowUserCountTime=600000
;游戏公告显示间隔
ShowLineNoticeTime=300000
LineNoticeColor=2
;速度控制与防加速
ItemSpeedTime=30
MaxHitMsgCount=1
MaxSpellMsgCount=1
MaxRunMsgCount=1
MaxWalkMsgCount=1
MaxTurnMsgCount=1
MaxSitDonwMsgCount=1
MaxDigUpMsgCount=1
SpellSendUpdateMsg=0
ActionSendActionMsg=0
OverSpeedKickCount=1
DropOverSpeed=1
KickOverSpeed=1
SpeedControlMode=0
HitIntervalTime=900
MagicHitIntervalTime=800
RunIntervalTime=600
WalkIntervalTime=600
TurnIntervalTime=600
ControlActionInterval=1
ControlWalkHit=1
ControlRunLongHit=1
ControlRunHit=1
ControlRunMagic

