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)

---
 /dev/null                                                                                 |   71 -----------------------
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py         |   24 --------
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py |   40 -------------
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py           |   42 --------------
 4 files changed, 1 insertions(+), 176 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index df217a5..577ddea 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -1646,9 +1646,6 @@
 #GM操作字符
 Def_GM_Oper_ForbidAcc = 'GMOperForbidAcc'                  #GM操作符:踢出玩家
 #---------------------------------------------------------------------
-#GM活动ID(10倍)
-Def_GY_GM_GameID_MapGiveExp_Ten = 3000005
-Def_GY_GM_GameID_MapGiveExp_Fifty = 3000006
 
 #------------
 # 非c++定义的账号状态,py用的账号锁定,禁言,按位判断
@@ -2505,45 +2502,6 @@
 TYPE_Time_Format_YmdHMS = "%Y%m%d%H%M%S"
 #---------------------------------------------------------------------
 
-#无限封存时间(10年)
-Def_GMPower_MaxTime = 60*24*365*10
-#GM权限表
-
-#                            GM命令                超级GM(1级)   A级GM(2级)  B级GM(3级)  C级GM(4级)  D级GM(5级)
-Def_GMPower_Disc = {       
-                    'GY_GM_PlayerDetailByID' : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #角色查询 
-                    'GY_GM_MoveToPlayerByID' : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #传送到玩家身边
-                    'GY_GM_PullPlayerByID'   : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #把玩家拉到身边
-                    'GY_GM_ViewBroadcast'    : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #查询公告
-                    'GY_GM_ForbidFight'      : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : False} , #禁止战斗
-                    'GY_GM_KickPlayer'       : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #踢玩家下线
-                    'GY_GM_CloseAccID'       : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : False} , #帐号封存
-                    'GY_GM_SetNoSight'       : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #设置隐身
-                    'GY_GM_CancelNoSight'    : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #取消隐身
-                    'GY_GM_ForbidTalk'       : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #禁止说话
-                    'GY_GM_ChangeGMLV'       : { 1 : True ,  2 : False, 3 : False, 4 : False,  5 : False} , #更改权限
-                    'GY_GM_SetExpRate'       : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #经验倍率
-                    'GY_GM_StartGame'        : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #开启活动
-                    'GY_GM_ViewGame'         : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #查询活动
-                    'GY_GM_FindPlayerByID'   : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #查询玩家
-                    'GY_GM_FindPlayerByName' : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #查询玩家
-                    'GY_GM_GivePlayerExp'    : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #给经验
-                    'GY_GM_Broadcast'        : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #发布公告
-                    'GY_GM_ViewWordExpRate'  : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #查看服务器经验倍率
-                    'GY_GM_MapGiveExp'       : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #设置指定地图经验倍率
-                   'GY_GM_Offline_FindPlayer': { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查找玩家
-                    'GY_GM_Offline_ViewItem' : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #脱机工具-查看物品
-               'GY_GM_Offline_ViewAttribute' : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查看玩家属性
-                    'GY_GM_Offline_ViewSkill': { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查看玩家技能
-                    'GY_GM_Offline_ViewTitle': { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查看玩家称号
-                    'GY_GM_Offline_ViewMoney': { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查看玩家货币
-                   'GY_GM_Offline_ViewGMOper': { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查看玩家GM操作
-                    'GY_GM_CloseBroadcast'   : { 1 : True ,  2 : True , 3 : True , 4 : False,  5 : False} , #脱机工具-消除公告
-                    'GY_GM_Offline_UnBind'   : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-解封玩家
-                'GY_GM_Offline_ViewUnBind'   : { 1 : True ,  2 : True , 3 : True , 4 : True ,  5 : True } , #脱机工具-查询玩家
-                    }
-
-#---------------------------------------------------------------------
 #请求类型(需要和GameServer中的一致)
 Def_QueryType_Count = 56
 (
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_CancelNoSight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_CancelNoSight.py
deleted file mode 100644
index 8da30ba..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_CancelNoSight.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_CancelNoSight
-##取消玩家隐身 工具发出的命令
-# 客户端发封包 [玩家ID]
-# MapServer发封包 [GM帐号] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [curFindPlayerID]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 1:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    sendMsg = '%s'%[curPlayer.GetAccID()]
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 
-               'CancelNoSight', sendMsg, len(sendMsg))
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ChangeGMLV.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ChangeGMLV.py
deleted file mode 100644
index c89040e..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ChangeGMLV.py
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_ChangeGMLV
-##修改GM等级 工具发出的命令
-# 客户端发封包 [玩家ID , 修改等级]
-# MapServer发封包 [修改等级] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#全局变量
-import GameWorld
-import PlayerControl
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [玩家ID , 修改等级]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 2:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    changerLV = int(playerList[1])
-    
-    
-    if changerLV == 1:
-        #GM_Operate_UpgradeSupervise 不允许提升GM权限等级为超级管理员,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer , "GM_Operate_UpgradeSupervise")
-        return
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    sendMsg = '%s'%[changerLV]
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, 
-             curFindPlayerID, 'ChangeGMLV', sendMsg, len(sendMsg))
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_CloseAccID.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_CloseAccID.py
deleted file mode 100644
index 29ee616..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_CloseAccID.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_CloseAccID
-# GM封存帐号
-# 客户端发封包 [玩家ID , 封存时间 , 封存信息]
-# MapServer发封包 [GM帐号] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-#---------------------------------------------------------------------
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [玩家ID , 封存时间 , 封存信息]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 3:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    
-    sendMsg = '%s'%[curPlayer.GetAccID() , playerList[1] , playerList[2]]
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer            #GM帐号                 #封存时间          #封存信息
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 
-                  'CloseAccID', sendMsg, len(sendMsg))
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ForbidFight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ForbidFight.py
deleted file mode 100644
index 0682f42..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ForbidFight.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_ForbidFight
-# GM禁止玩家战斗
-# 客户端发封包 [玩家ID , 持续时间]
-# MapServer发封包 [GM帐号 , 持续时间] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [玩家ID , 持续时间]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 2:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    lastTime = playerList[1]
-    
-    sendMsg = '%s'%[curPlayer.GetAccID() , lastTime]
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 
-              'ForbidFight', sendMsg, len(sendMsg))
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ForbidTalk.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ForbidTalk.py
deleted file mode 100644
index e5493a7..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_ForbidTalk.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_ForbidTalk
-# 禁言
-# 客户端发封包 [玩家ID , 持续时间]
-# MapServer发封包 [GM帐号 , 持续时间]
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [玩家ID , 持续时间]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 2:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    
-    sendmsg = '%s'%[curPlayer.GetAccID() , playerList[1]]
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 
-                  'ForbidTalk', sendmsg, len(sendmsg))
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_GivePlayerExp.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_GivePlayerExp.py
deleted file mode 100644
index f0ed324..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_GivePlayerExp.py
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_GivePlayerExp
-# 给予玩家经验
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import PlayerControl
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [expValue]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    
-    if len(playerList) != 1:
-        return 
-    
-    exp = min(max(0 , playerList[0]) , 100000000)
-    
-    playerControl = PlayerControl.PlayerControl(curPlayer)
-    #增加经验值
-    playerControl.AddExp(exp)
-    return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_KickPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_KickPlayer.py
deleted file mode 100644
index 35cdf60..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_KickPlayer.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_KickPlayer
-# GM踢玩家下线
-# 客户端发封包 [玩家ID]
-# MapServer发封包
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [玩家ID]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 1:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 'KickPlayer', '', 0)
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_MoveToPlayerByID.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_MoveToPlayerByID.py
deleted file mode 100644
index 942a510..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_MoveToPlayerByID.py
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_MoveToPlayerByID
-# 移动到玩家坐标 如果玩家在副本中,不移动
-# 客户端发封包 [玩家ID]
-# MapServer发封包 [] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [玩家ID]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer,playerList):
-    if len(playerList) != 1:
-        return 
-    
-    if not __CanMoveToPlayer(curPlayer):
-        return
-    
-    curFindPlayerID = playerList[0]
-    
-    sendMsg = '%s'%[]
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 
-                    'MoveToPlayerByID', sendMsg, len(sendMsg))
-    return
-
-
-## 是否移动
-#  @param curPlayer 当前玩家
-#  @return None or True
-#  @remarks 函数详细说明.
-def __CanMoveToPlayer(curPlayer):
-#===============================================================================
-#GetInitOK        True
-#GetIsLoginOff        False
-#===============================================================================
-    if not curPlayer.GetInitOK():
-        return
-    
-    if curPlayer.GetIsLoginOff():
-        return
-    
-    return True
-
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_PlayerDetailByID.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_PlayerDetailByID.py
deleted file mode 100644
index ef2a359..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_PlayerDetailByID.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_PlayerDetailByID
-# 查询玩家所有的基本信息 在PlayerQuery.py中解析
-# 客户端发封包 [玩家ID]
-# MapServer发封包 [] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [curFindPlayerID]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer,playerList):
-    if len(playerList) != 1 :
-        return
-    
-    curFindPlayerID = playerList[0]
-    
-    sendMsg = "%s"%[]
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 
-                                         'PlayerDetailByID', sendMsg, len(sendMsg))
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_PullPlayerByID.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_PullPlayerByID.py
deleted file mode 100644
index d0fe68c..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_PullPlayerByID.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_PullPlayerByID
-# 将玩家拉到身边
-# 客户端发封包 [玩家ID]
-# MapServer发封包 [地图ID,坐标X,坐标Y] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-#导入
-import GameWorld
-import IPY_GameWorld
-import PlayerControl
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [curFindPlayerID]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 1:
-        return 
-    
-    mapManager = GameWorld.GetMap()
-    
-    if mapManager.GetMapFBType() != IPY_GameWorld.fbtNull:
-        #不允许在副本中传送玩家
-        #GM_Operate_Null03 对不起,您目前在副本当中,GM指令操作失败!
-        PlayerControl.NotifyCode(curPlayer,"GM_Operate_Null03")
-        return
-    
-    curFindPlayerID = playerList[0]
-    
-    sendMsg = '%s'%[mapManager.GetMapID() , curPlayer.GetPosX() , curPlayer.GetPosY() , \
-                    GameWorld.GetGameWorld().GetLineID()]
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 'PullPlayerByID', 
-                                         sendMsg, len(sendMsg))
-     
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_SetNoSight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_SetNoSight.py
deleted file mode 100644
index 14c550f..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_SetNoSight.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_SetNoSight
-# 设置取消隐身
-# 客户端发封包 [玩家ID]
-# MapServer发封包 [GM帐号] 
-#
-# @author Mark
-# @date 2010-4-22
-# @version 1.1
-#
-# @change: "2012-05-16 15:00" jiang C++修改接口GameServer_QueryPlayerByID和GameServer_QueryPlayerResult
-#
-#------------------------------------------------------------------------------ 
-"""Version = 2012-05-16 15:00"""
-#------------------------------------------------------------------------------ 
-#
-# 模块详细说明
-#---------------------------------------------------------------------
-#导入
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-#  @param curPlayer 当前玩家
-#  @param playerList 参数列表 [curFindPlayerID]
-#  @return None
-#  @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
-    if len(playerList) != 1:
-        return 
-   
-    curFindPlayerID = playerList[0]
-    
-    sendMsg = '%s'%[curPlayer.GetAccID()]
-    
-    #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
-    curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer, curFindPlayerID, 'SetNoSight', 
-                                         sendMsg, len(sendMsg))
-     
-    return
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
             
 #---------------------------------------------------------------------
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
index 1bc629e..15599aa 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -1363,45 +1363,7 @@
 #        return
 #===============================================================================
     return
-#---------------------------------------------------------------------
-##GM开关活动, 地图服务器给经验
-# @param curPlayer 玩家实例
-# @param tick 时间戳
-# @return 返回值无意义
-# @remarks GM开关活动, 地图服务器给经验
-def ProcessMapGiveExp(curPlayer, tick):
-    gameWorld = GameWorld.GetGameWorld()
-    #经验倍率
-    exp_Multiple = 0
-    if gameWorld.IsEventActive(ChConfig.Def_GY_GM_GameID_MapGiveExp_Ten):
-        exp_Multiple = 10
-    elif gameWorld.IsEventActive(ChConfig.Def_GY_GM_GameID_MapGiveExp_Fifty):
-        exp_Multiple = 50
-    else:
-        #无活动
-        return
-    
-    mapExpTick = curPlayer.GetTickByType(ChConfig.TYPE_Player_Tick_GiveMapExp)
-    
-    if mapExpTick == 0:
-        #第一次设定当前时间
-        curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_GiveMapExp, tick)
-        return
-    
-    if tick - mapExpTick < ChConfig.TYPE_Player_Tick_Time[ChConfig.TYPE_Player_Tick_GiveMapExp]:
-        #没有到刷新间隔
-        return
-    
-    curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_GiveMapExp, tick) 
-    
-    reExp = 0
-    
-    playerControl = PlayerControl.PlayerControl(curPlayer)
-    #玩家经验增加 参考经验 * 经验倍率
-    playerControl.AddExp(reExp * exp_Multiple)
-    
-    return
-#---------------------------------------------------------------------
+
 ##清空玩家连续击杀数量
 # @param curPlayer 玩家实例
 # @param tick 时间戳
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CancelNoSight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CancelNoSight.py
deleted file mode 100644
index c8749c9..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CancelNoSight.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#---------------------------------------------------------------------
-#
-#---------------------------------------------------------------------
-##@package GY_Query_CancelNoSight
-# @todo: 取消隐身
-#
-# @author: panwei
-# @date 2011-05-23
-# @version 1.1
-#
-# @note: 
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#---------------------------------------------------------------------
-"""Version = 2014-01-07 15:30"""
-#---------------------------------------------------------------------
-#导入
-import IPY_GameWorld
-import PlayerControl
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑,取消隐身
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令
-#  @param tick 当前时间
-#  @return "True" or "False" or ""
-#  @remarks 函数详细说明.
-def DoLogic(query_Type, query_ID, packCMDList, tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        return ''
-    
-    curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-    result = False
-    
-    for index in range(curFindPlayer_GMOper.GetCount()):
-        curOper = curFindPlayer_GMOper.GetAt(index)
-        if curOper.GetOper() == IPY_GameWorld.gmForbidVisible:
-            curFindPlayer_GMOper.DeleteOper(IPY_GameWorld.gmForbidVisible)
-            curFindPlayer_GMOper.Sync_SaveToDB()
-            result = True
-            break
-    
-    if result:
-        curFindPlayer.SetVisible(1)
-        #你已经被GM取消隐身(GeRen_chenxin_114759)
-        PlayerControl.NotifyCode(curFindPlayer, "GeRen_chenxin_114759")
-    
-    return ('%s'%result)
-#---------------------------------------------------------------------
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer, callFunName, funResult, tick):
-    if funResult == '':
-        #GeRen_chenxin_112395 对不起,目标玩家不在线,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_112395")
-        return
-    
-    if funResult == 'False':
-        #GM_Operate_CannotHide 对不起,目标玩家不在隐身状态,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer, "GM_Operate_CannotHide")
-        return
-    
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_673416")
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ChangeGMLV.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ChangeGMLV.py
deleted file mode 100644
index fde8dac..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ChangeGMLV.py
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_ChangeGMLV
-# 改变GM等级
-#
-# @author Mark
-# @date 2010-5-4
-# @version 1.1
-#
-# 修改时间 修改人 修改内容
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#
-# VER = "2014-01-07 15:30" zhengyang 添加注释
-#
-# 模块详细说明
-#---------------------------------------------------------------------
-#导入
-import PlayerControl
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令 [等级]
-#  @param tick 当前时间
-#  @return "True" or "False" or ""
-#  @remarks 函数详细说明.
-def DoLogic(query_Type , query_ID , packCMDList , tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        return ''
-    
-    if curFindPlayer.GetGMLevel() == 0:
-        return 'isNotGM'
-    
-    curFindPlayer.SetGMLevel(int(packCMDList[0]))
-    #你的GM等级已经提升(GM_Lv_Upgrade)
-    PlayerControl.NotifyCode(curFindPlayer, "GM_Lv_Upgrade")
-    return
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer , callFunName , funResult , tick):
-    if funResult == '':
-        #GeRen_chenxin_112395 对不起,目标玩家不在线,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer , "GeRen_chenxin_112395")
-        return
-    
-    if funResult == 'isNotGM':
-        #GM_Operate_UpgradeAverage 对不起,不允许提升普通玩家为GM,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer , "GM_Operate_UpgradeAverage")
-        return
-    
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer , "GeRen_chenxin_673416")
-    
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CloseAccID.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CloseAccID.py
deleted file mode 100644
index b27ccd7..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_CloseAccID.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#---------------------------------------------------------------------
-#
-#---------------------------------------------------------------------
-##@package GY_Query_CloseAccID
-# @todo: 封号
-#
-# @author: panwei
-# @date 2011-05-23
-# @version 1.1
-#
-# @note: 
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#---------------------------------------------------------------------
-"""Version = 2014-01-07 15:30"""
-#---------------------------------------------------------------------
-import IPY_GameWorld
-import ChConfig
-import PlayerControl
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令 [GM帐号 , 持续时间 , 封存原因]
-#  @param tick 当前时间
-#  @return "True" or "False" or ""
-#  @remarks 函数详细说明.
-def DoLogic(query_Type, query_ID, packCMDList, tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        return ''
-    
-    curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-    gmOper = curFindPlayer_GMOper.AddGMOper(IPY_GameWorld.gmForbidAcc)
-    gmOper.SetGMAccID(packCMDList[0])
-    lastTime = int(packCMDList[1])
-    gmOperMsg = str(packCMDList[2])
-    
-    if lastTime == 0:
-        #永久封存
-        lastTime = ChConfig.Def_GMPower_MaxTime
-        
-    gmOper.SetLastTime(lastTime)
-    gmOper.SetMsg(gmOperMsg)
-    
-    curFindPlayer_GMOper.Sync_SaveToDB()
-    
-    PlayerControl.SetPlayerAccState(curFindPlayer, IPY_GameWorld.pysForbidden)
-    
-    curFindPlayer.Kick(IPY_GameWorld.disGMKick)
-    
-    return
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer, callFunName, funResult, tick):
-    if funResult == '':
-        #GeRen_chenxin_112395 对不起,目标玩家不在线,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_112395")
-        return
-    
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_673416")
-    
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ForbidFight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ForbidFight.py
deleted file mode 100644
index af4a2e4..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ForbidFight.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#---------------------------------------------------------------------
-#
-#---------------------------------------------------------------------
-##@package GY_Query_ForbidFight
-# @todo: 禁止战斗
-#
-# @author: panwei
-# @date 2011-05-23
-# @version 1.1
-#
-# @note: 
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#---------------------------------------------------------------------
-"""Version = 2014-01-07 15:30"""
-#---------------------------------------------------------------------
-import IPY_GameWorld
-import PlayerControl
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令 [GM帐号 , 持续时间]
-#  @param tick 当前时间
-#  @return "True" or "False" or ""
-#  @remarks 函数详细说明.
-def DoLogic(query_Type, query_ID, packCMDList, tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        return ''
-    
-    curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-    gmOper = curFindPlayer_GMOper.AddGMOper(IPY_GameWorld.gmForbidFight)
-    lastTime = int(packCMDList[1])
-    gmOper.SetGMAccID(packCMDList[0])
-    gmOper.SetLastTime(lastTime)
-    
-    curFindPlayer_GMOper.Sync_SaveToDB()
-    
-    curFindPlayer.SetGMForbidenFight(1)
-    #添加系统提示 
-    PlayerControl.NotifyCode(curFindPlayer, "Player_Operate_NoFight", [lastTime])
-    return
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer, callFunName, funResult, tick):
-    if funResult == '':
-        #GeRen_chenxin_112395 对不起,目标玩家不在线,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_112395")
-        return
-    
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_673416")
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_KickPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_KickPlayer.py
deleted file mode 100644
index 48c8cc9..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_KickPlayer.py
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_KickPlayer
-# 踢玩家下线
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.1
-#
-# 修改时间 修改人 修改内容
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#
-# VER = "2014-01-07 15:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import IPY_GameWorld
-import PlayerControl
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令 [请求好友数, 实际好友个数]
-#  @param tick 当前时间
-#  @return None or ""
-#  @remarks 函数详细说明.
-def DoLogic(query_Type , query_ID , packCMDList , tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        return ''
-    
-    curFindPlayer.Kick(IPY_GameWorld.disGMKick)
-    
-    return
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer , callFunName , funResult , tick):
-    if funResult == '':
-        #GeRen_chenxin_112395 对不起,目标玩家不在线,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer,"GeRen_chenxin_112395")
-        return
-    
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer,"GeRen_chenxin_673416")
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_PlayerDetailByID.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_PlayerDetailByID.py
deleted file mode 100644
index 08476b8..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_PlayerDetailByID.py
+++ /dev/null
@@ -1,220 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_PlayerDetailByID
-# 查询玩家信息
-#
-# @author panwei
-# @date 2010-3-31
-# @version 1.2
-#
-# @change: "2010-10-29 11:30" panwei 装备位拔除逻辑修改
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#---------------------------------------------------------------------
-"""Version = 2014-01-07 15:30"""
-#---------------------------------------------------------------------
-#命令:
-#GY_GM_PlayerDetailByID <ID>
-#
-#返回字典<Key:Value>:
-#Result:   1     #0
-#DictName: GY_GM_PlayerDetailByID
-#AccID:  帐户ID
-#Job:    职业
-#STR :   力量
-#PNE :   真元
-#PHY :   筋骨
-#CON :   体质
-#EquipOther:{
-#            RetINC1: [ID,MaxEndure, CurEndure]
-#            RetINC2: [ID,MaxEndure, CurEndure]
-#            RetHorse: [ID,MaxEndure, CurEndure]
-#            retHorseFood: [ID,MaxEndure, CurEndure]
-#            }
-#EquipOne: {
-#curEquip:[ID,MaxEndure, CurEndure] ,    #头盔
-#           retClothes:[ID,MaxEndure, CurEndure ],  #衣服
-#           retShoes:[ID,MaxEndure, CurEndure ] ,   #鞋子
-#           retArm:[ID,MaxEndure, CurEndure ],     #手套
-#           retNeck:[ID,MaxEndure, CurEndure ],    #项链
-#           retWeapon:[ID,MaxEndure, CurEndure ],  #武器
-#
-#}
-#EquipTwo: {
-#curEquip:[ID,MaxEndure, CurEndure] ,     #头盔
-#           retClothes:[ID,MaxEndure, CurEndure ],  #衣服
-#           retShoes:[ID,MaxEndure, CurEndure ] ,   #鞋子
-#           retArm:[ID,MaxEndure, CurEndure ],    #手套
-#           retNeck:[ID,MaxEndure, CurEndure ],    #项链
-#           retWeapon:[ID,MaxEndure, CurEndure ],  #武器
-#
-#Pack:{
-#      0:[ ID,MaxEndure, CurEndure, Count]
-#      1:[ ID,MaxEndure, CurEndure, Count]
-#      2:[ ID,MaxEndure, CurEndure, Count]
-#      3:[ ID,MaxEndure, CurEndure, Count]
-#      .
-#      .
-#      . 
-#     }                                     #结束标志:为玩家背包当前开始数
-#     
-#WareHouse:{
-#       0:[ ID,MaxEndure, CurEndure, Count]
-#       1:[ ID,MaxEndure, CurEndure, Count]
-#       2:[ ID,MaxEndure, CurEndure, Count]
-#       3:[ ID,MaxEndure, CurEndure, Count]
-#       .
-#       .
-#       .
-#         }    
-#}
-
-#---------------------------------------------------------------------
-#导入
-import IPY_GameWorld
-import PlayerControl
-import GameWorld
-import ShareDefine
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令 [ ]
-#  @param tick 当前时间
-#  @return resultDisc
-#  @remarks 函数详细说明.
-def DoLogic(query_Type , query_ID , packCMDList , tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    resultDisc = {}
-    
-    #无法查找玩家
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        resultDisc = {
-                        'Result'  : '0'                      ,
-                        'DictName': 'GY_GM_PlayerDetailByID' 
-                        }
-        return resultDisc
-        
-    else:
-        curFindPlayerEquipPack = curFindPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
-        
-        #=======================================================================
-        # mast_ID    , mast_maxEdu    , mast_curEdu    = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retMask)
-        # clothes_ID , clothes_maxEdu , clothes_curEdu = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retClothes)
-        # shoes_ID   , shoes_maxEdu   , shoes_curEdu   = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retShoes)
-        # arm_ID     , arm_maxEdu     , arm_curEdu     = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retArm)
-        # neck_ID    , neck_maxEdu    , neck_curEdu    = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retNeck)
-        #=======================================================================
-        weapon_ID  , weapon_maxEdu  , weapon_curEdu  = __GetEquipInfo(curFindPlayerEquipPack , ShareDefine.retWeapon)
-
-#===============================================================================
-#        inc1_ID    , inc1_maxEdu    , inc1_curEdu    = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retINC1)
-#        inc2_ID    , inc2_maxEdu    , inc2_curEdu    = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retINC2)
-# 
-#        horse_ID   , horse_maxEdu   , horse_curEdu   = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retHorse)
-#        food_ID    , food_maxEdu    , food_curEdu    = __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retHorseFood)     
-#===============================================================================
-        
-        gold = curFindPlayer.GetGold()
-        goldPaper = curFindPlayer.GetGoldPaper()
-        silver = PlayerControl.GetSilver(curFindPlayer)
-        silverPaper = curFindPlayer.GetSilverPaper()
-        
-        resultDisc = {
-                        'Result'  : '1'                               ,
-                        'DictName': 'GY_GM_PlayerDetailByID'          ,
-                        'AccID'   : '%s'%curFindPlayer.GetAccID()     ,
-                        'Job'     : '%s'%curFindPlayer.GetJob()       ,
-                        'STR'     : '%s'%curFindPlayer.GetSTR()       ,
-                        'PNE'     : '%s'%curFindPlayer.GetPNE()       ,
-                        'PHY'     : '%s'%curFindPlayer.GetPHY()       ,
-                        'CON'     : '%s'%curFindPlayer.GetCON()       ,
-                        'EquipOne': {
-                                        #=======================================
-                                        # 'curEquip'   :['%s'%mast_ID   ,'%s'%mast_maxEdu   ,'%s'%mast_curEdu   ]  ,    
-                                        # 'retClothes' :['%s'%clothes_ID,'%s'%clothes_maxEdu,'%s'%clothes_curEdu]  ,     
-                                        # 'retShoes'   :['%s'%shoes_ID  ,'%s'%shoes_maxEdu  ,'%s'%shoes_curEdu  ]  ,   
-                                        # 'retArm'     :['%s'%arm_ID    ,'%s'%arm_maxEdu    ,'%s'%arm_curEdu    ]  ,    
-                                        # 'retNeck'    :['%s'%neck_ID   ,'%s'%neck_maxEdu   ,'%s'%neck_curEdu   ]  ,    
-                                        #=======================================
-                                        'retWeapon'  :['%s'%weapon_ID ,'%s'%weapon_maxEdu ,'%s'%weapon_curEdu ]  ,   
-                                     }                      
-                                                    ,
-                        'EquipOther':{
-#===============================================================================
-#                                        'RetINC1' : ['%s'%inc1_ID  , '%s'%inc1_maxEdu , '%s'%inc1_curEdu  ]    ,
-#                                        'RetINC2' : ['%s'%inc2_ID  , '%s'%inc2_maxEdu , '%s'%inc2_curEdu  ]    ,
-# 
-#                                        'RetHorse': ['%s'%horse_ID , '%s'%horse_maxEdu, '%s'%horse_curEdu ]    , 
-# 
-#                                    'retHorseFood': ['%s'%food_ID  , '%s'%food_maxEdu , '%s'%food_curEdu  ]
-#===============================================================================
-                                     } 
-                                                    ,
-                        
-                        'Gold'       : '%s'%gold          ,
-                        'GoldPaper'  : '%s'%goldPaper     ,
-                        'Silver'     : '%s'%silver        ,
-                        'SilverPaper': '%s'%silverPaper   ,    
-                                    
-                                    } 
-        
-    packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptItem , 'Pack')
-    #链接背包
-    resultDisc.update(packDisc)
-    wareHouse = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptWarehouse , 'WareHouse')
-    #连接仓库
-    resultDisc.update(wareHouse)
-    
-    return resultDisc
-#---------------------------------------------------------------------
-## 获取装备信息
-#  @param equipPack 背包索引
-#  @param packIndex 位置索引
-#  @return [itemTypeID, maxEndure, curDurg]
-#  @remarks 函数详细说明.
-def __GetEquipInfo(equipPack , packIndex):
-    curEquip = equipPack.GetAt(packIndex)
-    
-    if curEquip.IsEmpty():
-        return '0' , '0' , '0'
-    
-    return curEquip.GetItemTypeID() , 0 , 0
-#---------------------------------------------------------------------
-## 获取背包字典
-#  @param curFindPlayer 当前玩家
-#  @param packIndex 背包索引
-#  @param discKey 字典值
-#  @return resultDisc
-#  @remarks 函数详细说明.
-def __GetItemPackDisc(curFindPlayer , packIndex , discKey):
-    itemPack = curFindPlayer.GetItemManager().GetPack(packIndex)
-    resultDisc = {discKey : {}}
-    #ID,MaxEndure, CurEndure, Count
-    for i in range(itemPack.GetCount()):
-        item = itemPack.GetAt(i)
-        if item.IsEmpty():
-            resultDisc[discKey].update({'%s'%i : ['0','0','0','0']})
-        else:
-            resultDisc[discKey].update({'%s'%i : ['%s'%item.GetItemTypeID(),'0','0','%s'%item.GetCount()]})
-    
-    return resultDisc
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer , callFunName , funResult , tick):
-    curPlayer.GMAnswer('%s;%s'%(callFunName, funResult))
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer,"GeRen_chenxin_673416")
-    return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_SetNoSight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_SetNoSight.py
deleted file mode 100644
index 72ebead..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_SetNoSight.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#---------------------------------------------------------------------
-#
-#---------------------------------------------------------------------
-##@package GY_Query_SetNoSight
-# @todo: 设置隐身
-#
-# @author: panwei
-# @date 2011-05-23
-# @version 1.1
-#
-# @note: 
-# @change: "2014-01-07 15:30" hxp 系统mark修改
-#---------------------------------------------------------------------
-"""Version = 2014-01-07 15:30"""
-#---------------------------------------------------------------------
-import IPY_GameWorld
-import ChConfig
-import PlayerControl
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-#  @param query_Type 请求类型
-#  @param query_ID 请求的玩家ID
-#  @param packCMDList 发包命令 [GM账户]
-#  @param tick 当前时间
-#  @return '' or None
-#  @remarks 函数详细说明.
-def DoLogic(query_Type, query_ID, packCMDList, tick):
-    curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
-    
-    if not curFindPlayer or curFindPlayer.IsEmpty():
-        return ''
-    
-    curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-    gmOper = curFindPlayer_GMOper.AddGMOper(IPY_GameWorld.gmForbidVisible)
-    gmOper.SetGMAccID(packCMDList[0])
-    gmOper.SetLastTime(ChConfig.Def_GMPower_MaxTime)
-    
-    curFindPlayer_GMOper.Sync_SaveToDB()
-    
-    curFindPlayer.SetVisible(0)
-    
-    #添加系统提示
-    #GeRen_chenxin_53880 注意:您已经被GM隐身!
-    PlayerControl.NotifyCode(curFindPlayer, "GeRen_chenxin_53880")
-    return
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-#  @param curPlayer 发出请求的玩家
-#  @param callFunName 功能名称
-#  @param funResult 查询的结果
-#  @param tick 当前时间
-#  @return None
-#  @remarks 函数详细说明.
-def DoResult(curPlayer, callFunName, funResult, tick):
-    if funResult == '':
-        #GeRen_chenxin_112395 对不起,目标玩家不在线,GM指令操作失败
-        PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_112395")
-        return
-    
-    #GeRen_chenxin_673416 GM指令已生效,操作成功
-    PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_673416")
-    return

--
Gitblit v1.8.0