From bd9dce2d66b5086712596b8dac6d9116be65bafd Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 十二月 2025 16:53:47 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(去除常规功能封包对象池使用;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |   19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 5646fef..5850b84 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -53,7 +53,6 @@
 import PlayerCrossChampionship
 import GameFuncComm
 import PlayerFamilyTaofa
-import PlayerBossReborn
 import PlayerWeekParty
 import PlayerFeastWeekParty
 import PlayerFeastLogin
@@ -80,7 +79,6 @@
 import PlayerActManyDayRecharge
 import PlayerActSingleRecharge
 import PlayerSpringSale
-import GY_Query_BossFirstKill
 import PlayerCrossYaomoBoss
 import PlayerLuckyCloudBuy
 import PlayerLuckyTreasure
@@ -89,6 +87,7 @@
 import PlayerFuncSysPrivilege
 import PlayerActTurntable
 import PlayerTongTianLing
+import OpenServerActivity
 import CrossRealmPlayer
 import ChNetSendPack
 import PlayerArena
@@ -134,7 +133,6 @@
 import PlayerTravel
 import TurnAttack
 import PlayerHJG
-import ObjPool
 
 import datetime
 import time
@@ -617,8 +615,6 @@
     #PassiveBuffEffMng.OnLoginGFPassive(curPlayer)
     # 极品白拿
     PlayerFreeGoods.OnLogin(curPlayer)
-    # BOSS复活活动
-    PlayerBossReborn.OnLogin(curPlayer)
     # 周狂欢活动
     PlayerWeekParty.OnLogin(curPlayer)
     # 购买次数礼包活动
@@ -664,8 +660,6 @@
     PlayerFB.OnLogin(curPlayer)
     #技能专精信息
     #SkillShell.NotifyElementSkillInfo(curPlayer)
-    #Boss首杀
-    GY_Query_BossFirstKill.OnPlayerLogin(curPlayer)
     #通天令
     PlayerTongTianLing.OnPlayerLogin(curPlayer)
     #创角奖励
@@ -735,6 +729,7 @@
         PlayerLLMJ.OnPlayerLogin(curPlayer)
         PlayerBeauty.OnPlayerLogin(curPlayer)
         PlayerTravel.OnPlayerLogin(curPlayer)
+        OpenServerActivity.OnPlayerLogin(curPlayer)
         
         # 上线查询一次充值订单
         # curPlayer.SendDBQueryRecharge() 不查了,由在线轮询触发即可
@@ -3194,6 +3189,9 @@
     # 领取分包下载奖励
     elif rewardType == ChConfig.Def_RewardType_DownLoad:
         GetDownloadAward(curPlayer, dataEx)
+    # 开服庆典积分阶段奖励 
+    elif rewardType == ChConfig.Def_RewardType_OSACelebrationPointAward:
+        OpenServerActivity.GetOSACelebrationPointAward(curPlayer, dataEx)
         
         
     # 每日免费直购礼包
@@ -3220,9 +3218,6 @@
     # 领取单笔累充领取
     elif rewardType == ChConfig.Def_RewardType_SingleRecharge:
         PlayerActSingleRecharge.OnGetSingleRechargeAward(curPlayer, dataEx, dataExStr)
-    # 领取boss复活活动奖励
-    elif rewardType == ChConfig.Def_RewardType_BossReborn:
-        PlayerBossReborn.GetBossRebornActionAward(curPlayer, dataEx)
     # 领取许愿池奖励
     elif rewardType == ChConfig.Def_RewardType_WishingWell:
         PlayerWishingWell.DoGetWishingAward(curPlayer)
@@ -3386,7 +3381,7 @@
         adCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ADCnt % adID)
         if not adCnt and syncADIDList == None:
             continue
-        adInfo = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCADInfo)
+        adInfo = ChPyNetSendPack.tagSCADInfo()
         adInfo.ADID = adID
         adInfo.ADCnt = adCnt
         adInfoList.append(adInfo)
@@ -3394,7 +3389,7 @@
     if not adInfoList:
         return
     
-    clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCADInfoList)
+    clientPack = ChPyNetSendPack.tagSCADInfoList()
     clientPack.ADInfoList = adInfoList[:255]
     clientPack.Count = len(clientPack.ADInfoList)
     NetPackCommon.SendFakePack(curPlayer, clientPack)

--
Gitblit v1.8.0