From 49d3a89c86edfd6e7f0b5c0e30ef71766703a46a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 02 十一月 2019 16:26:40 +0800 Subject: [PATCH] 8321 【主干】【后端】GM工具优化(禁言及封号相关数据优化,同步更新AccState 及 ExAttr17, GM工具支持离线/在线操作及查询) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py index 5e22874..5c9647e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py @@ -16,6 +16,7 @@ #--------------------------------------------------------------------- import GameWorld import IPY_GameWorld +import PlayerControl #--------------------------------------------------------------------- #全局变量 #--------------------------------------------------------------------- @@ -54,7 +55,7 @@ if curOper.GetOper() == IPY_GameWorld.pysForbidden: curFindPlayer_GMOper.DeleteOper(IPY_GameWorld.pysForbidden) curFindPlayer_GMOper.Sync_SaveToDB() - curFindPlayer.SetAccState(IPY_GameWorld.pysNormal) + PlayerControl.SetPlayerAccState(curFindPlayer, IPY_GameWorld.pysNormal) return '%s,%s'%(curFindPlayer.GetPlayerID(), curFindPlayer.GetName()) GameWorld.Log('###脱机工具解封异常 : 玩家 = %s查找解封信息失败'%(curFindPlayer.GetPlayerID())) -- Gitblit v1.8.0