From 2470d825e304e982261afd240d06ef03cd5366e8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 06 三月 2026 14:58:18 +0800
Subject: [PATCH] 16 卡牌服务端(后台禁言、封号支持;)
---
/dev/null | 52 ----------------------------------------------------
1 files changed, 0 insertions(+), 52 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTPlayerForbid.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTPlayerForbid.py
deleted file mode 100644
index 2cf1b2d..0000000
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTPlayerForbid.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/python
-# -*- coding: GBK -*-
-#---------------------------------------------------------------------
-#
-#---------------------------------------------------------------------
-##@package GY_Query_GMTPlayerForbid.py
-# @todo: gm工具封号
-#
-# @author: wdb
-# @date 2012-06-14
-# @version 1.0
-#
-# @note:
-#---------------------------------------------------------------------
-"""Version = 2012-06-14 18:00"""
-#---------------------------------------------------------------------
-import IPY_GameWorld
-import ChConfig
-import GameWorld
-import DataRecordPack
-#---------------------------------------------------------------------
-#全局变量
-#---------------------------------------------------------------------
-
-#---------------------------------------------------------------------
-#逻辑实现
-## 请求逻辑
-# @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 ''
-
- accState = curFindPlayer.GetAccState()
- forbidInfo = {
- 'forbidLogin':accState == IPY_GameWorld.pysForbidden, #是否锁定
- 'forbidTalk':curFindPlayer.GetGMForbidenTalk() > 0, #是否禁言
- }
-
- resultMsg = str([packCMDList[0], forbidInfo, 'GMT_GetPlayerForbid'])
- GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'GMToolResult',
- resultMsg, len(resultMsg))
- return ''
-
-
-
\ No newline at end of file
--
Gitblit v1.8.0