From 701ebec9f6cca57f0ccffc0239cf9d8e25722eb0 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 12 四月 2019 14:23:38 +0800
Subject: [PATCH] 6457 【后端】【2.0】缥缈仙域开发单(通知修改)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
index 455d613..a80245c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py
@@ -517,6 +517,8 @@
     #注册玩家离开副本时间
     gameFBMgr.SetPlayerLogoffTick(0)
     
+    PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_EnterMap, 1, [gameMapID])
+    
     if gameFBMgr.HaveFBPlayer(curPlayerID):
         #已经注册了这个玩家, 不清除已注册的玩家的字典信息
         return
@@ -524,7 +526,6 @@
     #注册进入这个副本的玩家
     gameFBMgr.AddFBPlayer(curPlayerID)
     
-    PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_EnterMap, 1, [gameMapID])
     return
 
 def DoEnterFB(curPlayer, tick):
@@ -1228,7 +1229,11 @@
 def PlayerLoginInFBCheck(curPlayer, tick):
     gameMap = GameWorld.GetMap()
     #如果此地图是自动释放的, 需要检查这个玩家
-    if gameMap.GetMapFBType() in [IPY_GameWorld.fbtNull, IPY_GameWorld.fbtCrossVSRoom]:
+    if gameMap.GetMapFBType() in [IPY_GameWorld.fbtNull]:
+        return False
+    
+    #跨服服务器是直接注册的地图ID数据,地图肯定没有该玩家,所以不判断
+    if GameWorld.IsCrossServer():
         return False
     
     #玩家 在副本中,并且副本不踢出玩家下线
@@ -1262,9 +1267,6 @@
 #  @return mapID
 #  @remarks 函数详细说明.
 def __GetFBLogic_MapID(mapID):
-    #ManorWarMapIDList = ReadChConfig.GetEvalChConfig("ManorWarMapID")  
-    #if mapID in ManorWarMapIDList:
-    #    return 'ManorWar'
     mapID = FBCommon.GetRecordMapID(mapID)
     for key, value in ChConfig.Def_FB_MapID.items():
         if mapID in value:

--
Gitblit v1.8.0