From 22f9a92aa213b3a2b691e6718d8a580895e68011 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 05 十一月 2025 11:25:40 +0800
Subject: [PATCH] 16 卡牌服务端(删除无效的旧开服天通知)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
index 5db30f2..4584fca 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerArena.py
@@ -27,6 +27,7 @@
 import PyGameData
 import GameWorld
 import ChConfig
+import ObjPool
 import random
 
 # 记录攻击类型
@@ -94,6 +95,7 @@
     else:
         return
     
+    billBoard.SortDelayDo()
     orderList = [int(orderStr) for orderStr in billboradAwardDict.keys()]
     orderList.sort()
     GameWorld.Log("    奖励名次列表: %s" % orderList)
@@ -322,19 +324,22 @@
 
 def __SyncMatchList(curPlayer, matchIDList):
     ## 同步匹配列表
-    clientPack = ChPyNetSendPack.tagSCArenaMatchList()
+    objPool = ObjPool.GetPoolMgr()
+    clientPack = objPool.acquire(ChPyNetSendPack.tagSCArenaMatchList)
     clientPack.MatchList = []
     for matchID in matchIDList:
         viewCache = PlayerViewCache.FindViewCache(matchID)
-        matchInfo = ChPyNetSendPack.tagSCArenaMatchInfo()
+        matchInfo = objPool.acquire(ChPyNetSendPack.tagSCArenaMatchInfo)
         matchInfo.PlayerID = matchID
         if viewCache:
             matchInfo.PlayerName = viewCache.GetPlayerName()
             matchInfo.RealmLV = viewCache.GetRealmLV()
+            matchInfo.LV = viewCache.GetLV()
             matchInfo.Face = viewCache.GetFace()
             matchInfo.FacePic = viewCache.GetFacePic()
             matchInfo.FightPower = viewCache.GetFightPower()
             matchInfo.FightPowerEx = viewCache.GetFightPowerEx()
+            matchInfo.TitleID = viewCache.GetTitleID()
         else:
             matchInfo.PlayerName = "p%s" % matchID
         clientPack.MatchList.append(matchInfo)
@@ -343,7 +348,7 @@
     return
 
 def Sync_ArenaInfo(curPlayer):
-    clientPack = ChPyNetSendPack.tagSCArenaPlayerInfo()
+    clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCArenaPlayerInfo)
     clientPack.Score = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ArenaScore)
     NetPackCommon.SendFakePack(curPlayer, clientPack)
     return

--
Gitblit v1.8.0