From 70a89ab1f96dff5633cf9746167ba7e94e0b0c31 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 25 二月 2019 16:40:02 +0800
Subject: [PATCH] 3028 【BUG】【1.6】【2.0】运营活动合服定制时间转化报错

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py |   63 ++++++++++++++++++++++++-------
 1 files changed, 49 insertions(+), 14 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index ac64b2c..3fcf716 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -449,6 +449,8 @@
 Def_Effect_ItemGiveSoulSplinters = 240   # 使用道具给予聚魂碎片
 Def_Effect_ItemGiveSoulCore = 241      #使用道具给予核心环
 Def_Effect_ItemGiveHonor = 242      #使用道具给予荣誉
+Def_Effect_ItemGiveWeekPartyPoint = 245      #使用道具给予七日巡礼积分
+Def_Effect_ItemGiveWeekPartyPoint1 = 246      #使用道具给予节日巡礼积分
 #----以下未使用或代码依然存在的---
 Def_Effect_ItemGiveGongXun = 1920        #使用道具给予功勋
 Def_Effect_ItemGiveRuneJH = 1925       #使用道具给予符印精华
@@ -3063,6 +3065,7 @@
 Def_PlayerKey_SomersaultTime = "Somersault"     # 翻滚一定时间内无敌,表现为MISS
 Def_PlayerKey_CopyFuncAttr = "CopyFuncAttr%s"     # 玩家属性刷新中的计算属性缓存,便于buff刷新计算
 Def_Player_RefreshAttrByBuff = "PlayerAttrByBuff"   # 玩家属性刷新功能属性缓存,便于buff刷新计算, 间隔刷新
+Def_PlayerKey_ClientCustomScene = "ClientCustomScene"     # 客户端自定义场景状态
 Def_PlayerKey_ChangeMapID = "ChangeMapID"     # 请求切换的地图ID
 Def_PlayerKey_ResetFBLinePosX = "ResetFBLinePosX"     # 请求切换副本多合一地图功能线路ID
 Def_PlayerKey_ResetFBLinePosY = "ResetFBLinePosY"     # 请求切换副本多合一地图功能线路ID
@@ -3113,7 +3116,6 @@
 Def_PlayerKey_AtkInterval = "NormalAtkInterval_%s"  # 公共技能CD类型
 Def_PlayerKey_AtkTick = "NormalAtkTick_%s"  # 公共技能CD类型
 Def_PlayerKey_QueryOpenServerAwardState = "QueryOpenServerAwardState"  # 查询开服奖励状态
-Def_PlayerKey_QueryMixServerAwardState = "QueryMixServerAwardState"  # 查询合服奖励状态
 Def_PlayerKey_QueryFamilyStoreTick = "QueryFamilyStoreTick"  # 战盟仓库操作tick
 
 Def_PlayerKey_QueryMarkIdCardIndex = 'QueryMarkIdCardIndex'  # 指定账号生成卡类型
@@ -3127,6 +3129,7 @@
 Def_PlayerKey_ComboBuffProcessState = "ComboBuffProcessState"    #持续性buff连击处理状态
 Def_PlayerKey_LvAwardQueryState = 'LvAwardQueryState'  # 等级奖励领奖查询状态
 Def_PlayerKey_StoreQueryState = 'StoreQueryState'  # 商店全服购买次数查询状态
+Def_PlayerKey_MysticalShopLastTime = 'MysticalShopLastTime'  # 神秘商店刷新时间
 #===============================================================================
 # # 持续性buff伤害处理连击技能ID列表
 # # 因为释放一次技能后一段时间内是持续性的, 故连接判断效果仅处理一次, 持续时间内均受此效果影响, 不重复处理连击
@@ -3499,8 +3502,6 @@
 Def_PDict_SuperGiftHasOpen = "SuperGiftHasOpen"  # 超值礼包是否开过
 Def_PDict_DailyGoldChargePrizeRecord = "DailyGoldChargePrizeRecord"  # 天天首充领奖记录,0-不可领;1-可领;2-已领
 Def_PDict_DailyGoldChargeCnt = "DailyGoldChargeCnt"  # 当日已充值数
-Def_PDict_SingleGoldGiftIndex = "SingleGoldGiftIndex"  # 单日充值多选一礼包领取状态, 0-未领取,>0已领取索引
-Def_PDict_UnlimitedGoldGiftCnt = "UnlimitedGoldGiftCnt"  # 当日无限领取礼包已领取次数
 Def_PDict_IsReBorn = "Def_PDict_IsReBorn"  # 是否回城复活
 Def_PDict_FamilyWarDailyReward = "FamilyWarDailyReward"  # 王者仙盟每日俸禄领取状态
 Def_PDict_Family_Contribution = "FamilyContribution"  #战盟贡献度
@@ -3516,6 +3517,9 @@
 Def_PDict_CollNpcIDCollTime = "CollNpcIDCollTime_%s"   # 采集NPCID对应每日对应采集次数,%sNPCID
 Def_PDict_ShopItemDayBuyCnt = "ShopItemDayBuyCnt_%s"   # 商店NPC商品已购买次数,itemIndex
 Def_PDict_ShopItemStartTime = "ShopItemStartTime_%s"   # 神秘限购商品开卖时间,itemIndex
+Def_PDict_MysticalShopGoods = "MysticalShopGoods_%s"   # 神秘商店商品ID,索引
+Def_PDict_MysticalShopRefreshCnt = "MysticalShopRefreshCnt"   # 神秘商店已手动刷新次数
+Def_PDict_MysticalShopLVRefreshCnt = "MysticalShopLVRefreshCnt"   # 神秘商店等级段刷新次数
 Def_PDict_ShopItemBuyCnt = "ShopItemBuyCnt_%s_%s"   # 自定义商品已购买次数,(shopID, itemIndex)
 Def_PDict_ShopItemOpenState = "ShopItemOpenState_%s_%s"   # 自定义神秘商店物品开启状态,(shopID, keyNum)
 Def_PDict_TimeShopRefreshCnt = "TimeShopRefreshCnt_%s"   # 自定义神秘商店已手动刷新次数,(shopID)
@@ -3529,7 +3533,6 @@
 Def_PDict_HighLadder_IsRelCD = "HighLadderIsRelCD"           #天梯是否进入真正挑战冷却
 Def_PDict_HighLadder_WinningStreak = "HighLadderWinningStreak"   #天梯连胜场次
 Def_PDict_HighLadder_HistoryMaxOrder = "HighLadderMaxOrder"   #天梯历史最高排名
-Def_PDict_MixLoginDayState = "PMixLoginDayState"  # 合服天登陆状态<按登陆天从低位起0-未领1-可领2-已领>
 Def_PDict_FestivalLoginState = "FestivalLoginState_%s"  # 节日登陆奖励状态_%s表示节日类型<按登陆天从低位起0-未领1-可领2-已领>
 Def_PDict_Currency = "PlayerCurrency_%s"  # 自定义货币类型, 参数[自定义货币类型]
 Def_PDict_TJGSet = "TJGSet"  # 脱机挂系统设定
@@ -3540,9 +3543,7 @@
 
 Def_PDict_LoginClientType = "LoginClientType"  # 客户端登录类型
 
-Def_PDict_ReUpdBillboardSign = "ReUpdBillboardSign"  # 重新同步排行表标记
-Def_PDict_MSFirstLogin_UpdBillboard = "MSFirstLogin_UpdBillboard"  # 合服首登同步排行榜信息
-Def_PDict_MixLoginDay = "MixLoginDay"  # 合服首登处理标记
+Def_PDict_MixLoginDay = "MixLoginDay"  # 合服首登处理标记天
 
 Def_PDict_ExcActionItemCnt = "ExcI_%s_%s"  # 活动兑换物品已兑换次数,参数(活动key,兑换物品对应次数编号标识)
 
@@ -3649,6 +3650,7 @@
 #诛仙塔
 Def_Player_Dict_ZhuXianTowerPassLV = "ZhuXianTowerPassLV"  # 诛仙塔已通关层数
 Def_Player_Dict_ZhuXianTowerLastFloor = "ZhuXianTowerLastFloor"  # 诛仙塔上次挑战层数
+Def_Player_Dict_ZhuXianTowerCostTime = "ZhuXianTowerCostTime"  # 诛仙塔通关时间
 
 #古神禁地
 Def_Player_Dict_GodArea_Anger = "GodArea_Anger"  # 古神禁地怒气值
@@ -3779,9 +3781,16 @@
 Def_PDict_LoginAwardID = "LoginAwardID"  # 玩家身上的BOSS复活活动ID,唯一标识,取活动开始日期time值
 Def_PDict_LoginAwardCurTimes = "LoginAwardCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID)
 Def_PDict_LoginAwardGotTimes = "LoginAwardGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID)
+Def_PDict_LoginAwardWorldLV = "LoginAwardWorldLV%s" #活动开启时世界等级参数(第X天)
 
 #诛仙BOSS
 Def_PDict_ZhuXianBossHelpCnt = "ZhuXianBossHelpCnt"  # 协助次数
+
+#幸运鉴宝
+Def_PDict_LuckyTreasureID = "LuckyTreasureID"  # 玩家身上的活动ID,唯一标识,取活动开始日期time值
+Def_PDict_LuckyTreasureFree = "LuckyTreasureFree" #是否免费过
+Def_PDict_LuckyTreasurePoint = "LuckyTreasurePoint" #幸运值
+Def_PDict_LuckyTreasureCnt = "LuckyTreasureCnt" #鉴宝次数
 #-------------------------------------------------------------------------------
 #类型 Def_PDictType_OnlinePrize
 Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt"  # 新手在线已领取奖励次数
@@ -3795,10 +3804,6 @@
 Def_PDict_OSC_TagAwardRecord = "OSCTagAwardRecord_%s"  # 开服活动目标奖励记录, 参数(活动类型), 按奖励位存储是否领取
 Def_PDict_OSC_RecordData = "OSCRecordData_%s"  # 开服活动记录数值, 参数(活动类型)
 Def_PDict_OSC_EndMailState = "EndMailState"  # 开服活动结束发放邮件处理状态, 记录该状态的目的是防止开服活动版本变更导致旧号重复补发奖励;
-
-Def_PDict_MixServerCampaign_AwardRecord = "MSCAwardRecord_%s"  # 合服活动奖励记录
-Def_PDict_MixServerCampaign_RecordData = "MSCRecordData_%s"  # 合服活动记录数值
-Def_PDict_MixServerCampaign_MailState = "MSCMailState"  # 合服活动结束补发未领奖记录邮件状态, 按类型位二进制存储状态
 
 # 坐骑 Def_PDictType_Horse
 Def_PDict_Horser_LV = "Horser_LV_%d"  # 坐骑等级 0代表未激活 1代表1级
@@ -4650,6 +4655,8 @@
 Def_Cost_FBHelpBattle, # 副本助战
 Def_Cost_FBGatherSoulBoss, # 聚魂副本BOSS召唤 40
 Def_Cost_CrossRealmPK, # 跨服PK
+Def_Cost_LuckyTreasure, #幸运鉴宝
+Def_Cost_MysteryShopRefresh, # 神秘商店刷新
 #-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------
 Def_Cost_RefreshArrestTask, # 刷新悬赏任务
 Def_Cost_OffLineExp, # 兑换离线经验
@@ -4666,7 +4673,7 @@
 Def_Cost_Trade, # 交易
 Def_Cost_Rename, # 改名
 Def_Cost_SkillLvUp, # 技能升级
-) = range(2000, 2000 + 57)
+) = range(2000, 2000 + 59)
 
 Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key
 
@@ -4751,6 +4758,8 @@
 Def_Cost_FBHelpBattle:"FBHelpBattle",
 Def_Cost_FBGatherSoulBoss:"FBGatherSoulBoss",
 Def_Cost_CrossRealmPK:"CrossRealmPK",
+Def_Cost_LuckyTreasure:"LuckyTreasure",
+Def_Cost_MysteryShopRefresh:"MysteryShopRefresh",
 }
 ## -----------------------------------------------------
 
@@ -4842,7 +4851,8 @@
 ItemGive_Refine, # 炼丹
 ItemGive_Chests, # 宝箱
 ItemGive_TrialExchange, # 宗门兑换
-) = range(1000, 1000 + 20)
+ItemGive_LuckyTreasure, #幸运鉴宝
+) = range(1000, 1000 + 21)
 
 # 物品获得类型对应信息 {类型:eventName, ...}
 ItemGiveTypeDict = {
@@ -4866,6 +4876,7 @@
                     ItemGive_Refine:"Refine",
                     ItemGive_Chests:"Chests",
                     ItemGive_TrialExchange:"TrialExchange",
+                    ItemGive_LuckyTreasure:"LuckyTreasure",
                     }
 
 ## 物品扣除类型定义,与获得类型不重复,类型定义为 2000 ~ 2999
@@ -5292,11 +5303,35 @@
 Def_WPAct_Stone,  #宝石总等级 24
 Def_WPAct_GodWeapon,  #神兵总等级 25
 Def_WPAct_Rune,  #穿戴某品质符印 26
-) = range(1, 26+1)
+Def_WPAct_Pray,  #祈愿 27
+) = range(1, 27+1)
 
 #可提前完成的周狂欢活动
 AheadFinishWPActList = [Def_WPAct_Horse, Def_WPAct_Pet, Def_WPAct_Dogz, Def_WPAct_Rune]
 
+#登录奖励活动定义
+LoginAwardActIDList = (
+Def_LoginAct_Login,  #每日登录1
+Def_LoginAct_Pray, #祈愿2
+Def_LoginAct_TowerSweep, #符印塔扫荡 3
+Def_LoginAct_KirinHome, #麒麟之府 4
+Def_LoginAct_RunTask, #师门悬赏5
+Def_LoginAct_XJMJ, #仙境秘境 6
+Def_LoginAct_FMT, #封魔坛7
+Def_LoginAct_MunekadoTrial, #宗门试炼8
+Def_LoginAct_FamilyParty, #仙盟宴会9
+Def_LoginAct_WorldBOSS, #世界boss 10
+Def_LoginAct_QueenRelices, #娲皇遗迹 11
+Def_LoginAct_IceLode, #冰晶矿脉 12
+Def_LoginAct_GodArea, #古神禁地 13
+Def_LoginAct_ZhuXianTower, #诛仙塔挑战 14
+Def_LoginAct_ZhuXianBOSS, #诛仙boss 15
+Def_LoginAct_Alchemy, #炼丹 16
+Def_LoginAct_EquipPlus, #强化 17
+Def_LoginAct_EquipWash, #洗炼 18
+) = range(1, 18+1)
+
+
 # 套装枚举,普通套装,强化套装
 (EquipSuitType_Normal,
 EquipSuitType_Plus,

--
Gitblit v1.8.0