From f2aeecf0a02b97418b762bd6ee518c33d3ae2685 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 12 九月 2025 10:22:35 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(新增演武场;支持机器人;支持PVP战斗;每场战斗结束后支持查看战斗回放;榜单优化存储玩家形象Value5;主线关卡榜支持;支持查看玩家;) --- 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