From 4c6786e17ef724a0dfdfeca8cf4a36bc4a7b9898 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 15 二月 2019 15:17:26 +0800 Subject: [PATCH] 6211 【后端】【1.6】合服任务单(合服邮件、重置首充双倍、重置商店购买次数、设置合服命令SetMixServer) --- ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py | 62 +++++------------------------- 1 files changed, 11 insertions(+), 51 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py index bd11a02..5e81214 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py @@ -132,6 +132,7 @@ Def_Notify_WorldKey_IsMixServer = 'IsMixServer' # 是否合服服务器 Def_Notify_WorldKey_MixServerDay = 'MixServerDay' # 合服天数 Def_Notify_WorldKey_LastMixServerDay = 'LastMixServerDay' # 上次合服时的开服天数 +Def_Notify_WorldKey_LastMixServerWorldLV = 'LastMixServerWorldLV' # 上次合服时的世界等级 Def_Notify_WorldKey_OnDayEx = 'OnDayEx' # 特殊时间点凌晨X点过天 Def_Notify_WorldKey_OnWeekEx = 'OnWeekEx' # 特殊时间点凌晨X点过周 Def_Notify_WorldKey_OnMonthEx = 'OnMonthEx' # 特殊时间点凌晨X点过月 @@ -169,13 +170,11 @@ Def_Notify_WorldKey_CrossServerConnState = "CrossServerConnState" # 跨服服务器链接状态 Def_Notify_WorldKey_CrossServerOpen = "CrossServerOpen" # 跨服服务器是否开启中 +Def_Notify_WorldKey_CrossZoneName = "CrossZoneName" # 跨服分区名 Def_Notify_WorldKey_CrossPKZoneID = "CrossPKZoneID" # 本服跨服PK所属赛区 Def_Notify_WorldKey_CrossPKSeasonID = "CrossPKSeasonID" # 本服跨服PK当前赛季 Def_Notify_WorldKey_CrossPKSeasonState = "CrossPKSeasonState" # 本服跨服PK赛季状态 0-关闭,1-开启中 - -Def_Notify_WorldKey_MixServerCampaignSaveData = "MixServerCampaignSaveData_%s" # 合服活动记录数据时机0-否 1-是 -Def_Notify_WorldKey_MixServerCampaignGetAward = "MixServerCampaignGetAward_%s" # 合服活动可领奖时机0-否 1-是 Def_Notify_WorldKey_GameWorldBossRebornCross = 'BossRebornCross_%s_%s' # 跨服世界boss重生, 参数为(zoneID, bossID) Def_Notify_WorldKey_GameWorldBossReborn = 'BossReborn_%s' # 世界boss重生, 参数为(bossID) @@ -214,8 +213,6 @@ Def_Notify_WorldKey_LoginAwardStartDate = 'LoginAwardStartDate_%s' # 登录领取奖励开始时间,参数为活动类型 Def_Notify_WorldKey_LoginAwardEndDate = 'LoginAwardEndDate_%s' # 登录领取奖励结束时间,参数为活动类型 -Def_Notify_WorldKey_ClearBillboardSign = 'ClearBillboardSign' # 清除排行榜标记 - Def_Notify_WorldKey_RedPacketOutput = 'RedPacketOutput' # 红包产出信息 #运营活动表名定义 @@ -235,6 +232,7 @@ OperationActionName_FeastWeekParty = "ActFeastWeekParty" # 节日巡礼狂欢活动 OperationActionName_FeastRedPacket = "ActFeastRedPacket" # 节日红包活动 OperationActionName_FeastCollectWords = "ActFeastCollectWords" # 节日集字活动 +OperationActionName_LuckyTreasure = "ActLuckyTreasure" # 幸运鉴宝活动 #节日活动类型列表 - 该类型无视开服天,日期到了就开启 FeastOperationActionNameList = [OperationActionName_FeastWeekParty, OperationActionName_FeastRedPacket, OperationActionName_FeastCollectWords] #所有的运营活动列表,含节日活动 @@ -244,11 +242,14 @@ OperationActionName_RealmPoint, OperationActionName_FlashSale, OperationActionName_WishingWell, OperationActionName_TotalRecharge, OperationActionName_WeekParty, OperationActionName_LoginAward, - OperationActionName_NewFairyCeremony, ] \ + OperationActionName_NewFairyCeremony, OperationActionName_LuckyTreasure] \ + FeastOperationActionNameList #需要记录开启活动时的世界等级的运营活动 NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony, OperationActionName_WishingWell, - OperationActionName_NewFairyCeremony, OperationActionName_FlashSale] + OperationActionName_NewFairyCeremony, OperationActionName_FlashSale, + OperationActionName_BossReborn, OperationActionName_TotalRecharge, + OperationActionName_CostRebate, OperationActionName_FlashGiftbag, + OperationActionName_SpringSale, OperationActionName_LuckyTreasure] #活动信息字典key定义 ActKey_ID = "ID" # 活动ID,唯一标识的ID,一般是活动开启的time值 @@ -256,6 +257,7 @@ ActKey_CfgID = "CfgID" # 活动表配置ID ActKey_DayIndex = "DayIndex" # 活动表配置ID ActKey_WorldLV = "WorldLV" # 活动开启时世界等级 +ActKey_WorldLVList = "WorldLVList" # 活动每天的世界等级列表 #答题类型枚举 Def_Game_ExamTypeList = range(1, 4 + 1) @@ -623,16 +625,11 @@ Def_BT_RechargeTeHuiLast, #充值特惠活动排行榜-上一期记录 Def_BT_RechargeTeHui, #充值特惠活动排行榜-当前期记录 - Def_BT_MixCampaign_PlayerBattle, #总战斗力(合服活动) - Def_BT_MixCampaign_Recharge, #累计充值(合服活动) - Def_BT_MixCampaign_WinFamilyMember, #获胜战盟成员,按职位排(合服活动) - Def_BT_MixCampaign_FamilyKillBoss, #战盟击杀boss(合服活动) - Def_BT_CostTeHui, #消费特惠排行榜 Def_BT_CostTeHuiLast, #消费特惠排行榜上一期 Def_BT_Max, #排行榜最大类型 -) = range(0, 34 + 2) +) = range(0, 30 + 2) #职业对应战力排行榜类型 JobFightPowerBillboardDict = { @@ -1016,7 +1013,7 @@ Def_UniversalGameRecType_FBHelpBattleCheckInPlayer, #助战玩家登记记录9 Def_UniversalGameRecType_FBHelpBattleRecord, #助战未同步记录10 Def_UniversalGameRecType_ZhuXianBossRecord, #诛仙BOSS结算记录11 - Def_UniversalGameRecType_12, + Def_UniversalGameRecType_LuckyTreasure, #幸运鉴宝大奖记录12 Def_UniversalGameRecType_13, Def_UniversalGameRecType_Reward, # 通用奖励表(TopBar)14 Def_UniversalGameRecType_15, @@ -1153,9 +1150,6 @@ Def_Enter_Truck, #进入骠车 ) = range(1, 3) -Def_OSC_ValidDay = 6 # 开服活动有效活动天 -Def_MSC_ValidDay = 5 # 合服活动有效活动天 - # 开服活动类型标识, 不可超过32 Def_Campaign_Type_List = ( Def_Campaign_Type_PlusLV, # 强化等级排行 1 @@ -1196,40 +1190,6 @@ Def_CampaignAwardState_None, # 无 Def_CampaignAwardState_Allow, # 允许领奖 Def_CampaignAwardState_Over, # 领奖结束 -) = range(3) - -#合服活动类型标识 -Def_MixCampaign_Type_List = ( - Def_MixCampaign_Type_PlayerBattle, # 总战斗力0 - Def_MixCampaign_Type_RechargeFirst, # 首充奖励1 - Def_MixCampaign_Type_RechargeRank, # 累计充值排行奖励2 - Def_MixCampaign_Type_RechargeCnt, # 累计充值保底奖励3 - Def_MixCampaign_Type_FamilyWar, # 冰封王座家族战获胜家族成员奖励4 - Def_MixCampaign_Type_FamilyWarEnter, # 冰封王座参与奖5 - Def_MixCampaign_Type_FamilyKillBoss, # 战盟击杀boss排行 - Def_MixCampaign_Type_PlayerKillBoss, # 个人击杀boss -) = range(8) - -#合服活动类型对应的奖励排行榜 -Def_MixCampaign_Billboard_Dict = { - Def_MixCampaign_Type_PlayerBattle:Def_BT_MixCampaign_PlayerBattle, # 总战斗力 - Def_MixCampaign_Type_RechargeRank:Def_BT_MixCampaign_Recharge, # 累计充值排行 - Def_MixCampaign_Type_FamilyWar:Def_BT_MixCampaign_WinFamilyMember, # 获胜战盟成员 - Def_MixCampaign_Type_FamilyKillBoss:Def_BT_MixCampaign_FamilyKillBoss, # 战盟击杀boss排行 - } - -# 直接在MapServer中处理的合服活动类型 -DoOnMapServerMixCampaignTypeList = [ - Def_MixCampaign_Type_RechargeFirst, - Def_MixCampaign_Type_RechargeCnt, - Def_MixCampaign_Type_FamilyWarEnter, - Def_MixCampaign_Type_PlayerKillBoss, - ] -# 合服活动请求GameServer操作类型定义 -( -Def_MSCGameServerQuery_QueryAward, # 查询 -Def_MSCGameServerQuery_GetAward, # 领奖 -Def_MSCGameServerQuery_MailAward, # 邮件发送奖励 ) = range(3) #队伍最大人数 -- Gitblit v1.8.0