hxp
2019-01-19 3caca95a705f26b0d40a8ae88093c8e2c8ca4f6f
2908 【1.5.0】【1.5.100】组队进入跨服boss打boss异常情况
2个文件已修改
12 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -410,6 +410,9 @@
        PetControl.DoLogic_PetInfo_OnLogin(curPlayer, tick)
        
        PlayerFamily.FamilyPlayerOnLoginCross(curPlayer)
        PlayerTeam.OnPlayerLoginCrossServer(curPlayer)
        #通知运行成功
        curPlayer.BalanceServer_PlayerLoginInitOK()
        return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeam.py
@@ -68,6 +68,15 @@
    #玩家刚登录, 什么也不做, 等待GameServer刷新自己
    return
def OnPlayerLoginCrossServer(curPlayer):
    ## 登录跨服服务器处理
    if curPlayer.GetTeamID():
        curPlayer.SetTeamID(0)
        GameWorld.DebugLog("登录跨服服务器重置队伍ID!")
    return
## 游戏服务器刷新队伍(封包参数)
#  @param index 玩家索引
#  @param tick 当前时间