From 6936a457d66d24f604d352e9b83f9ada524a3293 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 09 十月 2020 19:16:41 +0800
Subject: [PATCH] 4753 【主干】【BT】【长尾】boss之家广播层数错误

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyAction.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyAction.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyAction.py
index 2ac4979..0cf2590 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyAction.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyAction.py
@@ -34,7 +34,7 @@
 import PlayerControl
 import IPY_GameServer
 import DataRecordPack
-import json
+import cPickle
 #---------------------------------------------------------------------
 
 ## 设置玩家家族行为
@@ -45,7 +45,7 @@
 #  @return None
 def MapServer_PlayerFamilyActionNote(curPlayer, actionType, actionData, tick):
     
-    actionDataList = json.loads(actionData)
+    actionDataList = cPickle.loads(actionData)
     
     familyId = curPlayer.GetFamilyID()
     
@@ -583,7 +583,8 @@
         #GameWorld.DebugLog("普通成员不记录家族官员模型装备信息!")
         return
     
-    modelEquipInfoList = PlayerViewCache.GetPlayerCacheEquipView(playerID)
+    modelEquipInfoList = []
+    #modelEquipInfoList = PlayerViewCache.GetPlayerCacheEquipView(playerID)
     if not modelEquipInfoList:
         #GameWorld.DebugLog("找不到家族官员模型装备信息, 不记录!familyID=%s,playerID=%s" % (familyID, playerID))
         return

--
Gitblit v1.8.0