Guest User

Untitled

a guest
Aug 16th, 2020
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Barbarian config file
  2.  
  3. /* Brief instructions:
  4.  * Notepad++ is HIGHLY recommended to use for editing these files. Visit http://notepad-plus-plus.org/
  5.  * To comment out something, put // in front of that line
  6.  * !!!Never comment out something you're not sure about, set it to false or disable as noted in description if you don't want to use it.
  7.  * true and false are case sensitive. Good: Config.SomeVar = true; Bad: Config.SomeVar = True;
  8.  */
  9.  
  10. function LoadConfig() {
  11.     /* Sequence config
  12.      * Set to true if you want to run it, set to false if not.
  13.      * If you want to change the order of the scripts, just change the order of their lines by using cut and paste.
  14.      */
  15.  
  16.     // User addon script. Read the description in libs/bots/UserAddon.js
  17.     Scripts.UserAddon = false; // !!!YOU MUST SET THIS TO FALSE IF YOU WANT TO RUN BOSS/AREA SCRIPTS!!!
  18.  
  19.     // Battle orders script - Use this for 2+ characters (for example BO barb + sorc)
  20.     Scripts.BattleOrders = false;
  21.         Config.BattleOrders.Mode = 0; // 0 = give BO, 1 = get BO
  22.         Config.BattleOrders.Idle = false; // Idle until the player that received BO leaves.
  23.         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.
  24.         Config.BattleOrders.QuitOnFailure = false; // Quit the game if BO fails
  25.         Config.BattleOrders.SkipIfTardy = true; // Proceed with scripts if other players already moved on from BO spot
  26.         Config.BattleOrders.Wait = 10; // Duration to wait for players to join game in seconds (default: 10)
  27.  
  28.     // Team MF system
  29.     Config.MFLeader = false; // Set to true if you have one or more MFHelpers. Opens TP and gives commands when doing normal MF runs.
  30.  
  31.     // Boss/area scripts
  32.  
  33.     // *** act 1 ***
  34.     Scripts.Corpsefire = false;
  35.         Config.Corpsefire.ClearDen = false;
  36.     Scripts.Mausoleum = false;
  37.         Config.Mausoleum.KillBloodRaven = false;
  38.         Config.Mausoleum.ClearCrypt = false;
  39.     Scripts.Rakanishu = false;
  40.         Config.Rakanishu.KillGriswold = true;
  41.     Scripts.UndergroundPassage = false;
  42.     Scripts.Coldcrow = false;
  43.     Scripts.Tristram = false;
  44.         Config.Tristram.WalkClear = false; // Disable teleport while clearing to protect leechers
  45.         Config.Tristram.PortalLeech = false; // Set to true to open a portal for leechers.
  46.     Scripts.Pit = false;
  47.         Config.Pit.ClearPit1 = true;
  48.     Scripts.Treehead = false;
  49.     Scripts.Smith = false;
  50.     Scripts.BoneAsh = false;
  51.     Scripts.Countess = false;
  52.         Config.Countess.KillGhosts = false;
  53.     Scripts.Andariel = false;
  54.     Scripts.Cows = false;
  55.  
  56.     // *** act 2 ***
  57.     Scripts.Radament = false;
  58.     Scripts.Coldworm = false;
  59.         Config.Coldworm.KillBeetleburst = false;
  60.         Config.Coldworm.ClearMaggotLair = false; // Clear all 3 levels
  61.     Scripts.AncientTunnels = false;
  62.         Config.AncientTunnels.OpenChest = false; // Open special chest in Lost City
  63.         Config.AncientTunnels.KillDarkElder = false;
  64.     Scripts.Summoner = false;
  65.         Config.Summoner.FireEye = false;
  66.     Scripts.Tombs = false;
  67.     Scripts.Duriel = false;
  68.  
  69.     // *** act 3 ***
  70.     Scripts.Stormtree = false;
  71.     Scripts.KurastTemples = false;
  72.     Scripts.Icehawk = false;
  73.     Scripts.Endugu = false;
  74.     Scripts.Travincal = false;
  75.         Config.Travincal.PortalLeech = false; // Set to true to open a portal for leechers.
  76.     Scripts.Mephisto = false;
  77.         Config.Mephisto.MoatTrick = false;
  78.         Config.Mephisto.KillCouncil = false;
  79.         Config.Mephisto.TakeRedPortal = true;
  80.  
  81.     // *** act 4 ***
  82.     Scripts.OuterSteppes = false;
  83.     Scripts.Izual = false;
  84.     Scripts.Hephasto = false;
  85.         Config.Hephasto.ClearRiver = false; // Clear river after killing Hephasto
  86.         Config.Hephasto.ClearType = 0xF; // 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  87.     Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only.
  88.     Scripts.FastDiablo = false;
  89.     Scripts.Diablo = false;
  90.         Config.Diablo.WalkClear = false; // Disable teleport while clearing to protect leechers
  91.         Config.Diablo.Entrance = true; // Start from entrance
  92.         Config.Diablo.SealWarning = "Leave the seals alone!";
  93.         Config.Diablo.EntranceTP = "Entrance TP up";
  94.         Config.Diablo.StarTP = "Star TP up";
  95.         Config.Diablo.DiabloMsg = "Diablo";
  96.         Config.Diablo.SealOrder = ["vizier", "seis", "infector"]; // the order in which to clear the seals. If seals are excluded, they won't be checked unless diablo fails to appear
  97.     Scripts.SealLeader = false; // Clear a safe spot around seals and invite leechers in. Leechers should run SealLeecher script. Don't run with Diablo or FastDiablo.
  98.  
  99.     // *** act 5 ***
  100.     Scripts.Pindleskin = true;
  101.         Config.Pindleskin.UseWaypoint = false;
  102.         Config.Pindleskin.KillNihlathak = false;
  103.         Config.Pindleskin.ViperQuit = false; // End script if Tomb Vipers are found.
  104.     Scripts.Nihlathak = false;
  105.         Config.Nihlathak.ViperQuit = false; // End script if Tomb Vipers are found.
  106.     Scripts.Eldritch = false;
  107.         Config.Eldritch.OpenChest = true;
  108.         Config.Eldritch.KillShenk = true;
  109.         Config.Eldritch.KillDacFarren = true;
  110.     Scripts.Eyeback = false;
  111.     Scripts.SharpTooth = false;
  112.     Scripts.ThreshSocket = false;
  113.     Scripts.Abaddon = false;
  114.     Scripts.Frozenstein = false;
  115.         Config.Frozenstein.ClearFrozenRiver = true;
  116.     Scripts.Bonesaw = false;
  117.         Config.Bonesaw.ClearDrifterCavern = false;
  118.     Scripts.Snapchip = false;
  119.         Config.Snapchip.ClearIcyCellar = true;
  120.     Scripts.Worldstone = false;
  121.     Scripts.Baal = false;
  122.         Config.Baal.HotTPMessage = "Hot TP!";
  123.         Config.Baal.SafeTPMessage = "Safe TP!";
  124.         Config.Baal.BaalMessage = "Baal!";
  125.         Config.Baal.SoulQuit = false; // End script if Souls (Burning Souls) are found.
  126.         Config.Baal.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  127.         Config.Baal.KillBaal = true; // Kill Baal. Leaves game after wave 5 if false.
  128.  
  129.     /* ### leeching section ###
  130.     * Unless stated otherwise, leader's character name isn't needed on order to run.
  131.     * Don't use more scripts of the same type! (Run AutoBaal OR BaalHelper, not both)
  132.     */
  133.  
  134.     Config.Leader = ""; // Leader's ingame character name. Leave blank to try auto-detection (works in AutoBaal, Wakka, MFHelper)
  135.     Config.QuitList = [""]; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];
  136.     Config.QuitListMode = 0; // 0 = use character names; 1 = use profile names (all profiles must run on the same computer).
  137.     Config.QuitListDelay = []; // Quit the game with random delay in case of using Config.QuitList. Example: Config.QuitListDelay = [1, 10]; will exit with random delay between 1 and 10 seconds.
  138.  
  139.     Scripts.TristramLeech = false; // Enters Tristram, attempts to stay close to the leader and will try and help kill.
  140.     Scripts.TravincalLeech = false; // Enters portal at back of Travincal.
  141.         Config.TravincalLeech.Helper = true; // If set to true the character will teleport to the stairs and help attack.
  142.     Scripts.MFHelper = false; // Run the same MF run as the MFLeader. Leader must have Config.MFLeader = true
  143.     Scripts.Wakka = false; // Walking chaos leecher with auto leader assignment, stays at safe distance from the leader
  144.         Config.Wakka.Wait = 1; // Minutes to wait for leader
  145.     Scripts.SealLeecher = false; // Enter safe portals to Chaos. Leader should run SealLeader.
  146.     Scripts.DiabloHelper = false; // Chaos helper, kills monsters and doesn't open seals on its own.
  147.         Config.DiabloHelper.Wait = 120; // Seconds to wait for a runner to be in Chaos. If Config.Leader is set, it will wait only for the leader.
  148.         Config.DiabloHelper.Entrance = true; // Start from entrance. Set to false to start from star.
  149.         Config.DiabloHelper.SkipTP = false; // Don't wait for town portal and directly head to chaos. It will clear monsters around chaos entrance and wait for the runner.
  150.         Config.DiabloHelper.SkipIfBaal = false; // End script if there are party members in a Baal run.
  151.         Config.DiabloHelper.OpenSeals = false; // Open seals as the helper
  152.         Config.DiabloHelper.SafePrecast = true; // take random WP to safely precast
  153.         Config.DiabloHelper.SealOrder = ["vizier", "seis", "infector"]; // the order in which to clear the seals. If seals are excluded, they won't be checked unless diablo fails to appear
  154.         Config.DiabloHelper.RecheckSeals = false; // Teleport to each seal and double-check that it was opened and boss was killed if Diablo doesn't appear
  155.     Scripts.AutoBaal = false; // Baal leecher with auto leader assignment
  156.         Config.AutoBaal.FindShrine = false; // false = disabled, 1 = search after hot tp message, 2 = search as soon as leader is found
  157.         Config.AutoBaal.LeechSpot = [15115, 5050]; // X, Y coords of Throne Room leech spot
  158.         Config.AutoBaal.LongRangeSupport = false; // Cast long distance skills from a safe spot
  159.     Scripts.BaalHelper = false;
  160.         Config.BaalHelper.Wait = 120; // Seconds to wait for a runner to be in Throne
  161.         Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
  162.         Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
  163.         Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  164.         Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
  165.         Config.BaalHelper.SkipTP = false; // Don't wait for a TP, go to WSK3 and wait for someone to go to throne. Anti PK measure.
  166.     Scripts.Follower = false; // Script that follows a manually played leader around like a merc. For a list of commands, see Follower.js
  167.  
  168.     // *** special scripts ***
  169.     Scripts.WPGetter = false; // Get missing waypoints
  170.     Scripts.GetKeys = false; // Hunt for T/H/D keys
  171.     Scripts.OrgTorch = false;
  172.         Config.OrgTorch.MakeTorch = true; // Convert organ sets to torches
  173.         Config.OrgTorch.WaitForKeys = true; // Enable Torch System to get keys from other profiles. See libs/TorchSystem.js for more info
  174.         Config.OrgTorch.WaitTimeout = 15; // Time in minutes to wait for keys before moving on
  175.         Config.OrgTorch.UseSalvation = true; // Use Salvation aura on Mephisto (if possible)
  176.         Config.OrgTorch.GetFade = false; // Get fade by standing in a fire. You MUST have Last Wish or Treachery on your character being worn.
  177.         Config.OrgTorch.AntidotesToChug = 0; // Chug x antidotes before Lilith. Each antidote gives +50 poison res and +10 max poison for 30 seconds. The duration stacks. 4 potions == 2 minutes
  178.     Scripts.Rusher = false; // Rush bot. For a list of commands, see Rusher.js
  179.         Config.Rusher.WaitPlayerCount = 0; // Wait until game has a certain number of players (0 - don't wait, 8 - wait for full game).
  180.         Config.Rusher.Radament = false; // Do Radament quest.
  181.         Config.Rusher.LamEsen = false; // Do Lam Esen quest.
  182.         Config.Rusher.Izual = false; // Do Izual quest.
  183.         Config.Rusher.Shenk = false; // Do Shenk quest.
  184.         Config.Rusher.Anya = false; // Do Anya quest.
  185.         Config.Rusher.LastRun = ""; // End rush after this run.
  186.     Scripts.Rushee = false; // Automatic rushee, works with Rusher. Set Rusher's character name as Config.Leader
  187.         Config.Rushee.Quester = false; // Enter portals and get quest items.
  188.         Config.Rushee.Bumper = false; // Do Ancients and Baal. Minimum levels: 20 - norm, 40 - nightmare
  189.     Scripts.CrushTele = false; // classic rush teleporter. go to area of interest and press "-" numpad key
  190.     Scripts.Questing = false; // solves missing quests (skill/stat+shenk)
  191.     Scripts.Gamble = false; // Gambling system, other characters will mule gold into your game so you can gamble infinitely. See Gambling.js
  192.     Scripts.Crafting = false; // Crafting system, other characters will mule crafting ingredients. See CraftingSystem.js
  193.     Scripts.GhostBusters = false; // Kill ghosts in most areas that contain them
  194.     Scripts.Enchant = false;
  195.         Config.Enchant.Triggers = ["chant", "cows", "wps"]; // Chat commands for enchant, cow level and waypoint giving
  196.         Config.Enchant.GetLeg = false; // Get Wirt's Leg from Tristram. If set to false, it will check for the leg in town.
  197.         Config.Enchant.AutoChant = false; // Automatically enchant nearby players and their minions
  198.         Config.Enchant.GameLength = 20; // Game length in minutes
  199.     Scripts.IPHunter = false;
  200.         Config.IPHunter.IPList = []; // List of IPs to look for. example: [165, 201, 64]
  201.         Config.IPHunter.GameLength = 3; // Number of minutes to stay in game if ip wasn't found
  202.     Scripts.KillDclone = false; // Kill Diablo Clone by using Arcane Sanctuary waypoint. Diablo needs to walk the Earth in the game.
  203.     Scripts.ShopBot = false; // Shopbot script. Automatically uses shopbot.nip and ignores other pickits.
  204.         // Supported NPCs: Akara, Charsi, Gheed, Elzix, Fara, Drognan, Ormus, Asheara, Hratli, Jamella, Halbu, Anya. Multiple NPCs are also supported, example: [NPC.Elzix, NPC.Fara]
  205.         // Use common sense when combining NPCs. Shopping in different acts will probably lead to bugs.
  206.         Config.ShopBot.ShopNPC = NPC.Anya;
  207.         // 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
  208.         Config.ShopBot.ScanIDs = [];
  209.         Config.ShopBot.CycleDelay = 0; // Delay between shopping cycles in milliseconds, might help with crashes.
  210.         Config.ShopBot.QuitOnMatch = false; // Leave game as soon as an item is shopped.
  211.     Scripts.ChestMania = false; // Open chests in configured areas. See sdk/areas.txt
  212.         Config.ChestMania.Act1 = [13, 14, 15, 16, 18, 19]; // List of act 1 areas to open chests in
  213.         Config.ChestMania.Act2 = [55, 59, 65, 66, 67, 68, 69, 70, 71, 72]; // List of act 2 areas to open chests in
  214.         Config.ChestMania.Act3 = [79, 80, 81, 92, 93, 84, 85, 90]; // List of act 3 areas to open chests in
  215.         Config.ChestMania.Act4 = [107]; // List of act 4 areas to open chests in
  216.         Config.ChestMania.Act5 = [115, 116, 119, 125, 126, 127]; // List of act 5 areas to open chests in
  217.     Scripts.ClearAnyArea = true; // Clear any area. Uses Config.ClearType to determine which type of monsters to kill.
  218.         Config.ClearAnyArea.AreaList = [12,16]; // List of area ids to clear. See sdk/areas.txt
  219.  
  220.     // *** Guest scripts ***
  221.  
  222.     // Baal Assistant by YourGreatestMember
  223.     Scripts.BaalAssistant = false; // Used to leech or help in baal runs.
  224.         Config.BaalAssistant.Wait = 120; // Seconds to wait for a runner to be in the throne / portal wait / safe TP wait / hot TP wait...
  225.         Config.BaalAssistant.KillNihlathak = false; // Kill Nihlathak before going to Throne
  226.         Config.BaalAssistant.FastChaos = false; // Kill Diablo before going to Throne
  227.         Config.BaalAssistant.Helper = true; // Set to true to help attack, set false to to leech.
  228.         Config.BaalAssistant.GetShrine = false; // Set to true to get a experience shrine at the start of the run.
  229.         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
  230.         Config.BaalAssistant.SkipTP = false; // Set to true to enable the helper to skip the TP and teleport down to the throne room.
  231.         Config.BaalAssistant.WaitForSafeTP = false; // Set to true to wait for a safe TP message (defined in SafeTPMessage)
  232.         Config.BaalAssistant.DollQuit = false; // Quit on dolls. (Hardcore players?)
  233.         Config.BaalAssistant.SoulQuit = false; // Quit on Souls. (Hardcore players?)
  234.         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.
  235.         Config.BaalAssistant.HotTPMessage = ["Hot"]; // Configure safe TP messages.
  236.         Config.BaalAssistant.SafeTPMessage = ["Safe", "Clear"]; // Configure safe TP messages.
  237.         Config.BaalAssistant.BaalMessage = ["Baal"]; // Configure baal messages, this is a precautionary measure.
  238.         Config.BaalAssistant.NextGameMessage = ["Next Game", "Next", "New Game"];   // Next Game message, this is a precautionary quit command, Reccomended setting up: Config.QuitList
  239.  
  240.     // Town settings
  241.     Config.HealHP = 50; // Go to a healer if under designated percent of life.
  242.     Config.HealMP = 0; // Go to a healer if under designated percent of mana.
  243.     Config.HealStatus = false; // Go to a healer if poisoned or cursed
  244.     Config.UseMerc = true; // Use merc. This is ignored and always false in d2classic.
  245.     Config.MercWatch = false; // Instant merc revive during battle.
  246.  
  247.     // Potion settings
  248.     Config.UseHP = 75; // Drink a healing potion if life is under designated percent.
  249.     Config.UseRejuvHP = 40; // Drink a rejuvenation potion if life is under designated percent.
  250.     Config.UseMP = 30; // Drink a mana potion if mana is under designated percent.
  251.     Config.UseRejuvMP = 0; // Drink a rejuvenation potion if mana is under designated percent.
  252.     Config.UseMercHP = 75; // Give a healing potion to your merc if his/her life is under designated percent.
  253.     Config.UseMercRejuv = 30; // Give a rejuvenation potion to your merc if his/her life is under designated percent.
  254.     Config.HPBuffer = 0; // Number of healing potions to keep in inventory.
  255.     Config.MPBuffer = 0; // Number of mana potions to keep in inventory.
  256.     Config.RejuvBuffer = 0; // Number of rejuvenation potions to keep in inventory.
  257.  
  258.     // Chicken settings
  259.     Config.LifeChicken = 30; // Exit game if life is less or equal to designated percent.
  260.     Config.ManaChicken = 0; // Exit game if mana is less or equal to designated percent.
  261.     Config.MercChicken = 0; // Exit game if merc's life is less or equal to designated percent.
  262.     Config.TownHP = 0; // Go to town if life is under designated percent.
  263.     Config.TownMP = 0; // Go to town if mana is under designated percent.
  264.  
  265.     /* Inventory lock configuration. !!!READ CAREFULLY!!!
  266.      * 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.
  267.      * Put 0s where your torch, annihilus and everything else you want to KEEP is.
  268.      * 1 = item is unlocked and will be dropped, stashed or sold.
  269.      * If you don't change the default values, the bot won't stash items.
  270.      */
  271.     Config.Inventory[0] = [1,1,1,1,1,1,1,0,0,0];
  272.     Config.Inventory[1] = [1,1,1,1,1,1,0,0,0,0];
  273.     Config.Inventory[2] = [1,1,1,1,1,0,0,0,0,0];
  274.     Config.Inventory[3] = [1,1,1,1,1,0,0,0,0,0];
  275.  
  276.     Config.StashGold = 800000; // Minimum amount of gold to stash.
  277.  
  278.     /* Potion types for belt columns from left to right.
  279.      * Rejuvenation potions must always be rightmost.
  280.      * Supported potions - Healing ("hp"), Mana ("mp") and Rejuvenation ("rv")
  281.      */
  282.     Config.BeltColumn[0] = "hp";
  283.     Config.BeltColumn[1] = "mp";
  284.     Config.BeltColumn[2] = "rv";
  285.     Config.BeltColumn[3] = "rv";
  286.  
  287.     /* Minimum amount of potions. If we have less, go to vendor to purchase more.
  288.      * Set rejuvenation columns to 0, because they can't be bought.
  289.      */
  290.     Config.MinColumn[0] = 3;
  291.     Config.MinColumn[1] = 3;
  292.     Config.MinColumn[2] = 0;
  293.     Config.MinColumn[3] = 0;
  294.  
  295.     // Pickit config. Default folder is kolbot/pickit.
  296.     Config.PickitFiles.push("kolton.nip");
  297.     Config.PickitFiles.push("LLD.nip");
  298.     Config.PickRange = 40; // Pick radius
  299.     Config.FastPick = false; // Check and pick items between attacks
  300.     Config.ManualPlayPick = false; // If set to true and D2BotMap entry script is used, will enable picking in manual play.
  301.  
  302.     /* Advanced automule settings
  303.      * Trigger - Having an item that is on the list will initiate muling. Useful if you want to mule something immediately upon finding.
  304.      * Force - Items listed here will be muled even if they are ingredients for cubing.
  305.      * Exclude - Items listed here will be ignored and will not be muled. Items on Trigger or Force lists are prioritized over this list.
  306.      *
  307.      * List can either be set as string in pickit format and/or as number referring to item classids. Each entries are separated by commas.
  308.      * Example :
  309.      *  Config.AutoMule.Trigger = [639, 640, "[type] == ring && [quality] == unique # [maxmana] == 20"];
  310.      *      This will initiate muling when your character finds Ber, Jah, or SOJ.
  311.      *  Config.AutoMule.Force = [561, 566, 571, 576, 581, 586, 601];
  312.      *      This will mule perfect gems/skull during muling.
  313.      *  Config.AutoMule.Exclude = ["[name] >= talrune && [name] <= solrune", "[name] >= 654 && [name] <= 657"];
  314.      *      This will exclude muling of runes from tal through sol, and any essences.
  315.      */
  316.     Config.AutoMule.Trigger = [];
  317.     Config.AutoMule.Force = [];
  318.     Config.AutoMule.Exclude = [];
  319.  
  320.     // Additional item info log settings. All info goes to \logs\ItemLog.txt
  321.     Config.ItemInfo = false; // Log stashed, skipped (due to no space) or sold items.
  322.     Config.ItemInfoQuality = []; // The quality of sold items to log. See NTItemAlias.dbl for values. Example: Config.ItemInfoQuality = [6, 7, 8];
  323.  
  324.     // Item identification settings
  325.     Config.CainID.Enable = false; // Identify items at Cain
  326.     Config.CainID.MinGold = 250000; // Minimum gold (stash + character) to have in order to use Cain.
  327.     Config.CainID.MinUnids = 0; // Minimum number of unid items in order to use Cain.
  328.     Config.FieldID = false; // Identify items in the field instead of going to town.
  329.     Config.DroppedItemsAnnounce.Enable = false; // Announce Dropped Items to in-game newbs
  330.     Config.DroppedItemsAnnounce.Quality = []; // Quality of item to announce. See NTItemAlias.dbl for values. Example: Config.DroppedItemsAnnounce.Quality = [6, 7, 8];
  331.  
  332.     // Manager Item Log Screen
  333.     Config.LogKeys = false; // Log keys on item viewer
  334.     Config.LogOrgans = true; // Log organs on item viewer
  335.     Config.LogLowRunes = false; // Log low runes (El - Dol) on item viewer
  336.     Config.LogMiddleRunes = true; // Log middle runes (Hel - Mal) on item viewer
  337.     Config.LogHighRunes = true; // Log high runes (Ist - Zod) on item viewer
  338.     Config.LogLowGems = false; // Log low gems (chipped, flawed, normal) on item viewer
  339.     Config.LogHighGems = false; // Log high gems (flawless, perfect) on item viewer
  340.     Config.SkipLogging = []; // Custom log skip list. Set as three digit item code or classid. Example: ["tes", "ceh", 656, 657] will ignore logging of essences.
  341.     Config.ShowCubingInfo = true; // Show cubing messages on console
  342.  
  343.     // Repair settings
  344.     Config.CubeRepair = true; // Repair weapons with Ort and armor with Ral rune. Don't use it if you don't understand the risk of losing items.
  345.     Config.RepairPercent = 40; // Durability percent of any equipped item that will trigger repairs.
  346.  
  347.     // Gambling config
  348.     Config.Gamble = true;
  349.     Config.GambleGoldStart = 1000000;
  350.     Config.GambleGoldStop = 500000;
  351.  
  352.     // List of item names or classids for gambling. Check libs/NTItemAlias.dbl file for other item classids.
  353.     Config.GambleItems.push("Amulet");
  354.     Config.GambleItems.push("Ring");
  355.     Config.GambleItems.push("Circlet");
  356.     Config.GambleItems.push("Coronet");
  357.  
  358.     /* Cubing config. All recipe names are available in Templates/Cubing.txt. For item names/classids check NTItemAlias.dbl
  359.      * The format is Config.Recipes.push([recipe_name, item_name_or_classid, etherealness]). Etherealness is optional and only applies to some recipes.
  360.      */
  361.     Config.Cubing = true; // Set to true to enable cubing.
  362.  
  363.     // Ingredients for the following recipes will be auto-picked, for classids check libs/NTItemAlias.dbl
  364.  
  365.     //Config.Recipes.push([Recipe.Gem, "Flawless Amethyst"]); // Make Perfect Amethyst
  366.     //Config.Recipes.push([Recipe.Gem, "Flawless Topaz"]); // Make Perfect Topaz
  367.     //Config.Recipes.push([Recipe.Gem, "Flawless Sapphire"]); // Make Perfect Sapphire
  368.     //Config.Recipes.push([Recipe.Gem, "Flawless Emerald"]); // Make Perfect Emerald
  369.     //Config.Recipes.push([Recipe.Gem, "Flawless Ruby"]); // Make Perfect Ruby
  370.     //Config.Recipes.push([Recipe.Gem, "Flawless Diamond"]); // Make Perfect Diamond
  371.     //Config.Recipes.push([Recipe.Gem, "Flawless Skull"]); // Make Perfect Skull
  372.  
  373.     //Config.Recipes.push([Recipe.Token]); // Make Token of Absolution
  374.  
  375.     //Config.Recipes.push([Recipe.Rune, "Pul Rune"]); // Upgrade Pul to Um
  376.     //Config.Recipes.push([Recipe.Rune, "Um Rune"]); // Upgrade Um to Mal
  377.     //Config.Recipes.push([Recipe.Rune, "Mal Rune"]); // Upgrade Mal to Ist
  378.     //Config.Recipes.push([Recipe.Rune, "Ist Rune"]); // Upgrade Ist to Gul
  379.     //Config.Recipes.push([Recipe.Rune, "Gul Rune"]); // Upgrade Gul to Vex
  380.  
  381.     Config.Recipes.push([Recipe.Caster.Amulet]); // Craft Caster Amulet
  382.     Config.Recipes.push([Recipe.Blood.Ring]); // Craft Blood Ring
  383.     //Config.Recipes.push([Recipe.Blood.Helm, "Armet"]); // Craft Blood Armet
  384.     //Config.Recipes.push([Recipe.HitPower.Gloves, "Vambraces"]); // Craft Hit Power Vambraces
  385.  
  386.     // The gems not used by other recipes will be used for magic item rerolling.
  387.  
  388.     //Config.Recipes.push([Recipe.Reroll.Magic, "Diadem"]); // Reroll magic Diadem
  389.     //Config.Recipes.push([Recipe.Reroll.Magic, "Grand Charm"]); // Reroll magic Grand Charm (ilvl 91+)
  390.  
  391.     //Config.Recipes.push([Recipe.Reroll.Rare, "Diadem"]); // Reroll rare Diadem
  392.  
  393.     /* Base item for the following recipes must be in pickit. The rest of the ingredients will be auto-picked.
  394.      * Use Roll.Eth, Roll.NonEth or Roll.All to determine what kind of base item to roll - ethereal, non-ethereal or all.
  395.      */
  396.     //Config.Recipes.push([Recipe.Socket.Weapon, "Thresher", Roll.Eth]); // Socket ethereal Thresher
  397.     //Config.Recipes.push([Recipe.Socket.Weapon, "Cryptic Axe", Roll.Eth]); // Socket ethereal Cryptic Axe
  398.     //Config.Recipes.push([Recipe.Socket.Armor, "Sacred Armor", Roll.Eth]); // Socket ethereal Sacred Armor
  399.     //Config.Recipes.push([Recipe.Socket.Armor, "Archon Plate", Roll.Eth]); // Socket ethereal Archon Plate
  400.  
  401.     //Config.Recipes.push([Recipe.Unique.Armor.ToExceptional, "Heavy Gloves", Roll.NonEth]); // Upgrade Bloodfist to Exceptional
  402.     //Config.Recipes.push([Recipe.Unique.Armor.ToExceptional, "Light Gauntlets", Roll.NonEth]); // Upgrade Magefist to Exceptional
  403.     //Config.Recipes.push([Recipe.Unique.Armor.ToElite, "Sharkskin Gloves", Roll.NonEth]); // Upgrade Bloodfist or Grave Palm to Elite
  404.     //Config.Recipes.push([Recipe.Unique.Armor.ToElite, "Battle Gauntlets", Roll.NonEth]); // Upgrade Magefist or Lavagout to Elite
  405.     //Config.Recipes.push([Recipe.Unique.Armor.ToElite, "War Boots", Roll.NonEth]); // Upgrade Gore Rider to Elite
  406.  
  407.     /* Runeword config. All recipes are available in Templates/Runewords.txt
  408.      * Keep lines follow pickit format and any given runeword is tested vs ALL lines so you don't need to repeat them
  409.      */
  410.     Config.MakeRunewords = false; // Set to true to enable runeword making/rerolling
  411.  
  412.     //Config.Runewords.push([Runeword.Insight, "Thresher", Roll.Eth]); // Make ethereal Insight Thresher
  413.     //Config.Runewords.push([Runeword.Insight, "Cryptic Axe", Roll.Eth]); // Make ethereal Insight Cryptic Axe
  414.  
  415.     //Config.KeepRunewords.push("[type] == polearm # [meditationaura] == 17");
  416.  
  417.     //Config.Runewords.push([Runeword.Spirit, "Monarch", Roll.NonEth]); // Make Spirit Monarch
  418.     //Config.Runewords.push([Runeword.Spirit, "Sacred Targe", Roll.NonEth]); // Make Spirit Sacred Targe
  419.  
  420.     //Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] == 35");
  421.  
  422.     // Public game options
  423.  
  424.     // If LocalChat is enabled, chat can be sent via 'sendCopyData' instead of BNET
  425.     // To allow 'say' to use BNET, use 'say("msg", true)', the 2nd parameter will force BNET
  426.     // LocalChat messages will only be visible on clients running on the same PC
  427.     Config.LocalChat.Enabled = false; // enable the LocalChat system
  428.     Config.LocalChat.Toggle = false; // optional, set to KEY value to toggle through modes 0, 1, 2
  429.     Config.LocalChat.Mode = 0; // 0 = disabled, 1 = chat from 'say' (recommended), 2 = all chat (for manual play)
  430.  
  431.     // 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.
  432.     // If set on true, it simply parties.
  433.     Config.PublicMode = 0; // 1 = invite and accept, 2 = accept only, 3 = invite only, 0 = disable.
  434.  
  435.     // Party message settings. Each setting represents an array of messages that will be randomly chosen.
  436.     // $name, $level, $class and $killer are replaced by the player's name, level, class and killer
  437.     Config.Greetings = []; // Example: ["Hello, $name (level $level $class)"]
  438.     Config.DeathMessages = []; // Example: ["Watch out for that $killer, $name!"]
  439.     Config.Congratulations = []; // Example: ["Congrats on level $level, $name!"]
  440.     Config.ShitList = false; // Blacklist hostile players so they don't get invited to party.
  441.     Config.UnpartyShitlisted = false; // Leave party if someone invited a blacklisted player.
  442.  
  443.     // General config
  444.     Config.AutoMap = false; // Set to true to open automap at the beginning of the game.
  445.     Config.LastMessage = ""; // 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)
  446.     Config.MinGameTime = 60; // Min game time in seconds. Bot will TP to town and stay in game if the run is completed before.
  447.     Config.MaxGameTime = 0; // Maximum game time in seconds. Quit game when limit is reached.
  448.     Config.TeleSwitch = false; // Switch to secondary (non-primary) slot when teleporting more than 5 nodes.
  449.     Config.OpenChests = true; // Open chests. Controls key buying.
  450.     Config.MiniShopBot = false; // Scan items in NPC shops.
  451.     Config.PacketShopping = true; // Use packets to shop. Improves shopping speed.
  452.     Config.TownCheck = false; // Go to town if out of potions
  453.     Config.LogExperience = true; // Print experience statistics in the manager.
  454.     Config.PingQuit = [{Ping: 0, Duration: 0}]; // Quit if ping is over the given value for over the given time period in seconds.
  455.     Config.Silence = false; // Make the bot not say a word. Do not use in combination with LocalChat
  456.  
  457.     // Shrine Scanner - scan for shrines while moving.
  458.     // Put the shrine types in order of priority (from highest to lowest). For a list of types, see sdk/shrines.txt
  459.     Config.ScanShrines = [8, 9, 10, 11, 12, 15];
  460.  
  461.     // MF Switch
  462.     Config.MFSwitchPercent = 0; // Boss life % to switch to non-primary weapon slot. Set to 0 to disable.
  463.  
  464.     // Primary Slot - Bot will try to determine primary slot if not used (non-cta slot that's not empty)
  465.     Config.PrimarySlot = 0; // Set to use specific weapon slot as primary weapon slot: -1 = disabled, 0 = slot I, 1 = slot II
  466.  
  467.     // Fastmod config
  468.     Config.FCR = 0; // 0 - disable, 1 to 255 - set value of faster cast rate
  469.     Config.FHR = 0; // 0 - disable, 1 to 255 - set value of faster hit recovery
  470.     Config.FBR = 0; // 0 - disable, 1 to 255 - set value of faster block recovery
  471.     Config.IAS = 0; // 0 - disable, 1 to 255 - set value of increased attack speed
  472.     Config.PacketCasting = 0; // 0 = disable, 1 = packet teleport, 2 = full packet casting.
  473.     Config.WaypointMenu = true;
  474.  
  475.     // Anti-hostile config
  476.     Config.AntiHostile = false; // Enable anti-hostile
  477.     Config.HostileAction = 0; // 0 - quit immediately, 1 - quit when hostile player is sighted, 2 - attack hostile
  478.     Config.TownOnHostile = false; // Go to town instead of quitting when HostileAction is 0 or 1
  479.     Config.RandomPrecast = false; // Anti-PK measure, only supported in Baal and BaalHelper and BaalAssisstant at the moment.
  480.     Config.ViperCheck = false; // Quit if revived Tomb Vipers are sighted
  481.  
  482.     // DClone config
  483.     Config.StopOnDClone = true; // Go to town and idle as soon as Diablo walks the Earth
  484.     Config.SoJWaitTime = 5; // Time in minutes to wait for another SoJ sale before leaving game. 0 = disabled
  485.     Config.KillDclone = false; // Go to Palace Cellar 3 and try to kill Diablo Clone. Pointless if you already have Annihilus.
  486.     Config.DCloneQuit = false; // 1 = quit when Diablo walks, 2 = quit on soj sales, 0 = disabled
  487.  
  488.     // Monster skip config
  489.     // Skip immune monsters. Possible options: "fire", "cold", "lightning", "poison", "physical", "magic".
  490.     // You can combine multiple resists with "and", for example - "fire and cold", "physical and cold and poison"
  491.     Config.SkipImmune = ["physical"];
  492.     // 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".
  493.     // You can combine multiple enchantments with "and", for example - "cursed and extra fast", "mana burn and extra strong and lightning enchanted"
  494.     Config.SkipEnchant = [];
  495.     // Skip monsters with auras. Possible options: "fanaticism", "might", "holy fire", "blessed aim", "holy freeze", "holy shock". Conviction is bugged, don't use it.
  496.     Config.SkipAura = [];
  497.     // Uncomment the following line to always attempt to kill these bosses despite immunities and mods
  498.     //Config.SkipException = [getLocaleString(2851), getLocaleString(2852), getLocaleString(2853)]; // vizier, de seis, infector
  499.  
  500.     /* Attack config
  501.      * To disable an attack, set it to -1
  502.      * Skills MUST be POSITIVE numbers. For reference see ...\kolbot\sdk\skills.txt
  503.      */
  504.     Config.AttackSkill[0] = 130; // Preattack skill.
  505.     Config.AttackSkill[1] = 152; // Primary skill for bosses.
  506.     Config.AttackSkill[2] = -1; // Backup/Immune skill for bosses.
  507.     Config.AttackSkill[3] = 152; // Primary skill for others.
  508.     Config.AttackSkill[4] = -1; // Backup/Immune skill for others.
  509.  
  510.     // Low mana skills - these will be used if main skills can't be cast.
  511.     Config.LowManaSkill[0] = -1; // Low mana skill.
  512.  
  513.     /* Advanced Attack config. Allows custom skills to be used on custom monsters.
  514.      *  Format: "Monster Name": [attack skill id]
  515.      *  Multiple entries are separated by commas
  516.      */
  517.     Config.CustomAttack = {
  518.         //"Monster Name": [-1]
  519.     };
  520.  
  521.     Config.NoTele = false; // Restrict char from teleporting. Useful for low level/low mana chars
  522.     Config.BossPriority = true; // Set to true to attack Unique/SuperUnique monsters first when clearing
  523.     Config.ClearType = 0x7; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  524.  
  525.     // Clear while traveling during bot scripts
  526.     // You have two methods to configure clearing. First is simply a spectype to always clear, in any area, with a default range of 30
  527.     // The second method allows you to specify the areas in which to clear while traveling, a range, and a spectype. If area is excluded from this method,
  528.     // all areas will be cleared using the specified range and spectype
  529.     Config.ClearPath = false; // Monster spectype to kill while traveling. 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  530.     // Config.ClearPath = {
  531.     //  Areas: [74], // Specific areas to clear while traveling in. Comment out to clear in all areas
  532.     //  Range: 30, // Range to clear while traveling
  533.     //  Spectype: 0, // Monster spectype to kill while traveling. 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  534.     // };
  535.  
  536.     // Wereform setup. Make sure you read Templates/Attacks.txt for attack skill format.
  537.     Config.Wereform = false; // 0 / false - don't shapeshift, 1 / "Werewolf" - change to werewolf, 2 / "Werebear" - change to werebear
  538.  
  539.     // Class specific config
  540.     Config.FindItem = true; // Use Find Item skill on corpses after clearing.
  541.     Config.FindItemSwitch = true; // Switch to non-primary slot when using Find Item skills
  542.  
  543.     /* AutoSkill builds character based on array defined by the user and it replaces AutoBuild's skill system.
  544.      * AutoSkill will automatically spend skill points and it can also allocate any prerequisite skills as required.
  545.      *
  546.      * Format: Config.AutoSkill.Build = [[skillID, count, satisfy], [skillID, count, satisfy], ... [skillID, count, satisfy]];
  547.      *  skill - skill id number (see /sdk/skills.txt)
  548.      *  count - maximum number of skill points to allocate for that skill
  549.      *  satisfy - boolean value to stop(true) or continue(false) further allocation until count is met. Defaults to true if not specified.
  550.      *
  551.      *  See libs/config/Templates/AutoSkillExampleBuilds.txt for Config.AutoSkill.Build examples.
  552.      */
  553.     Config.AutoSkill.Enabled = false; // Enable or disable AutoSkill system
  554.     Config.AutoSkill.Save = 0; // Number of skill points that will not be spent and saved
  555.     Config.AutoSkill.Build = [];
  556.  
  557.     /* AutoStat builds character based on array defined by the user and this will replace AutoBuild's stat system.
  558.      * AutoStat will stat Build array order. You may want to stat strength or dexterity first to meet item requirements.
  559.      *
  560.      * Format: Config.AutoStat.Build = [[statType, stat], [statType, stat], ... [statType, stat]];
  561.      *  statType - defined as string, or as corresponding stat integer. "strength" or 0, "dexterity" or 2, "vitality" or 3, "energy" or 1
  562.      *  stat - set to an integer value, and it will spend stat points until it reaches desired *hard stat value (*+stats from items are ignored).
  563.      *  You can also set stat to string value "all", and it will spend all the remaining points.
  564.      *  Dexterity can be set to "block" and it will stat dexterity up the the desired block value specified in arguemnt (ignored in classic).
  565.      *
  566.      *  See libs/config/Templates/AutoStatExampleBuilds.txt for Config.AutoStat.Build examples.
  567.      */
  568.     Config.AutoStat.Enabled = false; // Enable or disable AutoStat system
  569.     Config.AutoStat.Save = 0; // Number stat points that will not be spent and saved.
  570.     Config.AutoStat.BlockChance = 0; // An integer value set to desired block chance. This is ignored in classic.
  571.     Config.AutoStat.UseBulk = true; // Set true to spend multiple stat points at once (up to 100), or false to spend singe point at a time.
  572.     Config.AutoStat.Build = [];
  573.  
  574.     // AutoBuild System ( See /d2bs/kolbot/libs/config/Builds/README.txt for instructions )
  575.     Config.AutoBuild.Enabled = false;           //  This will enable or disable the AutoBuild system
  576.  
  577.     Config.AutoBuild.Template = "BuildName";    //  The name of the build associated with an existing
  578.                                                 //  template filename located in libs/config/Builds/
  579.  
  580.     Config.AutoBuild.Verbose = true;            //  Allows script to print messages in console
  581.     Config.AutoBuild.DebugMode = true;          //  Debug mode prints a little more information to console and
  582.                                                 //  logs activity to /logs/AutoBuild.CharacterName._MM_DD_YYYY.log
  583.                                                 //  It automatically enables Config.AutoBuild.Verbose
  584. }
Add Comment
Please, Sign In to add comment