From d5ddd452e17e338e2a72caf7e3d54ad6ac4b3123 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 27 十一月 2024 11:38:02 +0800
Subject: [PATCH] 10318 【英文】【越南】【BT】【砍树】统一增加奖励获得封包(增加每日礼包事件DailyGiftbag;屏蔽多余的CTG事件下发;)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py |  125 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 121 insertions(+), 4 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
index f402a26..a48d8cc 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -44,6 +44,7 @@
 import GameWorldOpenServerCampaign
 import ShareDefine
 import GameDataRecord
+import PlayerPackData
 import PlayerCompensation
 import PlayerFB
 import UpdatePlayerName
@@ -51,7 +52,9 @@
 import GameWorldBoss
 import GameWorldFamilyWar
 #import PlayerFamilyTech
+import PlayerFamilyZhenfa
 import PlayerFamilyRedPacket
+import PlayerFamilyZhenbaoge
 import PlayerFBHelpBattle
 import PlayerHorsePetBoss
 #import PlayerFamilyStore
@@ -73,14 +76,23 @@
 import CrossRealmPK
 import CrossChampionship
 import CrossBattlefield
+import CrossFamilyFlagwar
 import CrossActAllRecharge
+import PlayerActGubao
+import PlayerActHorsePetTrain
+import PlayerActXianXiaMJ
+import PlayerActBossTrial
+import PlayerActFamilyCTGAssist
 import ChPyNetSendPack
 import NetPackCommon
 import AuctionHouse
 import PlayerFairyDomain
 import GameWorldSkyTower
+import GameWorldMineArea
+import PlayerTurnFight
 import GameWorldArena
 import GameWorldItem
+import PlayerRecData
 import PlayerAssist
 import PlayerLove
 
@@ -629,6 +641,11 @@
         GameDataRecord.ChangeCoinCnt(eval(resultName))
         return
     
+    #请求玩家的打包数据
+    if callName == "ReuestPlayerPackData":
+        PlayerPackData.OnMGReuestPlayerPackData(eval(resultName))
+        return
+        
     #跨服排位PK战斗结算
     if callName == "CrossChampionshipPKOver":
         CrossChampionship.MapServer_CrossChampionshipPKOver(eval(resultName), tick)
@@ -670,6 +687,11 @@
         CrossBattlefield.MapServer_CrossBattlefieldOver(eval(resultName))
         return
     
+    # 跨服仙盟夺旗战/逐鹿万界 结算
+    if callName =="CrossFamilyFlagwarOver":
+        CrossFamilyFlagwar.MapServer_CrossFamilyFlagwarOver(eval(resultName))
+        return
+    
     # 跨服妖魔boss伤害结算
     if callName =="CrossYaomoBossHurtInfo":
         CrossYaomoBoss.MapServer_CrossYaomoBossHurtInfo(eval(resultName))
@@ -681,6 +703,38 @@
         if not curPlayer:
             return
         CrossActAllRecharge.MapServer_CrossActAllRecharge(curPlayer, eval(resultName))
+        return
+    
+    # Boss历练
+    if callName == "BossTrial":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        PlayerActBossTrial.MapServer_BossTrial(curPlayer, eval(resultName))
+        return
+    
+    # 仙匣秘境
+    if callName == "XianXiaMJ":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        PlayerActXianXiaMJ.MapServer_XianXiaMJ(curPlayer, eval(resultName))
+        return
+    
+    # 古宝养成
+    if callName == "ActGubao":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        PlayerActGubao.MapServer_Gubao(curPlayer, eval(resultName))
+        return
+    
+    # 骑宠养成
+    if callName == "ActHorsePetTrain":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        PlayerActHorsePetTrain.MapServer_HorsePetTrain(curPlayer, eval(resultName))
         return
     
     #py喇叭聊天
@@ -702,6 +756,13 @@
     # 战盟联赛
     if callName =="FamilyWarOver":
         GameWorldFamilyWar.MapServer_FamilyWarOver(eval(resultName))
+        return
+    
+    # 增加玩家Rec数据
+    if callName == "AddPlayerRec":
+        curPlayer = None if not srcPlayerID else GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        recType, valueList, userData, notifyType = eval(resultName)
+        PlayerRecData.MapServer_AddPlayerRec(curPlayer, recType, valueList, userData, notifyType)
         return
     
     # 删除通用玩家Rec数据
@@ -903,6 +964,22 @@
     if callName =="AllFamilyBossOver":
         PlayerFamilyBoss.AllFamilyBossKilled()
         return
+    #仙盟阵法
+    if callName =="FamilyZhenfa":
+        curPlayer = None
+        if srcPlayerID:
+            curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+            if not curPlayer:
+                return
+        PlayerFamilyZhenfa.MapServer_FamilyZhenfa(curPlayer, eval(resultName))
+        return
+    #仙盟传功
+    if callName =="FamilyChuangong":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        PlayerFamily.MapServer_FamilyChuangong(curPlayer, eval(resultName))
+        return
     #骑宠BOSS结束
     if callName =="HorsePetBossOver":
         PlayerHorsePetBoss.HorsePetBossKilled(int(resultName))
@@ -968,7 +1045,7 @@
     
     
     # 副本助战
-    if callName =="FBHelpBattle":
+    if callName == "FBHelpBattle":
         curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
         if not curPlayer:
             return
@@ -978,22 +1055,42 @@
         resultName = '%s' % ret
     
     # 竞技场
-    if callName =="Arena":
+    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 == "FamilyCTGAssist":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = PlayerActFamilyCTGAssist.MapServer_FamilyCTGAssist(curPlayer, eval(resultName))
+        if ret == None:
+            return
+        resultName = '%s' % ret
+        
+    # 仙盟珍宝阁
+    if callName =="FamilyZhenbaoge":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = PlayerFamilyZhenbaoge.MapServer_ZhenbaogeOP(curPlayer, eval(resultName))
+        if ret == None:
+            return
+        resultName = '%s' % ret
+        
     # 仙盟boss
-    if callName =="FamilyBoss":
+    if callName == "FamilyBoss":
         ret = PlayerFamilyBoss.MapServer_FamilyBoss(eval(resultName), tick)
         if ret == None:
             return
         resultName = '%s' % ret
         
     # 情缘
-    if callName =="Love":
+    if callName == "Love":
         curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
         if not curPlayer:
             return
@@ -1002,6 +1099,26 @@
             return
         resultName = '%s' % ret
         
+    # 回合制
+    if callName == "TurnFight":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = PlayerTurnFight.MapServer_TurnFight(curPlayer, eval(resultName))
+        if ret == None:
+            return
+        resultName = '%s' % ret
+        
+    # 福地
+    if callName == "MineArea":
+        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        if not curPlayer:
+            return
+        ret = GameWorldMineArea.MapServer_MineArea(curPlayer, eval(resultName))
+        if ret == None:
+            return
+        resultName = '%s' % ret
+        
     # 天星塔
     if callName == "SkyTower":
         curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)

--
Gitblit v1.8.0