Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 8th, 2012  |  syntax: JavaScript  |  size: 15.99 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // Paladin 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.Wait = false; // Idle until the player that received BO leaves.
  23.  
  24.         // Team MF system
  25.         Config.MFLeader = false; // Set to true if you have one or more MFHelpers. Opens TP and gives commands when doing normal MF runs.
  26.  
  27.         // Boss/area scripts
  28.  
  29.         // *** act 1 ***
  30.         Scripts.Corpsefire = false;
  31.                 Config.Corpsefire.ClearDen = false;
  32.         Scripts.Mausoleum = false;
  33.                 Config.Mausoleum.KillBloodRaven = false;
  34.                 Config.Mausoleum.ClearCrypt = true;
  35.         Scripts.Rakanishu = false;
  36.                 Config.Rakanishu.KillGriswold = true;
  37.         Scripts.Coldcrow = false;
  38.         Scripts.Tristram = false;
  39.         Scripts.Pit = true;
  40.                 Config.Pit.ClearPit1 = true;
  41.         Scripts.Treehead = false;
  42.         Scripts.Smith = false;
  43.         Scripts.BoneAsh = false;
  44.         Scripts.Countess = true;
  45.                 Config.Countess.KillGhosts = false;
  46.         Scripts.Andariel = true;
  47.         Scripts.Cows = false;
  48.  
  49.         // *** act 2 ***
  50.         Scripts.Radament = false;
  51.         Scripts.AncientTunnels = false;
  52.         Scripts.Summoner = true;
  53.         Scripts.Tombs = false;
  54.         Scripts.Duriel = false;
  55.  
  56.         // *** act 3 ***
  57.         Scripts.Stormtree = false;
  58.         Scripts.KurastChests = true;
  59.                 Config.KurastChests.LowerKurast = true;
  60.                 Config.KurastChests.Bazaar = true;
  61.                 Config.KurastChests.Sewers1 = true;
  62.                 Config.KurastChests.Sewers2 = true;
  63.         Scripts.KurastTemples = false;
  64.         Scripts.Icehawk = false;
  65.         Scripts.Endugu = false;
  66.         Scripts.Travincal = true;
  67.         Scripts.Mephisto = true;
  68.                 Config.Mephisto.MoatTrick = false;
  69.                 Config.Mephisto.KillCouncil = true;
  70.  
  71.         // *** act 4 ***
  72.         Scripts.Izual = false;
  73.         Scripts.Hephasto = false;
  74.         Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only.
  75.         Scripts.FastDiablo = false;
  76.         Scripts.Diablo = true;
  77.                 Config.Diablo.Entrance = true; // Start from entrance
  78.                 Config.Diablo.SealWarning = "Leave the seals alone!";
  79.                 Config.Diablo.EntranceTP = "Entrance TP up";
  80.                 Config.Diablo.StarTP = "Star TP up";
  81.  
  82.         // *** act 5 ***
  83.         Scripts.Pindleskin = true;
  84.                 Config.Pindleskin.UseWp = false; // Use Halls of Pain Wp instead of Anyas Red Portal
  85.                 Config.Pindleskin.KillNihlathak = false;
  86.                 Config.Pindleskin.ViperQuit = false; // End script if Tomb Vipers are found.
  87.         Scripts.Nihlathak = false;
  88.                 Config.Nihlathak.ViperQuit = false; // End script if Tomb Vipers are found.
  89.         Scripts.Eldritch = true;
  90.                 Config.Eldritch.OpenChest = true;
  91.                 Config.Eldritch.KillShenk = true;
  92.                 Config.Eldritch.KillDacFarren = true;
  93.         Scripts.Eyeback = false;
  94.         Scripts.ThreshSocket = false;
  95.         Scripts.Abaddon = false;
  96.         Scripts.Frozenstein = false;
  97.                 Config.Frozenstein.ClearFrozenRiver = true;
  98.         Scripts.Bonesaw = false;
  99.         Scripts.Snapchip = false;
  100.                 Config.Snapchip.ClearIcyCellar = true;
  101.         Scripts.Baal = false;
  102.                 Config.Baal.HotTPMsg = "Hot TP!";
  103.                 Config.Baal.SafeTPMsg = "TP safe!";
  104.                 Config.Baal.BaalMsg = "Baal";
  105.                 Config.Baal.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  106.                 Config.Baal.KillBaal = true; // Kill Baal. Leaves game after wave 5 if false.
  107.  
  108.         /* ### leeching section ###
  109.         * Unless stated otherwise, leader's character name isn't needed on order to run.
  110.         * Don't use more scripts of the same type! (Run AutoBaal OR BaalHelper, not both)
  111.         */
  112.  
  113.         Scripts.MFHelper = false; // Run the same MF run as the MFLeader. Leader must have Config.MFLeader = true
  114.         Scripts.Wakka = false; // Walking chaos leecher with auto leader assignment, stays at safe distance from the leeader
  115.         Scripts.DiabloHelper = false; // Chaos helper, kills monsters and doesn't open seals on its own.
  116.                 Config.DiabloHelper.Entrance = true; // Start from entrance
  117.         Scripts.AutoBaal = false; // Baal leecher with auto leader assignment
  118.                 Config.AutoBaal.FindShrine = false; // Find shrine when hot tp message is sent. You can change messages in AutoBaal.js
  119.         Scripts.BaalHelper = false;
  120.                 Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
  121.                 Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
  122.                 Config.BaalHelper.DollQuit = false;  // End script if Dolls (Undead Soul Killers) are found.
  123.         Scripts.Follower = false; // Script that follows a manually played leader around like a merc. For a list of commands, see Follower.js
  124.                 Config.Follower.Leader = ""; // Leader's ingame name. This only applies to Follower script
  125.  
  126.         Config.QuitList = []; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];
  127.  
  128.         // *** special scripts ***
  129.         Scripts.Rusher = false; // Rush bot alpha version (no questing yet, only rushing), for a list of commands, see Rusher.js
  130.         Scripts.CrushTele = false; // classic rush teleporter. go to area of interest and press "-" numpad key
  131.         Scripts.Questing = false; // solves missing quests (skill/stat+shenk)
  132.         Scripts.Gamble = false; // Gambling system, other characters will mule gold into your game so you can gamble infinitely. See Gambling.js
  133.         Scripts.GhostBusters = false; // Kill ghosts in most areas that contain them
  134.         Scripts.Enchant = false;
  135.                 Config.Enchant.Trigger = ".chant";
  136.                 Config.Enchant.GameLength = 20; // Game length in minutes
  137.         Scripts.IPHunter = false;
  138.                 Config.IPHunter.IPList = []; // List of IPs to look for. example: [165, 201, 64]
  139.                 Config.IPHunter.GameLength = 3; // Number of minutes to stay in game if ip wasn't found
  140.         Scripts.ShopBot = false; // Fast waypoint-based shopbot, alpha version
  141.                 Config.ShopBot.ShopNPC = "Anya"; // Only Anya for now
  142.                 // Scan only selected classids for maximum speed. See libs/config/templates/ShopBot.txt
  143.                 Config.ShopBot.ScanIDs = [187, 188, 194, 195, 326, 327, 338, 373, 397, 443, 449];
  144.  
  145.         // Town settings
  146.         Config.HealHP = 90; // Go to a healer if under designated percent of life.
  147.         Config.HealMP = 0; // Go to a healer if under designated percent of mana.
  148.         Config.UseMerc = true; // Use merc. This is ignored and always false in d2classic.
  149.         Config.MercWatch = true; // Instant merc revive during battle.
  150.  
  151.         // Potion settings
  152.         Config.UseHP = 85; // Drink a healing potion if life is under designated percent.
  153.         Config.UseRejuvHP = 45;  // Drink a rejuvenation potion if life is under designated percent.
  154.         Config.UseMP = 30; // Drink a mana potion if mana is under designated percent.
  155.         Config.UseRejuvMP = 0; // Drink a rejuvenation potion if mana is under designated percent.
  156.         Config.UseMercHP = 50; // Give a healing potion to your merc if his/her life is under designated percent.
  157.         Config.UseMercRejuv = 30; // Give a rejuvenation potion to your merc if his/her life is under designated percent.
  158.         Config.RejuvBuffer = 0; // Number of rejuvenation potions to keep in inventory.
  159.  
  160.         // Chicken settings
  161.         Config.LifeChicken = 20; // Exit game if life is less or equal to designated percent.
  162.         Config.ManaChicken = 0; // Exit game if mana is less or equal to designated percent.
  163.         Config.MercChicken = 0; // Exit game if merc's life is less or equal to designated percent.
  164.         Config.TownHP = 0; // Go to town if life is under designated percent.
  165.         Config.TownMP = 0; // Go to town if mana is under designated percent.
  166.  
  167.         /* Inventory lock configuration. !!!READ CAREFULLY!!!
  168.          * 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.
  169.          * Put 0s where your torch, annihilus and everything else you want to KEEP is.
  170.          * 1 = item is unlocked and will be dropped, stashed or sold.
  171.          * If you don't change the default values, the bot won't stash items.
  172.          */
  173.         Config.Inventory[0] = [0,1,1,1,1,1,0,0,0,0];
  174.         Config.Inventory[1] = [0,1,1,1,1,1,0,0,0,0];
  175.         Config.Inventory[2] = [0,1,1,1,1,1,0,0,0,0];
  176.         Config.Inventory[3] = [0,1,1,1,1,1,0,0,0,0];
  177.  
  178.         Config.StashGold = 100000; // Minimum amount of gold to stash.
  179.  
  180.         /* Potion types for belt columns from left to right.
  181.          * Rejuvenation potions must always be rightmost.
  182.          * Supported potions - Healing ("hp"), Mana ("mp") and Rejuvenation ("rv")
  183.          */
  184.         Config.BeltColumn[0] = "hp";
  185.         Config.BeltColumn[1] = "mp";
  186.         Config.BeltColumn[2] = "rv";
  187.         Config.BeltColumn[3] = "rv";
  188.  
  189.         /* Minimum amount of potions. If we have less, go to vendor to purchase more.
  190.          * Set rejuvenation columns to 0, because they can't be bought.
  191.          */
  192.         Config.MinColumn[0] = 1;
  193.         Config.MinColumn[1] = 1;
  194.         Config.MinColumn[2] = 0;
  195.         Config.MinColumn[3] = 0;
  196.  
  197.         // Pickit config
  198.         Config.PickitFiles.push("Unique.nip"); // Pickit filenames in /pickit/ folder
  199.         Config.PickitFiles.push("White.nip");
  200.         Config.PickitFiles.push("Gold Potions Runes Gems Essences Keys Organs.nip");
  201.         Config.PickitFiles.push("Charms.nip");
  202.         Config.PickRange = 40; // Pick radius
  203.         Config.FastPick = false; // Check and pick items between attacks
  204.  
  205.         // Item identification settings
  206.         Config.CainID.Enable = false; // Identify items at Cain
  207.         Config.CainID.MinGold = 2500000; // Minimum gold (stash + character) to have in order to use Cain.
  208.         Config.CainID.MinUnids = 3; // Minimum number of unid items in order to use Cain.
  209.         Config.FieldID = true; // Identify items in the field instead of going to town.
  210.  
  211.         // Gambling config
  212.         Config.Gamble = false;
  213.         Config.GambleGoldStart = 1000000;
  214.         Config.GambleGoldStop = 500000;
  215.        
  216.         // Check libs/NTItemAlias.dbl file for other item classids
  217.         Config.GambleItems.push(520); // Amulet
  218.         Config.GambleItems.push(522); // Ring
  219.         Config.GambleItems.push(418); // Circlet
  220.         Config.GambleItems.push(419); // Coronet
  221.        
  222.         // Cubing config. All recipes are available in Templates/Cubing.txt
  223.         Config.Cubing = true; // Set to true to enable cubing.
  224.  
  225.         // Cubing Gems & Skulls into perfects
  226.         //Config.Recipes.push([Recipe.Gem, 560]); // Flawless Amethyst -> Perfect Amethyst
  227.         //Config.Recipes.push([Recipe.Gem, 565]); // Flawless Topaz -> Perfect Topaz
  228.         //Config.Recipes.push([Recipe.Gem, 570]); // Flawless Sapphire -> Perfect Sapphire
  229.         //Config.Recipes.push([Recipe.Gem, 575]); // Flawless Emerald -> Perfect Emerald
  230.         //Config.Recipes.push([Recipe.Gem, 580]); // Flawless Ruby -> Perfect Ruby
  231.         //Config.Recipes.push([Recipe.Gem, 585]); // Flawless Diamond -> Perfect Diamond
  232.         Config.Recipes.push([Recipe.Gem, 600]); // Flawless Skull -> Perfect Skull
  233.        
  234.         // All ingredients will be auto-picked, for classids check libs/NTItemAlias.dbl
  235.         //Config.Recipes.push([Recipe.Rune, 630]); // pul -> um
  236.         //Config.Recipes.push([Recipe.Rune, 631]); // um -> mal
  237.         //Config.Recipes.push([Recipe.Rune, 632]); // mal -> ist
  238.         //Config.Recipes.push([Recipe.Rune, 633]); // ist -> gul
  239.         //Config.Recipes.push([Recipe.Rune, 634]); // gul -> vex
  240.  
  241.         //Config.Recipes.push([Recipe.Caster.Amulet]); // Craft Caster Amulet
  242.         //Config.Recipes.push([Recipe.Blood.Ring]); // Craft Blood Ring
  243.         //Config.Recipes.push([Recipe.Blood.Helm, 424]); // Craft Blood Armet
  244.         //Config.Recipes.push([Recipe.HitPower.Glove, 452]); // Craft Hit Power Vambraces
  245.  
  246.         //Config.Recipes.push([Recipe.Reroll.Magic, 421]); // Reroll magic Diadem
  247.         //Config.Recipes.push([Recipe.Reroll.Rare, 421]); // Reroll rare Diadem
  248.  
  249.         // Base item must be in the pickit, rest is auto-picked
  250.         //Config.Recipes.push([Recipe.Socket.Weapon, 255]); // Socket Thresher
  251.         //Config.Recipes.push([Recipe.Socket.Weapon, 256]); // Socket Cryptic Axe
  252.         //Config.Recipes.push([Recipe.Socket.Armor, 442]); // Socket Sacred Armor
  253.         //Config.Recipes.push([Recipe.Socket.Armor, 443]); // Socket Archon Plate
  254.  
  255.         /* Runeword config. All recipes are available in Templates/Runewords.txt
  256.          * !!!NOTE!!! enhanced damage and enhanced defense on runewords are broken in the core right now
  257.          * Keep lines follow pickit format and any given runeword is tested vs ALL lines so you don't need to repeat them
  258.          */
  259.         Config.MakeRunewords = false; // Set to true to enable runeword making/rerolling
  260.  
  261.         Config.Runewords.push([Runeword.Insight, 255]); // Thresher
  262.         Config.Runewords.push([Runeword.Insight, 256]); // Cryptic Axe
  263.  
  264.         Config.KeepRunewords.push("[type] == polearm # [meditationaura] == 17");
  265.  
  266.         Config.Runewords.push([Runeword.Spirit, 447]); // Monarch
  267.         Config.Runewords.push([Runeword.Spirit, 498]); // Sacred Targe
  268.  
  269.         Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] == 35");
  270.  
  271.         // General config
  272.         Config.PublicMode = 1; // 1 = invite, 2 = accept, 0 = disable
  273.         Config.LastMessage = "forever Games! Join the next game for max EXP!"; // Message to say at the end of the run.
  274.         Config.ShitList = false; // Blacklist hostile players so they don't get invited to party.
  275.         Config.MinGameTime = 180; // Min game time in seconds. Bot will stay in game if the run is completed before.
  276.         Config.MaxGameTime = 0; // Maximum game time in seconds. Quit game when limit is reached.
  277.         Config.TeleSwitch = false; // Switch to slot II when teleporting more than 1 node.
  278.         Config.OpenChests = true; // Open chests. Controls key buying.
  279.         Config.MiniShopBot = true; // Scan items in NPC shops.
  280.         Config.TownCheck = true; // Go to town if out of potions
  281.         Config.LogExperience = true; // Print experience statistics in the manager.
  282.  
  283.         // Anti-hostile config
  284.         Config.AntiHostile = false; // Enable anti-hostile
  285.         Config.HostileAction = 2; // 0 - quit immediately, 1 - quit when hostile player is sighted, 2 - attack hostile
  286.  
  287.         // DClone config
  288.         Config.StopOnDClone = false; // Go to town and idle as soon as Diablo walks the Earth
  289.         Config.SoJWaitTime = 5; // Time in minutes to wait for another SoJ sale before leaving game. 0 = disabled
  290.  
  291.         // Monster skip config
  292.         // Skip immune monsters. Possible options: "fire", "cold", "lightning", "poison", "physical", "magic".
  293.         // You can combine multiple resists with "and", for example - "fire and cold", "physical and cold and poison"
  294.         Config.SkipImmune = [];
  295.         // 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".
  296.         // You can combine multiple enchantments with "and", for example - "cursed and extra fast", "mana burn and extra strong and lightning enchanted"
  297.         Config.SkipEnchant = [];
  298.         // Skip monsters with auras. Possible options: "fanaticism", "might", "holy fire", "blessed aim", "holy freeze", "holy shock". Conviction is bugged, don't use it.
  299.         Config.SkipAura = [];
  300.  
  301.         /* Attack config
  302.          * To disable an attack, set it to -1
  303.          * Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM
  304.          */
  305.         Config.AttackSkill[0] = 0; // Preattack skill.
  306.         Config.AttackSkill[1] = 112; // Primary skill to bosses.
  307.         Config.AttackSkill[2] = 113; // Primary aura to bosses
  308.         Config.AttackSkill[3] = 112; // Primary skill to others.
  309.         Config.AttackSkill[4] = 113; // Primary aura to others.
  310.         Config.AttackSkill[5] = 101; // Secondary skill if monster is immune to primary.
  311.         Config.AttackSkill[6] = 113; // Secondary aura.
  312.  
  313.         Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing
  314.         Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  315.  
  316.         // Class specific config
  317.         Config.AvoidDolls = true; // Try to attack Soul Killers from a greater distance with hammerdins.
  318.         Config.Vigor = true; // Swith to Vigor when running
  319.         Config.Redemption = [50, 50]; // Switch to Redemption after clearing an area if under designated life or mana. Format: [lifepercent, manapercent]
  320. }