From 167357e8425d0dc12f41ed5fdfd4d95f2c2a5aaf Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 29 五月 2025 19:19:20 +0800 Subject: [PATCH] 16 卡牌服务端(删除旧版xml任务、镖车等不需要内容) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py index 6831fdc..706d19e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py @@ -17,8 +17,6 @@ import GameWorld import ShareDefine -import QuestManager -import EventShell import ChConfig import sys @@ -60,7 +58,6 @@ GameWorld.Log("开始脚本重读 curVersion=%s,updVersion=%s" % (curVersion, updVersion)) moduleNameDict = {} - isReloadMission = False for moduleKey, module in sys.modules.items(): if "py" not in str(module): @@ -97,18 +94,10 @@ if curModuleName in moduleNameDict: for moduleKey in moduleNameDict[curModuleName]: __DoModuleReload(moduleKey) - - if curModuleName in ["QuestCommon", "QuestManager", "QuestRunner"]: - isReloadMission = True # 判断脚本文件是否有修改,如有修改则进行重读任务 - - # 重读任务可能有一定风险,需详细测试 - if isReloadMission: - QuestManager.ReloadQuests(tick) - EventShell.DoReloadRefresh() - GameWorld.Log(" 脚本重读 OK! isReloadMission=%s" % isReloadMission) + GameWorld.Log(" 脚本重读 !") return def __DoModuleReload(moduleKey): -- Gitblit v1.8.0