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/GameWorld.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py index 7cde81b..090cf01 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py @@ -1328,7 +1328,7 @@ ## 获取服务器ID所属主服ID ServerIDMainServerDict = IpyGameDataPY.GetConfigEx("ServerIDMainServerDict") if ServerIDMainServerDict == None: - filePath = ChConfig.GetDBPath() + ("\\MixServerMap_%s.json" % GetPlatform()) + filePath = ChConfig.GetServerConfigPath() + ("\\MixServerMap_%s.json" % GetPlatform()) if not os.path.isfile(filePath): SendGameErrorEx("GetMainServerIDError", "file can not found. %s" % filePath) else: -- Gitblit v1.8.0