hch
2019-04-16 d9820f9f7f09c14d270b4cbbe649369c043be7e4
860312 关闭渠道返利
4个文件已修改
21 ■■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QDFLDoubleBill.py 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerQuDaoDoubleBill.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_QDFLDoubleBill.py
@@ -28,6 +28,7 @@
#  @return None
#  @remarks 函数详细说明.
def OnExec(orderId, gmCmdDict):
    return
    GameWorld.Log("%s"%gmCmdDict)
    accID = str(gmCmdDict.get('AccID', ''))
    if not accID:
@@ -57,11 +58,13 @@
def OnOfflineCTGInfo(curPlayer, tagMapID, gmCmdDict):
    gold = int(gmCmdDict.get('GoldState', 0))
    cmdStr = str([gold])
    GameWorld.GetPlayerManager().MapServer_QueryPlayer(0, 0, curPlayer.GetPlayerID(), tagMapID, 'QDFLDoubleBill',
                                            cmdStr, len(cmdStr), curPlayer.GetRouteServerIndex())
    return
#===============================================================================
# def OnOfflineCTGInfo(curPlayer, tagMapID, gmCmdDict):
#    gold = int(gmCmdDict.get('GoldState', 0))
#    cmdStr = str([gold])
#
#    GameWorld.GetPlayerManager().MapServer_QueryPlayer(0, 0, curPlayer.GetPlayerID(), tagMapID, 'QDFLDoubleBill',
#                                            cmdStr, len(cmdStr), curPlayer.GetRouteServerIndex())
#    return
#===============================================================================
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -1611,7 +1611,7 @@
    #EndLoadMap需放在最后
    curPlayer.EndLoadMap()
    # 渠道返利 
    PlayerQuDaoDoubleBill.OnMapQDDoubleBill(curPlayer)
    #PlayerQuDaoDoubleBill.OnMapQDDoubleBill(curPlayer)
    return True
## 切换地图同步一次PK模式
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerQuDaoDoubleBill.py
@@ -26,6 +26,7 @@
def OnMapQDDoubleBill(curPlayer):
    return
    try:
        if GameWorld.IsCrossServer():
            return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_QDFLDoubleBill.py
@@ -31,6 +31,7 @@
#  @return "True" or "False" or ""
#  @remarks 函数详细说明.
def DoLogic(query_Type, query_ID, packCMDList, tick):
    return
    curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
    
    if not curPlayer or curPlayer.IsEmpty():