From 17614d533f1fd8a4b37c0a7ef67a67c8dfe4690e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 26 九月 2022 19:00:33 +0800
Subject: [PATCH] 9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(修复多分区时可能同步空玩家列表的bug)

---
 ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Assist.py |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Assist.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Assist.py
index 7050296..3cb4b72 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Assist.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Assist.py
@@ -36,17 +36,12 @@
     GameWorld.Log("---------- 当前总协助条数: %s" % len(assistMgr.allAssistDict))
     for assist in assistMgr.allAssistDict.values():
         GameWorld.DebugLog("%s" % assist.outputString())
-        GameWorld.DebugLog("IsSaveDB=%s,ObjID=%s,AssistType=%s,AssistPlayerIDList=%s" % (assist.IsSaveDB, assist.ObjID, assist.AssistType, assist.AssistPlayerIDList))
+        GameWorld.DebugLog("IsSaveDB=%s,FamilyID=%s,ObjID=%s,AssistType=%s,AssistPlayerIDList=%s" 
+                           % (assist.IsSaveDB, assist.FamilyID, assist.ObjID, assist.AssistType, assist.AssistPlayerIDList))
         GameWorld.DebugLog("--- ")
         
     GameWorld.DebugLog("--- ")
-    for familyID, assistList in assistMgr.familyAssistDict.items():
-        GameWorld.DebugLog("仙盟协助列表: %s, 条数: %s" % (familyID, len(assistList)))
-        for assist in assistList:
-            GameWorld.DebugLog("    %s" % assist.GUID)
-        
-    GameWorld.DebugLog("--- ")
-    for playerID, assistList in assistMgr.playerNoSaveDBAssistDict.items():
+    for playerID, assistList in assistMgr.playerAssistDict.items():
         GameWorld.DebugLog("玩家协助列表: %s, 条数: %s" % (playerID, len(assistList)))
         for assist in assistList:
             GameWorld.DebugLog("    %s" % assist.GUID)

--
Gitblit v1.8.0