hxp
2018-12-28 c40357e0eee1bd0f1d2b706a2f71d3d7ec8f5cac
5424 【后端】【1.4】跨服竞技场开发(刷新视野调整)
2个文件已修改
7 ■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossRealmPlayer.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossRealmPK.py
@@ -1479,7 +1479,8 @@
    gameWorld.SetDict(ShareDefine.Def_Notify_WorldKey_CrossDailyActionState % ShareDefine.DailyActionID_CrossReamPK, matchState)
    
    if curSeasonState == 1 and seasonState == 2:
        PlayerControl.WorldNotify(0, "NotifySeasonOver")
        pass
        #PlayerControl.WorldNotify(0, "NotifySeasonOver")
        
    # 通知地图服务器状态
    GameWorld.SendMapServerMsgEx(ShareDefine.Def_Notify_WorldKey_CrossPKZoneID, zoneID)
@@ -1509,7 +1510,7 @@
        return
    
    if result == -2:
        PlayerControl.NotifyCode(curPlayer, "InCrossPKing")
        PlayerControl.NotifyCode(curPlayer, "CrossMatching17")
        return
    
    if result == 1:
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossRealmPlayer.py
@@ -78,6 +78,8 @@
    ## 玩家退出跨服处理,本服的逻辑处理
    GameWorld.Log("DoExitCrossRealm...", curPlayer.GetPlayerID())
    curPlayer.SetVisible(True)
    curPlayer.SetSight(1)
    curPlayer.RefreshView()
    curPlayer.SetSight(ChConfig.Def_PlayerSight_Default)
    curPlayer.RefreshView()
    curPet = curPlayer.GetPetMgr().GetFightPet()