From bc433db8262081f0400bcb9c2c3476000662daf3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 10 七月 2024 14:24:53 +0800 Subject: [PATCH] 10205 【越南】【主干】【港台】【砍树】自选礼包(支持一次性放入超65535个数叠加物品;邮件同步支持一次性领取超65535个数叠加物品) --- ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py b/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py index 8d0621f..8311de4 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/ReadChConfig.py @@ -215,7 +215,7 @@ # @param option: 配置项名 # @return # @remarks \db\PyMongoDataServer\PyMongoDataServer.ini配置读取 -def GetPyMongoConfig(section, option): +def GetPyMongoConfig(section, option, raw=False): global PyMongoDataServerConfig if not PyMongoDataServerConfig: @@ -233,7 +233,7 @@ GameWorld.ErrLog("PyMongoDataServer.ini找不到配置: section=%s,option=%s" % (section, option)) return "" - strParam = PyMongoDataServerConfig.get(section, option) + strParam = PyMongoDataServerConfig.get(section, option, raw) return strParam def GetDBConfig(key): return __DoLogic_GetDBConfig(key) @@ -295,6 +295,8 @@ ClearAllConfig() GameWorld.SendMapServerMsgEx(ShareDefine.Def_Notify_WorldKey_ReloadConfig, 1) IpyGameDataPY.IPYData.IpyDataClear() + import GameWorldProcess + GameWorldProcess.OnReloadConfig() return -- Gitblit v1.8.0