Guest User

sorceress

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