xdh
2018-11-02 e4645abcfe840a6f2a43b8b95ce620d8d2382fcd
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
@@ -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列表
@@ -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值
@@ -560,6 +563,7 @@
    Def_BT_Campaign_FightPower,               #战力排行(开服活动榜)
    
    Def_BT_FCCostGold,                        #消费排行榜(仙界盛典)
    Def_BT_Campaign_RuneLV,                   #符印等级(开服活动榜)
    
    Def_BT_HighLadder,                        #天梯竞技场排行
    Def_BT_HighLadder_Yester,                 #天梯竞技场昨日排行
@@ -577,7 +581,7 @@
    Def_BT_MergePKWeek,                       #跨服PK周积分榜
    
    Def_BT_Max,                               #排行榜最大类型
) = range(0, 29 + 2)
) = range(0, 30 + 2)
    
#职业对应战力排行榜类型
JobFightPowerBillboardDict = {
@@ -849,6 +853,9 @@
GameFuncID_FreeGoods = 130      # 极品白拿
GameFuncID_OSSail = 132         # 开服特惠
GameFuncID_HorsePetRobBoss = 139# 骑宠争夺
GameFuncID_AddPoint = 145       # 加点功能
GameFuncID_LittleHelper = 146   # 小助手
GameFuncID_TJG = 147            # 脱机挂
# 以下为暂时无用的
GameFuncID_Truck = 33           # 运镖
GameFuncID_RunDaily = 34        # 日常跑环
@@ -871,7 +878,8 @@
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)
#聊天信息附加值中某信息数据所占位置
#{聊天信息附加值类型:[起始位置(从左往右), 结束位置(不包含)]}
@@ -879,6 +887,7 @@
     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],  # 气泡框
     }
# 聊天频道 暂用语音
@@ -923,7 +932,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,
@@ -1078,7 +1087,8 @@
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 = {
@@ -1088,6 +1098,7 @@
                               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,
                               }
# 活动数据状态
@@ -1221,6 +1232,7 @@
Def_IudetWingMaterialItemID = 27  # 翅膀精炼材料ID列表
Def_IudetWingMaterialItemCount = 29  # 翅膀精炼材料个数列表
Def_IudetDogzEquipPlus = 31  # 神兽装备强化信息列表 [强化等级, 累计总熟练度]
Def_IudetItemDecompound = 33  # 拆解返还物品列表 [装备ID,材料1ID,个数,是否绑定,材料2ID,个数,是否绑定,...]
Def_IudetItemColor = 16  # 物品颜色,如果该值没有就取物品
Def_IudetItemCount = 18  # 物品个数,支持20亿,目前仅特殊转化物品会用到
@@ -1504,7 +1516,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
@@ -1638,6 +1650,7 @@
NeedResetSuccessTypeList = [
                            SuccType_InlayStone1,SuccType_InlayStone2,SuccType_EquipSuit,SuccType_InlayRune,
                            SuccType_EquipColorItem,SuccType_EquipArmor,SuccType_EquipWeapon,SuccType_DogzEquipPlus,
                            SuccType_HorseAllLV, SuccType_EquipPlusLV,SuccType_PetClassLV,
                            ]
# 聊天类型, 从100开始, 前100个给c++用