Advertisement
kolton

Untitled

Sep 3rd, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.99 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. Scripts.Test = 0;
  17. // User addon script. Read the description in libs/bots/UserAddon.js
  18. Scripts.UserAddon = false; // !!!YOU MUST SET THIS TO FALSE IF YOU WANT TO RUN BOSS/AREA SCRIPTS!!!
  19.  
  20. // Battle orders script - Use this for 2+ characters (for example BO barb + sorc)
  21. Scripts.BattleOrders = false;
  22. Config.BattleOrders.Mode = 0; // 0 = give BO, 1 = get BO
  23. Config.BattleOrders.Wait = false; // Idle until the player that received BO leaves.
  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 = false;
  35. Config.Mausoleum.ClearCrypt = true;
  36. Scripts.Rakanishu = false;
  37. Config.Rakanishu.KillGriswold = true;
  38. Scripts.Coldcrow = false;
  39. Scripts.Tristram = false;
  40. Scripts.Pit = false;
  41. Config.Pit.ClearPit1 = true;
  42. Scripts.Treehead = false;
  43. Scripts.Smith = false;
  44. Scripts.BoneAsh = false;
  45. Scripts.Countess = true;
  46. Config.Countess.KillGhosts = true;
  47. Scripts.Andariel = false;
  48. Scripts.Cows = false;
  49.  
  50. // *** act 2 ***
  51. Scripts.Radament = false;
  52. Scripts.AncientTunnels = true;
  53. Scripts.Summoner = true;
  54. Config.Summoner.FireEye = false; // Kill Fire Eye
  55. Scripts.Tombs = false;
  56. Scripts.Duriel = false;
  57.  
  58. // *** act 3 ***
  59. Scripts.Stormtree = false;
  60. Scripts.KurastChests = true;
  61. Config.KurastChests.LowerKurast = true;
  62. Config.KurastChests.Bazaar = true;
  63. Config.KurastChests.Sewers1 = false;
  64. Config.KurastChests.Sewers2 = true;
  65. Scripts.KurastTemples = 0;
  66. Scripts.Icehawk = false;
  67. Scripts.Endugu = false;
  68. Scripts.Travincal = false;
  69. Scripts.Mephisto = false;
  70. Config.Mephisto.MoatTrick = false;
  71. Config.Mephisto.KillCouncil = false;
  72.  
  73. // *** act 4 ***
  74. Scripts.Izual = false;
  75. Scripts.Hephasto = false;
  76. Scripts.Vizier = false; // Intended for classic sorc, kills Vizier only.
  77. Scripts.FastDiablo = false;
  78. Scripts.Diablo = false;
  79. Config.Diablo.Entrance = true; // Start from entrance
  80. Config.Diablo.SealWarning = "Leave the seals alone!";
  81. Config.Diablo.EntranceTP = "Entrance TP up";
  82. Config.Diablo.StarTP = "Star TP up";
  83.  
  84. // *** act 5 ***
  85. Scripts.Pindleskin = true;
  86. Config.Pindleskin.KillNihlathak = true;
  87. Config.Pindleskin.ViperQuit = true; // End script if Tomb Vipers are found.
  88. Scripts.Nihlathak = false;
  89. Config.Nihlathak.ViperQuit = false; // End script if Tomb Vipers are found.
  90. Scripts.Eldritch = false;
  91. Config.Eldritch.OpenChest = true;
  92. Config.Eldritch.KillShenk = true;
  93. Config.Eldritch.KillDacFarren = true;
  94. Scripts.Eyeback = false;
  95. Scripts.ThreshSocket = false;
  96. Scripts.Abaddon = false;
  97. Scripts.Frozenstein = false;
  98. Config.Frozenstein.ClearFrozenRiver = true;
  99. Scripts.Bonesaw = false;
  100. Scripts.Snapchip = false;
  101. Config.Snapchip.ClearIcyCellar = true;
  102. Scripts.Baal = false;
  103. Config.Baal.HotTPMsg = "Hot TP!";
  104. Config.Baal.SafeTPMsg = "TP safe!";
  105. Config.Baal.BaalMsg = "Baal";
  106. Config.Baal.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  107. Config.Baal.KillBaal = true; // Kill Baal. Leaves game after wave 5 if false.
  108.  
  109. /* ### leeching section ###
  110. * Unless stated otherwise, leader's character name isn't needed on order to run.
  111. * Don't use more scripts of the same type! (Run AutoBaal OR BaalHelper, not both)
  112. */
  113.  
  114. Scripts.MFHelper = false; // Run the same MF run as the MFLeader. Leader must have Config.MFLeader = true
  115. Scripts.Wakka = false; // Walking chaos leecher with auto leader assignment, stays at safe distance from the leeader
  116. Scripts.DiabloHelper = false; // Chaos helper, kills monsters and doesn't open seals on its own.
  117. Config.DiabloHelper.Entrance = true; // Start from entrance
  118. Scripts.AutoBaal = false; // Baal leecher with auto leader assignment
  119. Config.AutoBaal.FindShrine = false; // Find shrine when hot tp message is sent. You can change messages in AutoBaal.js
  120. Scripts.BaalHelper = false;
  121. Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
  122. Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
  123. Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  124. Config.BaalHelper.KillBaal = true; // Kill Baal. If set to false, you must configure Config.QuitList or the bot will wait indefinitely.
  125. Scripts.Follower = false; // Script that follows a manually played leader around like a merc. For a list of commands, see Follower.js
  126. Config.Follower.Leader = ""; // Leader's ingame name. This only applies to Follower script
  127.  
  128. Config.QuitList = []; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];
  129.  
  130. // *** special scripts ***
  131. Scripts.Rusher = false; // Rush bot alpha version (no questing yet, only rushing), for a list of commands, see Rusher.js
  132. Scripts.CrushTele = false; // classic rush teleporter. go to area of interest and press "-" numpad key
  133. Scripts.Questing = false; // solves missing quests (skill/stat+shenk)
  134. Scripts.Gamble = false; // Gambling system, other characters will mule gold into your game so you can gamble infinitely. See Gambling.js
  135. Scripts.GhostBusters = false; // Kill ghosts in most areas that contain them
  136. Scripts.Enchant = false;
  137. Config.Enchant.Triggers = ["chant", "cows", "wps"]; // Chat commands for enchant, cow level and waypoint giving
  138. Config.Enchant.GameLength = 20; // Game length in minutes
  139. Scripts.IPHunter = false;
  140. Config.IPHunter.IPList = []; // List of IPs to look for. example: [165, 201, 64]
  141. Config.IPHunter.GameLength = 3; // Number of minutes to stay in game if ip wasn't found
  142. Scripts.ShopBot = false; // Fast waypoint-based shopbot, alpha version
  143. Config.ShopBot.ShopNPC = "Anya"; // Only Anya for now
  144. // Scan only selected classids for maximum speed. See libs/config/templates/ShopBot.txt
  145. Config.ShopBot.ScanIDs = [187, 188, 194, 195, 326, 327, 338, 373, 397, 443, 449];
  146.  
  147. // Town settings
  148. Config.HealHP = 50; // Go to a healer if under designated percent of life.
  149. Config.HealMP = 0; // Go to a healer if under designated percent of mana.
  150. Config.UseMerc = true; // Use merc. This is ignored and always false in d2classic.
  151. Config.MercWatch = false; // Instant merc revive during battle.
  152.  
  153. // Potion settings
  154. Config.UseHP = 75; // Drink a healing potion if life is under designated percent.
  155. Config.UseRejuvHP = 40; // Drink a rejuvenation potion if life is under designated percent.
  156. Config.UseMP = 30; // Drink a mana potion if mana is under designated percent.
  157. Config.UseRejuvMP = 0; // Drink a rejuvenation potion if mana is under designated percent.
  158. Config.UseMercHP = 75; // Give a healing potion to your merc if his/her life is under designated percent.
  159. Config.UseMercRejuv = 0; // Give a rejuvenation potion to your merc if his/her life is under designated percent.
  160. Config.RejuvBuffer = 0; // Number of rejuvenation potions to keep in inventory.
  161.  
  162. // Chicken settings
  163. Config.LifeChicken = 30; // Exit game if life is less or equal to designated percent.
  164. Config.ManaChicken = 0; // Exit game if mana is less or equal to designated percent.
  165. Config.MercChicken = 0; // Exit game if merc's life is less or equal to designated percent.
  166. Config.TownHP = 50; // Go to town if life is under designated percent.
  167. Config.TownMP = 0; // Go to town if mana is under designated percent.
  168.  
  169. /* Inventory lock configuration. !!!READ CAREFULLY!!!
  170. * 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.
  171. * Put 0s where your torch, annihilus and everything else you want to KEEP is.
  172. * 1 = item is unlocked and will be dropped, stashed or sold.
  173. * If you don't change the default values, the bot won't stash items.
  174. */
  175. Config.Inventory[0] = [1,1,1,1,1,1,1,0,0,0];
  176. Config.Inventory[1] = [1,1,1,1,1,1,1,0,0,0];
  177. Config.Inventory[2] = [1,1,1,1,1,1,1,0,0,0];
  178. Config.Inventory[3] = [1,1,1,1,1,1,1,1,1,0];
  179.  
  180. Config.StashGold = 100000; // Minimum amount of gold to stash.
  181.  
  182. /* Potion types for belt columns from left to right.
  183. * Rejuvenation potions must always be rightmost.
  184. * Supported potions - Healing ("hp"), Mana ("mp") and Rejuvenation ("rv")
  185. */
  186. Config.BeltColumn[0] = "hp";
  187. Config.BeltColumn[1] = "mp";
  188. Config.BeltColumn[2] = "rv";
  189. Config.BeltColumn[3] = "rv";
  190.  
  191. /* Minimum amount of potions. If we have less, go to vendor to purchase more.
  192. * Set rejuvenation columns to 0, because they can't be bought.
  193. */
  194. Config.MinColumn[0] = 3;
  195. Config.MinColumn[1] = 3;
  196. Config.MinColumn[2] = 0;
  197. Config.MinColumn[3] = 0;
  198.  
  199. // Pickit config
  200. Config.PickitFiles.push("NL.nip"); // Pickit filenames in /pickit/ folder
  201. Config.PickitFiles.push("LLD.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 = false; // Identify items in the field instead of going to town.
  210.  
  211. // Gambling config
  212. Config.Gamble = true;
  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. // All ingredients will be auto-picked, for classids check libs/NTItemAlias.dbl
  226. //Config.Recipes.push([Recipe.Gem, 570]); // psapph
  227.  
  228. //Config.Recipes.push([Recipe.Rune, 630]); // pul -> um
  229. //Config.Recipes.push([Recipe.Rune, 631]); // um -> mal
  230. //Config.Recipes.push([Recipe.Rune, 632]); // mal -> ist
  231. //Config.Recipes.push([Recipe.Rune, 633]); // ist -> gul
  232. //Config.Recipes.push([Recipe.Rune, 634]); // gul -> vex
  233.  
  234. Config.Recipes.push([Recipe.Caster.Amulet]); // Craft Caster Amulet
  235. //Config.Recipes.push([Recipe.Caster.Boots, 385]); // Craft Caster Demonhide Boots
  236. Config.Recipes.push([Recipe.Blood.Ring]); // Craft Blood Ring
  237. //Config.Recipes.push([Recipe.Blood.Helm, 424]); // Craft Blood Armet
  238. //Config.Recipes.push([Recipe.HitPower.Glove, 452]); // Craft Hit Power Vambraces
  239.  
  240. //Config.Recipes.push([Recipe.Reroll.Magic, 421]); // Reroll magic Diadem
  241. //Config.Recipes.push([Recipe.Reroll.Rare, 421]); // Reroll rare Diadem
  242.  
  243. // Base item must be in the pickit, rest is auto-picked
  244. //Config.Recipes.push([Recipe.Socket.Weapon, 255]); // Socket Thresher
  245. //Config.Recipes.push([Recipe.Socket.Weapon, 256]); // Socket Cryptic Axe
  246. Config.Recipes.push([Recipe.Socket.Armor, 442]); // Socket Sacred Armor
  247. Config.Recipes.push([Recipe.Socket.Armor, 443]); // Socket Archon Plate
  248.  
  249. /* Runeword config. All recipes are available in Templates/Runewords.txt
  250. * !!!NOTE!!! enhanced damage and enhanced defense on runewords are broken in the core right now
  251. * Keep lines follow pickit format and any given runeword is tested vs ALL lines so you don't need to repeat them
  252. */
  253. Config.MakeRunewords = true; // Set to true to enable runeword making/rerolling
  254.  
  255. Config.Runewords.push([Runeword.HeartoftheOak, 21]); // Flail
  256.  
  257. Config.KeepRunewords.push("[name] == flail");
  258.  
  259. // General config
  260. Config.PublicMode = 0; // 1 = invite, 2 = accept, 0 = disable
  261. Config.LastMessage = ""; // Message to say at the end of the run.
  262. Config.ShitList = false; // Blacklist hostile players so they don't get invited to party.
  263. Config.MinGameTime = 60; // Min game time in seconds. Bot will stay in game if the run is completed before.
  264. Config.MaxGameTime = 0; // Maximum game time in seconds. Quit game when limit is reached.
  265. Config.TeleSwitch = false; // Switch to slot II when teleporting more than 1 node.
  266. Config.OpenChests = true; // Open chests. Controls key buying.
  267. Config.MiniShopBot = true; // Scan items in NPC shops.
  268. Config.TownCheck = false; // Go to town if out of potions
  269. Config.LogExperience = false; // Print experience statistics in the manager.
  270.  
  271. // Fastmod config
  272. Config.FCR = 255; // 0 - disable, 1 to 255 - set value of faster cast rate
  273. Config.FHR = 0; // 0 - disable, 1 to 255 - set value of faster hit recovery
  274. Config.FBR = 0; // 0 - disable, 1 to 255 - set value of faster block recovery
  275. Config.IAS = 0; // 0 - disable, 1 to 255 - set value of increased attack speed
  276. Config.PacketTeleport = true; // Use packets to teleport - no animation and max speed
  277.  
  278. // Anti-hostile config
  279. Config.AntiHostile = false; // Enable anti-hostile
  280. Config.HostileAction = 0; // 0 - quit immediately, 1 - quit when hostile player is sighted, 2 - attack hostile
  281.  
  282. // DClone config
  283. Config.StopOnDClone = true; // Go to town and idle as soon as Diablo walks the Earth
  284. Config.SoJWaitTime = 5; // Time in minutes to wait for another SoJ sale before leaving game. 0 = disabled
  285.  
  286. // Monster skip config
  287. // Skip immune monsters. Possible options: "fire", "cold", "lightning", "poison", "physical", "magic".
  288. // You can combine multiple resists with "and", for example - "fire and cold", "physical and cold and poison"
  289. Config.SkipImmune = [];
  290. // 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".
  291. // You can combine multiple enchantments with "and", for example - "cursed and extra fast", "mana burn and extra strong and lightning enchanted"
  292. Config.SkipEnchant = [];
  293. // Skip monsters with auras. Possible options: "fanaticism", "might", "holy fire", "blessed aim", "holy freeze", "holy shock". Conviction is bugged, don't use it.
  294. Config.SkipAura = [];
  295.  
  296. /* Attack config
  297. * To disable an attack, set it to -1
  298. * Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM
  299. */
  300. Config.AttackSkill[0] = -1; // Preattack skill.
  301. Config.AttackSkill[1] = 64; // Primary skill to bosses.
  302. Config.AttackSkill[2] = 48; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
  303. Config.AttackSkill[3] = 64; // Primary skill to others.
  304. Config.AttackSkill[4] = 48; // Primary untimed skill to others. Keep at -1 if Config.AttackSkill[3] is untimed skill.
  305. Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
  306. Config.AttackSkill[6] = 55; // Secondary untimed skill if monster is immune to primary untimed.
  307.  
  308. Config.Dodge = false; // Move away from monsters that get too close. Don't use with short-ranged attacks like Nova.
  309. Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing
  310. Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  311. Config.TeleStomp = false; // Use merc to attack bosses if they're immune to attacks, but not to physical damage
  312.  
  313. // Class specific config
  314. Config.CastStatic = 60; // Cast static until the target is at designated life percent. 100 = disabled.
  315. Config.StaticList = []; // List of monster NAMES to static. Example: Config.StaticList = ["Andariel", "Diablo", "Baal"];
  316. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement