From a53ebf8a767a99aee01b8ae39af45634766d0bb3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 13 七月 2022 17:34:51 +0800
Subject: [PATCH] 9663 【越南】【BT7】【主干】防范NPC获取刷新点坐标报错
---
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 100 insertions(+), 18 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
index 87bd2d3..026ac03 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
@@ -177,10 +177,15 @@
Def_Notify_WorldKey_CrossServerConnState = "CrossServerConnState" # 跨服服务器链接状态
Def_Notify_WorldKey_CrossServerOpen = "CrossServerOpen" # 跨服服务器是否开启中
Def_Notify_WorldKey_CrossZoneName = "CrossZoneName" # 跨服分区名
+Def_Notify_WorldKey_CrossServerTime = "CrossServerTime" # 跨服时间
Def_Notify_WorldKey_CrossPKZoneID = "CrossPKZoneID" # 本服跨服PK所属赛区
Def_Notify_WorldKey_CrossPKSeasonID = "CrossPKSeasonID" # 本服跨服PK当前赛季
Def_Notify_WorldKey_CrossPKSeasonState = "CrossPKSeasonState" # 本服跨服PK赛季状态 0-关闭,1-开启中
+
+Def_Notify_WorldKey_LuckyCloudBuyInfo = "LuckyCloudBuyInfo" # 本服幸运云购最新一期信息
+
+Def_Notify_WorldKey_CrossBattlefieldCallTeamInfo = "CrossBattlefieldCallTeamInfo" # 跨服战场召集队伍信息
Def_Notify_WorldKey_GameWorldBossRebornCross = 'BossRebornCross_%s_%s' # 跨服世界boss重生, 参数为(zoneID, bossID)
Def_Notify_WorldKey_GameWorldBossReborn = 'BossReborn_%s' # 世界boss重生, 参数为(bossID)
@@ -199,6 +204,8 @@
Def_Notify_WorldKey_FairyDomainLimit = "FairyDomainLimit" # 缥缈仙域限制事件
Def_Notify_WorldKey_AssistBoss = "AssistBoss" # 协助boss
+
+Def_Notify_WorldKey_CoupleInfo = "CoupleInfo" # 伴侣信息
#活动类型定义
ActTypeList = (
@@ -283,9 +290,12 @@
#跨服运营活动表名定义
CrossActName_CTGBillboard = "CrossActCTGBillboard" # 充值排行榜
+CrossActName_LuckyCloudBuy = "CrossActLuckyCloudBuy" # 幸运云购
#跨服运营活动列表
-CrossActNameList = [CrossActName_CTGBillboard]
+CrossActNameList = [CrossActName_CTGBillboard, CrossActName_LuckyCloudBuy]
+#需要锁定活动分区分配直到活动结束的跨服运营活动,即使热更分区配置,也不会改变正在活动中的分区设定,直到活动结束
+CrossActLockServerGroupIDList = [CrossActName_CTGBillboard]
#活动信息字典key定义
ActKey_ID = "ID" # 活动ID,唯一标识的ID,一般是活动开启的time值
@@ -617,6 +627,19 @@
Def_Effect_ReduceSkillCDPer = 149 # 减少技能CD, a值为万分率
+Def_Effect_ZhuXianRate = 150 # 诛仙一击: 概率直接减少BOSS当前10%血量
+Def_Effect_ZhuXianReducePer = 151 # 诛仙护体: 受到BOSS伤害减免 万分率
+
+Def_Effect_HorseMaxHPPer = 152 # 坐骑生命加成
+Def_Effect_PetAtkPer = 153 # 灵宠攻击加成
+Def_Effect_HorseTrainAttrPer = 154 # 坐骑培养属性加成(攻防血)
+Def_Effect_PetTrainAttrPer = 155 # 灵宠培养属性加成(攻防血)
+Def_Effect_GuardTrainAttrPer = 156 # 守护培养属性加成(攻防血)
+Def_Effect_WingTrainAttrPer = 157 # 翅膀培养属性加成(攻防血)
+Def_Effect_PeerlessWeaponTrainAttrPer = 158 # 灭世培养属性加成(攻防血)
+Def_Effect_PeerlessWeapon2TrainAttrPer = 159 # 弑神培养属性加成(攻防血)
+Def_Effect_LianTiAttrPer = 160 # 炼体属性百分比(攻防血)
+
#增加%d物理伤害值,其中a值为伤害值
Def_Effect_AddAtk = 1005
#增加%d魔法伤害值,其中a值为伤害值
@@ -715,9 +738,12 @@
Def_BT_SkyTower, #天星塔榜
Def_BT_Arena, #竞技场榜
Def_BT_Environment, #环保榜 (垃圾分类活动)
+ Def_BT_CharmTotal, #魅力总榜 30
+ Def_BT_CharmWeek, #魅力周榜
+ Def_BT_CharmDay, #魅力日榜
Def_BT_Max, #排行榜最大类型
-) = range(0, 29 + 2)
+) = range(0, 32 + 2)
''' 跨服排行榜类型, 从 150 开始
与本服榜单存储的是不一样的数据库表格,理论上类型可以和本服榜单类型重复,为了做下区分防误导,跨服榜单从 150 开始
@@ -726,7 +752,10 @@
'''
CrossBillboardTypeList = (
Def_CBT_ActCTG, # 跨服运营活动 - 充值榜 150
-) = range(150, 150 + 1)
+Def_CBT_BattlefieldWJoin, # 跨服战场每周参与榜 151
+Def_CBT_BattlefieldWCall, # 跨服战场每周召集榜 152
+Def_CBT_BattlefieldWScore, # 跨服战场每周积分榜 153
+) = range(150, 153 + 1)
#职业对应战力排行榜类型
JobFightPowerBillboardDict = {
@@ -738,7 +767,7 @@
#排行榜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_SkyTower,
+ Def_BT_SkyTower, Def_BT_CharmTotal, Def_BT_CharmWeek, Def_BT_CharmDay
]
##---比率---
@@ -961,7 +990,14 @@
CDBPlayerRefresh_Environment, # 环保值 232
CDBPlayerRefresh_MoneyMinusGold, # 仙玉 - 负值 233
CDBPlayerRefresh_MoneyMinusGoldPaper, # 绑玉 - 负值 234
-) = range(146, 235)
+CDBPlayerRefresh_MoneyMinusSilverPaper, # 神玉 - 负值 235
+CDBPlayerRefresh_AllCoinTotal, # 真实充值coin值 236
+CDBPlayerRefresh_ExAttr18, # ExAttr18
+CDBPlayerRefresh_ExAttr19, # ExAttr19
+CDBPlayerRefresh_CharmLV, # 魅力等级 239
+CDBPlayerRefresh_BTGMPoint, # BT版GM令 240
+CDBPlayerRefresh_GuShenMoney, # 古神币 241
+) = range(146, 242)
TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
@@ -982,6 +1018,8 @@
TYPE_Price_SoulCore = 30 # 核心环
TYPE_Price_FuncSysPrivilege = 31 # 功能系统特权令
TYPE_Price_Environment = 32 # 环保值
+TYPE_Price_BTGMPoint = 33 # BT版GM令
+TYPE_Price_GuShenMoney = 34 # 古神币
#以下是旧的金钱类型
TYPE_Price_Magic_Integral = 101 # 魔方寻宝积分
@@ -1007,6 +1045,8 @@
TYPE_Price_BossActScore:CDBPlayerRefresh_BossActScore,
TYPE_Price_FuncSysPrivilege:CDBPlayerRefresh_FuncSysPrivilege,
TYPE_Price_Environment:CDBPlayerRefresh_Environment,
+ TYPE_Price_BTGMPoint:CDBPlayerRefresh_BTGMPoint,
+ TYPE_Price_GuShenMoney:CDBPlayerRefresh_GuShenMoney,
}
# 支持负值的货币及对应0418刷新类型
@@ -1052,6 +1092,8 @@
GameFuncID_SuperGift = 150 # 超值礼包
GameFuncID_ZhuXianBoss = 163 # 诛仙BOSS
GameFuncID_Arena = 195 # 竞技场
+GameFuncID_FaQi = 199 # 法器
+GameFuncID_LianTi = 207 # 炼体
# 以下为暂时无用的
GameFuncID_Truck = 33 # 运镖
GameFuncID_RunDaily = 34 # 日常跑环
@@ -1147,9 +1189,9 @@
Def_UniversalGameRecType_ActWorldLVLimitInfo, # 运营活动世界等级限制开启信息 18
Def_UniversalGameRecType_19,
Def_UniversalGameRecType_20,
- Def_UniversalGameRecType_21,
- Def_UniversalGameRecType_22,
- Def_UniversalGameRecType_23,
+ Def_UniversalGameRecType_LuckyCloudBuyNum, # 幸运云购购买号码记录 21
+ Def_UniversalGameRecType_LuckyCloudBuyLottery, # 幸运云购开奖记录 22
+ Def_UniversalGameRecType_CrossBattlefieldBuy, # 玩家购买的跨服战场 23
Def_UniversalGameRecType_UpdatePlayerName, # 玩家改名正在改名中的信息24
Def_UniversalGameRecType_BossDropGoodItemInfo, # boss掉落好物品信息记录25
Def_UniversalGameRecType_26,
@@ -1309,7 +1351,7 @@
Def_List_EscapeSequence = ['\a', '\b', '\f', '\n', '\r', '\t', '\v', '\\', '\'', '\"', '\0']
#阵营 三种 中立 正义 邪恶
-[
+CampTypeList = [
CampType_Neutral, #中立
CampType_Justice, #正义(与 Def_ID1Win 一致)
CampType_Evil, #邪恶(与 Def_ID2Win 一致)
@@ -1345,6 +1387,13 @@
CrossServerMsg_CrossActInfo = "CrossActInfo" # 跨服运营活动信息
CrossServerMsg_MailPlayerIDList = "MailPlayerIDList" # 跨服邮件玩家ID通知,玩家目标服务器可能无法知道,被动推送
CrossServerMsg_MailContent = "MailContent" # 跨服邮件内容通知
+CrossServerMsg_LuckyCloudBuyNum = "LuckyCloudBuyNum" # 幸运云购购买记录通知
+CrossServerMsg_LuckyCloudBuyLottery = "LuckyCloudBuyLottery" # 幸运云购开奖记录通知
+CrossServerMsg_CrossServerTime = "CrossServerTime" # 跨服时间同步
+CrossServerMsg_BattlefieldBuy = "BattlefieldBuy" # 跨服战场购买信息
+CrossServerMsg_BattlefieldState = "BattlefieldState" # 跨服战场状态信息
+CrossServerMsg_BattlefieldOver = "BattlefieldOver" # 跨服战场结算信息
+CrossServerMsg_DebugAnswer = "DebugAnswer" # DebugAnswer
# 子服发送跨服信息定义
ClientServerMsg_ServerInitOK = "ServerInitOK" # 子服启动成功
@@ -1365,6 +1414,11 @@
ClientServerMsg_CollectNPC = "CollectNPC" # 采集NPC
ClientServerMsg_EnterFB = "EnterFB" # 请求进入跨服副本
ClientServerMsg_AddBuff = "AddBuff" # 添加BUFF
+ClientServerMsg_LuckyCloudBuy = "LuckyCloudBuy" # 幸运云购
+ClientServerMsg_BattlefieldBuyOpen = "BattlefieldBuyOpen" # 跨服战场购买召集
+ClientServerMsg_BattlefieldCallChange = "BattlefieldCallChange" # 跨服战场召集 - 修改
+ClientServerMsg_BattlefieldCallJoin = "BattlefieldCallJoin" # 跨服战场召集 - 加入
+ClientServerMsg_BattlefieldCallKick = "BattlefieldCallKick" # 跨服战场召集 - 踢出
#跨服广播类型定义
CrossNotify_CrossAct = "CrossAct"
@@ -1469,7 +1523,7 @@
)=range(5)
# 战斗力模块类型
-Def_MFPType_Max = 26
+Def_MFPType_Max = 29
ModuleFightPowerTypeList = (
Def_MFPType_Role, # 角色 0
Def_MFPType_Equip, # 装备(装备本身) 1
@@ -1491,11 +1545,14 @@
Def_MFPType_MagicWeapon3, # 仙族法宝 17
Def_MFPType_PetSoul, # 灵宠魂石 18
Def_MFPType_HorseSoul, # 坐骑魂石 19
-Def_MFPType_20,
+Def_MFPType_FaQi, # 法器 20
Def_MFPType_Dogz, # 神兽 21
Def_MFPType_GatherSoul, # 聚魂 22
Def_MFPType_MagicWeapon4, # 王者法宝 23
Def_MFPType_Coat, # 时装 24
+Def_MFPType_Love, # 情缘 25
+Def_MFPType_Charm, # 魅力 26
+Def_MFPType_LianTi, # 炼体 27
Def_MFPType_Other, # 其他
) = range(Def_MFPType_Max)
@@ -1600,9 +1657,12 @@
DailyActionID_CrossPenglai, # 跨服蓬莱仙境Boss 28
DailyActionID_FamilyChuanGong, # 仙盟传功 29
DailyActionID_FamilyParty, # 仙盟宴会 30
-) = range(1, 30 + 1)
-
-
+DailyActionID_31, # 活跃修炼 31
+DailyActionID_SkyTreasureBox, # 天降宝箱 32
+DailyActionID_Arena, # 竞技场 33
+DailyActionID_CrossDemonLand, # 跨服魔化之地Boss 34
+DailyActionID_CrossBattlefield, # 跨服战场 35
+) = range(1, 35 + 1)
# 成就类型定义
@@ -1750,7 +1810,27 @@
SuccType_FeastRedPack_CrossPK, # 节日红包 - 跨服PK x次 141
SuccType_FeastRedPack_FBSweep, # 节日红包 - 副本扫荡 x次 142
SuccType_PassSkyTower, #通关天星塔 143
-) = range(1, 144)
+SuccType_Battlefield_Join, # 古神战场 - 参与 x次 144
+SuccType_Battlefield_CallOpen, # 古神战场 - 召集开启 x次 145
+SuccType_Battlefield_Called, # 古神战场 - 当被召集人 x次 146
+SuccType_Battlefield_WinJ, # 古神战场 - 道家获胜 x次 147
+SuccType_Battlefield_WinE, # 古神战场 - 佛家获胜 x次 148
+SuccType_Battlefield_KillCnt, # 古神战场 - 击败玩家 x次 149
+SuccType_Battlefield_CKillCnt, # 古神战场 - 连续击败y玩家 x次 150
+SuccType_Battlefield_KillBoss, # 古神战场 - 阵营击败boss x次 151
+SuccType_Battlefield_KillScoreKing, # 古神战场 - 不同场次击败积分王 x次 152
+SuccType_Battlefield_KillGuard, # 古神战场 - 击败守卫 x次 153
+SuccType_Battlefield_Score, # 古神战场 - 累计获得个人积分 xx 154
+SuccType_Battlefield_ScoreMore, # 古神战场 - 单场个人积分超过yy积分 x次 155
+SuccType_Battlefield_AuraScore, # 古神战场 - 累计在积分光环中获得积分 xx 156
+SuccType_Battlefield_SuperItem, # 古神战场 - 累计获得古神大奖 x次 157
+SuccType_Battlefield_FactionBuff, # 古神战场 - 累计采集阵营buff x次 158
+SuccType_Battlefield_PersonBuff, # 古神战场 - 累计获得个人buff x次 159
+SuccType_Battlefield_Crystal, # 古神战场 - 累计采集占领资源 x次 160
+SuccType_Battlefield_Wall, # 古神战场 - 累计采集积分墙 x次 161
+SuccType_Battlefield_BillFirst, # 古神战场 - 任意周榜榜首 x次 162
+SuccType_Battlefield_BillIn, # 古神战场 - 结算时累计上榜 x次 163
+) = range(1, 164)
# 节日红包成就类型
FeastRedPackSuccessTypeList = range(SuccType_FeastRedPack_TalkWorld, SuccType_FeastRedPack_FBSweep + 1)
@@ -1786,7 +1866,7 @@
ContainSuccessTypeList = [SuccType_CompoundItemEx, SuccType_PickUpItem, SuccType_MWSkillUp]
#传进来的条件是配置条件的整数倍的成就类型
-MultipleSuccessTypeList = [SuccType_ElderBattlefieldConKill]
+MultipleSuccessTypeList = [SuccType_ElderBattlefieldConKill, SuccType_Battlefield_CKillCnt]
#增加进度前需要重置的成就类型
NeedResetSuccessTypeList = [
@@ -1894,5 +1974,7 @@
RedPackType_FeastSucc = 33 # 节日成就红包
RedPackType_Server = 36 # 全服红包
-# 节日红包类型
-FeastRedPackType = [RedPackType_FeastSysBig, RedPackType_FeastSysSmall, RedPackType_FeastSucc]
+# 红包类型分类定义
+RedPackWayType_Family = "1" # 仙盟红包
+RedPackWayType_Server = "2" # 全服红包
+RedPackWayType_Feast = "3" # 节日红包
--
Gitblit v1.8.0