From c17e896c0b62d32bf99775b18db07d3ec4252aed Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 09 十月 2018 22:16:08 +0800
Subject: [PATCH] 4102 【后端】混服支持

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerGeTui.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerGeTui.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerGeTui.py
index eea8d25..12b15b4 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerGeTui.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerGeTui.py
@@ -281,7 +281,7 @@
             # 判断BOSS剩余次数, 避免通知频繁
             continue
         
-        appID = GameWorld.GetPlayerPlatform(cacheDict.get("AccID", ""))
+        appID = GameWorld.GetPlayerPlatform(cacheDict.get("AppID", ""))
         if appID not in appIDDict:
             appIDDict[appID] = []
             
@@ -314,7 +314,7 @@
         return
     
     showStr = GameWorld.GbkToCode(IpyGameDataPY.GetFuncCfg("GeTuiOffLine", 3))%(tagPlayerName)    # 文字信息
-    GeTuiNotify({GameWorld.GetPlayerPlatform(cacheDict.get("AccID", "")):[[cacheDict.get("GeTuiClientID", ""), playerName]]}, showStr)
+    GeTuiNotify({GameWorld.GetPlayerPlatform(cacheDict.get("AppID", "")):[[cacheDict.get("GeTuiClientID", ""), playerName]]}, showStr)
     return
 
 # 下线时,低级玩家没有离线时间的玩家提示, 上线清空
@@ -326,7 +326,7 @@
         return
     playerID = curPlayer.GetID()
     g_NewGuyNoTJGTime[playerID] = [curPlayer.GetName(), curPlayer.GetGeTuiClientID(), tick, 
-                                   GameWorld.GetPlayerPlatform(curPlayer.GetAccID())]  # curPlayer.GetGeTuiClientID()
+                                   GameWorld.GetPlayerPlatform(curPlayer)]  # curPlayer.GetGeTuiClientID()
     return
 
 # 上线清除

--
Gitblit v1.8.0