From b746c6a7da1ade34085c20e2512dd67683564359 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 30 五月 2025 12:08:30 +0800 Subject: [PATCH] 16 卡牌服务端(旧版由地图直接发送的邮件兼容到新版发送邮件;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py index 330aaad..c0cfcad 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py @@ -195,20 +195,12 @@ for itemid, cnt, isBind in itemList: ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere], event=["BuyVIPGift", False, {"VIPLV":vipLV}]) -# else: -# __AwardToPlayerByMail(curPlayer, itemList) + ItemControler.NotifyGiveAwardInfo(curPlayer, itemList, "BuyVIPGift") openuiid = IpyGameDataPY.GetFuncEvalCfg('VIPPanel', 1, {}).get(vipLV, 0) PlayerControl.WorldNotify(0, 'BuyVIPGift', [curPlayer.GetName(), vipLV, itemList[0][0], openuiid]) Sycn_VIPAwardRecord(curPlayer) return - -#发邮件 -def __AwardToPlayerByMail(curPlayer, mailItemInfoList): - MailMessage = GetMailMessage() - content = ShareDefine.Def_MailFormat % (MailMessage[0], '') - getDays = MailMessage[1] - PlayerControl.SendMail('', content, getDays, [curPlayer.GetPlayerID()], mailItemInfoList) ##VIP登录处理 # @param curPlayer -- Gitblit v1.8.0