From 6daa53975a6cdd735a5941ddb935cfdb23841976 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 27 六月 2024 16:37:35 +0800
Subject: [PATCH] 10178 【越南】【香港】【主干】挂机奖励(屏蔽跨服上线通知:古宝、神通、战令、福地、挂机)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index c53f00a..e24d5cb 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -971,17 +971,21 @@
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_RealLoginOK, 1)
     GameWorld.Log("MapServer->DoPlayerRealLoginOK", curPlayer.GetPlayerID())
     
-    PlayerGubao.OnPlayerLogin(curPlayer)
-    PlayerShentong.OnPlayerLogin(curPlayer)
-    PlayerZhanling.OnPlayerLogin(curPlayer)
-    PlayerTask.OnPlayerLogin(curPlayer)
-    PlayerCutTree.OnPlayerLogin(curPlayer)
-    PlayerMineArea.OnPlayerLogin(curPlayer)
-    PlayerGuaji.OnPlayerLogin(curPlayer)
+    if GameWorld.IsCrossServer():
+        pass
     
-    # 上线查询一次充值订单
-    curPlayer.SendDBQueryRecharge()
-    
+    else:
+        PlayerGubao.OnPlayerLogin(curPlayer)
+        PlayerShentong.OnPlayerLogin(curPlayer)
+        PlayerZhanling.OnPlayerLogin(curPlayer)
+        PlayerTask.OnPlayerLogin(curPlayer)
+        PlayerCutTree.OnPlayerLogin(curPlayer)
+        PlayerMineArea.OnPlayerLogin(curPlayer)
+        PlayerGuaji.OnPlayerLogin(curPlayer)
+        
+        # 上线查询一次充值订单
+        curPlayer.SendDBQueryRecharge()
+        
     # 通知GameServer地图最终登录成功了
     isMixServerFirstLogin = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_MixServerFirstLogin)
     msg = str([isMixServerFirstLogin])

--
Gitblit v1.8.0