From 73dfbfa4721b3d21b687d6e68905f4236ed24d4f Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 25 二月 2019 14:10:15 +0800 Subject: [PATCH] 6250 【后端】【2.0】拍卖行开发单(封包) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index 0ded4d2..91184a0 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -533,6 +533,10 @@ NotifyCode(curPlayer, "CrossMap10") return False + if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene): + GameWorld.Log("客户端自定义场景下无法传送!", curPlayer.GetPlayerID()) + return False + return True @@ -1816,6 +1820,12 @@ if isNotify: NotifyCode(curPlayer, "Carry_lhs_697674") return ShareDefine.EntFBAskRet_Sit + + if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene): + if isNotify: + NotifyCode(curPlayer, "Carry_lhs_697674") + GameWorld.Log("客户端自定义场景下无法进入副本!", curPlayer.GetPlayerID()) + return ShareDefine.EntFBAskRet_Other if playerAction in ChConfig.Def_Player_Cannot_TransState: #Carry_lhs_697674:您当前所处的状态不能进行传送! @@ -3741,7 +3751,7 @@ # 检查最大等级 if curLV >= maxLV and curTotalExp >= maxLVExpStore: self.__NotifyExpFull(curPlayer, "GeRen_admin_825676") - GameWorld.DebugLog("经验已满!已满级!curLV=%s" % (curLV), curPlayer.GetPlayerID()) + #GameWorld.DebugLog("经验已满!已满级!curLV=%s" % (curLV), curPlayer.GetPlayerID()) return 0, expViewType # 杀怪 @@ -3993,7 +4003,7 @@ # 记录开服活动冲级数据 OpenServerCampaign.UpdOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_LV, curPlayer.GetLV()) #神秘限购 - FunctionNPCCommon.MysticalShopOpen(curPlayer, befLV, aftLV) + FunctionNPCCommon.MysticalLimitShopOpen(curPlayer, befLV, aftLV) #不需要做升级任务, 设置玩家经验 SetPlayerTotalExp(curPlayer, curTotalExp) return -- Gitblit v1.8.0