From 7addbe94218179036af49b5845e3635b9b3796cf Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 10 十一月 2018 20:54:02 +0800
Subject: [PATCH] 4359 子 【1.2.0】背包物品排序修改 / 【后端】背包物品排序修改

---
 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