From ac0933f7bc20d71838b8c224d494b9b803e52ff6 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 09 七月 2025 19:18:09 +0800
Subject: [PATCH] 0312 移除其他表格读取,保留物品,技能,npc,地图
---
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