From 758c00df67da77c14c0b84390a23d49c3e64429a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 15 十月 2025 17:00:33 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(增加称号同步:公会成员A520 A522,排行榜Value2,演武场匹配A922; 修复演武场战斗日志记录json格式错误bug;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
index e1c405f..e252abc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
@@ -16,6 +16,7 @@
#-------------------------------------------------------------------------------
import GameWorld
+import PlayerFamily
import PlayerControl
import IPY_GameWorld
import ChPyNetSendPack
@@ -148,6 +149,7 @@
randFace = random.choice(defaultFaceIDList) if defaultFaceIDList else 0
curPlayer.SetFace(randFace)
GameWorld.DebugLog("玩家佩戴的头像被删除,随机重置默认头像! randFace=%s" % randFace, playerID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
if isRefreshAttr:
RefreshFaceAttr(curPlayer)
@@ -198,6 +200,7 @@
return
GameWorld.DebugLog("头像幻化! faceID=%s" % (faceID), playerID)
curPlayer.SetFace(faceID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
return
def OnFaceStarUP(curPlayer, faceID):
@@ -351,6 +354,7 @@
randFacePic = random.choice(defaultFacePicIDList) if defaultFacePicIDList else 0
curPlayer.SetFacePic(randFacePic)
GameWorld.DebugLog("玩家佩戴的头像框过期,随机重置默认头像框! randFacePic=%s" % randFacePic, playerID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
if isRefreshAttr:
RefreshFacePicAttr(curPlayer)
@@ -396,6 +400,7 @@
return
GameWorld.DebugLog("头像框幻化! facePicID=%s" % (facePicID), playerID)
curPlayer.SetFacePic(facePicID)
+ PlayerFamily.RefreshFamilyMember(curPlayer)
return
def OnFacePicStarUP(curPlayer, facePicID):
--
Gitblit v1.8.0