From 167357e8425d0dc12f41ed5fdfd4d95f2c2a5aaf Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 29 五月 2025 19:19:20 +0800 Subject: [PATCH] 16 卡牌服务端(删除旧版xml任务、镖车等不需要内容) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 130 ------------------------------------------ 1 files changed, 2 insertions(+), 128 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index 18818c9..3301fa1 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -568,8 +568,6 @@ #Def_Effect_PetSoul = 5504 #宠物满魂 #Def_Effect_PetItemAddExp = 2006 #给宠物经验道具 #Def_Effect_EnergyItem = 2600 #精力药剂 -#Def_Effect_BuyBackpack = 1144 #开启背包(n行)的物品效果ID -#Def_Effect_BuyWarehouse = 1145 #开启仓库(n行)的物品效果ID #Def_Effect_PetRewashSkill = 5506 #重洗技能 #Def_Effect_AddStarItemNormal = 1157 #普通升星物品效果ID #Def_Effect_AddStarItemHighLevel = 1158 #高级升星物品效果ID @@ -642,8 +640,6 @@ Def_Effect_Add_FreePoint_2 = 1169 #添加玩家属性分配点 Def_Effect_Add_FreePoint_3 = 1185 -#任务传送令 -Def_Item_Effect_MissionMove = 2001 #鱼竿 Def_Item_Effect_FishTool = 2000 #坐骑进阶 @@ -660,7 +656,6 @@ #写死的任务ID #新手任务 Def_MissionID_FirstLogin = 1 -Def_ConvoyTruckMissionID = 2401 # 护送镖车任务ID Def_ArrestMissionID = 8000 # 悬赏任务ID #--------------------------------------------------------------------- #写死的XMLID @@ -809,7 +804,6 @@ Def_SkillID_JoinExam = -1 # 答题Buff Def_SkillID_ActionWuDi = -1 # 活动无敌Buff Def_SkillID_ZhenQiRestore = -1 # 真气恢复加成BUFF -Def_SkillID_TruckAiMode = 20100 # 镖车AI模式BUFF Def_SkillTypeID_EfficientBattle = -1 #高效战斗类型ID,高效战斗buffID:49001~49008 Def_SkillTypeID_EfficientSit = -1 #高效练功类型ID Def_SkillID_XuanTianZhenYan = -1 # 玄天真言 @@ -920,8 +914,6 @@ #流向记录变更最小金币值(小于该值的暂不记录, 仅限金币) Def_DRRecord_Min_Silver = 500000 Def_LargeTrade_Silver = 1000 * 1000 -#主角交易栏最大格数 -Def_PlayerTradeMaxItemCount = 20 #登陆初始储物柜格子数 Def_PackCnt_Fashion = 1 #登陆初始武器时装格子数 @@ -1567,14 +1559,6 @@ ShareDefine.Def_Transport_Mission : Def_Transport_Type_Mission, # 任务传送 } -Def_MoveToTruck_Cost = 1000 #传送至镖车的花费 -#---------------------购买仓库空间费用------------------------ -Def_BuyWarehouse_Type = 1 # 购买仓库费用类型(金子) -Def_BuyWarehouse_Cost = 99 # 购买仓库每等级的费用 -#---------------------购买背包空间费用------------------------ -Def_BuyItemPack_Type = 1 # 购买背包费用类型(金子) -Def_BuyItemPack_Cost = 149 # 购买背包每等级的费用 -#--------------------------------------------------------------------- #---------------------进度条------------------------ #挖宝进度条时间为5秒 Def_DigMaxTime = 5000 @@ -1744,34 +1728,6 @@ #0:发呆状态, 1:移动, 2:死亡, 3:攻击 Def_NstNull, Def_NstMoving, Def_NstDead, Def_NstAttack = range(4) - -#任务系统杀怪掉落任务道具公式 -Def_Event_Drop_Formula = "max(rate,(maxItem-curItemCount)/(maxMonsterCount+1-curMonsterCount),(baseDropCount-curItemCount)/max(1,(dropMonsterCount+1-curMonsterCount)))" -#每日任务的奖励公式 -Def_Day_Event_Exp_Reward_Formula = "baseExp" -#墓地医生扣费公式 -Def_Helth_Money_Formula = "(2 - curHP/float(maxHP) - curMP/float(maxMP))*3*pow(lv, 1.2)" -#任务镖车系统 -#骠车受到攻击的时候, 通知玩家的间隔 -Def_TruckNotifyToOwnerTick = 5000 -#镖车毁坏金钱奖励百分数 -Def_Day_Event_Truck_Destroy_Money = 0.2 -#镖车毁坏经验奖励百分数 -Def_Day_Event_Truck_Destroy_Exp = 0.8 -#镖车损坏,返回百分比押金 -Def_Day_Event_Truck_Destroy_Deposit = 0.2 -#镖车和人物的距离,移动 -Def_PlayerTurckBeginMoveDist = 1 -#判定镖车在事件范围内的距离 -Def_PlayerTruckEventDist = 10 -#镖车跟随 -Def_PlayerTruckMoveDist = Def_Screen_Area -#人镖合一的距离 -Def_PlayerTruckCarryerDist = Def_Screen_Area - -#---------------------------家族定义---------------------------- - -Def_Player_RequestAddFamilyMaxCnt = 200 #玩家申请加入家族的最大数量 (目前无限制 配个大的数值) #-------------------------------#副本相关#------------------------ #创角新手村地图ID列表 @@ -2248,9 +2204,6 @@ 180000, #获得地图经验3分钟一次 10000 , #家族战排期查询时间间隔 1分一次 - 2000 , #镖车查询和传送同CD10秒一次 - 2000 , #传送至镖车CD10秒一次 - 2000 , #设置镖车模式2秒一次 500 , #查看商城信息0.5秒一次 30000 , #自动查询玩家点券数目CD30秒 5000 , #副本帮助界面 5秒 @@ -2331,9 +2284,6 @@ TYPE_Player_Tick_GiveMapExp, #获得活动地图经验 TYPE_Player_Tick_QueryFamilyWar, #家族战排期查询 -TYPE_Player_Tick_QueryTruckPos, #镖车查询CD时间 -TYPE_Player_Tick_MoveToTruckPos, #传送至镖车时间 -TYPE_Player_Tick_SetTruckMode, #设置镖车模式 TYPE_Player_Tick_WatchStoreInfo, #查看商城的时间间隔 TYPE_Player_Tick_QueryCoinCount, #查询玩家点券数目 TYPE_Player_Tick_FBHelp, #副本帮助界面 @@ -2439,8 +2389,6 @@ TYPE_Map_Tick_Count = len( TYPE_Map_Tick_Time ) #--------------------------------------------------------------------- -#玩家Buff字典 -Def_Player_ProBuff_TruckSpeedUp = 'TruckSpeedUp' #镖车速度加速 #对象(玩家,NPC)的行为字典 Def_Obj_ActState_ClientAct = "Oper_ClientActState" # 客户端动作限制 @@ -2448,8 +2396,6 @@ Def_Obj_ActState_ClientSkill = "Oper_ClientSkillActState" # 客户端技能限制 Def_Obj_ActState_ServerSkill = "Oper_ServerSkillActState" # 服务端技能限制 -#玩家使用回城,包裹索引字典 -Def_Use_Item_303_Index = "use_item_303_index" #--------------------------------------------------------------------- #玩家视野(09/05/06 修改为静态) Def_PlayerSight_Default = 18 #玩家视野默认 @@ -2477,21 +2423,6 @@ TYPE_NPC_Tick_Count = len(TYPE_NPC_Tick_Time) -#--------------------------------------------------------------------- -#特殊任务状态定义: -#0 : 未接 -#-1: 已完成 -#-2: 骠车丢失 -#-3: 骠车被打烂 -#-4: 任务未达到可接状态 -#-5: 任务可提交 -#任务状态定义 -Def_Mission_State_NoAccept = 0 #未接 -Def_Mission_State_Over = -1 -Def_Mission_State_LoseTruck = -2 -Def_Mission_State_BreakTruck = -3 -Def_Mission_State_UnMission = -4 -Def_Mission_State_CanComplete = -5 #------------------------------------------------------------ #物品栏定义 #数据中的装备位置和程序中的装备位置对照表 @@ -2601,22 +2532,6 @@ 'GY_GM_Offline_UnBind' : { 1 : True , 2 : True , 3 : True , 4 : True , 5 : True } , #脱机工具-解封玩家 'GY_GM_Offline_ViewUnBind' : { 1 : True , 2 : True , 3 : True , 4 : True , 5 : True } , #脱机工具-查询玩家 } - -#脱机GM工具索引表 -GMTool_Offline_IndexCount = 11 -( -GMTool_Offline_None , #无意义 -GMTool_Offline_Compose , #合成 -GMTool_Offline_StarLV , #升星 -GMTool_Offline_AutoBuyStarLV , #自动购买精致升星石 -GMTool_Offline_HealthReborn , #原地健康复活 (目前有用) -GMTool_Offline_IdentifyAgain , #鉴定再来一次 -GMTool_Offline_Mission , #任务消耗 (目前有用) -GMTool_Offline_FarRepair , #远程修理 (目前有用) -GMTool_Offline_ForgeFaBao , #法宝提炼 -GMTool_Offline_WorldTransfer, #世界传送 (目前有用,包括任务、小地图) -GMTool_Offline_AutoBuyGoldSpeaker, #自动购买金喇叭 (目前有用) -) = range( 0 , GMTool_Offline_IndexCount ) #--------------------------------------------------------------------- #请求类型(需要和GameServer中的一致) @@ -3018,36 +2933,6 @@ Def_KillValue_Notoriety = 1 # 杀人恶名值增1 Def_BeKilledValue_Notoriety = 2 # 被杀恶名值减2 - -#---获取威望类型记录--- -( - Def_AddPrestige_DayMission, #每日任务 - Def_AddPrestige_Mission, #任务接口 - Def_AddPrestige_FamilyBattle, #家族争霸战 - Def_AddPrestige_Family, #家族战 - Def_AddPrestige_Kill, #中立杀人 - Def_AddPrestige_GM, #GM - Def_AddPrestige_Sacrifice, #帮会上香 - Def_AddPrestige_Cards, #卡牌 - Def_AddPrestige_JXD, #将星殿排行 - Def_AddPrestige_Item, #物品 - Def_AddPrestige_Arrest, #家族悬赏 - Def_AddPrestige_Truck, #镖车 - Def_AddPrestige_GloryWar, #荣耀之战 - Def_AddPrestige_JLD, #九龙殿 - Def_AddPrestige_Familys, #战盟战 - Def_AddPrestige_MYDHZ, #命运夺魂战/地精夺宝 - Def_AddPrestige_GiveFlower, #赠送鲜花 - Def_AddPrestige_NPC, #NPC给予 -) = range(1, 18+1) - -#---减少威望类型记录--- -( - Def_SubPrestige_BeKilled, #被杀 - Def_SubPrestige_DayUse, #每日消耗 - Def_SubPrestige_GM, #GM - -) = range(1, 3+1) #---双倍经验记录--- ( @@ -3609,17 +3494,11 @@ Def_Player_Dict_GiveActivityAward = "GiveActivityAward_118" #每日活跃值奖励领取 Def_Player_CrazyBilling_VIP_Coin = "CrazyBillingVIPCoin_119" # 扶持账号真实充值 Def_Player_Dict_LoginType = "LoginType_122" # 玩家登入方式 -Def_Player_Dict_TruckRefreshTotalCnt = "TruckRTCnt" # 玩家总刷新镖车等级次数 -Def_Player_Dict_FreeRefurbishTruckCnt = "FreeRefurbishTruckCnt" # 当日已免费刷新镖车等级次数 -Def_Player_Dict_TruckLV = "TruckLV_137" # 可召唤镖车等级 -Def_Player_Dict_DestroyTruckCnt = "DestroyTruckCnt_138" # 劫镖次数 -Def_Player_Dict_AutoTruck = "AutoTruck_139" # 是否自动运镖中 Def_Player_Dict_CommonNewGuyCardState = "CommonNGCard_%s" # 通用新手卡使用记录, 参数为key编号, 二进制位存储 Def_Player_Dict_IDNewGuyCardState = "IDNGCard_%s" # 绑定账号新手卡使用记录, 参数为key编号, 二进制位存储 Def_Player_Dict_UseNewGuyCardState = "NGCardState_%s" # 是否使用过某类型的新手卡,参数为key编号, 二进制位存储 Def_Player_Dict_UseMediaCardState = "MediaCardState_%s" # 按位存储是否使用过某类型的媒体卡,参数为key编号, 二进制位存储 Def_Player_Dict_UseNewGuyCardNum = "NGCardNum_%s" # 使用过某类型的新手卡的次数, 卡类型, 十进制位存储 -Def_Player_Dict_PawnTruckLV = "PawnTruckLV_144" # 当前押镖的镖车等级 Def_Player_Dict_KillPlayerAddPrestige = "KillPlayerAddPrestige_147" # 杀人每日获得威望 Def_Player_Dict_RandCoinAward = "RandCoinAward_148" # 每日任意充值奖励给予 Def_Player_Dict_DeadTime = "PlayerDeadTime_149" #玩家死亡时间 @@ -5385,8 +5264,6 @@ #-----------以下为暂时没用的,先不删除,如有新增消费点则放在这些之前------------ Def_Cost_RefreshArrestTask, # 刷新悬赏任务 Def_Cost_OffLineExp, # 兑换离线经验 -Def_Cost_RefreshTruck, # 刷新镖车 -Def_Cost_FinishTruck, # 完成镖车 Def_Cost_RefreshTimeShop, # 刷新神秘商店 Def_Cost_OpenNoble, # 开通贵族 Def_Cost_Warehouse, # 仓库 @@ -5394,7 +5271,7 @@ Def_Cost_Trade, # 交易 Def_Cost_Rename, # 改名 Def_Cost_SkillLvUp, # 技能升级 -) = range(2000, 2000 + 69) +) = range(2000, 2000 + 67) Def_Cost_Reason_SonKey = "reason_name_son" # 消费点原因子类说明key @@ -5429,8 +5306,6 @@ Def_Cost_UseSpeaker:"UseSpeaker", Def_Cost_Revive:"Revive", Def_Cost_FBEncourage:"FBEncourage", -Def_Cost_RefreshTruck:"RefreshTruck", -Def_Cost_FinishTruck:"FinishTruck", Def_Cost_RefreshArrestTask:"RefreshArrestTask", Def_Cost_RefreshTimeShop:"RefreshTimeShop", Def_Cost_ResetGreatMasterSkill:"ResetTalentSkill", @@ -5513,7 +5388,7 @@ Def_GiveMoney_BossFirstKill, # Boss首杀 Def_GiveMoney_21, Def_GiveMoney_Trade, # 交易 -Def_GiveMoney_Truck, # 运镖 +Def_GiveMoney_23, Def_GiveMoney_FreeGoods, # 极品白拿 Def_GiveMoney_BindJadeWheel, # 绑玉转盘 25 Def_GiveMoney_GatherSoulDecompose, #聚魂分解 26 @@ -5550,7 +5425,6 @@ Def_GiveMoney_CollectNPC:"CollectNPC", Def_GiveMoney_BossFirstKill:"BossFirstKill", Def_GiveMoney_Trade:"Trade", -Def_GiveMoney_Truck:"Truck", Def_GiveMoney_FreeGoods:"FreeGoods", Def_GiveMoney_BindJadeWheel:"BindJadeWheel", Def_GiveMoney_GatherSoulDecompose:"GatherSoulDecompose", -- Gitblit v1.8.0