From e463972e32a6c06dd215a55e1d7799be2bc6f1c5 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期一, 14 一月 2019 13:47:37 +0800 Subject: [PATCH] 5768 【后端】【1.5】新增8-14天活动功能(增加提前显示) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 119 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 90 insertions(+), 29 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index 5d76327..a210acf 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -770,7 +770,8 @@ Def_HurtType_Miss, # 闪避 9 Def_HurtType_Immune, # 免疫 10 Def_HurtType_RealmSupress, # 境界压制 11 -) = range(1, 12) +Def_HurtType_Zhansha, # 斩杀 12 +) = range(1, 13) #Def_HurtType_SuckBlood, # 吸血 ( @@ -1789,6 +1790,17 @@ Def_FBMapID_GatherSoul = 31340 #跨服竞技场 Def_FBMapID_CrossRealmPK = 32010 +#跨服蓬莱仙境 +Def_FBMapID_CrossPenglai = 32020 + +#注册上传跨服服务器数据后直接进入跨服服务器的地图 +RegisterEnter_CrossServerMapIDList = [Def_FBMapID_CrossPenglai] +#跨服地图 +Def_CrossMapIDList = [Def_FBMapID_CrossRealmPK, Def_FBMapID_CrossPenglai] +#跨服对应分区配置表名 +Def_CrossZoneTableName = {Def_FBMapID_CrossPenglai:"CrossPenglaiZone", + } + #副本关闭时未拾取的物品邮件发放给玩家 #这里只有需要的副本才配置,不做默认逻辑,防止某些副本实际不能给导致刷物品,如麒麟之府 Def_SendUnPickItemMailMapIDList = [Def_FBMapID_IceLode, Def_FBMapID_PersonalBoss, Def_FBMapID_MunekadoTrial, @@ -1877,6 +1889,7 @@ 'XMZZ':[Def_FBMapID_XMZZ], #仙魔之争 'Dogz':[Def_FBMapID_Dogz], #神兽副本 'CrossRealmPK':[Def_FBMapID_CrossRealmPK], #跨服竞技场 + 'CrossPenglai':[Def_FBMapID_CrossPenglai], #跨服蓬莱仙境 'GatherSoul':[Def_FBMapID_GatherSoul],#聚魂副本 } @@ -1937,6 +1950,9 @@ Def_RMark_HasRefreshPoint = 'RMark_HasRefreshPoint_%s' #该点是否已经刷新 参数 刷怪点在地图中的索引 Def_RMark_TimePassCnt = 'Def_RMark_TimePassCnt' #时间超过刷新个数 Def_RMark_RefreshStep = 'Def_RMark_RefreshStep' #刷怪波数 + +Def_RMark_RandomRefreshNPCTick = 'RandomRefreshNPCTick' # 地图自定义随机刷怪,上次检查时间 +Def_RMark_RandomRefreshNPCNumTime = 'RandomRefreshNPCNumTime_%s' # 地图自定义随机刷怪,刷怪编号上次检查时间,参数(编号) Map_FBDict_NotifyOpen = "Map_FB_NTOpen" # 副本开启提示 Map_FBDict_NotifyStart = "Map_FB_NTStart" # 副本开始提示 @@ -2382,7 +2398,13 @@ Type_Equip_CanTake = ShareDefine.RoleEquipType #装备物品位置,不需要重刷属性 -EquipItemNoRefreshState = [] +EquipItemNoRefreshState = [ + ShareDefine.retHorse, #19 坐骑 + ShareDefine.retWing, #11 翅膀 + ShareDefine.retWeaponSkin, #20 时装武器 + ShareDefine.retClothesSkin, #21 时装衣服 + ShareDefine.retWeapon2Skin, #22 时装副手 + ] # 需要广播外观的装备部位 Def_SyncEquipStateByIndex = [ @@ -2836,14 +2858,12 @@ Def_RebornPos_Area_Range = 3 #复活类型(需要和C++统一) -RebornTypeCount = 8 +RebornTypeCount = 6 Def_RebornTypeList = [ -rebornType_City, #回城虚弱复活 -rebornType_Skill, #技能复活 -rebornType_Health, #原地健康复活 -rebornType_UseItem, #使用还阳咒复活 -rebornType_FBGold, #副本元宝复活 -rebornType_FBUseItem, #副本使用道具复活 +rebornType_City, #回城虚弱复活 0 +rebornType_Skill, #技能复活 1 +rebornType_Health, #原地健康复活 2 +rebornType_UseItem, #使用道具复活 3 rebornType_MainCity, #回主城复活 rebornType_System, #系统复活 ] = range(0, RebornTypeCount) @@ -3209,8 +3229,6 @@ Def_PlayerKey_CalcAddAttrType = "CalcAType_%s_%s_%s" # 刷属性类型, 参数[funcIndex, attrIndex, 缓存编号] Def_PlayerKey_CalcAddAttrValue = "CalcAValue_%s_%s_%s" # 刷属性值, 参数[funcIndex, attrIndex, 缓存编号] -Def_PlayerKey_IsCrossPKMatching = "IsCrossPKMatching" #是否跨服匹配中 - Def_PDict_QueryTechLVUPState = "QueryTechLVUPState" # 查询科技等级提升状态 Def_PDict_PKStateTick = "PKStateTick" # PK状态tick,只要有一方发起攻击,双方均进入PK状态 @@ -3245,7 +3263,7 @@ Def_PDictType_LVAward, # 等级奖励领取信息记录5 Def_PDictType_GoldGift, # 充值豪礼 Def_PDictType_OpenServerCampaign, # 开服活动 -Def_PDictType_8, +Def_PDictType_WeekParty, Def_PDictType_Family_Contribution, # 战盟贡献度 Def_PDictType_10, # 10 Def_PDictType_OfficialRank, # 官爵 @@ -3283,7 +3301,6 @@ Def_PDict_OnDayEx = "OnDayEx" # 特殊时间点凌晨X点过天 Def_PDict_OnWeekEx = "OnWeekEx" # 特殊时间点凌晨X点过周 Def_PDict_OnMonthEx = "OnMonthEx" # 特殊时间点凌晨X点过月 -Def_Player_Dict_ServerGroupID = "ServerGroupID" # 合服/混服时所属游戏服务器组ID Def_Player_Dict_PlayerFromPID = "PlayerFromPID" # pid Def_Player_Dict_Account_Type = "account_type" # account_type Def_Player_Dict_TencentPF = "tencentPF" # 腾讯平台来源pf @@ -3313,6 +3330,8 @@ Def_Player_Dict_FromPosY = 'FromPosY' # 最后一次离开的非中立常规地图,坐标X Def_Player_Dict_FromLineID = 'FromLineID' # 最后一次离开的非中立常规地图,线路ID +Def_PlayerKey_CrossRegisterMap = "CrossRegisterMap" #跨服注册活动地图, dataMapID +Def_PlayerKey_IsCrossPKMatching = "IsCrossPKMatching" #是否跨服匹配中 Def_Player_Dict_FamilyTechLV = "FamilyTechLV_%s" #家族科技等级, 参数(科技ID) Def_Player_Dict_RouteServerInitOK = "RouteServerInitOK_33" #RouteServer初始化成功(仅登陆一次) @@ -3386,13 +3405,10 @@ Def_Player_Dict_SignDayCnt = "SignDayCnt_151" # 签到次数 Def_Player_Dict_ForbidFamilyAction = 'ForbidFamilyAction_168' # 玩家是否能参加家族活动 Def_Player_Dict_ForbidFamilyAward = "ForbidFamilyAward" # 当日家族相关活动是否领奖受限, 按位存储 -Def_Player_Dict_RoomID = 'RoomID_184' # 房间ID Def_Player_Dict_HasApplyVIPClub = 'HasApplyVIPClub_185' # 是否申请过贵宾俱乐部 Def_Player_Dict_HasVIPClubNote = 'HasVIPClubNote_186' # 是否提示过vip升级可加入贵宾俱乐部信息 Def_Player_Dict_PyPlayerAction = 'PyPlayerAction_187' # py自定义玩家状态 Def_Player_Dict_FamilyLV = 'FamilyLV_189' # 玩家帮会等级 -Def_Player_Dict_MergeWarRegisterTime = 'MergeWarRegisterTime_190' # 上传数据至万国服务器cd -Def_Player_Dict_MergeRegisterTime = 'MergeRegisterTime%s_194' # 活动的上传数据时间 Def_Player_UpdatePlayerNameCnt = "UpdatePlayerNameCnt_196" # 角色改名次数 Def_Player_Dict_UpdatePlayerNameItemIndex = "UpdatePlayerNameItemIndex_198" # 改名物品在背包的位置 Def_Player_Dict_UpdatePlayerName = "UpdatePlayerName_199" # 改名锁 @@ -3540,9 +3556,9 @@ Def_PDict_GodWeaponExp = "GodWeaponExp_%s" # 神器等级对应祝福值经验, 参数神器索引 Def_PDict_GodWeaponState = "GodWeaponState" # 神器是否已经激活, 按索引位存储神器是否激活 -Def_PDict_ClothesSkinOpenState = "ClothesSkinOpenState" # 时装皮肤激活状态 Def_PDict_ClothesSkinLV = "ClothesSkinLV_%s" # 时装皮肤等级,参数时装索引 -Def_PDict_ClothesSkinCurBless = "ClothesSkinCurBless_%s" # 时装皮肤祝福值,参数时装索引 +Def_PDict_ClothesChestLV = "ClothesChestLV" # 时装柜等级 +Def_PDict_ClothesChestEXP = "ClothesChestEXP" # 时装柜经验 Def_PDict_CostVIPExp = "CostVIPExp" # 消费VIP经验 Def_PDict_CostVIPLVReward = "CostVIPLVReward" # 消费VIP等级奖励 @@ -3659,6 +3675,7 @@ Def_PDict_BossRebornTemplateID = "BossRebornTemplateID" # 玩家身上的BOSS复活模板ID Def_PDict_BRActionCurTimes = "BRActionCurTimes_%s" #当前完成次数 参数BOSS复活活动ID Def_PDict_BRActionGotTimes = "BRActionGotTimes_%s" #当前已领次数 参数BOSS复活活动ID +Def_PDict_BRActionWorldLV = "BRActionWorldLV_%s" #BOSS复活活动开启时世界等级 #仙界盛典 Def_PDict_FairyCeremonyID = "FairyCeremonyID" # 玩家身上的仙界盛典活动ID,唯一标识,取活动开始日期time值 @@ -3701,6 +3718,13 @@ Def_PDict_HelpBattleCheckInCount = "HelpBattleCheckInCount" #助战登记次数, 登记次数*10+今日是否登记过 Def_PDict_HelpBattleTotalCount = "HelpBattleTotalCount" #累计助战次数 Def_PDict_FBRealHelpCount = "FBRealHelpCount_%s" #副本真实助战次数,仅针对真实进去打的副本,参数mapID + +#周狂欢 +Def_PDict_WeekPartyID = "WeekPartyID" # 玩家身上的BOSS复活活动ID,唯一标识,取活动开始日期time值 +Def_PDict_WeekPartyCurTimes = "WeekPartyCurTimes_%s_%s" #当前完成次数 参数(第X天,模板ID) +Def_PDict_WeekPartyGotTimes = "WeekPartyGotTimes_%s_%s" #当前已领次数 参数(第X天,模板ID) +Def_PDict_WeekPartyAwardRecord = "WeekPartyAwardRecord_%s" #积分领奖记录 参数(第X天) +Def_PDict_WeekPartyPoint = "WeekPartyPoint_%s" #当天积分 参数(第X天) #------------------------------------------------------------------------------- #类型 Def_PDictType_OnlinePrize Def_PDict1_OnlinePrizeCnt = "OnlinePrizeCnt" # 新手在线已领取奖励次数 @@ -3835,6 +3859,7 @@ Def_PDict_CrossPK_ZoneID = "CrossPK_ZoneID" # 玩家上次参与的赛区ID Def_PDict_CrossPK_SeasonID = "CrossPK_SeasonID" # 玩家上次参与的赛季ID Def_PDict_CrossPK_SeasonDanLV = "CrossPK_SeasonDanLV_%s" # 历史赛季段位,参数,赛季ID +Def_PDict_CrossPK_SeasonScore = "CrossPK_SeasonScore_%s" # 历史赛季积分,参数,赛季ID Def_PDict_CrossPK_SeasonOrder = "CrossPK_SeasonOrder_%s" # 历史赛季名次,参数,赛季ID Def_PDict_CrossPK_SeasonAwardLV = "CrossPK_SeasonAwardLV_%s" # 历史赛季奖励等级(一般是段位等级,排行奖励的在最高段位等级基础上增加),参数,赛季ID @@ -4320,8 +4345,9 @@ Def_CalcAttrFunc_DogzEquip, # 神兽装备37 Def_CalcAttrFunc_DogzEquipPlus, # 神兽装备强化38 Def_CalcAttrFunc_GatherSoul, # 聚魂39 -Def_CalcAttrFunc_MagicWeapon4 # 王者法宝40 -) = range(41) +Def_CalcAttrFunc_MagicWeapon4, # 王者法宝40 +Def_CalcAttrFunc_Coat, # 时装41 +) = range(42) # 在此列表中的功能属性,不享受百分比加成,--属性参与战力计算 @@ -4362,6 +4388,7 @@ ShareDefine.Def_MFPType_StoveYao:[Def_CalcAttrFunc_StoveYao], ShareDefine.Def_MFPType_MagicWeaponSoul:[Def_CalcAttrFunc_MagicWeaponSoul], ShareDefine.Def_MFPType_GatherSoul:[Def_CalcAttrFunc_GatherSoul], + ShareDefine.Def_MFPType_Coat:[Def_CalcAttrFunc_Coat], # 神兽战力同装备模块战力一致,受评分影响,装备评分相关的战力另外算 ShareDefine.Def_MFPType_Dogz:[Def_CalcAttrFunc_Dogz, Def_CalcAttrFunc_DogzEquipPlus], ShareDefine.Def_MFPType_Other:[Def_CalcAttrFunc_Success, Def_CalcAttrFunc_FamilyTech, Def_CalcAttrFunc_EquipDecompose], @@ -4499,7 +4526,8 @@ Def_VerFix_SuperGift, # 超值礼包开启变更,原领取首充开启,改成等级到开启; Def_VerFix_Horse, # 坐骑等级上限修改,对应技能触发修改; Def_VerFix_Pet, # 灵宠等级上限修改,对应技能触发修改; -) = range(7) +Def_VerFix_AddPoint, # 老号属性点修复; +) = range(8) ##================================================================================================== #游戏消费点类型定义 @@ -4676,9 +4704,9 @@ Def_GiveMoney_StallItem, # 摆摊 Def_GiveMoney_Trade, # 交易 Def_GiveMoney_Truck, # 运镖 -Def_GiveMoney_FreeGoods, # 极品白拿 25 -Def_GiveMoney_BindJadeWheel, # 绑玉转盘 -Def_GiveMoney_GatherSoulDecompose, #聚魂分解 +Def_GiveMoney_FreeGoods, # 极品白拿 +Def_GiveMoney_BindJadeWheel, # 绑玉转盘 25 +Def_GiveMoney_GatherSoulDecompose, #聚魂分解 26 ) = range(1000, 1000 + 27) Def_Give_Reason_SonKey = "reason_name_son" # 原因子类说明key @@ -4802,7 +4830,8 @@ ItemDel_DogzEquipPlus, # 神兽装备强化 ItemDel_ChatBubbleBox, # 激活聊天气泡框 ItemDel_GatherSoul, # 聚魂分解 -) = range(2000, 2000 + 36) +ItemDel_CoatDecompose, # 时装分解 +) = range(2000, 2000 + 37) # 物品扣除类型对应信息 {类型:eventName, ...} ItemDelTypeDict = { @@ -4840,6 +4869,9 @@ ItemDel_AddFBCnt:"AddFBCnt", ItemDel_AddKillBossCnt:"AddKillBossCnt", ItemDel_DogzEquipPlus:"DogzEquipPlus", + ItemDel_ChatBubbleBox:"ChatBubbleBox", + ItemDel_GatherSoul:"GatherSoul", + ItemDel_CoatDecompose:"CoatDecompose", } ##================================================================================================== @@ -4942,7 +4974,7 @@ VIPPrivilege_FamilyGoldPack, #23 仙盟钻石红包 VIPPrivilege_BoursePwd, #24 集市上架使用密码 VIPPrivilege_25, #25 封魔坛购买次数 - 副本总表统一处理 -VIPPrivilege_BoursePwd, #26 VIP被动技能孔——VIP4专属被动技能孔 +VIPPrivilege_26, #26 VIP被动技能孔——VIP4专属被动技能孔 VIPPrivilege_BOSSHomeKillLimit, #27 BOSS之家疲劳值上限 VIPPrivilege_FMTDouble, #28 封魔坛双倍击杀 VIPPrivilege_29, #29 娲皇遗迹购买次数 - 副本总表统一处理 @@ -5034,11 +5066,14 @@ GoldInvestType_Month, # 月卡投资 GoldInvestType_VIP, # vip投资 GoldInvestType_Gold, # 仙玉投资 -) = range(1,3+1) +GoldInvestType_Gold2, # 仙玉投资2 +GoldInvestType_Gold3, # 仙玉投资3 +) = range(1,5+1) #可以循环投资的类型 CanRepeatInvestType = [GoldInvestType_Month, GoldInvestType_VIP] - +#仙玉投资类型 +InvestGoldTypeList = [GoldInvestType_Gold, GoldInvestType_Gold2, GoldInvestType_Gold3] #前端特殊新手引导存储标记 GuideState_BZZDShow = 202 @@ -5105,7 +5140,9 @@ Def_RewardType_OpenFunc, # 功能开启奖励17 Def_RewardType_TotalRecharge, # 累计充值奖励18 Def_RewardType_IceLodeStar, # 冰晶矿脉星级奖励19 -)= range(20) +Def_RewardType_WeekPartyAct, # 领取周狂欢活动奖励20 +Def_RewardType_WeekPartyPoint, # 领取周狂欢积分奖励21 +)= range(22) #boss复活相关活动定义 @@ -5142,6 +5179,30 @@ Def_PPAct_VIPBoss, #vipBOSS 13 ) = range(1, 13+1) +#周狂欢活动定义 +WeekPartyActIDList = ( +Def_WPAct_RunTask, #师门悬赏 1 +Def_WPAct_XJMJ, #仙境秘境 2 +Def_WPAct_KirinHome, #麒麟之府 3 +Def_WPAct_QueenRelices, #娲皇遗迹 4 +Def_WPAct_IceLode, #冰晶矿脉 5 +Def_WPAct_Tower, #符印塔 6 +Def_WPAct_WorldBOSS, #世界boss 7 +Def_WPAct_BOSSHome, #boss之家 8 +Def_WPAct_FMT, #封魔坛 9 +Def_WPAct_GodArea, #古神禁地 10 +Def_WPAct_CrossPK, #跨服pk 11 +Def_WPAct_Recharge, #充值X仙玉 12 +Def_WPAct_GiftBag, #购买限时礼包 13 +Def_WPAct_FamilyRobBoss, #boss争夺战 14 +Def_WPAct_SWRH, #守卫人皇 15 +Def_WPAct_ElderBattlefield, #上古战场 16 +Def_WPAct_ChaosDemon, #混乱妖域 17 +Def_WPAct_XMZZ, #仙魔之争 18 +Def_WPAct_FamilyWar, #仙魔联赛 19 +Def_WPAct_Login, #每日登录 20 +) = range(1, 20+1) + # 套装枚举,普通套装,强化套装 (EquipSuitType_Normal, EquipSuitType_Plus, -- Gitblit v1.8.0