From a1c3000d2003f7be01f5dbc8898afa62bb7b785c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 十二月 2025 21:20:48 +0800
Subject: [PATCH] 320 【付费内容】商城-服务端(每日特惠打包购买奖励物品格式兼容防范报错;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
index a9c21b0..b35c897 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
@@ -25,7 +25,6 @@
import ItemControler
import PlayerOnline
import ChConfig
-import ObjPool
GubaoEffType_GoldRush = 1 # 参与淘金
GubaoEffType_Arena = 2 # 参与演武场
@@ -433,7 +432,7 @@
# 没有指定时只同步激活的
continue
lv, star, layer = GetGubaoInfo(curPlayer, gubaoID)
- gubao = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagMCGubao)
+ gubao = ChPyNetSendPack.tagMCGubao()
gubao.GubaoID = gubaoID
gubao.GubaoLV = lv
gubao.GubaoStar = star
@@ -443,7 +442,7 @@
if not gubaoInfoList:
return
- clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagMCGubaoInfo)
+ clientPack = ChPyNetSendPack.tagMCGubaoInfo()
clientPack.GubaoInfoList = gubaoInfoList
clientPack.Count = len(clientPack.GubaoInfoList)
NetPackCommon.SendFakePack(curPlayer, clientPack)
--
Gitblit v1.8.0