| | |
| | | Def_Notify_WorldKey_InitGameWorldTime = "InitGameWorldTime" #启动服务器时间
|
| | | Def_Notify_WorldKey_OperationActionInfo = "OperationActionInfo_%s" # 运营活动信息,参数为运营活动名
|
| | | Def_Notify_WorldKey_DailyActionState = "DailyActionState_%s" # 日常活动状态,参数为日常活动ID
|
| | | Def_Notify_WorldKey_CrossDailyActionState = "CrossDailyActionState_%s" # 跨服日常活动状态,参数为日常活动ID
|
| | | Def_Notify_WorldKey_FBEnterTimeLimiitMapID = "FBEnterTimeLimiitMapID" # 进入副本有时间限制的地图ID列表
|
| | | Def_Notify_WorldKey_FBCanEnter = "FBCanEnter_%s" # 副本是否可进入,参数为副本DataMapID
|
| | | Def_Notify_WorldKey_FBFuncState = "FBFuncState_%s" # 副本状态,参数为副本DataMapID
|
| | |
| | | Def_Notify_WorldKey_FamilyPartyInfo = "FamilyPartyInfo" # 仙盟宴会数据
|
| | |
|
| | | Def_Notify_WorldKey_MergeBoss = "Merge_Boss" # 跨服boss
|
| | |
|
| | | Def_Notify_WorldKey_CrossPKZoneID = "CrossPKZoneID" # 本服跨服PK所属赛区
|
| | | Def_Notify_WorldKey_CrossPKSeasonID = "CrossPKSeasonID" # 本服跨服PK当前赛季
|
| | | Def_Notify_WorldKey_CrossPKSeasonState = "CrossPKSeasonState" # 本服跨服PK赛季状态 0-关闭,1-开启中
|
| | |
|
| | | Def_Notify_WorldKey_Merge_PK = "Merge_PK" # 跨服PK, 仅跨服服务器有用,做为触发PKState用
|
| | | Def_Notify_WorldKey_MergePKState = "MergePK_State" # 由跨服服务器控制的跨服PK活动状态
|
| | |
| | | OperationActionName_RealmPoint = "ActRealmPoint" # 多倍修行点活动
|
| | | OperationActionName_FlashSale = "ActFlashSale" # 限时抢购活动
|
| | | OperationActionName_WishingWell = "ActWishingWell" # 许愿池活动
|
| | | OperationActionName_TotalRecharge = "ActTotalRecharge" # 累计充值活动
|
| | | OperationActionNameList = [OperationActionName_ExpRate, OperationActionName_CostRebate,
|
| | | OperationActionName_BossReborn,OperationActionName_SpringSale,
|
| | | OperationActionName_FlashGiftbag, OperationActionName_FairyCeremony,
|
| | | OperationActionName_RealmPoint, OperationActionName_FlashSale,
|
| | | OperationActionName_WishingWell]
|
| | | OperationActionName_WishingWell, OperationActionName_TotalRecharge]
|
| | | #需要记录开启活动时的世界等级的运营活动
|
| | | NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony, OperationActionName_WishingWell]
|
| | |
|
| | |
| | | Def_mitMWUpLevel, # 法宝进阶
|
| | | Def_mitRecycleAttrFruit, # 回收魂石
|
| | | Def_mitDogzEquipPlus, # 神兽装备强化
|
| | | ) = range(1, 22)
|
| | | Def_mitRuneCompound, # 符印合成
|
| | | Def_mitGatherSoulCompound,# 聚魂合成
|
| | | Def_mitGatherSoulDecompose,# 聚魂分解
|
| | | ) = range(1, 25)
|
| | |
|
| | | #---写死的技能ID---
|
| | | Def_SkillID_AutoTruck = 62220 # 自动运镖buff
|
| | |
| | | Def_BT_Campaign_FightPower, #战力排行(开服活动榜)
|
| | |
|
| | | Def_BT_FCCostGold, #消费排行榜(仙界盛典)
|
| | | Def_BT_Campaign_RuneLV, #符印等级(开服活动榜)
|
| | | Def_BT_FBHelpBattle, #助战次数排行榜
|
| | | Def_BT_Campaign_GodWeaponLV, #神兵等级(开服活动榜) 20
|
| | | Def_BT_Campaign_Recharge, #累计充值(开服活动榜)
|
| | | Def_BT_Campaign_PetLV, #灵宠等级(开服活动榜)
|
| | |
|
| | | Def_BT_HighLadder, #天梯竞技场排行
|
| | | Def_BT_HighLadder_Yester, #天梯竞技场昨日排行
|
| | | Def_BT_RechargeTeHuiLast, #充值特惠活动排行榜-上一期记录 20
|
| | | Def_BT_RechargeTeHuiLast, #充值特惠活动排行榜-上一期记录
|
| | | Def_BT_RechargeTeHui, #充值特惠活动排行榜-当前期记录
|
| | |
|
| | | Def_BT_MixCampaign_PlayerBattle, #总战斗力(合服活动)
|
| | | Def_BT_MixCampaign_Recharge, #累计充值(合服活动)
|
| | | Def_BT_MixCampaign_WinFamilyMember, #获胜战盟成员,按职位排(合服活动)
|
| | | Def_BT_MixCampaign_FamilyKillBoss, #战盟击杀boss(合服活动) 25
|
| | | Def_BT_MixCampaign_FamilyKillBoss, #战盟击杀boss(合服活动)
|
| | |
|
| | | Def_BT_CostTeHui, #消费特惠排行榜
|
| | | Def_BT_CostTeHuiLast, #消费特惠排行榜上一期
|
| | |
| | | Def_BT_MergePKWeek, #跨服PK周积分榜
|
| | |
|
| | | Def_BT_Max, #排行榜最大类型
|
| | | ) = range(0, 29 + 2) |
| | | ) = range(0, 34 + 2) |
| | |
|
| | | #职业对应战力排行榜类型
|
| | | JobFightPowerBillboardDict = {
|
| | |
| | | #排行榜Value1存储境界信息的榜单列表
|
| | | BTValue1_OfficialRankList = [Def_BT_FightPower, Def_BT_FightPower_Warrior, Def_BT_FightPower_Wizard, Def_BT_FightPower_Assassin,
|
| | | Def_BT_LV, Def_BT_FightPower_Horse, Def_BT_FightPower_Pet, Def_BT_TrialTower, Def_BT_OffLineEfficient,
|
| | | Def_BT_FBHelpBattle,
|
| | | ]
|
| | |
|
| | | ##---比率---
|
| | |
| | | CDBPlayerRefresh_RealmPoint, # 境界修炼点
|
| | | CDBPlayerRefresh_Ysog, # 魔精
|
| | | CDBPlayerRefresh_FamilyActivity, # 仙盟活跃令
|
| | | CDBPlayerRefresh_FBHelpPoint, # 副本助战积分
|
| | | CDBPlayerRefresh_Xianyuancoin, # 仙缘币
|
| | | CDBPlayerRefresh_PKState, # 战斗状态 175
|
| | | CDBPlayerRefresh_BossState, # boss״̬
|
| | | CDBPlayerRefresh_BaseAtkMin, # 基础最小攻击
|
| | |
| | | CDBPlayerRefresh_TreasureScore, # 寻宝积分
|
| | | CDBPlayerRefresh_Danjing, # 丹精
|
| | | CDBPlayerRefresh_NPCHurtAddPer, # 对怪物伤害加成
|
| | | CDBPlayerRefresh_FinalHurtPer, # 最终输出伤害百分比
|
| | | CDBPlayerRefresh_FinalHurtPer, # 最终输出伤害百分比
|
| | | CDBPlayerRefresh_TalentPoint, # 天赋点数 190
|
| | | ) = range(146, 191)
|
| | | CDBPlayerRefresh_191, # 废弃 191
|
| | | CDBPlayerRefresh_GodWeaponLV_1, # 神兵等级 - 类型1 192
|
| | | CDBPlayerRefresh_GodWeaponLV_2, # 神兵等级 - 类型2 193
|
| | | CDBPlayerRefresh_GodWeaponLV_3, # 神兵等级 - 类型3 194
|
| | | CDBPlayerRefresh_GodWeaponLV_4, # 神兵等级 - 类型4 195
|
| | | CDBPlayerRefresh_SoulDust, # 魂尘 196
|
| | | CDBPlayerRefresh_SoulSplinters, # 聚魂碎片 197
|
| | | CDBPlayerRefresh_SoulCore, # 核心环 198
|
| | | ) = range(146, 199)
|
| | |
|
| | | TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
|
| | | TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
|
| | |
| | | TYPE_Price_RealmPoint = 13 # 境界修炼点
|
| | | TYPE_Price_Ysog = 14 # 魔精
|
| | | TYPE_Price_FamilyActivity = 15 # 仙盟活跃令
|
| | | TYPE_Price_FBHelpPoint = 16 # 副本助战积分
|
| | | TYPE_Price_FBHelpPoint = 16 # 副本助战积分, 废弃
|
| | | TYPE_Price_XianyuanCoin = 17 # 仙缘币
|
| | | TYPE_Price_Rune = 23 # 符印精华点
|
| | | TYPE_Price_RuneSplinters = 24 # 符印碎片
|
| | | TYPE_Price_TreasureScore = 25 # 寻宝积分
|
| | | TYPE_Price_BourseMoney = 26 # 交易所可购买额度
|
| | | TYPE_Price_Danjing = 27 # 丹精(丹药回收)
|
| | | TYPE_Price_SoulDust = 28 # 魂尘
|
| | | TYPE_Price_SoulSplinters = 29 # 聚魂碎片
|
| | | TYPE_Price_SoulCore = 30 # 核心环
|
| | |
|
| | |
|
| | | #以下是旧的金钱类型
|
| | |
| | | TYPE_Price_RealmPoint:CDBPlayerRefresh_RealmPoint,
|
| | | TYPE_Price_Ysog:CDBPlayerRefresh_Ysog,
|
| | | TYPE_Price_FamilyActivity:CDBPlayerRefresh_FamilyActivity,
|
| | | TYPE_Price_FBHelpPoint:CDBPlayerRefresh_FBHelpPoint,
|
| | | TYPE_Price_XianyuanCoin:CDBPlayerRefresh_Xianyuancoin,
|
| | | TYPE_Price_Danjing:CDBPlayerRefresh_Danjing,
|
| | | TYPE_Price_SoulDust:CDBPlayerRefresh_SoulDust,
|
| | | TYPE_Price_SoulSplinters:CDBPlayerRefresh_SoulSplinters,
|
| | | TYPE_Price_SoulCore:CDBPlayerRefresh_SoulCore,
|
| | | }
|
| | |
|
| | | # 高效战斗状态
|
| | |
| | | GameFuncID_Official = 12 # 官爵,境界
|
| | | GameFuncID_Family = 15 # 战盟,仙盟
|
| | | GameFuncID_GodWeapon = 20 # 神器
|
| | | GameFuncID_Talent = 28 # 天赋
|
| | | GameFuncID_Talent = 149 # 天赋
|
| | | GameFuncID_RefineExp = 60 # 经验炼制,祈愿
|
| | | GameFuncID_RefineMoney = 61 # 金币炼制,祈愿
|
| | | GameFuncID_WorldLV = 71 # 世界等级
|
| | |
| | | GameFuncID_FreeGoods = 130 # 极品白拿
|
| | | GameFuncID_OSSail = 132 # 开服特惠
|
| | | GameFuncID_HorsePetRobBoss = 139# 骑宠争夺
|
| | | GameFuncID_AddPoint = 145 # 加点功能
|
| | | GameFuncID_LittleHelper = 146 # 小助手
|
| | | GameFuncID_TJG = 147 # 脱机挂
|
| | | GameFuncID_SuperGift = 150 # 超值礼包
|
| | | # 以下为暂时无用的
|
| | | GameFuncID_Truck = 33 # 运镖
|
| | | GameFuncID_RunDaily = 34 # 日常跑环
|
| | |
| | | Def_TalkExtraValue_Bit_VipLv, # vip等级
|
| | | Def_TalkExtraValue_Bit_GM, #GM
|
| | | Def_TalkExtraValue_Bit_JOB, #job
|
| | | ) = range(0, 3)
|
| | | Def_TalkExtraValue_Bit_BubbleBox, #气泡框
|
| | | ) = range(0, 4)
|
| | |
|
| | | #聊天信息附加值中某信息数据所占位置
|
| | | #{聊天信息附加值类型:[起始位置(从左往右), 结束位置(不包含)]}
|
| | |
| | | Def_TalkExtraValue_Bit_VipLv:[0, 2], # vip等级
|
| | | Def_TalkExtraValue_Bit_GM:[2, 3], # GM
|
| | | Def_TalkExtraValue_Bit_JOB:[3, 4], # job
|
| | | Def_TalkExtraValue_Bit_BubbleBox:[4, 6], # 气泡框
|
| | | }
|
| | |
|
| | | # 聊天频道 暂用语音
|
| | |
| | |
|
| | | #虚拟背包类型, 从255递减
|
| | | Def_VPack_TypeList = (
|
| | | rptGatherSoul, # 聚魂背包 254
|
| | | rptRune, # 符印背包 255
|
| | | ) = range(256 - 1, 256)
|
| | | ) = range(256 - 2, 256)
|
| | |
|
| | |
|
| | | #武器的手持形式
|
| | |
| | | Def_UniversalGameRecType_TodayPlayerLVInfo, #今日活跃玩家等级信息6
|
| | | Def_UniversalGameRecType_YesterdayPlayerLVInfo,#昨日活跃玩家等级信息7
|
| | | Def_UniversalGameRecType_StoreServerCntRecord, #商店全服购买记录 8,
|
| | | Def_UniversalGameRecType_9,
|
| | | Def_UniversalGameRecType_10,
|
| | | Def_UniversalGameRecType_FBHelpBattleCheckInPlayer, #助战玩家登记记录9
|
| | | Def_UniversalGameRecType_FBHelpBattleRecord, #助战未同步记录10
|
| | | Def_UniversalGameRecType_11,
|
| | | Def_UniversalGameRecType_MergeRegister, # 上传数据报名信息12
|
| | | Def_UniversalGameRecType_13,
|
| | |
| | | Def_Campaign_Type_LV, # 冲级等级排行 4
|
| | | Def_Campaign_Type_RealmLV, # 境界等级排行 5
|
| | | Def_Campaign_Type_FightPower, # 总战斗力排行 6
|
| | | ) = range(1, 1 + 6)
|
| | | Def_Campaign_Type_RuneLV, # 符印等级排行 7
|
| | | Def_Campaign_Type_GodWeaponLV, # 神兵等级排行 8
|
| | | Def_Campaign_Type_Recharge, # 累计充值排行 9
|
| | | Def_Campaign_Type_PetLV, # 灵宠等级排行 10
|
| | | ) = range(1, 1 + 10)
|
| | |
|
| | | # 活动类型对应的奖励排行榜{活动类型:排行榜, ...}
|
| | | Def_Campaign_Billboard_Dict = {
|
| | |
| | | Def_Campaign_Type_LV:Def_BT_Campaign_LV,
|
| | | Def_Campaign_Type_RealmLV:Def_BT_Campaign_RealmLV,
|
| | | Def_Campaign_Type_FightPower:Def_BT_Campaign_FightPower,
|
| | | Def_Campaign_Type_RuneLV:Def_BT_Campaign_RuneLV,
|
| | | Def_Campaign_Type_GodWeaponLV:Def_BT_Campaign_GodWeaponLV,
|
| | | Def_Campaign_Type_Recharge:Def_BT_Campaign_Recharge,
|
| | | Def_Campaign_Type_PetLV:Def_BT_Campaign_PetLV,
|
| | | }
|
| | |
|
| | | # 活动数据状态
|
| | |
| | | CampType_Justice, #正义(与 Def_ID1Win 一致)
|
| | | CampType_Evil, #邪恶(与 Def_ID2Win 一致)
|
| | | ] = range(3)
|
| | |
|
| | | # 跨服服务器发送子服信息定义
|
| | | CrossServerMsg_ExitCrossServer = "ExitCrossServer" # 退出跨服服务器
|
| | | CrossServerMsg_Notify = "Notify" # 提示信息
|
| | | CrossServerMsg_PKMatchReqRet = "PKMatchReqRet" # 跨服PK匹配请求结果
|
| | | CrossServerMsg_PKMatchResult = "PKMatchResult" # 跨服PK匹配结果
|
| | | CrossServerMsg_PKReadyOKRoomList = "PKReadyOKRoomList" # 跨服PK已准备好的房间列表
|
| | | CrossServerMsg_PKTimeoutRoomList = "PKTimeoutRoomList" # 跨服PK已超时的房间列表
|
| | | CrossServerMsg_PKOverInfo = "PKOverInfo" # 跨服PK结果
|
| | | CrossServerMsg_PKSeasonInfo = "PKSeasonInfo" # 跨服PK赛季信息
|
| | | CrossServerMsg_PKSyncBillboard = "PKSyncBillboard" # 跨服PK同步排行榜 |
| | |
|
| | | # 子服发送跨服信息定义
|
| | | ClientServerMsg_ServerInitOK = "ServerInitOK" # 子服启动成功
|
| | | ClientServerMsg_GMCMD = "GMCMD" # GM命令
|
| | | ClientServerMsg_PKMatch = "PKMatch" # 跨服PK匹配
|
| | | ClientServerMsg_PKCancel = "PKCancel" # 跨服PK取消匹配
|
| | | ClientServerMsg_PKPrepareOK = "PKPrepareOK" # 跨服PK准备完毕
|
| | | ClientServerMsg_PKBillboard = "PKBillboard" # 跨服PK排行榜
|
| | |
|
| | | #跨服匹配PK奖励类型
|
| | | Def_MergePKAwardTypeList = (
|
| | |
| | | Def_IudetRuneSource = 40 # 符印来源 老号0,默认1,合成2(主要用来区分是否合成获得)
|
| | | Def_IudetWingProgressValue = 42 #羽翼精炼值
|
| | | Def_IudetCreateTime = 44 # 时效物品的创建时间
|
| | |
|
| | | Def_IudetGatherSoulLV = 46 # 聚魂等级
|
| | | # 200~300 宠物数据用
|
| | | Def_IudetPet_NPCID = 200 # npcID
|
| | | Def_IudetPet_ClassLV = 202 # 阶级
|
| | |
| | | )=range(5)
|
| | |
|
| | | # 战斗力模块类型
|
| | | Def_MFPType_Max = 25
|
| | | Def_MFPType_Max = 27
|
| | | ModuleFightPowerTypeList = (
|
| | | Def_MFPType_Role, # 角色 0
|
| | | Def_MFPType_Equip, # 装备(基本装备位) 1
|
| | |
| | | Def_MFPType_HorseSoul, # 坐骑魂石 19
|
| | | Def_MFPType_MagicWeaponSoul, # 法宝之魂 20
|
| | | Def_MFPType_Dogz, # 神兽 21
|
| | | Def_MFPType_GatherSoul, # 聚魂 22
|
| | | Def_MFPType_MagicWeapon4, # 王者法宝 23
|
| | | Def_MFPType_Other, # 其他
|
| | |
|
| | | #以下暂时没用到,改时再处理
|
| | |
| | | DailyActionID_BOSSHome, # BOSS之家
|
| | | DailyActionID_FamilyRobBoss, # 仙盟抢boss
|
| | | DailyActionID_KillNPC, # 野外怪物
|
| | | ) = range(1, 18 + 1)
|
| | | DailyActionID_IceLode, # 冰晶矿脉
|
| | | DailyActionID_HelpBattleCheckIn, # 助战登记 20
|
| | | DailyActionID_CrossReamPK, # 跨服PK 21
|
| | | ) = range(1, 21 + 1)
|
| | |
|
| | |
|
| | |
|
| | |
| | | SuccType_DogzBattle, #x神兽出战129
|
| | | SuccType_DogzEquipPlus, #出战神兽装备总强化X级130
|
| | | SuccType_Collect, #采集X物品X次131
|
| | | ) = range(1, 132)
|
| | | SuccType_InlayGatherSoul, #镶嵌X枚X品质聚魂(不包含核心)132
|
| | | SuccType_GatherSoulLvUp, #累计聚魂总等级XX(不包含核心)133
|
| | | ) = range(1, 134)
|
| | |
|
| | |
|
| | |
|
| | |
| | | NeedResetSuccessTypeList = [
|
| | | SuccType_InlayStone1,SuccType_InlayStone2,SuccType_EquipSuit,SuccType_InlayRune,
|
| | | SuccType_EquipColorItem,SuccType_EquipArmor,SuccType_EquipWeapon,SuccType_DogzEquipPlus,
|
| | | SuccType_HorseAllLV, SuccType_EquipPlusLV,SuccType_PetClassLV,
|
| | | SuccType_HorseAllLV, SuccType_EquipPlusLV,SuccType_PetClassLV,SuccType_InlayGatherSoul,
|
| | | ]
|
| | |
|
| | | # 聊天类型, 从100开始, 前100个给c++用
|