From c2acfe7cf4641bc560a8454a985af16cf349f3ad Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 25 六月 2021 17:42:38 +0800
Subject: [PATCH] 5090 【主干】【BT2】【BT3】【bt2_1.100.1】【gt_1.100.7】循环活动优化-日期活动结束后周循环开启异常(修复活动日期时间头尾衔接导致的活动开启异常问题)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py |   37 ++++++++++++++++++++++++++++++++-----
 1 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
index 450a64d..e684816 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -34,6 +34,7 @@
 import ChConfig
 import GMCommon
 import DirtyList
+import CrossBillboard
 import PlayerBillboard
 import PlayerExam
 import PlayerControl
@@ -73,6 +74,8 @@
 import NetPackCommon
 import AuctionHouse
 import PlayerFairyDomain
+import GameWorldSkyTower
+import GameWorldArena
 import GameWorldItem
 import PlayerAssist
 
@@ -506,6 +509,11 @@
         PlayerCompensation.SendPersonalItemMailBatch(eval(resultName))
         return
     
+    if callName == "SendEntireMail":
+        mailTypeKey, getDays, limitLV, limitLVType, addItemList, paramList, gold, goldPaper, silver, detail, moneySource = eval(resultName)
+        PlayerCompensation.SendEntireMail(mailTypeKey, getDays, limitLV, limitLVType, addItemList, paramList, gold, goldPaper, silver, detail, moneySource)
+        return
+    
     if callName == "SendMsgToCrossServer":
         msgType, dataMsg = eval(resultName)
         CrossRealmMsg.SendMsgToCrossServer(msgType, dataMsg)
@@ -541,6 +549,10 @@
 
     if callName == "UpdateBillboard":     #地图服务器更新排行榜
         PlayerBillboard.MapServer_UpdateBillboard(eval(resultName), tick)
+        return
+
+    if callName == "UpdateCrossBillboard":     #地图服务器更新跨服排行榜
+        CrossBillboard.MapServer_UpdateCrossBillboard(eval(resultName))
         return
     
     if callName == 'PyAddFamilyInfoValue':     #地图服务器增加战盟信息值
@@ -794,11 +806,11 @@
         PlayerTeam.MapServer_TeamMemFuncData(srcPlayerID, eval(resultName))
         return
     
-    #封魔坛结束
-    if callName == "SealDemonOver":
-        playerID, lineID, rank = eval(resultName)
-        PyDataManager.GetSealDemonRecordManager().UpdateSealDemonRecord(playerID,lineID,rank)
-        return
+#    #封魔坛结束
+#    if callName == "SealDemonOver":
+#        playerID, lineID, rank = eval(resultName)
+#        PyDataManager.GetSealDemonRecordManager().UpdateSealDemonRecord(playerID,lineID,rank)
+#        return
     
     #查询副本功能线路人数
     if callName == "FBLinePlayerCnt":
@@ -927,6 +939,21 @@
         if ret == None:
             return
         resultName = '%s' % ret
+    
+    # 竞技场
+    if callName =="Arena":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = GameWorldArena.MapServer_Arena(curPlayer, eval(resultName))
+        resultName = '%s' % ret if ret != None else '' # 需要重置间隔,每次都回复
+        
+    # 天星塔
+    if callName == "SkyTower":
+        ret = GameWorldSkyTower.MapServer_SkyTowerInfo(eval(resultName))
+        if ret == None:
+            return
+        resultName = '%s' % ret
         
 #    # 战盟仓库
 #    if callName == "FamilyStore":

--
Gitblit v1.8.0