From d8aabb88ad30ab1ae999f23e7b3ffd4ae5b1e8f8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 07 十一月 2025 11:32:58 +0800
Subject: [PATCH] 237 【福利内容】每日任务/每周任务/章节奖励-服务端(修复主线过关ID判断bug,成就过关进度及主线榜单值;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCache.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCache.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCache.py
index 6a8d932..d351da2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCache.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerViewCache.py
@@ -208,6 +208,7 @@
curCache.SetFace(curPlayer.GetFace())
curCache.SetFacePic(curPlayer.GetFacePic())
curCache.SetModelMark(curPlayer.GetModelMark())
+ curCache.SetEquipShowSwitch(curPlayer.GetEquipShowSwitch())
curCache.SetTitleID(PlayerControl.GetTitleID(curPlayer))
curCache.SetFamilyID(familyID)
curCache.SetFamilyName(family.GetName() if family else "")
@@ -267,6 +268,7 @@
curCache.SetFace(dbPlayer.Face)
curCache.SetFacePic(dbPlayer.FacePic)
curCache.SetModelMark(dbPlayer.ModelMark)
+ curCache.SetEquipShowSwitch(dbPlayer.EquipShowSwitch)
curCache.SetTitleID(dbPlayer.ExAttr3)
curCache.SetFamilyID(familyID)
family = DBDataMgr.GetFamilyMgr().FindFamily(familyID) if familyID else None
@@ -324,6 +326,7 @@
"FacePic" : curCache.GetFacePic(),
"TitleID" : curCache.GetTitleID(),
"ModelMark" : curCache.GetModelMark(),
+ "EquipShowSwitch" : curCache.GetEquipShowSwitch(),
"FightPower" : curCache.GetFightPowerTotal(),
"PlusData" : curCache.GetPlusDict(),
}
@@ -353,6 +356,7 @@
curCache.SetFacePic(robotInfo.get("FacePic", 0))
curCache.SetTitleID(robotInfo.get("TitleID", 0))
curCache.SetModelMark(robotInfo.get("ModelMark", 0))
+ curCache.SetEquipShowSwitch(robotInfo.get("EquipShowSwitch", 0))
#机器人暂定没有仙盟、称号
#curCache.SetFamilyID(familyID)
#family = DBDataMgr.GetFamilyMgr().FindFamily(familyID)
@@ -404,6 +408,7 @@
clientPack.Face = curCache.GetFace()
clientPack.FacePic = curCache.GetFacePic()
clientPack.ModelMark = curCache.GetModelMark()
+ clientPack.EquipShowSwitch = curCache.GetEquipShowSwitch()
clientPack.TitleID = curCache.GetTitleID()
clientPack.ServerID = curCache.GetServerID()
clientPack.FightPower = curCache.GetFightPower()
--
Gitblit v1.8.0