From 7e459643c41df6fe63c9820660d35297c9a88ef0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 10 七月 2024 18:32:03 +0800
Subject: [PATCH] 10192 【越南】【主干】【港台】【砍树】上线增加膜拜主动推送(膜拜玩家信息增加EquipShowSwitch;单引号替换为双引号;)
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorship.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorship.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorship.py
index 2b8a41d..d00730b 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorship.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorship.py
@@ -55,6 +55,7 @@
"VIPLV":cacheDict.get("VIPLV", 0),
"TitleID":cacheDict.get("TitleID", 0),
"FightPower":cacheDict.get("FightPower", 0),
+ "EquipShowSwitch":cacheDict.get("EquipShowSwitch", 0),
"EquipShowID":cacheDict.get("EquipShowID", []),
}
return modelShow
@@ -448,7 +449,7 @@
infoPack.PlayerID = recPlayerID
infoPack.WorshipType = GetWorshipType(recData)
infoPack.WorshipValue = GetWorshipValue(recData)
- infoPack.PlayerInfo = str(modelShow).replace(" ", "")
+ infoPack.PlayerInfo = str(modelShow).replace(" ", "").replace("\'", "\"")
infoPack.InfoLen = len(infoPack.PlayerInfo)
if curPlayer:
--
Gitblit v1.8.0