From 68dd06e06c1a4a155884c31403da1155be6f10e8 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 18 四月 2019 17:11:31 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Func_6.py | 46 ++++++++++++++++++++++++----------------------
1 files changed, 24 insertions(+), 22 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Func_6.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Func_6.py
index 9fd1e04..9f4a2d3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Func_6.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Func_6.py
@@ -398,28 +398,30 @@
# @return 返回值无意义
# @remarks 客户端封包响应 //0C 07 客户端发送仓库密码#tagSendWarehousePsw
def SendWarehousePsw(curPlayer, tick):
- #玩家当前状态不是输入密码状态
- if curPlayer.GetWarehouseState() != IPY_GameWorld.wsEnterPsw:
- return
-
- #获得客户端封包
- sendPack = IPY_GameWorld.IPY_SendWarehousePsw()
- curPsw = sendPack.GetPsw()
- oldPsw = curPlayer.GetWarehousePsw()
-
- #这里是调用c++的过滤空格,可以过滤全角空格, python不能
- curPsw = GameWorld.GetGameWorld().GetCharTrim(curPsw)
-
- #密码不正确
- if curPsw != oldPsw:
- curPlayer.Frm_WarehouseMsg(IPY_GameWorld.whmPswError)
- EventShell.DoExitEvent(curPlayer)
-
- PlayerControl.NotifyCode(curPlayer, "GeRen_pan_59781")
- return
-
- #密码正确
- ShowWarehouse(curPlayer)
+ #===========================================================================
+ # #玩家当前状态不是输入密码状态
+ # if curPlayer.GetWarehouseState() != IPY_GameWorld.wsEnterPsw:
+ # return
+ #
+ # #获得客户端封包
+ # sendPack = IPY_GameWorld.IPY_SendWarehousePsw()
+ # curPsw = sendPack.GetPsw()
+ # oldPsw = curPlayer.GetWarehousePsw()
+ #
+ # #这里是调用c++的过滤空格,可以过滤全角空格, python不能
+ # curPsw = GameWorld.GetGameWorld().GetCharTrim(curPsw)
+ #
+ # #密码不正确
+ # if curPsw != oldPsw:
+ # curPlayer.Frm_WarehouseMsg(IPY_GameWorld.whmPswError)
+ # EventShell.DoExitEvent(curPlayer)
+ #
+ # PlayerControl.NotifyCode(curPlayer, "GeRen_pan_59781")
+ # return
+ #
+ # #密码正确
+ # ShowWarehouse(curPlayer)
+ #===========================================================================
return
#---------------------------------------------------------------------
--
Gitblit v1.8.0