5278 【BT5】【bt5_1.100.1】【主干】GM后台充值流向记录错误(修复充值奖励物品直接转化为货币时会改变流向记录eventName的bug;去除后台充值失败邮件警告)
2个文件已修改
6 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -366,7 +366,8 @@
    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):
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -66,6 +66,7 @@
import CommFunc
import time
import copy
# 充值点券处理类型
@@ -410,7 +411,7 @@
        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, ''])