From 01a0e539b786ae0f1c46646874502367f5410aca Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 04 二月 2026 18:18:51 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(优化游戏服及跨服启动、通讯逻辑;服务器类型增加跨服中心、跨服事件、时间管理;跨服玩家在线状态、基础信息、玩家资源增减管理、发送跨服个人邮件等;跨服公会初版,修复公会成员审核、成员战力刷新等bug,增加公会名次同步;跨服公会暂未测试;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
index 85b0bd2..d2a64f0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
@@ -19,22 +19,17 @@
 import PlayerControl
 import NetPackCommon
 import IpyGameDataPY
-import PlayerActivity
 import ChPyNetSendPack
 import CrossRealmPlayer
 import PlayerTongTianLing
-import FunctionNPCCommon
-import PlayerActGarbageSorting
 import DataRecordPack
 import PlayerWeekParty
 import IPY_GameWorld
 import ItemControler
-import PlayerSuccess
 import ItemCommon
 import GameWorld
 import ChConfig
 import GameObj
-import PlayerGubao
 
 def DoPlayerOnDay(curPlayer):
     if GameWorld.IsCrossServer():
@@ -87,12 +82,11 @@
 
 def IsCrossRealmPKMatchState():
     ## 跨服PK匹配赛是否开启
-    return GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_CrossDailyActionState \
-                                                          % ShareDefine.DailyActionID_CrossReamPK) == ChConfig.Def_Action_Open
+    return False
 
 def GetCrossPKDanAwardIpyData(seasonID, awardDanLV, isLog):
     ## 获取跨服段位奖励配置信息
-    crossZoneName = GameWorld.GetCrossZoneName()
+    crossZoneName = "" #GameWorld.GetCrossZoneName()
     danLVAwardIpyData = IpyGameDataPY.GetIpyGameDataNotLog("CrossRealmPKDanAward", crossZoneName, seasonID, awardDanLV)
     if not danLVAwardIpyData:
         danLVAwardIpyData = IpyGameDataPY.GetIpyGameDataNotLog("CrossRealmPKDanAward", "", seasonID, awardDanLV)
@@ -190,7 +184,7 @@
     SyncCrossRealmPKAwardState(curPlayer)
     
     # 重置商店物品
-    FunctionNPCCommon.ShopItemOnCrossPKSeasonChange(curPlayer)
+    #FunctionNPCCommon.ShopItemOnCrossPKSeasonChange(curPlayer)
     return True
 
 #// C1 01 跨服PK匹配 #tagCMCrossRealmPKMatch
@@ -359,12 +353,7 @@
             todayWinCount = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_TodayWinCount) + 1
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_TodayWinCount, todayWinCount)
             GameWorld.Log("    增加今日已获胜次数: todayWinCount=%s" % todayWinCount, playerID)
-        PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_CrossReamPK)
         PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_CrossPK, 1)
-        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_CrossPK, 1)
-        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_CrossPK, 1)
-        PlayerGubao.AddGubaoItemEffValue(curPlayer, PlayerGubao.GubaoEffType_CrossRealmPK, 1)
-        PlayerActGarbageSorting.AddActGarbageTaskProgress(curPlayer, ChConfig.Def_GarbageTask_CrossPK)
         PlayerTongTianLing.AddTongTianTaskValue(curPlayer, ChConfig.TTLTaskType_CrossPK, 1)
     else:
         GameWorld.Log("    不同天的PK结算不增加今日PK次数! ", playerID)
@@ -692,7 +681,7 @@
                                                       "order":order, "danLV":danLV, "mapSeasonID":mapSeasonID}
     if order > 0:
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_SeasonOrder % seasonID, order)
-        crossZoneName = GameWorld.GetCrossZoneName()
+        crossZoneName = "" #GameWorld.GetCrossZoneName()
         seasonOrderAwardIpyData = IpyGameDataPY.GetIpyGameDataNotLog("CrossRealmPKOrderAward", crossZoneName, seasonID)
         if not seasonOrderAwardIpyData:
             seasonOrderAwardIpyData = IpyGameDataPY.GetIpyGameData("CrossRealmPKOrderAward", "", seasonID)

--
Gitblit v1.8.0