From 2cf5365a5e409b38bba122f9bd1b0a6bd217c1c0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 七月 2025 17:57:30 +0800
Subject: [PATCH] 16 卡牌服务端(删除无用的GY_Query_Offline_xxx命令)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
index cab9108..43a085b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
@@ -41,7 +41,6 @@
import PlayerControl
import FamilyRobBoss
import NPCCustomRefresh
-import EventShell
import FBLogic
import FBCommon
import EventReport
@@ -161,7 +160,7 @@
GameWorld.Log("发送未拾取的物品给玩家: %s" % mailItemList, ownerID)
if isCrossServer:
serverGroupID = playerServerGroupIDDict.get(ownerID, 0)
- PlayerControl.SendCrossMail(serverGroupID, "ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
+ # 删除旧版发送邮件,如果功能还有需要,可使用新版本发送邮件 PlayerMail
else:
PlayerControl.SendMailByKey("ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
@@ -272,10 +271,7 @@
if playerExistTime < existTime / 2:
#这个玩家存在时间过短, 不能触发副本结束的事件
continue
-
- #副本时间到了, 调用时间到响应
- EventShell.EventResponse_OnFBTimeOut(curPlayer)
-
+
#输出调试信息
GameWorld.Log('__ProcessTimeKickPlayer! LineID = %s, openState = %s'%(gameWorld.GetLineID(), gameWorld.GetOpenState()))
@@ -588,7 +584,6 @@
def InitGameWorld(tick):
gameWorld = GameWorld.GetGameWorld()
ItemCommon.InitPyItem()
- EventShell.DoReloadRefresh()
#处理副本逻辑
FBLogic.OnInit(tick)
#初始化地图时钟
--
Gitblit v1.8.0