From d25f856346bbcecf0e44e26d3e0d641ded2bc81e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 23 九月 2022 14:35:08 +0800
Subject: [PATCH] 9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(支持投注;GM命令支持不指定玩家ID时可全组重新随机匹配; 跨服服务器时间调整通知前端)
---
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