| | |
| | | Def_Notify_Separator = '+'
|
| | |
|
| | | #通知地图服务器并设置该字典值
|
| | | Def_Notify_WorldKey_OpenServerWeekday = 'OpenServerWeekday' # 开服是周几, 1代表周一
|
| | | Def_Notify_WorldKey_ServerDay = 'ServerDay' # 开服天数
|
| | | Def_Notify_WorldKey_IsMixServer = 'IsMixServer' # 是否合服服务器
|
| | | Def_Notify_WorldKey_MixServerDay = 'MixServerDay' # 合服天数
|
| | |
| | | Def_Notify_WorldKey_ReloadJpegCaptcha = 'ReloadJpegCaptcha' # 重读tex图形验证码
|
| | | Def_Notify_WorldKey_GameServerScriptReloadVersion = 'GameServerScriptReloadVersion' # GameServer 脚本重读版本标记
|
| | | Def_Notify_WorldKey_MapServerScriptReloadVersion = 'MapServerScriptReloadVersion' # MapServer 脚本重读版本标记
|
| | |
|
| | | Def_Notify_WorldKey_InitGameWorldTime = "InitGameWorldTime" #启动服务器时间
|
| | | Def_Notify_WorldKey_OperationActionInfo = "OperationActionInfo_%s" # 运营活动信息,参数为运营活动名
|
| | | Def_Notify_WorldKey_DailyActionState = "DailyActionState_%s" # 日常活动状态,参数为日常活动ID
|
| | | Def_Notify_WorldKey_FBEnterTimeLimiitMapID = "FBEnterTimeLimiitMapID" # 进入副本有时间限制的地图ID列表
|
| | |
| | |
|
| | | Def_Notify_WorldKey_LastDropTime = "LastDropTime_%s" # 全局物品上次掉落时间, 参数(itemID)
|
| | | Def_Notify_WorldKey_DropNPCKilledCnt = "DropNPCKilledCnt_%s" # 全局物品绑定的NPC击杀次数, 参数(itemID)
|
| | | Def_Notify_WorldKey_NPCKilledCount = "NPCKilledCount_%s" # 全局NPC被击杀次数, 参数(npcID)
|
| | |
|
| | | Def_Notify_WorldKey_WorldAverageLv = "WorldAverageLv" #世界等级
|
| | | Def_Notify_WorldKey_YdayLoginCnt= 'YdayLoginCnt' # 昨天总在线人数
|
| | |
| | | Def_Notify_WorldKey_ChampionFamilyID = "ChampionFamilyID" # 仙盟联赛上次冠军仙盟ID
|
| | |
|
| | | Def_Notify_WorldKey_FamilyBossOpenCount = "FamilyBossOpenCount" # 仙盟boss开启次数
|
| | |
|
| | | Def_Notify_WorldKey_FamilyPartyInfo = "FamilyPartyInfo" # 仙盟宴会数据
|
| | |
|
| | | Def_Notify_WorldKey_MergeBoss = "Merge_Boss" # 跨服boss
|
| | |
|
| | |
| | | Def_Notify_WorldKey_BossKilledCnt = 'BossKilledCnt_%s' # boss击杀次数, 参数为NPCID
|
| | | Def_Notify_WorldKey_GameWorldBossOnlineCnt = "GameWorldBossOnlineCnt_%s" #世界boss重生时间计算 在线人数统计 %s为bossid
|
| | | Def_Notify_WorldKey_BossShuntPlayer = 'BossShuntPlayer' # boss分流玩家信息
|
| | | Def_Notify_WorldKey_BossShuntDeadLine = 'BossShuntDeadLine' # boss分流线路已死亡的线路
|
| | | Def_Notify_WorldKey_BossShuntLineState = 'BossShuntLineState' # boss分流线路对应boss状态
|
| | | Def_Notify_WorldKey_BossOnlineHeroCnt = 'BossOnlineHeroCnt_%s' # boss刷新时间用的在线人数, 参数为NPCID
|
| | | Def_Notify_WorldKey_FamilyKillHorsePetRobBossCnt = 'FamilyKillHorsePetRobBossCnt' # 仙盟击杀骑宠boss数统计
|
| | | Def_Notify_WorldKey_HorsePetRobBossPlayerCount = 'HorsePetRobBossPlayerCount' # 骑宠争夺活动有效参考人数
|
| | |
|
| | | Def_Notify_WorldKey_FamilyActivityDayState = "FamilyActivityDayState" #战盟相关活动今日开启状态, 按位存储代表今日是否开启过
|
| | |
|
| | |
| | | OperationActionName_FlashGiftbag = "ActFlashGiftbag" # 限时礼包活动
|
| | | OperationActionName_FairyCeremony = "ActFairyCeremony" # 仙界盛典活动
|
| | | 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_RealmPoint, OperationActionName_FlashSale,
|
| | | OperationActionName_WishingWell, OperationActionName_TotalRecharge]
|
| | | #需要记录开启活动时的世界等级的运营活动
|
| | | NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony]
|
| | | NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony, OperationActionName_WishingWell]
|
| | |
|
| | | #活动信息字典key定义
|
| | | ActKey_ID = "ID" # 活动ID,唯一标识的ID,一般是活动开启的time值
|
| | | ActKey_State = "State" # 活动状态 0-未开启, >0开启中,也代表当日的第几个时间段
|
| | | ActKey_CfgID = "CfgID" # 活动表配置ID
|
| | | ActKey_StartDate = "StartDate" # 开始日期 y-m-d
|
| | | ActKey_EndDate = "EndDate" # 结束日期 y-m-d
|
| | | ActKey_LVLimit = "LVLimit" # 限制玩家等级
|
| | |
|
| | | ActKey_AddExpRate = "AddExpRate" # 多倍经验增加的经验倍率
|
| | | ActKey_IsDayReset = "IsDayReset" # 消费返利是否每天重置
|
| | | ActKey_TemplateID = "TemplateID" # 消费返利今日模板ID
|
| | | ActKey_TemplateIDList = "TemplateIDList" # 消费返利模板ID列表
|
| | | ActKey_ShopTypeList = "ShopTypeList" # 限时特惠商店类型
|
| | | ActKey_DayIndex = "DayIndex" # 活动表配置ID
|
| | | ActKey_WorldLV = "WorldLV" # 活动开启时世界等级
|
| | | ActKey_GiftbagTypeList = "GiftbagTypeList" # 限时礼包ID列表
|
| | | ActKey_RealmPointMulti = "RealmPointMulti" # X倍修行点
|
| | |
|
| | | #答题类型枚举
|
| | | Def_Game_ExamTypeList = range(1, 4 + 1)
|
| | |
| | | Def_mitRefine, # 炼丹
|
| | | Def_mitMWUpLevel, # 法宝进阶
|
| | | Def_mitRecycleAttrFruit, # 回收魂石
|
| | | ) = range(1, 21)
|
| | | Def_mitDogzEquipPlus, # 神兽装备强化
|
| | | Def_mitRuneCompound, # 符印合成
|
| | | ) = range(1, 23)
|
| | |
|
| | | #---写死的技能ID---
|
| | | Def_SkillID_AutoTruck = 62220 # 自动运镖buff
|
| | |
| | | Def_Effect_SuiteBasePer = 87 # 套装基础属性百分比
|
| | | Def_Effect_PlusBaseAtkPer = 88 # 强化基础攻击百分比
|
| | |
|
| | | Def_Effect_NPCHurtAddPer = 89 # 对怪物伤害加成
|
| | |
|
| | | #增加%d物理伤害值,其中a值为伤害值
|
| | | Def_Effect_AddAtk = 1005
|
| | | #增加%d魔法伤害值,其中a值为伤害值
|
| | |
| | | Def_BT_Campaign_FightPower, #战力排行(开服活动榜)
|
| | |
|
| | | Def_BT_FCCostGold, #消费排行榜(仙界盛典)
|
| | | Def_BT_Campaign_RuneLV, #符印等级(开服活动榜)
|
| | | Def_BT_FBHelpBattle, #助战次数排行榜
|
| | |
|
| | | 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, 31 + 2) |
| | |
|
| | | #职业对应战力排行榜类型
|
| | | JobFightPowerBillboardDict = {
|
| | |
| | | CDBPlayerRefresh_RealmPoint, # 境界修炼点
|
| | | CDBPlayerRefresh_Ysog, # 魔精
|
| | | CDBPlayerRefresh_FamilyActivity, # 仙盟活跃令
|
| | | CDBPlayerRefresh_FBHelpPoint, # 副本助战积分
|
| | | CDBPlayerRefresh_Xianyuancoin, # 仙缘币
|
| | | CDBPlayerRefresh_PKState, # 战斗状态 175
|
| | | CDBPlayerRefresh_BossState, # boss״̬
|
| | | CDBPlayerRefresh_BaseAtkMin, # 基础最小攻击
|
| | |
| | | CDBPlayerRefresh_FuncDef, # 功能层防御 185
|
| | | CDBPlayerRefresh_TreasureScore, # 寻宝积分
|
| | | CDBPlayerRefresh_Danjing, # 丹精
|
| | | ) = range(146, 188)
|
| | | CDBPlayerRefresh_NPCHurtAddPer, # 对怪物伤害加成
|
| | | CDBPlayerRefresh_FinalHurtPer, # 最终输出伤害百分比
|
| | | CDBPlayerRefresh_TalentPoint, # 天赋点数 190
|
| | | CDBPlayerRefresh_DayFBHelpPoint, # 今日副本助战点数 191
|
| | | CDBPlayerRefresh_GodWeaponLV_1, # 神兵等级 - 类型1 192
|
| | | CDBPlayerRefresh_GodWeaponLV_2, # 神兵等级 - 类型2 193
|
| | | CDBPlayerRefresh_GodWeaponLV_3, # 神兵等级 - 类型3 194
|
| | | CDBPlayerRefresh_GodWeaponLV_4, # 神兵等级 - 类型4 195
|
| | | ) = range(146, 196)
|
| | |
|
| | | 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_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,
|
| | | }
|
| | |
|
| | |
| | | Def_Battle_Query # 查询
|
| | | ) = range(1, 4)
|
| | |
|
| | |
|
| | | #无限飞buff id--->新手体验VIPBUFF
|
| | | Def_FreedomTransBuffID = 11503 |
| | |
|
| | | #区域类型定义, 从5开始, C++定义到 IPY_GameWorld.gatMax 4
|
| | | (
|
| | |
| | | GameFuncID_Official = 12 # 官爵,境界
|
| | | GameFuncID_Family = 15 # 战盟,仙盟
|
| | | GameFuncID_GodWeapon = 20 # 神器
|
| | | GameFuncID_Talent = 149 # 天赋
|
| | | GameFuncID_RefineExp = 60 # 经验炼制,祈愿
|
| | | GameFuncID_RefineMoney = 61 # 金币炼制,祈愿
|
| | | GameFuncID_WorldLV = 71 # 世界等级
|
| | |
| | | GameFuncID_EquipDecompose = 123 # 装备分解
|
| | | GameFuncID_DailyQuest = 78 # 日常
|
| | | GameFuncID_FreeGoods = 130 # 极品白拿
|
| | |
|
| | | GameFuncID_OSSail = 132 # 开服特惠
|
| | | GameFuncID_HorsePetRobBoss = 139# 骑宠争夺
|
| | | GameFuncID_AddPoint = 145 # 加点功能
|
| | | GameFuncID_LittleHelper = 146 # 小助手
|
| | | GameFuncID_TJG = 147 # 脱机挂
|
| | | GameFuncID_SuperGift = 150 # 超值礼包
|
| | | # 以下为暂时无用的
|
| | | GameFuncID_GreatMaster = 28 # 大师
|
| | | GameFuncID_Truck = 33 # 运镖
|
| | | GameFuncID_RunDaily = 34 # 日常跑环
|
| | | GameFuncID_RunFamily = 53 # 战盟跑环
|
| | |
| | | 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], # 气泡框
|
| | | }
|
| | |
|
| | | # 聊天频道 暂用语音
|
| | |
| | | Def_UniversalGameRecType_DujieHelpCntRecord, # 渡劫副本护法次数5
|
| | | Def_UniversalGameRecType_TodayPlayerLVInfo, #今日活跃玩家等级信息6
|
| | | Def_UniversalGameRecType_YesterdayPlayerLVInfo,#昨日活跃玩家等级信息7
|
| | | Def_UniversalGameRecType_8,
|
| | | Def_UniversalGameRecType_9,
|
| | | Def_UniversalGameRecType_10,
|
| | | Def_UniversalGameRecType_StoreServerCntRecord, #商店全服购买记录 8,
|
| | | 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
|
| | | ) = range(1, 1 + 7)
|
| | |
|
| | | # 活动类型对应的奖励排行榜{活动类型:排行榜, ...}
|
| | | 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_IudetWingMaterialItemID = 27 # 翅膀精炼材料ID列表
|
| | | Def_IudetWingMaterialItemCount = 29 # 翅膀精炼材料个数列表
|
| | | Def_IudetDogzEquipPlus = 31 # 神兽装备强化信息列表 [强化等级, 累计总熟练度]
|
| | | Def_IudetItemDecompound = 33 # 拆解返还物品列表 [装备ID,材料1ID,个数,是否绑定,材料2ID,个数,是否绑定,...]
|
| | |
|
| | | Def_IudetItemColor = 16 # 物品颜色,如果该值没有就取物品
|
| | | Def_IudetItemCount = 18 # 物品个数,支持20亿,目前仅特殊转化物品会用到
|
| | |
| | | Def_IudetCreateItemLoginDay = 34 # 创建物品时的登录天数
|
| | | Def_IudetLastOpenItemLoginDay = 36 # 上一次开启物品时的登录天数
|
| | | Def_IudetRuneLV = 38 # 符印等级
|
| | | Def_IudetRuneSource = 40 # 符印来源 老号0,默认1,合成2(主要用来区分是否合成获得)
|
| | | Def_IudetWingProgressValue = 42 #羽翼精炼值
|
| | | Def_IudetCreateTime = 44 # 时效物品的创建时间
|
| | |
|
| | |
| | | DailyActionID_XXX12, # 废弃12
|
| | | DailyActionID_Tower, # 符印塔
|
| | | DailyActionID_MagicWeapon, # 法宝集魂
|
| | | DailyActionID_FBHelp, # 助战副本
|
| | | DailyActionID_FBHelp, # 助战副本 15
|
| | | DailyActionID_BOSSHome, # BOSS之家
|
| | | ) = range(1, 16 + 1)
|
| | | DailyActionID_FamilyRobBoss, # 仙盟抢boss
|
| | | DailyActionID_KillNPC, # 野外怪物
|
| | | DailyActionID_IceLode, # 冰晶矿脉
|
| | | ) = range(1, 19 + 1)
|
| | |
|
| | |
|
| | |
|
| | |
| | | SuccType_XXX24 , # 废弃24
|
| | | SuccType_XXX25, # 废弃25
|
| | | SuccType_EquipPlus, # 强化x次成就26
|
| | | SuccType_EquipPlusLV, # x件装备强化等级达到x级27
|
| | | SuccType_EquipPlusLV, # x件装备强化等级达到x级27 (已废弃)
|
| | | SuccType_KillWorldBoss, # 击杀世界bossx次成就(有伤害就算)28
|
| | | SuccType_XXX29, # 废弃29
|
| | | SuccType_PassWagicWeapon, # 通关法宝副本30
|
| | |
| | | SuccType_CompoundEquip, # 合成X阶X颜色X星级以上装备124
|
| | | SuccType_IceLode, #通关冰晶矿脉成就125
|
| | | SuccType_RefineStoveColor, #炼制X品质丹药X枚126
|
| | | ) = range(1, 127)
|
| | | SuccType_UseStoveBylv, #使用X品丹药X枚127
|
| | | SuccType_QueenRelicsEx, #通关娲皇遗迹128
|
| | | SuccType_DogzBattle, #x神兽出战129
|
| | | SuccType_DogzEquipPlus, #出战神兽装备总强化X级130
|
| | | SuccType_Collect, #采集X物品X次131
|
| | | ) = range(1, 132)
|
| | |
|
| | |
|
| | |
|
| | |
| | | UnDownCheckSuccessTypeList = [
|
| | | SuccType_EquipPlusLV, SuccType_GodWeapon,
|
| | | SuccType_MainTaskNode,SuccType_PassWagicWeapon,
|
| | | SuccType_KillSpecificNPC,
|
| | | SuccType_KillSpecificNPC, SuccType_UseStoveBylv,
|
| | | SuccType_Pray,SuccType_PetClassLV,
|
| | | SuccType_HorseAllLV, SuccType_QueenRelics,SuccType_XMZZConWin,
|
| | | SuccType_EquipSuit,
|
| | | SuccType_EquipSuit,SuccType_Collect,SuccType_DogzBattle,
|
| | | SuccType_UseItem,SuccType_FamilyTechLV,
|
| | | SuccType_GetSpecialItem,SuccType_GetMagicWeapon,SuccType_FBEncourage,SuccType_XBXZ,
|
| | | ]
|
| | |
| | | #增加进度前需要重置的成就类型
|
| | | NeedResetSuccessTypeList = [
|
| | | SuccType_InlayStone1,SuccType_InlayStone2,SuccType_EquipSuit,SuccType_InlayRune,
|
| | | SuccType_EquipColorItem,SuccType_EquipArmor,SuccType_EquipWeapon,
|
| | | SuccType_EquipColorItem,SuccType_EquipArmor,SuccType_EquipWeapon,SuccType_DogzEquipPlus,
|
| | | SuccType_HorseAllLV, SuccType_EquipPlusLV,SuccType_PetClassLV,
|
| | | ]
|
| | |
|
| | | # 聊天类型, 从100开始, 前100个给c++用
|
| | |
| | | FamilyActive_War, #仙盟联赛
|
| | | FamilyActive_HelpDujie, #同盟护法
|
| | | FamilyActive_SWRH, #守卫人皇
|
| | | ) = range(1,6+1) |
| | | ) = range(1,6+1)
|
| | |
|
| | |
|
| | | # BOSS 功能标识区分 对应KillBossCntLimit,主要根据击杀类型不同区分
|
| | | (
|
| | | Def_Boss_Func_World, # 世界BOSS
|
| | | Def_Boss_Func_Home, # BOSS之家
|
| | | Def_Boss_Func_Dogz, # 神兽功能BOSS
|
| | | ) = range(3)
|
| | |
|