From 6869df298441156d614fa00d8b774af55f868404 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 28 一月 2019 11:44:51 +0800
Subject: [PATCH] 2961 【BUG】【1.5.100】诛仙Boss结算报错
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py
index feafac2..9aed006 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py
@@ -103,13 +103,10 @@
del inputList[0]
#把剩余参数转换为整型
for i in range(0, len(inputList)):
- if not inputList[i].isdigit():
- continue
-
value = GameWorld.ToIntDef(inputList[i], None)
if value == None:
- GameWorld.DebugAnswer(curPlayer, "参数错误, 必须为纯数字!")
- return
+ #GameWorld.DebugAnswer(curPlayer, "参数错误, 必须为纯数字!")
+ continue
inputList[i] = value
callFunc(curPlayer, inputList)
@@ -258,7 +255,7 @@
curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
if not curPlayer.GetMapLoadOK():
- #未读取地图成功,不让用
+ GameWorld.DebugLog(" 未读取地图成功,不让用")
return
#判断FB中是否可使用GM命令
--
Gitblit v1.8.0