5278 【BT5】【bt5_1.100.1】【主干】GM后台充值流向记录错误(修复充值奖励物品直接转化为货币时会改变流向记录eventName的bug;去除后台充值失败邮件警告)
| | |
| | | SendEventPack("CTGError", dataDict, curPlayer)
|
| | | GameWorld.ErrLog("%s. %s" % (errorInfo, addDict), curPlayer.GetPlayerID())
|
| | |
|
| | | GameWorld.SendGameError("GameWarning", "CTGError:%s - %s"%(errorInfo, dataDict))
|
| | | if addDict.get('orderID'):
|
| | | GameWorld.SendGameError("GameWarning", "CTGError:%s - %s"%(errorInfo, dataDict))
|
| | | return
|
| | |
|
| | | def DR_CTGOK(curPlayer, addDict):
|
| | |
| | | import CommFunc
|
| | |
|
| | | import time
|
| | | import copy
|
| | |
|
| | |
|
| | | # 充值点券处理类型
|
| | |
| | | PlayerControl.GiveMoney(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Money, prizeGold, eventName, addDRDict, isGiveBourseMoney=isAddBourseMoney)
|
| | |
|
| | | if giveItemList:
|
| | | ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList, "", event=[ChConfig.ItemGive_CTG, True, addDRDict])
|
| | | ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList, "", event=[ChConfig.ItemGive_CTG, True, copy.deepcopy(addDRDict)])
|
| | | if notifyMark:
|
| | | mainItemID = giveItemList[0][0]
|
| | | PlayerControl.WorldNotify(0, notifyMark, [curPlayer.GetName(), mainItemID, ''])
|