From 5e9fd1dedd0e4c99d89de3264428e8217f093c93 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 06 一月 2026 18:19:30 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(B424增加同步每个武将战力;演武场匹配列表战力优先同步演武场防守阵容战力;查看玩家增加同步红颜、坐骑信息;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
index 6f3b7c5..d9c6372 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
@@ -24,8 +24,8 @@
import IpyGameDataPY
import PlayerFamily
import PyMongoMain
+import PlayerTask
import DirtyList
-import ObjPool
def OnPlayerLogin(curPlayer):
if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Rename):
@@ -92,6 +92,8 @@
PlayerFamily.RefreshFamilyMember(curPlayer)
PlayerBillboard.UpdatePlayerBillboardName(curPlayer)
#社交名待更新
+
+ PlayerTask.UpdTaskValue(curPlayer, ChConfig.TaskType_Rename)
return
def GetPlayerFullName(curPlayer, playerName):
@@ -113,7 +115,7 @@
return fullName
def Sync_UpdatePlayerNameCount(curPlayer):
- clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagUpdatePlayerNameCount)
+ clientPack = ChPyNetSendPack.tagUpdatePlayerNameCount()
clientPack.Count = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Rename)
NetPackCommon.SendFakePack(curPlayer, clientPack)
return
--
Gitblit v1.8.0