From 5bfcd3104f7c2fa25995bc0184e6c33c818e3cf8 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 19 五月 2025 17:29:58 +0800 Subject: [PATCH] 16 卡牌服务端(ServersConfig先提到配置json文件) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index 09f93a8..333ae0e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -6918,9 +6918,9 @@ def __LoadFileData(self, tableName, onlyCheck=False): # @param onlyCheck: 是否仅检查格式,一般启动时用 - curPath = ChConfig.GetDBPath() + "\\PySysDB\\" + tableName + ".txt" + curPath = ChConfig.GetServerConfigPath() + "\\PySysDB\\" + tableName + ".txt" if not os.path.isfile(curPath): - curPath = ChConfig.GetDBPath() + "\\PySysDB\\tag" + tableName + ".txt" + curPath = ChConfig.GetServerConfigPath() + "\\PySysDB\\tag" + tableName + ".txt" if not os.path.isfile(curPath): ErrLog("can not find file = %s,%s" % (tableName, curPath)) raise Exception("can not find file = %s,%s" % (tableName, curPath)) -- Gitblit v1.8.0