From 7adcd27d0f6f22c30b45c93baff8233ff1a053e6 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 13 四月 2019 11:27:33 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(修复仙盟归属boss刷新归属报错) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py | 26 ++------------------------ 1 files changed, 2 insertions(+), 24 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 ba315c8..89e8191 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerVip.py @@ -195,8 +195,8 @@ EventShell.EventResponse_BuyVIPItem(curPlayer, vipLV) GameWorld.DebugLog("vip礼包-%s" % itemList) for itemid, cnt, isBind in itemList: - ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), isBind, - [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere], True, showSysInfo=True, event=["buyVIPGift", False, {"VIPLV":vipLV}]) + ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere], + event=["buyVIPGift", False, {"VIPLV":vipLV}]) # else: # __AwardToPlayerByMail(curPlayer, itemList) openuiid = IpyGameDataPY.GetFuncEvalCfg('VIPPanel', 1, {}).get(vipLV, 0) @@ -216,28 +216,6 @@ # @return None def DoOnLogin(curPlayer, tick): #记录登陆时间 - - # VIP礼包聊天气泡框 - if not GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_ChatBubbleBox): - GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_ChatBubbleBox, 1) - ipyDataMgr = IpyGameDataPY.IPY_Data() - for i in xrange(ipyDataMgr.GetChatBubbleBoxCount()): - ipyData = ipyDataMgr.GetChatBubbleBoxByIndex(i) - needVIPLVGift = ipyData.GetNeedVIPLVGift() - if not needVIPLVGift: - continue - record = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_VipAwardRecord) - hasBuy = record & pow(2, needVIPLVGift) - if not hasBuy: - continue - boxID = ipyData.GetBoxID() - ChPlayer.DoActivateChatBubbleBox(curPlayer, boxID) - drDict = {"PlayerID":curPlayer.GetPlayerID(),"AccID":curPlayer.GetAccID(), "needVIPLVGift":needVIPLVGift, "BoxID":boxID} - DataRecordPack.SendEventPack("VIPGiftActChatBubbleBox", drDict, curPlayer) - GameWorld.Log("老号激活VIP礼包聊天气泡框: boxID=%s,needVIPLVGift=%s" % (boxID, needVIPLVGift), curPlayer.GetPlayerID()) - else: - GameWorld.DebugLog("已经激活过老号VIP气泡框") - Sycn_VIPMsg(curPlayer) Sycn_VIPAwardRecord(curPlayer) Sycn_VIPTime(curPlayer, True) -- Gitblit v1.8.0