From eda67261f401cc667834c73bdffec1e11319f47a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 11 三月 2020 23:42:30 +0800 Subject: [PATCH] 8399 每日灵石礼包修改(封包AA25 AA26) --- ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py | 40 ++++------------------------------------ 1 files changed, 4 insertions(+), 36 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py b/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py index 42ad582..a421082 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py @@ -76,6 +76,8 @@ pid = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_PlayerFromPID) dataDict["pid"] = pid dataDict["fightPower"] = curPlayer.GetFightPower() + dataDict["PlayerLV"] = curPlayer.GetLV() + dataDict["IP"] = curPlayer.GetIP() dataDict["time"] = str(datetime.datetime.today()).split(".")[0] @@ -116,10 +118,10 @@ # @param familyName: 家族名 # @param familyID: 家族ID # @return None -def DR_CreateFamily(accID, playerID, playerNaem, familyName, familyID): +def DR_CreateFamily(accID, playerID, playerNaem, familyName, familyID, creatFamilyTimes): dataDict = {'AccID':accID, 'PlayerID':playerID, "PlayerName":playerNaem, 'FamilyName':familyName, - 'FamilyID':familyID} + 'FamilyID':familyID, 'creatFamilyTimes':creatFamilyTimes} #发送封包 SendEventPack("CreateFamily", dataDict) @@ -559,39 +561,5 @@ dataDict = {'GUID':GUID, "eventName":eventName} dataDict.update(addDict) SendEventPack("CompensationEntire", dataDict) - return - -## 发送充值排行榜特惠活动奖励邮件记录流向 -# @param curPlayerID: 玩家ID -# @param GUID: -# @param actionID: 活动ID -# @param actionValue: 活动编号 -# @param order: 奖励排名 -# @param rewardItemList: 奖励物品列表 -# @return None -def DR_SendRechareRankTeHuiRewardMail(curPlayerID, GUID, actionID, actionValue, order, rewardItemList): - - dataDict = {'PlayerID':curPlayerID, 'GUID':GUID, 'ActionID':actionID, 'ActionValue':actionValue, - 'Order':order, 'ItemList':rewardItemList} - - #发送封包 - SendEventPack("SendRechareRankTeHuiRewardMail", dataDict) - return - -## 发送消费排行榜特惠活动奖励邮件记录流向 -# @param curPlayerID: 玩家ID -# @param GUID: -# @param actionID: 活动ID -# @param actionValue: 活动编号 -# @param order: 奖励排名 -# @param rewardItemList: 奖励物品列表 -# @return None -def DR_SendCostRankTeHuiRewardMail(curPlayerID, GUID, actionID, actionValue, order, rewardItemList): - - dataDict = {'PlayerID':curPlayerID, 'GUID':GUID, 'ActionID':actionID, 'ActionValue':actionValue, - 'Order':order, 'ItemList':rewardItemList} - - #发送封包 - SendEventPack("SendCostRankTeHuiRewardMail", dataDict) return -- Gitblit v1.8.0