From 728f5ff7f5cb2fbfabdb21c2f2fb2f78de3ef56c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 03 一月 2024 16:25:58 +0800
Subject: [PATCH] 10061 python代码在线重读(批量重读pymongo支持)
---
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