From eedcc5284c871faf3f9307656534900ec7d87940 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 25 十月 2024 14:08:53 +0800
Subject: [PATCH] 10284 【英文】【tqxbqy】获得、扣除代币系统提示除以100

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py
index f8cadde..82dad65 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py
@@ -126,6 +126,8 @@
         askFriendPack.Name = curPlayer.GetName()
         askFriendPack.LV = curPlayer.GetLV()
         askFriendPack.RealmLV = curPlayer.GetOfficialRank()
+        askFriendPack.Face = curPlayer.GetFace()
+        askFriendPack.FacePic = curPlayer.GetFacePic()
         
         NetPackCommon.SendFakePack(tagPlayer, askFriendPack) 
 
@@ -216,7 +218,8 @@
     
     couple = PyDataManager.GetDBPyCoupleManager().GetCouple(playerID)
     if couple and couple.GetCoupleID(playerID) == friendID:
-        GameWorld.Log('DeleteFriend -> 封包异常 ->伴侣不能删除好友.friendID=%s' % friendID, playerID)
+        #GameWorld.Log('DeleteFriend -> 封包异常 ->伴侣不能删除好友.friendID=%s' % friendID, playerID)
+        PlayerControl.NotifyCode(curPlayer, "DelFriendCoupleLimit")
         return
     
     #离线好友同时删除记录
@@ -402,7 +405,8 @@
     
     couple = PyDataManager.GetDBPyCoupleManager().GetCouple(curPlayer.GetID())
     if couple and couple.GetCoupleID(curPlayer.GetID()) == tagID:
-        GameWorld.DebugLog("伴侣不能加入黑名单! tagID=%s" % tagID, curPlayer.GetID())
+        #GameWorld.DebugLog("伴侣不能加入黑名单! tagID=%s" % tagID, curPlayer.GetID())
+        PlayerControl.NotifyCode(curPlayer, "AddBlackCoupleLimit")
         return
     
     tagPlayer = GameWorld.GetPlayerManager().FindPlayerByID(tagID)
@@ -656,6 +660,8 @@
         rceFriendsData.LV = tagPlayer.GetLV()
         rceFriendsData.Job = tagPlayer.GetJob()
         rceFriendsData.RealmLV = tagPlayer.GetOfficialRank()
+        rceFriendsData.Face = tagPlayer.GetFace()
+        rceFriendsData.FacePic = tagPlayer.GetFacePic()
         sendPack.FriendsList.append(rceFriendsData)
         
     #GameWorld.DebugLog("Client_RecommendFriends:%s"%sendPack.FriendsList)
@@ -715,6 +721,9 @@
         rceFriendsData.Name = tagPlayer.GetName()
         rceFriendsData.LV = tagPlayer.GetLV()
         rceFriendsData.Job = tagPlayer.GetJob()
+        rceFriendsData.RealmLV = tagPlayer.GetOfficialRank()
+        rceFriendsData.Face = tagPlayer.GetFace()
+        rceFriendsData.FacePic = tagPlayer.GetFacePic()
         sendPack.FriendsList.append(rceFriendsData)
         
     

--
Gitblit v1.8.0