From 6ccc82cff0bc5ecd2734253d4c5ef1ae2bb748da Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 17 九月 2020 12:24:13 +0800
Subject: [PATCH] 8483 【后端】【主干】【changwei】【bt】协助方和被协助方任何模式不会互相造成伤害(优化协助同一玩家的情况)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTForbidTalk.py | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTForbidTalk.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTForbidTalk.py
index ea524fb..60a2b86 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTForbidTalk.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTForbidTalk.py
@@ -36,15 +36,6 @@
# @remarks 函数详细说明.
def DoLogic(query_Type, query_ID, packCMDList, tick):
GameWorld.DebugLog("GY_Query_GMTForbidTalk packCMDList=%s" % str(packCMDList))
-# curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-#
-# if not curFindPlayer or curFindPlayer.IsEmpty():
-# return ''
-#
-# curFindPlayer.SetAccState(curFindPlayer.GetAccState()|pow(2, ChConfig.Def_PysForbidTalk))
-# curFindName = curFindPlayer.GetPlayerName()
-# #流向
-# DataRecordPack.DR_ToolGMOperate(query_ID, curFindName, curFindPlayer.GetAccID(), 'GMT_FobidTalk')
# 在线时可设定禁言时长;离线则在UserDBResponse执行状态禁言
# 故解禁时需两种情况都解除
@@ -64,7 +55,7 @@
curFindPlayer_GMOper.Sync_SaveToDB()
PlayerControl.SetGMForbidenTalk(curFindPlayer, 1)
- PlayerControl.NotifyCode(curFindPlayer, "GeRen_chenxin_80731", [lastTime])
+ #PlayerControl.NotifyCode(curFindPlayer, "GeRen_chenxin_80731", [lastTime])
curFindName = curFindPlayer.GetPlayerName()
#流向
--
Gitblit v1.8.0