From 4e890dcf6ca7a885ad6d4f8e654599d8c08261ea Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 四月 2019 13:34:05 +0800
Subject: [PATCH] 1 修复本服妖王设置寻访状态bug
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 79 +--------------------------------------
1 files changed, 2 insertions(+), 77 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 3097e88..ba57c0f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -90,7 +90,6 @@
# @change: "2014-12-01 19:10" ljd 增加领取合服活动登陆奖励事件记录
# @change: "2014-12-21 23:00" hxp 增加功能奖励物品
# @change: "2014-12-23 00:30" hxp 充值前/消费时流向信息扩展(增加各大功能信息)
-# @change: "2015-01-27 22:30" hxp 增加转生等级变更流向
# @change: "2015-02-05 15:00" hxp 充值送礼流向扩展信息字典
# @change: "2015-02-27 21:00" hxp 增加大师等级升级流向; 重新开启技能学习流向
# @change: "2015-03-30 14:00" hxp 增加击杀NPC流向
@@ -354,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):
@@ -431,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: 玩家实例
@@ -464,26 +447,6 @@
#发送封包
SendEventPack("PlayerUpgrade", dataDict, curPlayer)
- return
-
-## 玩家转生等级变更
-# @param curPlayer: 玩家实例
-# @param reincarnationLvBefore: 之前转生次数
-# @param playerLVExBefore: 之前转生等级
-# @param eventName:
-# @return: None
-def DR_PlayerLVExChange(curPlayer, reincarnationLvBefore, playerLVExBefore, eventName, addDataDict={}):
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'ReincarnationLv':curPlayer.GetReincarnationLv(),
- 'PlayerLV':curPlayer.GetLV(), 'PlayerLVEx':curPlayer.GetLVEx(),
- 'TotalExp':curPlayer.GetTotalExp(), 'ReincarnationLvBefore':reincarnationLvBefore,
- 'PlayerLVExBefore':playerLVExBefore, "EventName":eventName}
-
- dataDict.update(addDataDict)
-
- #发送封包
- SendEventPack("PlayerLVExChange", dataDict, curPlayer)
return
## 玩家大师等级变更
@@ -1414,26 +1377,6 @@
SendEventPack("CollectNPCOK", dataDict, curPlayer)
return
-## 玩家领取充值特惠活动奖励
-# @param curPlayer: 玩家实例
-# @param actionID: 活动id
-# @param actionNum: 活动编号
-# @param itemID: 物品id
-# @param itemCnt: 物品数量
-# @param isPutIn: 是否放入
-# @param prizeIndex: 奖励中的第x种奖励
-# @return
-def DR_PlayerTeHuiRechargePrize(curPlayer, actionID, actionNum, itemID, itemCnt, isPutIn, prizeIndex):
- #MySql不识别 True False,改成1和0
- isPutIn = 1 if isPutIn else 0
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'ActionID':actionID, 'ActionNum':actionNum,
- 'IsPutIn':isPutIn, "ItemID":itemID, "ItemCount":itemCnt, 'PrizeIndex':prizeIndex}
-
- SendEventPack("TeHuiRechargePrize", dataDict, curPlayer)
- return
-
## 领取投资回报
# @param curPlayer: 玩家实例
@@ -1473,24 +1416,6 @@
#发送封包
SendEventPack("TreasureResult", dataDict, curPlayer)
- return
-
-## 消费VIP升级记录
-# @param curPlayer
-# @param lastLV 原VIPLV
-# @param curExp 当前VIP经验
-# @param addExp 增加VIP经验
-# @param costType 花费类型
-# @param costGold 花费数
-# @return: None
-def DR_PlayerCostVIPLV(curPlayer, lastLV, curExp, addExp, costType, costGold):
-
- dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
- 'AccID':curPlayer.GetAccID(), 'VIPLv':curPlayer.GetVIPLv(), 'lastVIPLv':lastLV,
- 'curExp':curExp, 'addExp':addExp, 'costType':costType, 'costGold':costGold}
-
- #发送封包
- SendEventPack("PlayerCostVIPLV", dataDict, curPlayer)
return
## 玩家提交bug及建议
--
Gitblit v1.8.0