ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/Assist.py
@@ -31,22 +31,20 @@
#  @remarks 函数详细说明.
def OnExec(curPlayer, gmList):
    
    if not gmList:
        GameWorld.DebugAnswer(curPlayer, "清除感谢: Assist t0")
    isShowThanks = gmList[0] if len(gmList) > 0 else 0
    assistMgr = PyDataManager.GetPlayerAssistPyManager()
    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)
@@ -60,6 +58,12 @@
        return
    
    assistThanksMgr = PyDataManager.GetPlayerAssistThanksPyManager()
    if isShowThanks == "t0":
        assistThanksMgr.allAssistThanksList = []
        assistThanksMgr.playerThanksDict = {}
        assistThanksMgr.assistPlayerThanksDict = {}
        GameWorld.DebugAnswer(curPlayer, "清除所有协助感谢!")
    GameWorld.Log("---------- 未完结总感谢条数: %s" % len(assistThanksMgr.allAssistThanksList))
    for playerID, thanksList in assistThanksMgr.playerThanksDict.items():
        GameWorld.DebugLog("--- 玩家未发送感谢数: %s, %s" % (playerID, len(thanksList)))