From 69af48cc1a7c0a6b71b3464b15bd8ffba4958b5c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 22 十一月 2018 20:42:32 +0800
Subject: [PATCH] 4919 [主干]增加玩家战力流向记录
---
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