hxp
2024-05-27 9a33274e49d1c162a506ac1f62d4f793b74af140
10162 后台优化(砍树 查询玩家增加 仙桃、灵玉显示)
2个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetPlayerInfo.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GetPlayerInfo.py
@@ -65,7 +65,7 @@
    
    # 需要额外同步的自定义货币
    CurrencyValueDict = {}
    for moneyType in [ShareDefine.TYPE_Price_PayCoin]:
    for moneyType in [ShareDefine.TYPE_Price_PayCoin, ShareDefine.TYPE_Price_Xiantao, ShareDefine.TYPE_Price_Lingyu]:
        CurrencyValueDict['PlayerCurrency_%s' % moneyType] = PlayerControl.GetMoneyReal(curPlayer, moneyType)
    playerInfo.update(CurrencyValueDict)
    
ServerPython/db/PyMongoDataServer/GMToolLogicProcess/Commands/GMT_GetPlayerInfo.py
@@ -149,7 +149,7 @@
    
    # 需要额外同步的自定义货币
    CurrencyValueDict = {}
    for moneyType in [99]:
    for moneyType in [99, 41, 42]:
        CurrencyValueDict['PlayerCurrency_%s' % moneyType] = roleDict.get("PlayerCurrency_%s" % moneyType, 0)
    playerInfo.update(CurrencyValueDict)
    return GMCommon.Def_Success, playerInfo