From 6366979426fccd97c0cb0bd384ada3a8b9843a24 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 25 十月 2018 14:37:22 +0800
Subject: [PATCH] 2198 【主干】仙盟盟主5天没上线,盟主没有主动传位

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py |   40 ++++++++++++++++++++++++----------------
 1 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
index c89967a..936c081 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
@@ -127,7 +127,7 @@
 Def_Notify_Separator = '+'
 
 #通知地图服务器并设置该字典值
-Def_Notify_WorldKey_InitOpenServerTime = 'InitOpenServerTime'   # 开服时间
+Def_Notify_WorldKey_OpenServerWeekday = 'OpenServerWeekday'     # 开服是周几, 1代表周一
 Def_Notify_WorldKey_ServerDay = 'ServerDay'               # 开服天数
 Def_Notify_WorldKey_IsMixServer = 'IsMixServer'           # 是否合服服务器
 Def_Notify_WorldKey_MixServerDay = 'MixServerDay'         # 合服天数
@@ -143,7 +143,7 @@
 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列表
@@ -188,7 +188,7 @@
 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'   # 骑宠争夺活动有效参考人数
@@ -232,12 +232,15 @@
 OperationActionName_FlashGiftbag = "ActFlashGiftbag" # 限时礼包活动
 OperationActionName_FairyCeremony = "ActFairyCeremony" # 仙界盛典活动
 OperationActionName_RealmPoint = "ActRealmPoint" # 多倍修行点活动
+OperationActionName_FlashSale = "ActFlashSale" # 限时抢购活动
+OperationActionName_WishingWell = "ActWishingWell" # 许愿池活动
 OperationActionNameList = [OperationActionName_ExpRate, OperationActionName_CostRebate, 
                            OperationActionName_BossReborn,OperationActionName_SpringSale, 
                            OperationActionName_FlashGiftbag, OperationActionName_FairyCeremony,
-                           OperationActionName_RealmPoint]
+                           OperationActionName_RealmPoint, OperationActionName_FlashSale,
+                           OperationActionName_WishingWell]
 #需要记录开启活动时的世界等级的运营活动
-NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony]
+NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony, OperationActionName_WishingWell]
 
 #活动信息字典key定义
 ActKey_ID = "ID" # 活动ID,唯一标识的ID,一般是活动开启的time值
@@ -769,7 +772,8 @@
 CDBPlayerRefresh_Danjing,               # 丹精
 CDBPlayerRefresh_NPCHurtAddPer,         # 对怪物伤害加成
 CDBPlayerRefresh_FinalHurtPer,             # 最终输出伤害百分比
-) = range(146, 190)
+CDBPlayerRefresh_TalentPoint,           # 天赋点数 190
+) = range(146, 191)
 
 TYPE_Price_Gold_Paper_Money = 5    # 金钱类型,(先用礼券,再用金子)
 TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
@@ -820,9 +824,6 @@
 ) = range(1, 4)
 
 
-#无限飞buff id--->新手体验VIPBUFF
-Def_FreedomTransBuffID = 11503 
-
 #区域类型定义, 从5开始, C++定义到 IPY_GameWorld.gatMax 4
 (
 gatManor, # 领地区域, 领地战期间可PK, 反之为普通区域
@@ -836,6 +837,7 @@
 GameFuncID_Official = 12        # 官爵,境界
 GameFuncID_Family = 15          # 战盟,仙盟
 GameFuncID_GodWeapon = 20       # 神器
+GameFuncID_Talent = 28     # 天赋
 GameFuncID_RefineExp = 60       # 经验炼制,祈愿
 GameFuncID_RefineMoney = 61     # 金币炼制,祈愿
 GameFuncID_WorldLV = 71         # 世界等级
@@ -850,8 +852,8 @@
 GameFuncID_FreeGoods = 130      # 极品白拿
 GameFuncID_OSSail = 132         # 开服特惠
 GameFuncID_HorsePetRobBoss = 139# 骑宠争夺
+GameFuncID_AddPoint = 145       # 加点功能
 # 以下为暂时无用的
-GameFuncID_GreatMaster = 28     # 大师
 GameFuncID_Truck = 33           # 运镖
 GameFuncID_RunDaily = 34        # 日常跑环
 GameFuncID_RunFamily = 53       # 战盟跑环
@@ -925,7 +927,7 @@
                                 Def_UniversalGameRecType_DujieHelpCntRecord, # 渡劫副本护法次数5
                                 Def_UniversalGameRecType_TodayPlayerLVInfo, #今日活跃玩家等级信息6
                                 Def_UniversalGameRecType_YesterdayPlayerLVInfo,#昨日活跃玩家等级信息7
-                                Def_UniversalGameRecType_8,
+                                Def_UniversalGameRecType_StoreServerCntRecord,  #商店全服购买记录 8,
                                 Def_UniversalGameRecType_9,
                                 Def_UniversalGameRecType_10,
                                 Def_UniversalGameRecType_11,
@@ -1223,6 +1225,7 @@
 Def_IudetWingMaterialItemID = 27  # 翅膀精炼材料ID列表
 Def_IudetWingMaterialItemCount = 29  # 翅膀精炼材料个数列表
 Def_IudetDogzEquipPlus = 31  # 神兽装备强化信息列表 [强化等级, 累计总熟练度]
+Def_IudetItemDecompound = 33  # 拆解返还物品列表 [装备ID,材料1ID,个数,是否绑定,材料2ID,个数,是否绑定,...]
 
 Def_IudetItemColor = 16  # 物品颜色,如果该值没有就取物品
 Def_IudetItemCount = 18  # 物品个数,支持20亿,目前仅特殊转化物品会用到
@@ -1472,7 +1475,8 @@
 DailyActionID_FBHelp, # 助战副本 15
 DailyActionID_BOSSHome, # BOSS之家
 DailyActionID_FamilyRobBoss, # 仙盟抢boss
-) = range(1, 17 + 1)
+DailyActionID_KillNPC, # 野外怪物
+) = range(1, 18 + 1)
 
 
 
@@ -1505,7 +1509,7 @@
 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
@@ -1607,7 +1611,10 @@
 SuccType_RefineStoveColor, #炼制X品质丹药X枚126
 SuccType_UseStoveBylv, #使用X品丹药X枚127
 SuccType_QueenRelicsEx, #通关娲皇遗迹128
-) = range(1, 129)
+SuccType_DogzBattle, #x神兽出战129
+SuccType_DogzEquipPlus, #出战神兽装备总强化X级130
+SuccType_Collect, #采集X物品X次131
+) = range(1, 132)
 
 
 
@@ -1622,7 +1629,7 @@
                               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,
                               ]
@@ -1635,7 +1642,8 @@
 #增加进度前需要重置的成就类型
 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++用

--
Gitblit v1.8.0