From f2cf64ffabcd15d5497aee8914b8d37d8b9a88b0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 07 二月 2026 15:39:43 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(公会GM命令支持跨服 CreateFamily、Family、Zhenbaoge;跨服公会聊天支持,包含公会聊天缓存;查看玩家A705回包增加公会所在服务器ID信息;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py | 27 ++++-----------------------
1 files changed, 4 insertions(+), 23 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 6e04a63..ab7d2db 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
@@ -39,8 +39,6 @@
import GameWorld
import ChConfig
import PlayerControl
-import FamilyRobBoss
-import NPCCustomRefresh
import FBLogic
import FBCommon
import EventReport
@@ -108,10 +106,8 @@
return
if fbType == IPY_GameWorld.fbtSingle:
- ownerID = gameFBMgr.GetGameFBDictByKey(ChConfig.Def_FB_SingleFBPlayerID)
- if ownerID in PyGameData.g_fbHelpBattlePlayerDict:
- PyGameData.g_fbHelpBattlePlayerDict.pop(ownerID)
- GameWorld.DebugLog("清除单人副本镜像助战信息: ownerID=%s" % ownerID)
+ pass
+
elif fbType == IPY_GameWorld.fbtTeam:
teamID = gameWorld.GetPropertyID()
if teamID in PyGameData.g_teamFBMemRelationDict:
@@ -154,16 +150,10 @@
#发送未拾取的物品给玩家
if mapID in ChConfig.Def_SendUnPickItemMailMapIDList and unPickItemDict:
- isCrossServer = GameWorld.IsCrossServer()
- playerServerGroupIDDict = PyGameData.g_crossPlayerServerGroupIDInfo.get(copyMapID, {})
for ownerID, mailItemList in unPickItemDict.items():
GameWorld.Log("发送未拾取的物品给玩家: %s" % mailItemList, ownerID)
- if isCrossServer:
- serverGroupID = playerServerGroupIDDict.get(ownerID, 0)
- # 删除旧版发送邮件,如果功能还有需要,可使用新版本发送邮件 PlayerMail
- else:
- PlayerControl.SendMailByKey("ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
-
+ PlayerControl.SendMailByKey("ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
+
playerManager = gameWorld.GetMapCopyPlayerManager()
GameServer_DynamicLineMapStateChange(gameWorld, IPY_GameWorld.fbosClosed)
@@ -180,7 +170,6 @@
FreeOrClearFBByAutoSize(gameWorld)
gameWorld.SetPropertyID(0)
- PyGameData.g_crossPlayerServerGroupIDInfo.pop(copyMapID, None)
return
def GameServer_DynamicLineMapStateChange(gameWorld, state):
@@ -544,14 +533,7 @@
#通知RouteServer 消息
__ProcessRouteServer(gameWorld, tick)
- #定时检测关闭超时文件
- EventReport.OnTimeCloseScribeTxt()
-
- #仙盟归属boss定时处理
- FamilyRobBoss.OnFamilyOwnerBossProcess(tick)
-
#地图自定义随机刷怪
- NPCCustomRefresh.ProcessMapRandomRefreshNPC(gameWorld, tick)
NPCRealmRefresh.ProcessRealmNPCRefresh(gameWorld, tick)
return
@@ -583,7 +565,6 @@
# @remarks 函数详细说明 每条分线都会触发该函数
def InitGameWorld(tick):
gameWorld = GameWorld.GetGameWorld()
- ItemCommon.InitPyItem()
#处理副本逻辑
FBLogic.OnInit(tick)
#初始化地图时钟
--
Gitblit v1.8.0