From bc0c9d89c0811bb32f98ba45dfaff6b10661c45a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 九月 2024 17:01:46 +0800
Subject: [PATCH] 10261 【越南】【砍树】仙盟徽章,头像框,头像(动态),聊天气泡,聊天表情(增加头像、头像框)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 68de899..146a263 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -161,6 +161,7 @@
 import GameObj
 import PlayerChangeJob
 import PlayerGuaji
+import PlayerFace
 import PlayerXiangong
 import PlayerMineArea
 import PlayerActLoginNew
@@ -467,6 +468,7 @@
     dbPlayer.ExAttr19 = curPlayer.GetExAttr19()
     dbPlayer.ExAttr20 = curPlayer.GetExAttr20()
     dbPlayer.Face = curPlayer.GetFace()
+    dbPlayer.FacePic = curPlayer.GetFacePic()
     dbPlayer.RoleType = curPlayer.GetRoleType()
     NetPackCommon.SendFakePack(curPlayer, dbPlayer)
     return
@@ -967,7 +969,7 @@
         Sync_RewardGetRecordInfo(curPlayer, ChConfig.Def_RewardType_LikeGame, likeGameAwardState)
         
     curPlayer.SetState(0)   # 脱机挂恢复为正常上线
-    curPlayer.SetFacePic(0) # 通知数据库是否保存还是下线,做一次恢复,1为保存 0为正常下线
+    curPlayer.SetCountryLastWeekHornor(0) # 通知数据库是否保存还是下线,做一次恢复,1为保存 0为正常下线
     #tjgTime = PlayerTJG.GetTJGTime(curPlayer)
     #if tjgTime:
     #    PlayerControl.SendGameServerRefreshState(curPlayer, IPY_GameWorld.CDBPlayerRefresh_HappyPoint, tjgTime)
@@ -992,6 +994,7 @@
         pass
     
     else:
+        PlayerFace.OnPlayerLogin(curPlayer)
         PlayerXiangong.OnPlayerLogin(curPlayer)
         PlayerGubao.OnPlayerLogin(curPlayer)
         PlayerShentong.OnPlayerLogin(curPlayer)

--
Gitblit v1.8.0