From c3ccb86306795837a0b61db13c864c89ffbeded9 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 27 二月 2019 10:52:17 +0800 Subject: [PATCH] 6256 【后端】【2.0】神秘商店 --- ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py index 8b9efa3..adbb5c7 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/ChPlayer.py @@ -39,7 +39,7 @@ import PlayerFamilyBoss #import PlayerManorWar import PlayerBourse -import GameWorldActionTeHui +import PlayerZhuXianBoss import PlayerXMZZ import GameWorldShopItem import PlayerTruck @@ -185,8 +185,9 @@ PlayerFBHelpBattle.OnHelpPlayerLogin(curPlayer) #跨服PK CrossRealmPK.OnPlayerLogin(curPlayer) + #诛仙BOSS + PlayerZhuXianBoss.OnPlayerLogin(curPlayer) - GMShell.OnPlayerLogin(curPlayer) GMT_CTG.OnPlayerLogin(curPlayer) return @@ -773,7 +774,7 @@ #=============================================================================== #自己已经初始化成功 curPlayer.SetInitOK(True) - + GMShell.OnPlayerLogin(curPlayer) #发送请求至目标地图(任务需要登陆家族长触发事件) __RefreshFamilyToMapServer(curPlayer) return @@ -899,11 +900,13 @@ fblinePack = ChPyNetSendPack.tagGCFBLinePlayerCnt() fblinePack.MapID = tagMapID fblinePack.FBLineInfoList = [] - for lineID, playerCnt in fbLinePlayerCntDict.items(): + for lineID, infoList in fbLinePlayerCntDict.items(): mapLineState = ChPyNetSendPack.tagGCFBLineInfo() mapLineState.Clear() mapLineState.FBLineID = lineID - mapLineState.PlayerCnt = playerCnt + mapLineState.PlayerCnt = infoList[0] if infoList else 0 + mapLineState.ExtraStr = infoList[1] if len(infoList) > 1 else '' + mapLineState.ExtraStrLen = len(mapLineState.ExtraStr) fblinePack.FBLineInfoList.append(mapLineState) fblinePack.Count = len(fblinePack.FBLineInfoList) -- Gitblit v1.8.0