hch
2019-01-24 f778e109783cf44c6bf6b1603ae1668629f1b77f
5735 【后端】【1.5】仙玉返还
4个文件已修改
17 ■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QDFLDoubleBill.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tool/WebCenter/DoubleBill/webapp.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QDFLDoubleBill.py
@@ -44,7 +44,7 @@
    queryType = ChConfig.queryType_sqtPlayerByAccID
    tagPlayer = playerManager.FindPlayerByAccID(accID)
    
    if not tagPlayer:
    if not tagPlayer or not tagPlayer.GetInitOK():
        # 玩家不在线,先记录,等玩家上线后处理
        GameWorld.Log("玩家离线,暂存渠道测试返利 %s, 仙玉%s"%(accID, gold))
        GMShell.AddOfflinePlayerGMTInfo(orderId, queryType, accID, gmCmdDict)
ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py
@@ -186,7 +186,6 @@
        #跨服PK
        CrossRealmPK.OnPlayerLogin(curPlayer)
        
        GMShell.OnPlayerLogin(curPlayer)
        GMT_CTG.OnPlayerLogin(curPlayer)
    return
@@ -773,7 +772,7 @@
#===============================================================================
    #自己已经初始化成功
    curPlayer.SetInitOK(True)
    GMShell.OnPlayerLogin(curPlayer)
    #发送请求至目标地图(任务需要登陆家族长触发事件)
    __RefreshFamilyToMapServer(curPlayer)
    return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py
@@ -38,6 +38,12 @@
        return
    
    gold = packCMDList[0]
    curGold = curPlayer.NomalDictGetProperty(ChConfig.Def_QuDao_DoubleBillGold)
    if curGold != 0:
        # 已记录的不能再更改
        return
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_QuDao_DoubleBillGold, gold)    
    if gold <= 2:
        return
Tool/WebCenter/DoubleBill/webapp.py
@@ -66,7 +66,11 @@
        return
    
    if rec["ServerID"]:
        # 已领取,GM返回2, 减少反复查询
        if sid == rec["ServerID"]:
            #同服已领取的返回相同
            SendGm(gameAccID, rec["Gold"])
            return
        # 不同服已领取,GM返回2, 减少反复查询
        SendGm(gameAccID, 2)
        return