From b2e6e02a9b7e3ca95047bbdefce5261edb23658f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 08 十月 2024 14:14:08 +0800
Subject: [PATCH] 10263 【越南】后端支持NPC仿真实玩家战斗和快速战斗
---
ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
index bebcd0a..36aecad 100644
--- a/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
+++ b/ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
@@ -90,6 +90,10 @@
if data == '%s'%GMCommon.Def_GMKey_PlayerName:
return GMCommon.Def_DoQueryLogDB, playerAccID
+ accountData = DataServerPlayerData.tagDSAccount()
+ accountData.ACCID = playerAccID
+ accountData.adoLoad(userdb[UCN_DSAccount])
+
collection = userdb[UCN_DBPlayer]
dbPlayer = DataServerPlayerData.tagDBPlayer()
dbPlayer.IsDeleted = 0
@@ -143,6 +147,7 @@
'LogoffTime':dbPlayer.LogoffTime, #离线时间
'LoginTime':dbPlayer.LoginTime, # 上线时间
'LoginIP':dbPlayer.LoginIP, #登入IP
+ 'ClientVersion':accountData.ClientVersion, #客户端版本号
'Online':0,
}
--
Gitblit v1.8.0