From 98628e52c80ea22ed6c0ea5a2890d88bd5c14ffc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 17 六月 2019 14:54:09 +0800
Subject: [PATCH] 7193 【2.0】仙盟联赛修改(无人参赛时所有成员获得拍品收益,不含中途转盟过来的;修复仙盟拍品无人收益时报错bug)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py |   27 +++++++++------------------
 1 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 770f6ea..d9b5574 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -353,6 +353,8 @@
     #发送封包
     SendEventPack("CTGError", dataDict, curPlayer)
     GameWorld.ErrLog("%s. %s" % (errorInfo, addDict), curPlayer.GetPlayerID())
+    
+    GameWorld.SendGameStateMail("CTGError:%s - %s"%(errorInfo, dataDict))
     return
 
 def DR_CTGOK(curPlayer, addDict):
@@ -430,24 +432,6 @@
     #发送封包
     SendEventPack("PlayerCoinAfterCharge", dataDict, curPlayer)
     return
-    
-    
-## 玩家商城购买物品
-#  @param curPlayer: 玩家实例
-#  @param buyItemID: 购买物品id
-#  @param buyItemCount: 购买物品数量
-#  @param buyItemGUID: GUID
-#  @return: None
-def DR_PlayerSupermarket(curPlayer, buyItemID, buyItemCount, buyItemGUID):
-
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(), 'ItemID':buyItemID, 'ItemCount':buyItemCount, 
-                'ItemGUID':buyItemGUID}
-
-    #发送封包
-    SendEventPack("PlayerSupermarket", dataDict, curPlayer)
-    return
-
 
 ## 玩家升级
 #  @param curPlayer: 玩家实例
@@ -858,6 +842,13 @@
         
     return
 
+## 获得金钱失败
+def DR_GiveMoneyError(curPlayer, priceType, value, giveType, addDataDict):
+    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
+                'AccID':curPlayer.GetAccID(), "GiveType":giveType, "GiveValue":value, "AddDataDict":addDataDict}
+    SendEventPack("GiveMoneyError_%s" % priceType, dataDict, curPlayer)
+    return
+
 ## 获得物品
 #  @param curPlayer: 玩家实例
 #  @param eventName: 功能事件名

--
Gitblit v1.8.0