From 35290eb5987f2fcb97509ea10d8bd8afebd8ad1c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 03 十一月 2020 11:43:54 +0800
Subject: [PATCH] 4840 【BT】坐骑生命显示格式错误(修改发包A5 27 坐骑提升 #tagCMHorseUp 使用个数为WORD;修改收包A3 01 坐骑培养信息 #tagTrainHorseData 吃丹数为DWORD);
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py
index 86d3fc1..453fcbe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py
@@ -22,6 +22,9 @@
# @remarks 函数详细说明.
def OnExec(curPlayer, paramList):
#输入命令格式错误
+ if not paramList:
+ GameWorld.DebugAnswer(curPlayer, "SetWorldPos mapID posX posY")
+ return
mapID, posX, posY = paramList[:3]
lineID = paramList[3] if len(paramList) > 3 else - 1
if not mapID:
--
Gitblit v1.8.0