战网中国

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 129|回复: 4

請教一下 d2bot 單跑法師

[复制链接]

4

主题

21

帖子

189

积分

侠客

Rank: 3Rank: 3

积分
189

社区居民忠实会员

发表于 4 天前 | 显示全部楼层 |阅读模式
請教一下 d2bot 單跑初法師18級 一開局跑tp點 馬上就離線 是什麼情況? 不能單跑嗎 只能玩組隊模式?
回复

使用道具 举报

4

主题

21

帖子

189

积分

侠客

Rank: 3Rank: 3

积分
189

社区居民忠实会员

 楼主| 发表于 4 天前 | 显示全部楼层
function LoadConfig() {
        /* Sequence config
         * Set to true if you want to run it, set to false if not.
         * If you want to change the order of the scripts, just change the order of their lines by using cut and paste.
         */
         
        // User addon script. Read the description in libs/bots/UserAddon.js
       
        Scripts.UserAddon = false; // !!!你必须首先将这个选项设置为false才能运行区域/BOSS脚本 // !!!YOU MUST SET THIS TO FALSE IF YOU WANT TO RUN BOSS/AREA SCRIPTS!!!

        // Battle orders script - Use this for 2+ characters (for example BO barb + sorc) // 此功能翻译者未测试。
        Scripts.BattleOrders = false;
                Config.BattleOrders.Mode = 0; // 0 = give BO, 1 = get BO
                Config.BattleOrders.Wait = false; // Idle until the player that received BO leaves.
                Config.BattleOrders.Getters = []; // List of players to wait for before casting Battle Orders (mode 0). All players must be in the same area as the BOer.

        // Team MF system // 此功能翻译者未测试。
        Config.MFLeader = false; // Set to true if you have one or more MFHelpers. Opens TP and gives commands when doing normal MF runs.

        // 区域/BOSS猎杀脚本 // Boss/area scripts //

        // *** act 1 ***
        Scripts.Corpsefire = true; // 邪恶的洞窟尸体发火
                Config.Corpsefire.ClearDen = true; // 是否全清洞穴
        Scripts.Mausoleum = true; // 大陵墓
                Config.Mausoleum.KillBloodRaven = false; // 杀血鸟
                Config.Mausoleum.ClearCrypt = true; // 是否清理旁边另一个墓穴
        Scripts.Rakanishu = true; // 拉卡尼休
                Config.Rakanishu.KillGriswold = true;
        Scripts.UndergroundPassage = false; // 地底通道
        Scripts.Coldcrow = false;
        Scripts.Tristram = true; // 崔斯特瑞姆
                Config.Tristram.PortalLeech = false; // 设为true为其他跟随者打开一个传送门。Set to true to open a portal for leechers.
        Scripts.Pit = false; // 泰魔高地地穴
                Config.Pit.ClearPit1 = true; // 是否清理一层
        Scripts.Treehead = false; // 应该是黑暗森林大叔旁边那几个猩猩。
        Scripts.Smith = false;
        Scripts.BoneAsh = false;
        Scripts.Countess = true; // 女伯爵
                Config.Countess.KillGhosts = false; // 是否清理各楼层的鬼魂怪,传说掉high rune几率较高。
        Scripts.Andariel = true; //安达利尔
        Scripts.Cows = false; // 母牛关

        // *** act 2 ***
        Scripts.Radament = false; // 城里下水道里的Radament
        Scripts.Coldworm = false; //
                Config.Coldworm.KillBeetleburst = false;
                Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
        Scripts.AncientTunnels = false; // 古代通道
                Config.AncientTunnels.OpenChest = false; // 是否在遗失的城市开启特殊箱子。 // Open special chest in Lost City
                Config.AncientTunnels.KillDarkElder = false;
        Scripts.Summoner = false; // 召唤者
                Config.Summoner.FireEye = false; // 是否击杀火之眼
        Scripts.Tombs = false; // 古墓
        Scripts.Duriel = true; // 督瑞尔

        // *** act 3 ***
        Scripts.Stormtree = false;
        Scripts.KurastTemples = false;
        Scripts.Icehawk = false;
        Scripts.Endugu = false;
        Scripts.Travincal = false; // 崔凡克
                Config.Travincal.PortalLeech = false; // Set to true to open a portal for leechers.
        Scripts.Mephisto = true; // 墨菲斯托
                Config.Mephisto.MoatTrick = false; // 脆弱SOR用的隔着河杀BOSS
                Config.Mephisto.KillCouncil = false; // 是否击杀议会瘸子
                Config.Mephisto.TakeRedPortal = true; // 是否使用红门到达Act4

        // *** act 4 ***
        Scripts.OuterSteppes = false;
        Scripts.Izual = false; // 衣卒尔
        Scripts.Hephasto = false; // 铁匠
        Scripts.Vizier = false; // 非资料片专用脚本,只击杀大臣怪物。 // Intended for classic sorc, kills Vizier only.
        Scripts.FastDiablo = false; // 快速Diablo,测试下来清理Chaos加杀BOSS不到2分钟。
        Scripts.Diablo = false; // 常规Diablo脚本
                Config.Diablo.Entrance = true; // 是否从进门处开始清理,如果为false则从五角星处开始清理。 // Start from entrance
                Config.Diablo.SealWarning = "Leave the seals alone!"; // 有其他人触碰封印时发送消息。
                Config.Diablo.EntranceTP = "Entrance TP up"; // 入口处开门后发送消息。
                Config.Diablo.StarTP = "Star TP up"; // 五角星处开门后发送消息。
                Config.Diablo.DiabloMsg = "Diablo"; // 等待Diablo时发送的消息。
        Scripts.SealLeader = false; // 清理出一个安全的区域给需要UP的小号下来吸经验,相对应的小号需要运行SealLeecher脚本,这个脚本在下方。 // Clear a safe spot around seals and invite leechers in. Leechers should run SealLeecher script. Don't run with Diablo or FastDiablo.

        // *** act 5 ***
        Scripts.Pindleskin = true; // 暴躁外皮
                Config.Pindleskin.UseWaypoint = false; // 没红门的话可以使用小站。
                Config.Pindleskin.KillNihlathak = false; // 是否击杀尼拉塞克。
                Config.Pindleskin.ViperQuit = false; // 遇到BUG蛇后结束脚本。 // End script if Tomb Vipers are found.
        Scripts.Nihlathak = false; // 尼拉塞克
                Config.Nihlathak.ViperQuit = false; // 遇到BUG蛇后结束脚本。 // End script if Tomb Vipers are found.
        Scripts.Eldritch = false; // 和下面两个选项一起 A5第一第二个场景3各固定BOSS
                Config.Eldritch.OpenChest = true; // 开启宝箱
                Config.Eldritch.KillShenk = true;  
                Config.Eldritch.KillDacFarren = true;
        Scripts.Eyeback = false;
        Scripts.SharpTooth = false;
        Scripts.ThreshSocket = false;
        Scripts.Abaddon = false;
        Scripts.Frozenstein = false; // 冰冻魔怪
                Config.Frozenstein.ClearFrozenRiver = true; // 全清冰河
        Scripts.Bonesaw = false;
                Config.Bonesaw.ClearDrifterCavern = false;
        Scripts.Snapchip = false;
                Config.Snapchip.ClearIcyCellar = true;
        Scripts.Worldstone = false; // 世界之石大殿
        Scripts.Baal = false; // 常规巴尔脚本
                Config.Baal.HotTPMessage = "Hot TP!"; // 到达王座开启一个危险的传送门后发送的消息
                Config.Baal.SafeTPMessage = "Safe TP!"; // 清理干净后开启安全的传送门后发送的消息
                Config.Baal.BaalMessage = "Baal!"; // 等待进入大殿时发送的消息
                Config.Baal.SoulQuit = false; // 检测到灵魂杀手后结束脚本。 // End script if Souls (Undead Soul Killers) are found.
                Config.Baal.DollQuit = false; // 检测到电鬼后结束脚本。 // End script if Dolls (Undead Stigyan Dolls) are found.
                Config.Baal.KillBaal = true; // 是否击杀Baal // Kill Baal. Leaves game after wave 5 if false.

        /* 跟班部分 // ### leeching section ###
        * Unless stated otherwise, leader's character name isn't needed on order to run.
        * Don't use more scripts of the same type! (Run AutoBaal OR BaalHelper, not both)
        */
        Config.Leader = "";
        // 除了一些特别的功能需要填入队长名字,否则保持此项为空可以自动检测(可自动检测的功能包括 AutoBaal, Wakka, MFHelper)。
        // 如果你要使用一个手动操作加几个自动运行的跟班这种模式,那么根本的配置文件中这里是必填项,跟班的控制命令可参考Follower.js中的内容。
        // Leader's ingame character name. Leave blank to try auto-detection (works in AutoBaal, Wakka, MFHelper)
        Config.QuitList = [""]; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];

        Scripts.TristramLeech = false; // Enters Tristram, attempts to stay close to the leader and will try and help kill.
        Scripts.TravincalLeech = false; // Enters portal at back of Travincal.
                Config.TravincalLeech.Helper = false; // If set to true the character will teleport to the stairs and help attack.
        Scripts.MFHelper = false; // 该功能未测试 // Run the same MF run as the MFLeader. Leader must have Config.MFLeader = true
        Scripts.Wakka = false; // 混沌避难所小号跑路跟随Leader升级脚本 // Walking chaos leecher with auto leader assignment, stays at safe distance from the leader
        Scripts.SealLeecher = false; // 小号吸祭坛怪经验用的,对应的LEADER需要运行SealLeader脚本。 // Enter safe portals to Chaos. Leader should run SealLeader.
        Scripts.DiabloHelper = false; // 多人游戏里帮手运行的Chaos脚本。不开封印只打怪。 // Chaos helper, kills monsters and doesn't open seals on its own.
                Config.DiabloHelper.Wait = 120; // 等待leader的时间,单位:秒。 // Seconds to wait for a runner to be in Chaos. If Config.Leader is set, it will wait only for the leader.
                Config.DiabloHelper.Entrance = true; // 是否从进门处开始清理,如果为false则从五角星处开始清理。 // Start from entrance. Set to false to start from star.
                Config.DiabloHelper.SkipTP = false; // 不等待Leader的传送门,直接自己跑到Chaos门口清理完小怪后等待Leader。 // Don't wait for town portal and directly head to chaos. It will clear monsters around chaos entrance and wait for the runner.
                Config.DiabloHelper.SkipIfBaal = false; // 队伍中有人在干baal,自动结束脚本。 // End script if there are party members in a Baal run.
                //这个脚本我解释一下,用法为你在chaos的时候吃鸡或各种原因退出游戏了。
                //其他队伍成员已经把D干完了,你这个重新加入游戏的人检测到有人在干Baal就会结束当前脚本不用再白跑一圈chaos了。
        Scripts.AutoBaal = false; // 简单解释一下,这个脚本和BaalHelper的区别在于,这个用来给小号升级吸经验。BaalHelper用来帮忙一起打。// Baal leecher with auto leader assignment
                Config.AutoBaal.FindShrine = false; // 自动寻找经验神殿,1=检测到hot tp信息后去找 2=检测到Leader就去找。 // false = disabled, 1 = search after hot tp message, 2 = search as soon as leader is found
                Config.AutoBaal.LeechSpot = [15115, 5050]; // 站立的坐标 // X, Y coords of Throne Room leech spot
                Config.AutoBaal.LongRangeSupport = false; // 在远处安全的位置丢技能。 //Cast long distance skills from a safe spot
        Scripts.BaalHelper = false; // 巴尔帮手脚本
                Config.BaalHelper.Wait = 120; // 等待Leader跑到王座开门的时间,单位:秒。 // Seconds to wait for a runner to be in Throne
                Config.BaalHelper.KillNihlathak = false; // 在等待的时候去干尼拉塞克。 // Kill Nihlathak before going to Throne
                Config.BaalHelper.FastChaos = false; // 在等待的时候去快速干Diablo。 // Kill Diablo before going to Throne
                Config.BaalHelper.DollQuit = false;  // 检测到灵魂杀手后结束脚本。 // End script if Dolls (Undead Soul Killers) are found.
                Config.BaalHelper.KillBaal = true; // 是否击杀baal。如果此处设置了否,请在Quitlist选项中输入队长角色名。 // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
                Config.BaalHelper.SkipTP = false; // 不等待队长的TP,直接自己跑到王座前。 // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
               
        Scripts.Follower = false; // 该脚本可以使运行脚本的人围绕着Leader周围进行猎杀,类似一个高级佣兵。可以跟随Leader进洞、切换场景等。 // Script that follows a manually played leader around like a merc. For a list of commands, see Follower.js

        // 特殊脚本部分 // *** special scripts ***
        Scripts.WPGetter = false; // 自动踩缺失的小站。 // Get missing waypoints
        Scripts.GetKeys = false;  // 自动猎杀3个掉落火炬KEY的BOSS。 // Hunt for T/H/D keys
        Scripts.OrgTorch = false; // 器官火炬脚本
                Config.OrgTorch.MakeTorch = false; // 使用成套器官开启红门并击杀BOSS获得火炬。 // Convert organ sets to torches
                Config.OrgTorch.WaitForKeys = false; // 允许脚本从其他档案名称所创建的BOT处获取KEY。更多详细设置信息请查阅 libs/TorchSystem.js // Enable Torch System to get keys from other profiles. See libs/TorchSystem.js for more info
                Config.OrgTorch.WaitTimeout = 15; // 脚本开始之前等待多久其他专门打Key的BOT运送Key到这个游戏中。Time in minutes to wait for keys before moving on
                Config.OrgTorch.UseSalvation = false; // 猎杀超级墨菲斯托时开启救赎光环。 // Use Salvation aura on Mephisto (if possible)
                Config.OrgTorch.GetFade = false; // 猎杀开始前是否先激活Fade技能,你必须首先拥有Last Wish这件道具。 // Get fade by standing in a fire. You MUST have Last Wish or Treachery on your character being worn.
        Scripts.Rusher = false; // 自动PASS功能司机需要运行的脚本。 // Rush bot. For a list of commands, see Rusher.js
                Config.Rusher.WaitPlayerCount = 0; // 等待游戏总人数达到几人后开始PASS。设置为0则不等待,设置为8则等待游戏满员后再开始PASS。 // Wait until game has a certain number of players (0 - don't wait, 8 - wait for full game).
                Config.Rusher.Radament = false; // 是否做A2技能任务。// Do Radament quest.
                Config.Rusher.LamEsen = false; // 是否做A3蓝伊森之书任务。 // Do Lam Esen quest.
                Config.Rusher.Izual = false; // 是否做A4衣卒尔任务。 // Do Izual quest.
                Config.Rusher.Shenk = false; // 是否做A5打孔任务。 // Do Shenk quest.
                Config.Rusher.Anya = false; // 是否做A5安雅任务。 // Do Anya quest.
                Config.Rusher.LastRun = ""; // 司机进行倒哪个任务时结束脚本,任务清单请查看\d2bs\kolbot\sdk目录下的rusherruns.txt文件。 引号内填入任务名称,不是任务序号。例如你可以填写"baal" // End rush after this run. List of runs: http://pastebin.com/Uez3nZ6g
        Scripts.Rushee = false; // 自动PASS功能小弟需要运行的脚本,必须与Rusher脚本配套使用。 // Automatic rushee, works with Rusher
                Config.Rushee.Quester = false; // 是否进门拾取任务物品。 // Enter portals and get quest items.
                Config.Rushee.Bumper = false; // 该人物是否为Bumper,即所谓的KeyChar,在资料片A5中去完成古代人和baal任务带领全队通关当前难度。 // Do Ancients and Baal. Minimum levels: 20 - norm, 40 - nightmare
        Scripts.CrushTele = false; // classic rush teleporter. go to area of interest and press "-" numpad key
        Scripts.Questing = false; // 自动清理一些有用的任务,技能、状态、打孔等。 // solves missing quests (skill/stat+shenk)
        Scripts.Gamble = false; // 赌博系统,主要用于低等级人物赌博。其他bot会自动进来送钱。详细设置见Gambling.js。 // Gambling system, other characters will mule gold into your game so you can gamble infinitely. See Gambling.js
        Scripts.GhostBusters = false; // 灵魂猎杀脚本。 // Kill ghosts in most areas that contain them
        Scripts.Enchant = false; // 强化脚本
                Config.Enchant.Triggers = ["chant", "cows", "wps"]; // 命令定义,其中包含强化命令、开牛关命令以及给予小站功能。 // Chat commands for enchant, cow level and waypoint giving
                Config.Enchant.GetLeg = false; // 是否去崔斯特瑞姆拿维特之腿。设置为false将会在城里找腿。 // Get Wirt's Leg from Tristram. If set to false, it will check for the leg in town.
                Config.Enchant.AutoChant = false; // 是否自动强化角色身边的其他人物及其雇佣兵召唤物等。 // Automatically enchant nearby players and their minions
                Config.Enchant.GameLength = 20; // 游戏最大时间。 // Game length in minutes
        Scripts.IPHunter = false; // 找IP脚本
                Config.IPHunter.IPList = []; // List of IPs to look for. example: [165, 201, 64]
                Config.IPHunter.GameLength = 3; // Number of minutes to stay in game if ip wasn't found
        Scripts.KillDclone = false; // 去神秘避难所击杀DC脚本,必须是一个已经出现DC的游戏。 // Kill Diablo Clone by using Arcane Sanctuary waypoint. Diablo needs to walk the Earth in the game.
        Scripts.ShopBot = false; // SHOPBOT脚本,启动后会忽略除shopbot.nip之外的拾取文件。 // Shopbot script. Automatically uses shopbot.nip and ignores other pickits.
                // Supported NPCs: Akara, Elzix, Fara, Drognan, Ormus, Asheara, Anya. Multiple NPCs are also supported, example: ["Elzix", "Fara"]
                // Use common sense when combining NPCs. Shopping in different acts will probably lead to bugs.
                Config.ShopBot.ShopNPC = "Anya"; // 需要shop的NPC,名称在上方。
                // Put item classid numbers or names to scan (remember to put quotes around names). Leave blank to scan ALL items. See libs/config/templates/ShopBot.txt
                Config.ShopBot.ScanIDs = []; // 扫描的物品id,留空则扫描所有物品。详见libs/config/templates/ShopBot.txt
                Config.ShopBot.CycleDelay = 0; // shop时扫描商店的延迟时间,单位:毫秒。设置高一些有或许可以减少窗口崩溃的几率。 // Delay between shopping cycles in milliseconds, might help with crashes.
                Config.ShopBot.QuitOnMatch = false; // Leave game as soon as an item is shopped.
        Scripts.ChestMania = false; // 开箱子专用脚本。下面可以定义需要扫荡的地图。 // Open chests in configured areas
                Config.ChestMania.Act1 = [13, 14, 15, 16, 18, 19]; // List of act 1 areas to open chests in
                Config.ChestMania.Act2 = [55, 59, 65, 66, 67, 68, 69, 70, 71, 72]; // List of act 2 areas to open chests in
                Config.ChestMania.Act3 = [79, 80, 81, 92, 93, 84, 85, 90]; // List of act 3 areas to open chests in
                Config.ChestMania.Act4 = []; // List of act 4 areas to open chests in
                Config.ChestMania.Act5 = [115, 116, 119, 125, 126, 127]; // List of act 5 areas to open chests in
        Scripts.ClearAnyArea = false; // 清理任意地图脚本,需在下方定义地图id。Clear any area
                Config.ClearAnyArea.AreaList = []; // List of area ids to clear. See sdk/areas.txt

        // *** Guest scripts ***

        // 另一个baal跟班的打手脚本(与上面的baalhelper脚本选择一个使用),这个区别在于根据聊天命令判断进门时机。可以用在非同一台机器的Team Bot中。具体设置参考上方的baal设置。 // Baal Assistant by YourGreatestMember
        Scripts.BaalAssistant = false; // Used to leech or help in baal runs.
                Config.BaalAssistant.Wait = 120; // Seconds to wait for a runner to be in the throne / portal wait / safe TP wait / hot TP wait...
                Config.BaalAssistant.KillNihlathak = false; // Kill Nihlathak before going to Throne
                Config.BaalAssistant.FastChaos = false; // Kill Diablo before going to Throne
                Config.BaalAssistant.Helper = true; // Set to true to help attack, set false to to leech.
                Config.BaalAssistant.GetShrine = false; // Set to true to get a experience shrine at the start of the run.
                Config.BaalAssistant.GetShrineWaitForHotTP = false; // Set to true to get a experience shrine after leader shouts the hot tp message as defined in Config.BaalAssistant.HotTPMessage
                Config.BaalAssistant.SkipTP = false; // Set to true to enable the helper to skip the TP and teleport down to the throne room.
                Config.BaalAssistant.WaitForSafeTP = false; // Set to true to wait for a safe TP message (defined in SafeTPMessage)
                Config.BaalAssistant.DollQuit = false; // Quit on dolls. (Hardcore players?)
                Config.BaalAssistant.SoulQuit = false; // Quit on Souls. (Hardcore players?)
                Config.BaalAssistant.KillBaal = true; // Set to true to kill baal, if you set to false you MUST configure Config.QuitList or Config.BaalAssistant.NextGameMessage or the bot will wait indefinitely.
                Config.BaalAssistant.HotTPMessage = ["Hot"]; // Configure safe TP messages.
                Config.BaalAssistant.SafeTPMessage = ["Safe", "Clear"]; // Configure safe TP messages.
                Config.BaalAssistant.BaalMessage = ["Baal"]; // Configure baal messages, this is a precautionary measure.
                Config.BaalAssistant.NextGameMessage = ["Next Game", "Next", "New Game"];        // Next Game message, this is a precautionary quit command, Reccomended setting up: Config.QuitList

        // 城内设定Town settings
        Config.HealHP = 50; // 血量低于设定百分比找医生补满。 // Go to a healer if under designated percent of life.
        Config.HealMP = 0; // 魔法值低于设定百分比找医生补满。 // Go to a healer if under designated percent of mana.
        Config.HealStatus = false; // 中毒或中诅咒是否直接找医生解除。 // Go to a healer if poisoned or cursed
        Config.UseMerc = true; // 是否使用佣兵。这个设定在非资料片中总是为false。 // Use merc. This is ignored and always false in d2classic.
        Config.MercWatch = false; // 佣兵在战斗中死亡是否立即回城复活。 // Instant merc revive during battle.

        // 药水设定 // Potion settings
        Config.UseHP = 75; // 血量多少百分比喝红药。 // Drink a healing potion if life is under designated percent.
        Config.UseRejuvHP = 40;  // 血量多少百分比喝紫药。 // Drink a rejuvenation potion if life is under designated percent.
        Config.UseMP = 30; // 魔法值多少百分比喝蓝药。 // Drink a mana potion if mana is under designated percent.
        Config.UseRejuvMP = 20; // 魔法值多少百分比喝紫药。 // Drink a rejuvenation potion if mana is under designated percent.
        Config.UseMercHP = 75; // 佣兵血量多少百分比喝红药。 // Give a healing potion to your merc if his/her life is under designated percent.
        Config.UseMercRejuv = 10; // 佣兵血量多少百分比喝紫药。 // Give a rejuvenation potion to your merc if his/her life is under designated percent.
        Config.HPBuffer = 0; // 背包保存多少瓶红药。 // Number of healing potions to keep in inventory.
        Config.MPBuffer = 0; // 背包保存多少瓶蓝药。 // Number of mana potions to keep in inventory.
        Config.RejuvBuffer = 3; // 背包保存多少瓶紫药。 // Number of rejuvenation potions to keep in inventory.

        // 吃鸡设定 // Chicken settings
        Config.LifeChicken = 30; // 血量多少百分比退出游戏。 // Exit game if life is less or equal to designated percent.
        Config.ManaChicken = 0; // 魔法值多少百分比退出游戏。 // Exit game if mana is less or equal to designated percent.
        Config.MercChicken = 0; // 佣兵血量多少百分比退出游戏。 // Exit game if merc's life is less or equal to designated percent.
        Config.TownHP = 0; // 血量多少百分比回城补给。 // Go to town if life is under designated percent.
        Config.TownMP = 0; // 魔法值多少百分比回城补给。 // Go to town if mana is under designated percent.

        /* Inventory lock configuration. !!!READ CAREFULLY!!!
         * 0 = item is locked and won't be moved. If item occupies more than one slot, ALL of those slots must be set to 0 to lock it in place.
         * Put 0s where your torch, annihilus and everything else you want to KEEP is.
         * 1 = item is unlocked and will be dropped, stashed or sold.
         * If you don't change the default values, the bot won't stash items.
         */
         // 背包设定,0为锁定的背包位置,1为允许BOT使用的背包位置。
        Config.Inventory[0] = [1,1,1,1,1,0,0,0,0,0];
        Config.Inventory[1] = [1,1,1,1,1,0,0,0,0,0];
        Config.Inventory[2] = [1,1,1,1,1,0,0,0,0,0];
        Config.Inventory[3] = [1,1,1,1,1,0,0,0,0,0];

        Config.StashGold = 100000; // 多少钱存仓。 // Minimum amount of gold to stash.

        /* Potion types for belt columns from left to right.
         * Rejuvenation potions must always be rightmost.
         * Supported potions - Healing ("hp"), Mana ("mp") and Rejuvenation ("rv")
         */
         // 药水设定 hp=红药 mp=蓝药 rv=紫药
        Config.BeltColumn[0] = "hp";
        Config.BeltColumn[1] = "mp";
        Config.BeltColumn[2] = "rv";
        Config.BeltColumn[3] = "rv";

        /* Minimum amount of potions. If we have less, go to vendor to purchase more.
         * Set rejuvenation columns to 0, because they can't be bought.
         */
         // 对应上方的药水设定最低储备数量,低于该数量则找NPC补满。
        Config.MinColumn[0] = 3;
        Config.MinColumn[1] = 3;
        Config.MinColumn[2] = 0;
        Config.MinColumn[3] = 0;

        // 拾取文件设定。 // Pickit config. Default folder is kolbot/pickit.
        Config.PickitFiles.push("kolton.nip");
        Config.PickitFiles.push("LLD.nip");
        Config.PickRange = 40; // 拾取距离 // Pick radius
        Config.FastPick = false; // 是否在攻击时进行拾取。 // Check and pick items between attacks

        // Additional item info log settings. All info goes to \logs\ItemLog.txt
        Config.ItemInfo = false; // 是否启用物品日志文件。 // Log stashed, skipped (due to no space) or sold items.
        Config.ItemInfoQuality = []; // 记录卖出的最低等级物品品质。 // The quality of sold items to log.

        // Item identification settings
        Config.CainID.Enable = true; // 是否使用凯恩进行鉴定物品。 // Identify items at Cain
        Config.CainID.MinGold = 2500000; // 金钱最少达到多少开始使用凯恩鉴定物品。 // Minimum gold (stash + character) to have in order to use Cain.
        Config.CainID.MinUnids = 2; // 最少有几件未鉴定物品才使用凯恩进行鉴定。 // Minimum number of unid items in order to use Cain.
        Config.FieldID = false; // Identify items in the field instead of going to town.

        // Repair settings
        Config.CubeRepair = false; // 是否使用合成公式进行修理物品。为防止物品丢失,请尽量避免使用。// Repair weapons with Ort and armor with Ral rune. Don't use it if you don't understand the risk of losing items.
        Config.RepairPercent = 40; // Durability percent of any equipped item that will trigger repairs.

        // 赌博设定 // Gambling config
        Config.Gamble = false; // 是否启用赌博
        Config.GambleGoldStart = 1000000; // 多少钱开始赌博
        Config.GambleGoldStop = 500000; // 多少钱停止赌博

        // 查看libs/NTItemAlias.dbl文件获取更多的物品ID。 // Check libs/NTItemAlias.dbl file for other item classids
        // 以下设置为赌博哪几种物品
        Config.GambleItems.push(520); // Amulet // 项链
        Config.GambleItems.push(522); // Ring // 戒指
        Config.GambleItems.push(418); // Circlet // 头环
        Config.GambleItems.push(419); // Coronet // 头环

        // 合成设定  更多详细设置信息请查阅Templates/Cubing.txt文件
        /* Cubing config. All recipe names are available in Templates/Cubing.txt
         * The format is Config.Recipes.push([recipe_name, item_id, etherealness]). Etherealness is optional and only applies to some recipes.
         */
        Config.Cubing = false; // 是否启用合成系统。 // Set to true to enable cubing.

        // Ingredients for the following recipes will be auto-picked, for classids check libs/NTItemAlias.dbl
        // 以下所有的合成均会自动拾取杂货,打孔的材料除外。
       
        //宝石部分
        //Config.Recipes.push([Recipe.Gem, 560]); // 完美的紫宝石 // perfect amethyst
        //Config.Recipes.push([Recipe.Gem, 565]); // 完美的黄宝石 // perfect topaz
        //Config.Recipes.push([Recipe.Gem, 570]); // 完美的蓝宝石 // perfect sapphire
        //Config.Recipes.push([Recipe.Gem, 575]); // 完美的绿宝石 // perfect emerald
        //Config.Recipes.push([Recipe.Gem, 580]); // 完美的红宝石 // perfect ruby
        //Config.Recipes.push([Recipe.Gem, 585]); // 完美的钻石 // perfect diamond
        //Config.Recipes.push([Recipe.Gem, 600]); // 完美的骷髅 // perfect skull

        //Config.Recipes.push([Recipe.Token]); // 洗点勋章 // token of absolution
       
        //符文部分
        //Config.Recipes.push([Recipe.Rune, 630]); // 21#pul -> 22#um
        //Config.Recipes.push([Recipe.Rune, 631]); // 22#um -> 23#mal
        //Config.Recipes.push([Recipe.Rune, 632]); // 23#mal -> 24#ist
        //Config.Recipes.push([Recipe.Rune, 633]); // 24#ist -> 25#gul
        //Config.Recipes.push([Recipe.Rune, 634]); // 25#gul -> 26#vex

        // 橙色物品部分
        //Config.Recipes.push([Recipe.Caster.Amulet]); // 施法项链 // Craft Caster Amulet
        //Config.Recipes.push([Recipe.Blood.Ring]); // 打击戒指 // Craft Blood Ring
        //Config.Recipes.push([Recipe.Blood.Helm, 424]); // 打击项链 //Craft Blood Armet
        //Config.Recipes.push([Recipe.HitPower.Gloves, 452]); // 打击手套 // Craft Hit Power Vambraces

        // The gems not used by other recipes will be used for magic item rerolling.
       
        //蓝色物品部分
        //Config.Recipes.push([Recipe.Reroll.Magic, 421]); // 洗蓝色权冠 // Reroll magic Diadem
        //Config.Recipes.push([Recipe.Reroll.Magic, 605]); // 洗蓝色超大型护身符 // Reroll magic Grand Charm (ilvl 91+)

        //黄色物品部分
        //Config.Recipes.push([Recipe.Reroll.Rare, 421]); // 洗黄色权冠 // Reroll rare Diadem

       
        //打孔部分
        /* Base item for the following recipes must be in pickit. The rest of the ingredients will be auto-picked.
         * Use Roll.Eth, Roll.NonEth or Roll.All to determine what kind of base item to roll - ethereal, non-ethereal or all.
         */
        // 以下合称的基础材料拾取规则和你所需要的成品拾取规则必须写入拾取文件。剩下的宝石符文均会自动拾取,不需要写入拾取文件。
        // 如需添加其他物品请查阅libs/NTItemAlias.dbl文件中物品的classid。
        //Config.Recipes.push([Recipe.Socket.Weapon, 255, Roll.Eth]); // 无形锐利打孔 // Socket ethereal Thresher
        //Config.Recipes.push([Recipe.Socket.Weapon, 256, Roll.Eth]); // 无形神秘之斧打孔 // Socket ethereal Cryptic Axe
        //Config.Recipes.push([Recipe.Socket.Armor, 442, Roll.Eth]); // 无形神圣盔甲打孔 // Socket ethereal Sacred Armor
        //Config.Recipes.push([Recipe.Socket.Armor, 443, Roll.Eth]); // 无形执政官铠甲打孔 // Socket ethereal Archon Plate
       

        //暗金物品升级部分
        //Config.Recipes.push([Recipe.Unique.Armor.ToExceptional, 335, Roll.NonEth]); // 升级血拳到扩展级 // Upgrade Bloodfist to Exceptional
        //Config.Recipes.push([Recipe.Unique.Armor.ToExceptional, 337, Roll.NonEth]); // 升级法师之拳到扩展级 // Upgrade Magefist to Exceptional
        //Config.Recipes.push([Recipe.Unique.Armor.ToElite, 381, Roll.NonEth]); // 升级血拳或Grave Palm到精华级 // Upgrade Bloodfist or Grave Palm to Elite
        //Config.Recipes.push([Recipe.Unique.Armor.ToElite, 383, Roll.NonEth]); // 升级法师之拳或Lavagout到精华级 // Upgrade Magefist or Lavagout to Elite
        //Config.Recipes.push([Recipe.Unique.Armor.ToElite, 389, Roll.NonEth]); // 升级Gore Rider到精华级 // Upgrade Gore Rider to Elite

        // 制作符文之语
        // Templates/Runewords.txt文件中的神符之语均是可用的,此处没有全部列出。
        /* Runeword config. All recipes are available in Templates/Runewords.txt
         * Keep lines follow pickit format and any given runeword is tested vs ALL lines so you don't need to repeat them
         */
        Config.MakeRunewords = false; // 是否启用制作符文之语功能。 // Set to true to enable runeword making/rerolling

        //Config.Runewords.push([Runeword.Insight, 255]); // 使用锐利作为材料制作眼光符文之语。 // Thresher
        //Config.Runewords.push([Runeword.Insight, 256]); // 使用神秘之斧作为材料制作眼光符文之语。 // Cryptic Axe

        //Config.KeepRunewords.push("[type] == polearm # [meditationaura] == 17"); // 保留光环等级为17级的神符之语装备,不满足条件的均会重新制作。这里的保留条件同样可以写在拾取文件中去。

        //Config.Runewords.push([Runeword.Spirit, 447]); // 使用统治者大盾作为材料制作精神符文之语 // Monarch
        //Config.Runewords.push([Runeword.Spirit, 498]); // 使用神圣小盾作为材料制作精神符文之语 // Sacred Targe

        //Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] == 35"); // 保留盾牌FCR为35的符文之语装备,不满足条件的均会重新制作。这里的保留条件同样可以写在拾取文件中去。

        // 游戏公共设置部分 // Public game options

        // If Config.Leader is set, the bot will only accept invites from leader. If Config.PublicMode is not 0, Baal and Diablo script will open Town Portals.
        Config.PublicMode = 1; // 组队模式,1为发送或接受组队邀请,2为仅接受组队邀请,3为仅发送组队要求,0为关闭组队功能。1 = invite and accept, 2 = accept only, 3 = invite only, 0 = disable
        // Party message settings. Each setting represents an array of messages that will be randomly chosen.
        // $name, $level, $class and $killer are replaced by the player's name, level, class and killer
        Config.Greetings = []; // 组队后发送的欢迎信息。 // Example: ["Hello, $name (level $level $class)"]
        Config.DeathMessages = []; // 队伍内有人死亡后发送的信息。 // Example: ["Watch out for that $killer, $name!"]
        Config.Congratulations = []; // 队伍内有人升级后发送的信息。 // Example: ["Congrats on level $level, $name!"]
        Config.ShitList = false; // Blacklist hostile players so they don't get invited to party.

        // 通用设置部分 // General config
        Config.LastMessage = "what?"; // 游戏结束前发送的消息。 // Message or array of messages to say at the end of the run. Use $nextgame to say next game - "Next game: $nextgame" (works with lead entry point)
        Config.MinGameTime = 60; // 最小游戏时间。如果脚本运行完时间未到BOT会在城里呆着等待设定时间到后退出游戏。单位:秒。 // Min game time in seconds. Bot will TP to town and stay in game if the run is completed before.
        Config.MaxGameTime = 0; // 最大游戏时间。设定之后不论脚本是否全部运行完毕,达到该时间后游戏自动结束。单位:秒。 // Maximum game time in seconds. Quit game when limit is reached.
        Config.TeleSwitch = false; // 是否启用换手TP功能。 // Switch to slot II when teleporting more than 1 node.
        Config.OpenChests = false; // 是否在杀敌过程中打开宝箱。 // Open chests. Controls key buying.
        Config.MiniShopBot = true; // 访问NPC时扫描商店物品。 // Scan items in NPC shops.
        Config.PacketShopping = false; // 访问商店时是否使用封包购物,可以提高速度。 // Use packets to shop. Improves shopping speed.
        Config.TownCheck = true; // 药水没了是否回城补给。 // Go to town if out of potions
        Config.LogExperience = false; // 是否显示经验获取情况。 // Print experience statistics in the manager.
        Config.PingQuit = [{Ping: 0, Duration: 0}]; // 是否在达到设定ping值多少秒后退出游戏。 // Quit if ping is over the given value for over the given time period in seconds.

        // 神殿设置部分
        // Shrine Scanner - scan for shrines while moving.
        // Put the shrine types in order of priority (from highest to lowest). For a list of types, see sdk/shrines.txt
        // 神殿代码可以在这个文件找到sdk/shrines.txt,优先级为从高到低。
        Config.ScanShrines = [];

        // MF Switch
        Config.MFSwitchPercent = 0; // BOSS血量达到血量百分比后换手击杀。0为禁用 // Boss life % to switch weapons at. Set to 0 to disable.
        Config.MFSwitch = 0; // MF武器位置,0为第一套武器,1为第二套武器。 // MF weapon slot: 0 = slot I, 1 = slot II

        // FASTMOD设置部分  Full packet casting模式请不要用在近身肉搏角色身上。
        // Speedup config. Full packet casting is not recommended for melee skills.
        Config.FCR = 0; // 0 - disable, 1 to 255 - set value of Faster Cast Rate.
        Config.FHR = 0; // 0 - disable, 1 to 255 - set value of Faster Hit Recovery.
        Config.FBR = 0; // 0 - disable, 1 to 255 - set value of Faster Block Recovery.
        Config.IAS = 0; // 0 - disable, 1 to 255 - set value of Increased Attack Speed.
        Config.PacketCasting = 0; // 是否使用封包释放技能,0为禁用,1为封包释放传送技能,2为封包释放所有技能。 // 0 = disable, 1 = packet teleport, 2 = full packet casting.
        Config.WaypointMenu = false; // Set to true for Single and private realms

        // 敌对设置
        // Anti-hostile config
        Config.AntiHostile = false; // 是否开启敌对检测功能。 // Enable anti-hostile.
        Config.HostileAction = 0; // 发现敌对玩家应对策略。0为立即退出,1为敌对玩家出现在附近,2为攻击敌对玩家。 // 0 - quit immediately, 1 - quit when hostile player is sighted, 2 - attack hostile.
        Config.TownOnHostile = false; // Go to town instead of quitting when HostileAction is 0 or 1.
        Config.RandomPrecast = false; // Anti-PK measure, only supported in Baal and BaalHelper and BaalAssisstant at the moment.
        Config.ViperCheck = false; // Quit if revived Tomb Vipers are sighted.

        // DC设定 // DClone config
        Config.StopOnDClone = true; // 发现DC后立即回城。 // Go to town and idle as soon as Diablo walks the Earth
        Config.SoJWaitTime = 5; // 发现出售soj后在离开游戏前在游戏内等待的时间,单位:分钟。0为禁用。 // Time in minutes to wait for another SoJ sale before leaving game. 0 = disabled
        Config.KillDclone = false; // 前往Palace Cellar 3尝试击杀DC,请注意身上不能携带anni。 // Go to Palace Cellar 3 and try to kill Diablo Clone. Pointless if you already have Annihilus.
        Config.DCloneQuit = false; // 1 = quit when Diablo walks, 2 = quit on soj sales, 0 = disabled

        // 忽略怪物设定
        // Monster skip config
        // Skip immune monsters. Possible options: "fire", "cold", "lightning", "poison", "physical", "magic".
        // You can combine multiple resists with "and", for example - "fire and cold", "physical and cold and poison"
        // 这是一个例子,忽略冰免疫和物理免疫的怪。Config.SkipImmune = ["physical and cold"];
        Config.SkipImmune = [];
        // Skip enchanted monsters. Possible options: "extra strong", "extra fast", "cursed", "magic resistant", "fire enchanted", "lightning enchanted", "cold enchanted", "mana burn", "teleportation", "spectral hit", "stone skin", "multiple shots".
        // You can combine multiple enchantments with "and", for example - "cursed and extra fast", "mana burn and extra strong and lightning enchanted"
        // 你可以设定跳过拥有某种mod的怪物。
        Config.SkipEnchant = [];
        // Skip monsters with auras. Possible options: "fanaticism", "might", "holy fire", "blessed aim", "holy freeze", "holy shock". Conviction is bugged, don't use it.
        // 你可以设定跳过某些地图的怪物。
        Config.SkipAura = [];

        /* Attack config
         * To disable an attack, set it to -1
         * Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM
         */
        //技能设定 详细技能代码请查阅\d2bs\kolbot\sdk,
        //常见的角色技能设置文件可以在这里找到Templates\Attacks.txt
        Config.AttackSkill[0] = -1; // Preattack skill.
        Config.AttackSkill[1] = 49; // Primary skill to bosses.
        Config.AttackSkill[2] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
        Config.AttackSkill[3] = 53; // Primary skill to others.
        Config.AttackSkill[4] = -1; // Primary untimed skill to others. Keep at -1 if Config.AttackSkill[3] is untimed skill.
        Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
        Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.

        // Low mana skills - these will be used if main skills can't be cast.
        Config.LowManaSkill[0] = -1; // Timed low mana skill.
        Config.LowManaSkill[1] = -1; // Untimed low mana skill.

        /* Advanced Attack config. Allows custom skills to be used on custom monsters.
         *        Format: "Monster Name": [timed skill id, untimed skill id]
         *        Example: "Baal": [38, -1] to use charged bolt on Baal
         *        Multiple entries are separated by commas
         */
        Config.CustomAttack = {
                //"Monster Name": [-1, -1]
        };

        Config.Dodge = true; // 远距离攻击模式,像sor一般请设置为true。近身职业请设置为false。 // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger.
        Config.DodgeRange = 15; // 距离怪物多远进行攻击。 // Distance to keep from monsters.
        Config.DodgeHP = 100; // 血量低于多少百分比开始启用远距离攻击模式。100为总是启用远距离攻击模式。 // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge.
        Config.BossPriority = false; // 是否优先击杀金怪。 // Set to true to attack Unique/SuperUnique monsters first when clearing
        Config.ClearType = 0; // 清场模式:0xF为跳过普通怪物,0为所有怪物全部清理。 // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
        Config.TeleStomp = false; // 使用佣兵攻击免疫怪物。 // Use merc to attack bosses if they're immune to attacks, but not to physical damage

        // Wereform setup. Make sure you read Templates/Attacks.txt for attack skill format.
        Config.Wereform = false; // 0 / false - don't shapeshift, 1 / "Werewolf" - change to werewolf, 2 / "Werebear" - change to werebear

        // 职业特殊设定
        // Class specific config
        Config.CastStatic = 60; // 使用sf直到boss血量达到设定百分比再开始使用上面的技能攻击。100为禁用。 // Cast static until the target is at designated life percent. 100 = disabled.
        Config.StaticList = ["Andariel","Duriel","Mephisto","Diablo","Baal"]; // 设定怪物的名称或classid用于启用上面的sf功能。例如:Config.StaticList = ["Andariel", 243]; // List of monster NAMES or CLASSIDS to static. Example: Config.StaticList = ["Andariel", 243];
       
       
        // AutoBuild System ( See /d2bs/kolbot/libs/config/Builds/README.txt for instructions )
        Config.AutoBuild.Enabled = false;                        //        This will enable or disable the AutoBuild system
       
        Config.AutoBuild.Template = "BuildName";        //        The name of the build associated with an existing
                                                                                                //        template filename located in libs/config/Builds/

        Config.AutoBuild.Verbose = true;                        //        Allows script to print messages in console
        Config.AutoBuild.DebugMode = true;                        //        Debug mode prints a little more information to console and
                                                                                                //        logs activity to /logs/AutoBuild.CharacterName._MM_DD_YYYY.log
                                                                                                //        It automatically enables Config.AutoBuild.Verbose
}
回复 支持 反对

使用道具 举报

4

主题

21

帖子

189

积分

侠客

Rank: 3Rank: 3

积分
189

社区居民忠实会员

 楼主| 发表于 4 天前 | 显示全部楼层
這設定應該沒錯吧 怎麼營地剛踩tp就中斷連線了?>==
回复 支持 反对

使用道具 举报

41

主题

1897

帖子

6221

积分

风云使者

Rank: 7Rank: 7Rank: 7

积分
6221

社区居民忠实会员原创写手

发表于 3 天前 来自手机 | 显示全部楼层
Config.WaypointMenu = true; // Set to true for Single and private realms
回复 支持 反对

使用道具 举报

4

主题

21

帖子

189

积分

侠客

Rank: 3Rank: 3

积分
189

社区居民忠实会员

 楼主| 发表于 3 天前 | 显示全部楼层
謝謝樓上大大的回答  已解決。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|BattleCN ( 陕ICP备05006600号 )

GMT+8, 2020-2-17 06:08 , Processed in 0.043138 second(s), 11 queries , Apc On.

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表