From 0c7f6f6e4fa825393e3c391adfec97b96c230cf7 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 04 七月 2025 09:52:46 +0800 Subject: [PATCH] 16 卡牌服务端(删除部分无用代码GY_GM_xxx.py) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py | 24 ------------------------ 1 files changed, 0 insertions(+), 24 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py index c3ca851..80eeaa9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py @@ -224,30 +224,6 @@ #内部测试人员,不限制 return True - GMLVPowerDict = ReadChConfig.GetEvalChConfig("GMLVPower") - if curPlayer_GMLV in GMLVPowerDict: - powerList = GMLVPowerDict[curPlayer_GMLV] - if not powerList or callFunName in powerList: - return True - - #验证权限 - if callFunName in ChConfig.Def_GMPower_Disc: - gmPowerList = ChConfig.Def_GMPower_Disc[callFunName] - - if curPlayer_GMLV not in gmPowerList: - #GM等级异常 - GameWorld.Log("###使用GM命令 = %s,GM等级 = %s异常"%(callFunName , curPlayer_GMLV) , curPlayer.GetPlayerID()) - return - - if not gmPowerList[curPlayer_GMLV]: - GameWorld.Log("###使用GM命令 = %s,权限 = %s不足"%(callFunName , curPlayer_GMLV) , curPlayer.GetPlayerID()) - return - - #内部测试用GM命令 - else: - GameWorld.Log("###非内部人员, 使用调试GM命令 = %s,权限 = %s不足"%(callFunName , curPlayer_GMLV) , curPlayer.GetPlayerID()) - return - return True #--------------------------------------------------------------------- -- Gitblit v1.8.0