From 5fbb5f807ca75fa69fba14ad2563892f08b4588d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 18:28:22 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(修复改名没有同步更新名字映射关系bug;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
index e3a59b7..c243a52 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -77,8 +77,6 @@
import ItemControler
import ItemCommon
import ShareDefine
-import PlayerCoat
-import PlayerRune
import IpyGameDataPY
import NPCCommon
@@ -97,6 +95,8 @@
#@return 返回值无意义
#@remarks C++触发封包重读所有事件
def ReloadEvent(tick):
+ GameWorld.__ReloadScript() # 只调用一次,与后台重读脚本一致
+
scriptPath = ChConfig.GetAppPath() + "Script\\Event\\EventSrc"
GameWorld.ReloadScript(scriptPath, "EventSrc")
@@ -367,15 +367,6 @@
pack_DesBackPack = sendPack.GetDesBackPack()
pack_SrcIndex = sendPack.GetSrcIndex()
pack_DestIndex = sendPack.GetDestIndex()
-
- # 符印交换
- if PlayerRune.SwitchRune(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
- return
-
- #时装
- if PlayerCoat.SwitchCoat(curPlayer, pack_SrcBackpack, pack_DesBackPack, pack_SrcIndex, pack_DestIndex):
- return
-
#FunctionNPCCommon.PackItemExchange(curPlayer, pack_SrcBackpack, pack_DesBackPack,
# pack_SrcIndex, pack_DestIndex, tick)
return
--
Gitblit v1.8.0