From 3f123a69bbdac800953ed553f30aa1815ec377d1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 13 十二月 2025 14:44:59 +0800
Subject: [PATCH] 389 流向记录(战斗耗时流向;战斗失败明细流向;战斗服务器可记录战斗相关流向;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChatBox.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChatBox.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChatBox.py
index 92745ec..d77e599 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChatBox.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChatBox.py
@@ -24,7 +24,6 @@
 import NetPackCommon
 import ItemCommon
 import ChConfig
-import ObjPool
 
 import time
 
@@ -249,7 +248,7 @@
         state = GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_PDict_ChatBoxState, boxID)
         if not state and boxIDList == None:
             continue
-        box = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCChatBox)
+        box = ChPyNetSendPack.tagSCChatBox()
         box.BoxID = boxID
         box.State = state
         box.EndTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ChatBoxEndTime % boxID)
@@ -259,7 +258,7 @@
     if not boxList:
         return
     
-    clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCChatBoxInfo)
+    clientPack = ChPyNetSendPack.tagSCChatBoxInfo()
     clientPack.BoxList = boxList
     clientPack.Count = len(clientPack.BoxList)
     NetPackCommon.SendFakePack(curPlayer, clientPack)

--
Gitblit v1.8.0