From 01a0e539b786ae0f1c46646874502367f5410aca Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 04 二月 2026 18:18:51 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(优化游戏服及跨服启动、通讯逻辑;服务器类型增加跨服中心、跨服事件、时间管理;跨服玩家在线状态、基础信息、玩家资源增减管理、发送跨服个人邮件等;跨服公会初版,修复公会成员审核、成员战力刷新等bug,增加公会名次同步;跨服公会暂未测试;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerChatBox.py |    7 +++----
 1 files changed, 3 insertions(+), 4 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 5142697..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
 
@@ -206,7 +205,7 @@
     if ipyData.GetUnlockWay() != 2:
         return
     itemID = ipyData.GetUnlockValue()
-    itemCount = ipyData.GetUnlockNeedCnt()
+    itemCount = ipyData.GetUpNeedCnt()
     if not itemID or not itemCount:
         return
     needItemList = [[itemID, itemCount]]
@@ -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