From 08c9ba65612f4eed3f7f60b5dbbdeefea166b299 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 23 九月 2022 14:35:09 +0800
Subject: [PATCH] 9701 【后端】【越南】【BT7】【主干】跨服竞技64位排位赛(仙官相关)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GMCommon.py | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GMCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GMCommon.py
index 282698d..667abfe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GMCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/GMCommon.py
@@ -21,6 +21,7 @@
#---------------------------------------------------------------------
import IPY_GameWorld
+import GameWorld
#------------------------------------------------------------------------------
#gm工具返回结果类型
@@ -56,10 +57,12 @@
Def_CurTimeGreaterEndTime, # 28当前时间大于结束时间
Def_ActionAllreadyOpen, #29 活动已经设置过了
Def_GMForbidMergeWar, #30 gm设置这个服不参加跨服塞
-Def_IsNotMergeServer, #31 该服不是跨服服务器
+Def_IsNotCrossServer, #31 该服不是跨服服务器
Def_ServerAlreadyOpen, #32 已经正式开服过
+Def_ServerClose, #33 服务器维护中
+Def_ServerOpen, #34 服务器正常
Def_ResultTypeMax,
-) = range(34)
+) = range(36)
#BUFF对应中文名
BuffNameList = ["无类型", "增益技能:", "减益技能:", "光环技能:", "增值技能:", "被动技能",
@@ -87,3 +90,7 @@
return buffTypeList
+def SendGMTResult(orderId, pack_type, result=Def_Success, retMsg=None):
+ resultMsg = str([orderId, retMsg, pack_type, result])
+ GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'GMToolResult', resultMsg, len(resultMsg))
+ return
--
Gitblit v1.8.0