From 2cf5365a5e409b38bba122f9bd1b0a6bd217c1c0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 七月 2025 17:57:30 +0800
Subject: [PATCH] 16 卡牌服务端(删除无用的GY_Query_Offline_xxx命令)
---
/dev/null | 89 --------------------------------------------
1 files changed, 0 insertions(+), 89 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_FindPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_FindPlayer.py
deleted file mode 100644
index 2e03e55..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_FindPlayer.py
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_FindPlayer
-# 脱机工具,查询玩家
-# 客户端发包 [参数1: (1:账户查询 2:ID查询 3:名字查询) , 参数2:值]
-#
-# @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 GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## GM命令执行入口
-# @param curPlayer 当前玩家
-# @param playerList 参数列表 [参数1: (1:账户查询 2:ID查询 3:名字查询) , 参数2:值]
-# @return None
-# @remarks 函数详细说明.
-def OnExec(curPlayer , playerList):
- if len(playerList) != 2:
- return
-
- #封包值
- packValue = playerList[0]
- packKey = playerList[1]
- sendMsg = '%s'%(packKey)
-
- if packValue == 1:
- #按账户查询
- curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayerByAccID, 0, 'Offline_FindPlayer', sendMsg, len(sendMsg))
- elif packValue == 2:
- #ID查询
- curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer , int(packKey), 'Offline_FindPlayer', '', 0)
- elif packValue == 3:
- #名字查询
- curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayerByName , 0, 'Offline_FindPlayer', sendMsg, len(sendMsg))
- else:
- GameWorld.Log('脱机工具,查询玩家异常 = %s , %s'%(packValue , packKey))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_UnBind.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_UnBind.py
deleted file mode 100644
index 8895792..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_UnBind.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_UnBind
-# 解封
-#
-# @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,
- 'Offline_UnBind', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewAttribute.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewAttribute.py
deleted file mode 100644
index 0c94f12..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewAttribute.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewAttribute
-# 查看玩家属性
-#
-# @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,
- 'Offline_ViewAttribute', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewGMOper.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewGMOper.py
deleted file mode 100644
index 57c5bc5..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewGMOper.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewGMOper
-# 查看玩家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'%[]
-
- #添加地图服务器请求,实现逻辑在PlayerQuery.py -> GameServer_QueryPlayer
- curPlayer.GameServer_QueryPlayerByID(ChConfig.queryType_sqtPlayer , curFindPlayerID,
- 'Offline_ViewGMOper', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewItem.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewItem.py
deleted file mode 100644
index c75ead5..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewItem.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewItem
-# 查看玩家物品
-#
-# @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,
- 'Offline_ViewItem', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewMoney.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewMoney.py
deleted file mode 100644
index 2efe346..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewMoney.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewMoney
-# 查看玩家金钱
-#
-# @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,
- 'Offline_ViewMoney', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewSkill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewSkill.py
deleted file mode 100644
index 4bb5ac0..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewSkill.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewSkill
-# 查看玩家技能
-#
-# @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,
- 'Offline_ViewSkill', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewTitle.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewTitle.py
deleted file mode 100644
index 2acab75..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewTitle.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewTitle
-# 查看玩家称号
-#
-# @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,
- 'Offline_ViewTitle', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewUnBind.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewUnBind.py
deleted file mode 100644
index 1e03bc1..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GY_GM_Offline_ViewUnBind.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_GM_Offline_ViewUnBind
-# 查看玩家解封
-#
-# @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,
- 'Offline_ViewUnBind', sendMsg, len(sendMsg))
-
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_FindPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_FindPlayer.py
deleted file mode 100644
index 71f266b..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_FindPlayer.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_FindPlayer
-# 查询玩家
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import GameWorld
-import IPY_GameWorld
-import ChConfig
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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):
- playerManager = GameWorld.GetPlayerManager()
- if query_Type == ChConfig.queryType_sqtPlayer:
- #玩家查询(通过ID)
- curFindPlayer = GameWorld.GetPlayerManager().FindPlayerByID(query_ID)
- elif query_Type == ChConfig.queryType_sqtPlayerByAccID:
- #玩家查询(通过帐号)
- curFindPlayer = playerManager.FindPlayerByAccID(str(packCMDList))
- elif query_Type == ChConfig.queryType_sqtPlayerByName:
- #玩家查询(通过名字)
- curFindPlayer = playerManager.FindPlayerByName(str(packCMDList))
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_FindPlayer' ,
- 'Name' : '%s'%(curFindPlayer.GetName()) ,
- 'ID' : '%s'%(curFindPlayer.GetPlayerID()) ,
- 'OnLine' : '%s'%(1) ,
- 'Job' : '%s'%(curFindPlayer.GetJob()) ,
- 'Lv' : '%s'%(curFindPlayer.GetLV()) ,
- 'PKValue' : '%s'%(curFindPlayer.GetPKValue()) ,
- 'LoginTime' : '%s'%(curFindPlayer.GetLoginTime()) ,
- 'IP' : '%s'%(curFindPlayer.GetIP()) ,
- 'Sex' : '%s'%(curFindPlayer.GetSex()) ,
- 'Pos' : '%s,%s,%s'%(curFindPlayer.GetMapID(), curFindPlayer.GetPosX(), curFindPlayer.GetPosY()) ,
- 'Family' : '%s'%(curFindPlayer.GetFamilyName()),
- 'LastCountryHornor' : '%s'%(curFindPlayer.GetCountryLastWeekHornor()) ,
- 'CurCountryHornor' : '%s'%(curFindPlayer.GetCountryHornor()),
- 'CurTeamHornor' : '%s'%(curFindPlayer.GetTeamHornor()),
- }
-
- 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))
- return
\ No newline at end of file
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
deleted file mode 100644
index 5c9647e..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#---------------------------------------------------------------------
-#
-#---------------------------------------------------------------------
-##@package GY_Query_Offline_UnBind
-# @todo: 解封玩家
-#
-# @author: panwei
-# @date 2011-05-23
-# @version 1.0
-#
-# @note:
-#---------------------------------------------------------------------
-"""Version = 2011-05-23 15:10"""
-#---------------------------------------------------------------------
-import GameWorld
-import IPY_GameWorld
-import PlayerControl
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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 ''
-
- result = __DoLogic(curFindPlayer)
- return result
-#---------------------------------------------------------------------
-## 解封玩家
-# @param curFindPlayer 当前玩家
-# @return None
-# @remarks 函数详细说明.
-def __DoLogic(curFindPlayer):
- if curFindPlayer.GetAccState() != IPY_GameWorld.pysForbidden:
- GameWorld.Log('###脱机工具->解封异常 : 玩家 = %s无解封信息'%(curFindPlayer.GetPlayerID()))
- return ''
-
- curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-
- for index in range(curFindPlayer_GMOper.GetCount()):
- curOper = curFindPlayer_GMOper.GetAt(index)
- if curOper.GetOper() == IPY_GameWorld.pysForbidden:
- curFindPlayer_GMOper.DeleteOper(IPY_GameWorld.pysForbidden)
- curFindPlayer_GMOper.Sync_SaveToDB()
- PlayerControl.SetPlayerAccState(curFindPlayer, IPY_GameWorld.pysNormal)
- return '%s,%s'%(curFindPlayer.GetPlayerID(), curFindPlayer.GetName())
-
- GameWorld.Log('###脱机工具解封异常 : 玩家 = %s查找解封信息失败'%(curFindPlayer.GetPlayerID()))
- return ''
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-# @param curPlayer 发出请求的玩家
-# @param callFunName 功能名称
-# @param funResult 查询的结果
-# @param tick 当前时间
-# @return None
-# @remarks 函数详细说明.
-def DoResult(curPlayer, callFunName, funResult, tick):
- if funResult != '':
- pass
-
- curPlayer.GMAnswer('%s;%s'%(callFunName, funResult))
- return
-
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewAttribute.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewAttribute.py
deleted file mode 100644
index 83f6cb4..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewAttribute.py
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewAttribute
-# 查看玩家属性信息
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#---------------------------------------------------------------------
-#导入
-import GameWorld
-import GameObj
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_Query_Offline_ViewAttribute' ,
- 'Hp' : '%s'%(GameObj.GetHP(curFindPlayer)) ,
- 'Mp' : '%s'%(curFindPlayer.GetMP()) ,
- 'FreePoint': '%s'%(curFindPlayer.GetFreePoint()),
- 'BaseSTR' : '%s'%(curFindPlayer.GetBaseSTR()) ,
- 'BasePNE' : '%s'%(curFindPlayer.GetBasePNE()) ,
- 'BasePHY' : '%s'%(curFindPlayer.GetBasePHY()) ,
- 'BaseCON' : '%s'%(curFindPlayer.GetBaseCON()) ,
- 'TotalSTR' : '%s'%(curFindPlayer.GetTotalSTR()) ,
- 'TotalPNE' : '%s'%(curFindPlayer.GetTotalPNE()) ,
- 'TotalPHY' : '%s'%(curFindPlayer.GetTotalPHY()) ,
- 'TotalCON' : '%s'%(curFindPlayer.GetTotalCON()) ,
- }
-
- 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))
- return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewGMOper.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewGMOper.py
deleted file mode 100644
index 65f16e6..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewGMOper.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewGMOper
-# 查询gm操作
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_ViewGMOper' ,
- }
-
- packDisc = __GetItemPackDisc(curFindPlayer , 'GMOper')
- resultDisc.update(packDisc)
-
- return resultDisc
-#---------------------------------------------------------------------
-## 获取发包命令字典
-# @param curFindPlayer 当前玩家
-# @param discKey 字典key
-# @return None
-# @remarks 函数详细说明.
-def __GetItemPackDisc(curFindPlayer, discKey):
- resultDisc = {discKey : {}}
-
- curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-
- for index in range( curFindPlayer_GMOper.GetCount() ):
- curOper = curFindPlayer_GMOper.GetAt(index)
-
- resultDisc[discKey].update({'%s'%index : '%s,%s,%s,%s,%s'%(curOper.GetOper() , curOper.GetStartTime(),
- curOper.GetEndTime() , curOper.GetGMAccID() , curOper.GetMsg() )})
-
- 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))
- return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewItem.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewItem.py
deleted file mode 100644
index 347ab17..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewItem.py
+++ /dev/null
@@ -1,154 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewItem
-# 查看所有物品
-#
-# @author panwei
-# @date 2010-3-31
-# @version 1.2
-#
-# 修改时间 修改人 修改内容
-# @change: "2010-10-29 11:30" panwei 装备位拔除逻辑修改
-# @change: "2013-04-18 17:00" wdb 物品颜色使用修改
-#---------------------------------------------------------------------
-"""Version = 2013-04-18 17:00"""
-#---------------------------------------------------------------------
-#导入
-import GameWorld
-import IPY_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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- # rptDeleted = _IPY_GameWorld.rptDeleted
- # rptEquip = _IPY_GameWorld.rptEquip
- # rptItem = _IPY_GameWorld.rptItem
- # rptRecycle = _IPY_GameWorld.rptRecycle
- # rptBreakItem = _IPY_GameWorld.rptBreakItem
- # rptWarehouse = _IPY_GameWorld.rptWarehouse
- # rptTitle = _IPY_GameWorld.rptTitle(不要)
- # rptCompose = _IPY_GameWorld.rptCompose
- # rptIdentify = _IPY_GameWorld.rptIdentify
- # rptBreakPrepare = _IPY_GameWorld.rptBreakPrepare
- # rptResult = _IPY_GameWorld.rptResult
- # rptInvestiture = _IPY_GameWorld.rptInvestiture(不要)
-
- #连接装备背包
- curFindPlayerEquipPack = curFindPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_ViewItem' ,
- 'EquipOne': {
- #===============================================
- # 'curEquip' : __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retMask) ,
- # 'retClothes' : __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retClothes),
- # 'retShoes' : __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retShoes) ,
- # 'retArm' : __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retArm) ,
- # 'retNeck' : __GetEquipInfo(curFindPlayerEquipPack , IPY_GameWorld.retNeck) ,
- #===============================================
- 'retWeapon' : __GetEquipInfo(curFindPlayerEquipPack , ShareDefine.retWeapon) ,
- }
- ,
- 'EquipOther':{
-
- }
- }
-
- #连接删除背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptDeleted, 'DelPack')
- resultDisc.update(packDisc)
- #连接物品背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptItem, 'ItemPack')
- resultDisc.update(packDisc)
- #连接垃圾桶
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptRecycle, 'RecyclePack')
- resultDisc.update(packDisc)
- #连接拆解背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptBreakItem, 'BreakItemPack')
- resultDisc.update(packDisc)
- #连接仓库
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptWarehouse, 'WarehousePack')
- resultDisc.update(packDisc)
- #连接打造背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptCompose, 'ComposePack')
- resultDisc.update(packDisc)
- #连接鉴定背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptIdentify, 'IdentifyPack')
- resultDisc.update(packDisc)
- #连接拆解准备背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptBreakPrepare, 'BreakPreparePack')
- resultDisc.update(packDisc)
- #连接打造结果背包
- packDisc = __GetItemPackDisc(curFindPlayer , IPY_GameWorld.rptResult, 'ResultPack')
- resultDisc.update(packDisc)
-
- return resultDisc
-
-#---------------------------------------------------------------------
-## 返回指定物品的信息
-# @param equipPack 背包索引
-# @param packIndex 位置索引
-# @return [name, starLV, stone, durg, maxEnd, count]
-# @remarks 函数详细说明.
-def __GetEquipInfo(equipPack , packIndex):
- curEquip = equipPack.GetAt(packIndex)
- #名字 , 星级 , 镶嵌数 , 耐久/最大耐久 , 数量
- if curEquip.IsEmpty():
- return ['0' , '0' , '0' , '0/0' , '0']
-
- return [
- '%s'%(__ParseItemName(curEquip)), '0', '0', '0/0', '%s'%(curEquip.GetCount())
- ]
-
-#---------------------------------------------------------------------
-## 解析物品名称 白 -> 破旧的,粗制的,普通的, 蓝 -> 4 优秀的,精良的,卓越的, 紫 -> 稀有的,无暇的,完美的
-# @param item 物品
-# @return itemName
-# @remarks 函数详细说明.
-def __ParseItemName(item):
- itemName = item.GetName()
- return itemName
-#---------------------------------------------------------------------
-## 获取背包字典
-# @param curFindPlayer 当前玩家
-# @param packIndex 背包索引
-# @param discKey 字典key
-# @return None
-# @remarks 函数详细说明.
-def __GetItemPackDisc(curFindPlayer , packIndex , discKey):
- itemPack = curFindPlayer.GetItemManager().GetPack(packIndex)
- resultDisc = {discKey : {}}
- for i in range(itemPack.GetCount()):
- resultDisc[discKey].update({'%s'%i : __GetEquipInfo(itemPack , i)})
-
- 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))
- return
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewMoney.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewMoney.py
deleted file mode 100644
index 49ec5c1..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewMoney.py
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewMoney
-# 查看金钱
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import GameWorld
-import PlayerControl
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_ViewMoney' ,
- 'packGold' : '%s'%(curFindPlayer.GetGold()) ,
- 'packGoldPaper': '%s'%(curFindPlayer.GetGoldPaper()) ,
- 'packSilver' : '%s'%(PlayerControl.GetSilver(curFindPlayer)) ,
- 'packSilverPaper': '%s'%(curFindPlayer.GetSilverPaper()) ,
- 'WareHouseGold': '%s'%(curFindPlayer.GetWarehouseGold()),
- 'WareHouseSilver': '%s'%(curFindPlayer.GetWarehouseSilver())
- }
-
- 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))
- return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewSkill.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewSkill.py
deleted file mode 100644
index 2a4b9eb..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewSkill.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewSkill
-# 查看技能
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_ViewSkill' ,
- 'freeSkillPoint' : '%s'%(curFindPlayer.GetFreeSkillPoint()) ,
- }
-
-
- packDisc = __GetItemPackDisc(curFindPlayer , 'SkillDetel')
- resultDisc.update(packDisc)
-
- return resultDisc
-
-## 获取物品字典
-# @param curFindPlayer 当前玩家
-# @param discKey 字典key
-# @return resultDisc
-# @remarks 函数详细说明.
-def __GetItemPackDisc(curFindPlayer , discKey):
- skillManager = curFindPlayer.GetSkillManager()
- resultDisc = {discKey : {}}
- for i in range(skillManager.GetSkillCount()):
- skill = skillManager.GetSkillByIndex(i)
- resultDisc[discKey].update({'%s'%i : '%s,%s'%(skill.GetSkillName() , skill.GetSkillLV())})
-
- 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))
- return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewTitle.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewTitle.py
deleted file mode 100644
index 9c1ec51..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewTitle.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewTitle
-# 查看称号
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明-------------------------------------------------
-#导入
-import GameWorld
-import IPY_GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- curFindPlayerEquipPack = curFindPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
- curEquipTitle = curFindPlayerEquipPack.GetAt(IPY_GameWorld.retTitle)
- if curEquipTitle.IsEmpty():
- curEquipTitleName = ''
- curEquipTitleID = 0
- else:
- curEquipTitleName = curEquipTitle.GetName()
- curEquipTitleID = curEquipTitle.GetItemTypeID()
-
-
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_ViewTitle' ,
- 'EquipTitle' : '%s'%(curEquipTitleName) ,
- }
-
- packDisc = __GetItemPackDisc(curFindPlayer , curEquipTitleID , IPY_GameWorld.rptTitle , 'Title')
- resultDisc.update(packDisc)
-
- return resultDisc
-
-#---------------------------------------------------------------------
-## 获取物品背包字典
-# @param curFindPlayer 当前玩家
-# @param curEquipTitleID 称号ID
-# @param packIndex 背包索引
-# @param discKey 字典key
-# @return None
-# @remarks 函数详细说明.
-def __GetItemPackDisc(curFindPlayer , curEquipTitleID , packIndex , discKey):
- itemPack = curFindPlayer.GetItemManager().GetPack(packIndex)
- resultDisc = {discKey : {}}
- for i in range(itemPack.GetCount()):
- curTitle = itemPack.GetAt(i)
- if curTitle.IsEmpty() or curTitle.GetItemTypeID() == curEquipTitleID:
- continue
-
- resultDisc[discKey].update({'%s'%i : '%s'%(curTitle.GetName())})
-
- 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))
- return
\ No newline at end of file
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewUnBind.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewUnBind.py
deleted file mode 100644
index e583985..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_ViewUnBind.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-
-##@package GY_Query_Offline_ViewUnBind
-# 查看解封
-#
-# @author mark
-# @date 2010-3-31
-# @version 1.0
-#
-# 修改时间 修改人 修改内容
-# VER = "2010-05-12 18:30" zhengyang 添加注释
-#
-# 模块详细说明
-#导入
-import GameWorld
-import IPY_GameWorld
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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)
-
- if not curFindPlayer or curFindPlayer.IsEmpty():
- return ''
-
- if curFindPlayer.GetAccState() != IPY_GameWorld.pysForbidden:
- resultDisc = {
- 'Result' : '0' ,
- 'DictName' : 'GY_GM_Offline_ViewGMOper' ,
- }
- else:
- curOper = __GetOper(curFindPlayer)
- #异常
- if not curOper:
- GameWorld.Log('###查询是否封存命令错误,无法查找到封存信息')
- resultDisc = {
- 'Result' : '0' ,
- 'DictName' : 'GY_GM_Offline_ViewGMOper' ,
- }
- else:
- resultDisc = {
- 'Result' : '1' ,
- 'DictName' : 'GY_GM_Offline_ViewGMOper' ,
- 'BeginTime' : '%s'%curOper.GetStartTime() ,
- 'EndTime' : '%s'%curOper.GetEndTime() ,
- 'GmAccID' : '%s'%curOper.GetGMAccID() ,
- 'Msg' : '%s'%curOper.GetMsg() ,
- }
-
-
-
- return resultDisc
-#---------------------------------------------------------------------
-## 获取操作
-# @param curFindPlayer 当前玩家
-# @return None or Oper
-# @remarks 函数详细说明.
-def __GetOper(curFindPlayer):
- curFindPlayer_GMOper = curFindPlayer.GetGMOperManager()
-
- for index in range( curFindPlayer_GMOper.GetCount() ):
- curOper = curFindPlayer_GMOper.GetAt(index)
- if curOper.GetOper() == IPY_GameWorld.pysForbidden:
- return curOper
-
- return
-#---------------------------------------------------------------------
-#执行结果
-## 执行结果
-# @param curPlayer 发出请求的玩家
-# @param callFunName 功能名称
-# @param funResult 查询的结果
-# @param tick 当前时间
-# @return None
-# @remarks 函数详细说明.
-def DoResult(curPlayer , callFunName , funResult , tick):
- curPlayer.GMAnswer('%s;%s'%(callFunName, funResult))
- return
\ No newline at end of file
--
Gitblit v1.8.0