Advertisement
kolton

Untitled

May 24th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.91 KB | None | 0 0
  1. // Assassin 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 = false;
  35. Scripts.Rakanishu = false;
  36. Config.Rakanishu.KillGriswold = true;
  37. Scripts.Coldcrow = false;
  38. Scripts.Tristram = false;
  39. Scripts.Pit = false;
  40. Config.Pit.ClearPit1 = true;
  41. Scripts.Treehead = false;
  42. Scripts.Smith = false;
  43. Scripts.BoneAsh = false;
  44. Scripts.Countess = false;
  45. Config.Countess.KillGhosts = false;
  46. Scripts.Andariel = false;
  47. Scripts.Cows = false;
  48.  
  49. // *** act 2 ***
  50. Scripts.Radament = false;
  51. Scripts.AncientTunnels = false;
  52. Scripts.Summoner = false;
  53. Scripts.Tombs = false;
  54. Scripts.Duriel = false;
  55.  
  56. // *** act 3 ***
  57. Scripts.Stormtree = false;
  58. Scripts.KurastChests = false;
  59. Config.KurastChests.LowerKurast = true;
  60. Config.KurastChests.Bazaar = false;
  61. Config.KurastChests.Sewers1 = false;
  62. Config.KurastChests.Sewers2 = false;
  63. Scripts.KurastTemples = false;
  64. Scripts.Icehawk = false;
  65. Scripts.Endugu = false;
  66. Scripts.Travincal = false;
  67. Scripts.Mephisto = false;
  68. Config.Mephisto.MoatTrick = false;
  69. Config.Mephisto.KillCouncil = false;
  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 = false;
  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 = false;
  84. Config.Pindleskin.KillNihlathak = true;
  85. Config.Pindleskin.ViperQuit = false; // End script if Tomb Vipers are found.
  86. Scripts.Nihlathak = false;
  87. Config.Nihlathak.ViperQuit = false; // End script if Tomb Vipers are found.
  88. Scripts.Eldritch = false;
  89. Config.Eldritch.OpenChest = true;
  90. Config.Eldritch.KillShenk = true;
  91. Config.Eldritch.KillDacFarren = true;
  92. Scripts.Eyeback = false;
  93. Scripts.ThreshSocket = false;
  94. Scripts.Abaddon = false;
  95. Scripts.Frozenstein = false;
  96. Config.Frozenstein.ClearFrozenRiver = true;
  97. Scripts.Bonesaw = false;
  98. Scripts.Snapchip = false;
  99. Config.Snapchip.ClearIcyCellar = true;
  100. Scripts.Baal = true;
  101. Config.Baal.HotTPMsg = "Hot TP!";
  102. Config.Baal.SafeTPMsg = "TP safe!";
  103. Config.Baal.BaalMsg = "Baal";
  104. Config.Baal.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  105.  
  106. /* ### leeching section ###
  107. * Unless stated otherwise, leader's character name isn't needed on order to run.
  108. * Don't use more scripts of the same type! (Run AutoBaal OR BaalHelper, not both)
  109. */
  110.  
  111. Scripts.MFHelper = false; // Run the same MF run as the MFLeader. Leader must have Config.MFLeader = true
  112. Scripts.Wakka = false; // Walking chaos leecher with auto leader assignment, stays at safe distance from the leeader
  113. Scripts.DiabloHelper = false; // Chaos helper, kills monsters and doesn't open seals on its own.
  114. Config.DiabloHelper.Entrance = true; // Start from entrance
  115. Scripts.AutoBaal = false; // Baal leecher with auto leader assignment
  116. Config.AutoBaal.FindShrine = false; // Find shrine when hot tp message is sent. You can change messages in AutoBaal.js
  117. Scripts.BaalHelper = false;
  118. Config.BaalHelper.KillNihlathak = false; // Kill Nihlathak before going to Throne
  119. Config.BaalHelper.FastChaos = false; // Kill Diablo before going to Throne
  120. Config.BaalHelper.DollQuit = false; // End script if Dolls (Undead Soul Killers) are found.
  121. Scripts.Follower = false; // Script that follows a manually played leader around like a merc. For a list of commands, see Follower.js
  122. Config.Follower.Leader = ""; // Leader's ingame name. This only applies to Follower script
  123.  
  124. Config.QuitList = []; // List of character names to quit with. Example: Config.QuitList = ["MySorc", "MyDin"];
  125.  
  126. // *** special scripts ***
  127. Scripts.Rusher = false; // Rush bot alpha version (no questing yet, only rushing), for a list of commands, see Rusher.js
  128. Scripts.CrushTele = false; // classic rush teleporter. go to area of interest and press "-" numpad key
  129. Scripts.Questing = false; // solves missing quests (skill/stat+shenk)
  130. Scripts.Gamble = false; // Gambling system, other characters will mule gold into your game so you can gamble infinitely. See Gambling.js
  131. Scripts.GhostBusters = false; // Kill ghosts in most areas that contain them
  132. Scripts.Enchant = false;
  133. Config.Enchant.Trigger = ".chant";
  134. Config.Enchant.GameLength = 20; // Game length in minutes
  135. Scripts.IPHunter = false;
  136. Config.IPHunter.IPList = []; // List of IPs to look for. example: [165, 201, 64]
  137. Config.IPHunter.GameLength = 3; // Number of minutes to stay in game if ip wasn't found
  138. Scripts.ShopBot = false; // Fast waypoint-based shopbot, alpha version
  139. Config.ShopBot.ShopNPC = "Anya"; // Only Anya for now
  140. // Scan only selected classids for maximum speed. See libs/config/templates/ShopBot.txt
  141. Config.ShopBot.ScanIDs = [187, 188, 194, 195, 326, 327, 338, 373, 397, 443, 449];
  142.  
  143. getPacket(1, 0x1d, 1, 105, 1, 255);
  144.  
  145. // Town settings
  146. Config.HealHP = 50; // 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 = false; // Instant merc revive during battle.
  150.  
  151. // Potion settings
  152. Config.UseHP = 80; // Drink a healing potion if life is under designated percent.
  153. Config.UseRejuvHP = 75; // 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 = 45; // Give a healing potion to your merc if his/her life is under designated percent.
  157. Config.UseMercRejuv = 0; // 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 = 65; // 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 = 70; // 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] = [1,1,1,1,0,0,0,0,0,0];
  174. Config.Inventory[1] = [1,1,1,1,0,0,0,0,0,0];
  175. Config.Inventory[2] = [1,1,1,1,0,0,0,0,0,0];
  176. Config.Inventory[3] = [1,1,1,1,0,0,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] = 2;
  193. Config.MinColumn[1] = 2;
  194. Config.MinColumn[2] = 0;
  195. Config.MinColumn[3] = 0;
  196.  
  197. // Pickit config
  198. Config.PickitFiles.push("kolton.nip"); // Pickit filenames in /pickit/ folder
  199. Config.PickitFiles.push("LLD.nip");
  200. Config.PickRange = 80; // Pick radius
  201. Config.FastPick = true; // Check and pick items between attacks
  202.  
  203. // Item identification settings
  204. Config.CainID.Enable = true; // Identify items at Cain
  205. Config.CainID.MinGold = 2500000; // Minimum gold (stash + character) to have in order to use Cain.
  206. Config.CainID.MinUnids = 1; // Minimum number of unid items in order to use Cain.
  207. Config.FieldID = false; // Identify items in the field instead of going to town.
  208.  
  209. // Gambling config
  210. Config.Gamble = false;
  211. Config.GambleGoldStart = 1000000;
  212. Config.GambleGoldStop = 500000;
  213.  
  214. // Check libs/NTItemAlias.dbl file for other item classids
  215. Config.GambleItems.push(520); // Amulet
  216. Config.GambleItems.push(522); // Ring
  217. Config.GambleItems.push(418); // Circlet
  218. Config.GambleItems.push(419); // Coronet
  219.  
  220. // Cubing config. All recipes are available in Templates/Cubing.txt
  221. Config.Cubing = false; // Set to true to enable cubing.
  222.  
  223. // All ingredients will be auto-picked, for classids check libs/NTItemAlias.dbl
  224. Config.Recipes.push([Recipe.Rune, 630]); // pul -> um
  225. Config.Recipes.push([Recipe.Rune, 631]); // um -> mal
  226. Config.Recipes.push([Recipe.Rune, 632]); // mal -> ist
  227. Config.Recipes.push([Recipe.Rune, 633]); // ist -> gul
  228. Config.Recipes.push([Recipe.Rune, 634]); // gul -> vex
  229.  
  230. Config.Recipes.push([Recipe.Caster.Amulet]); // Craft Caster Amulet
  231. Config.Recipes.push([Recipe.Blood.Ring]); // Craft Blood Ring
  232. Config.Recipes.push([Recipe.Blood.Helm, 424]); // Craft Blood Armet
  233. Config.Recipes.push([Recipe.HitPower.Glove, 452]); // Craft Hit Power Vambraces
  234.  
  235. Config.Recipes.push([Recipe.Reroll.Magic, 421]); // Reroll magic Diadem
  236. Config.Recipes.push([Recipe.Reroll.Rare, 421]); // Reroll rare Diadem
  237.  
  238. // Base item must be in the pickit, rest is auto-picked
  239. Config.Recipes.push([Recipe.Socket.Weapon, 255]); // Socket Thresher
  240. Config.Recipes.push([Recipe.Socket.Weapon, 256]); // Socket Cryptic Axe
  241. Config.Recipes.push([Recipe.Socket.Armor, 442]); // Socket Sacred Armor
  242. Config.Recipes.push([Recipe.Socket.Armor, 443]); // Socket Archon Plate
  243.  
  244. /* Runeword config. All recipes are available in Templates/Runewords.txt
  245. * !!!NOTE!!! enhanced damage and enhanced defense on runewords are broken in the core right now
  246. * Keep lines follow pickit format and any given runeword is tested vs ALL lines so you don't need to repeat them
  247. */
  248. Config.MakeRunewords = false; // Set to true to enable runeword making/rerolling
  249.  
  250. Config.Runewords.push([Runeword.Insight, 255]); // Thresher
  251. Config.Runewords.push([Runeword.Insight, 256]); // Cryptic Axe
  252.  
  253. Config.KeepRunewords.push("[type] == polearm # [meditationaura] == 17");
  254.  
  255. Config.Runewords.push([Runeword.Spirit, 447]); // Monarch
  256. Config.Runewords.push([Runeword.Spirit, 498]); // Sacred Targe
  257.  
  258. Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] == 35");
  259.  
  260. // General config
  261. Config.PublicMode = 1; // 1 = invite, 2 = accept, 0 = disable
  262. Config.LastMessage = ""; // Message to say at the end of the run.
  263. Config.ShitList = true; // Blacklist hostile players so they don't get invited to party.
  264. Config.MinGameTime = 60; // Min game time in seconds. Bot will stay in game if the run is completed before.
  265. Config.MaxGameTime = 0; // Maximum game time in seconds. Quit game when limit is reached.
  266. Config.TeleSwitch = false; // Switch to slot II when teleporting more than 1 node.
  267. Config.OpenChests = false; // Open chests. Controls key buying.
  268. Config.MiniShopBot = true; // Scan items in NPC shops.
  269. Config.TownCheck = true; // Go to town if out of potions
  270. Config.LogExperience = true; // Print experience statistics in the manager.
  271.  
  272. // Anti-hostile config
  273. Config.AntiHostile = true; // Enable anti-hostile
  274. Config.HostileAction = 0; // 0 - quit immediately, 1 - quit when hostile player is sighted, 2 - attack hostile
  275.  
  276. // DClone config
  277. Config.StopOnDClone = true; // Go to town and idle as soon as Diablo walks the Earth
  278. Config.SoJWaitTime = 10; // Time in minutes to wait for another SoJ sale before leaving game. 0 = disabled
  279.  
  280. // Monster skip config
  281. // Skip immune monsters. Possible options: "fire", "cold", "lightning", "poison", "physical", "magic".
  282. // You can combine multiple resists with "and", for example - "fire and cold", "physical and cold and poison"
  283. Config.SkipImmune = [];
  284. // 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".
  285. // You can combine multiple enchantments with "and", for example - "cursed and extra fast", "mana burn and extra strong and lightning enchanted"
  286. Config.SkipEnchant = [];
  287. // Skip monsters with auras. Possible options: "fanaticism", "might", "holy fire", "blessed aim", "holy freeze", "holy shock". Conviction is bugged, don't use it.
  288. Config.SkipAura = [];
  289.  
  290. /* Attack config
  291. * To disable an attack, set it to -1
  292. * Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM
  293. * Don't put traps here! Use Config. UseTraps, Config.Traps and Config.BossTraps
  294. */
  295. Config.AttackSkill[0] = -1; // Preattack skill.
  296. Config.AttackSkill[1] = 256; // Primary skill to bosses.
  297. Config.AttackSkill[2] = 251; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
  298. Config.AttackSkill[3] = 256; // Primary skill to others.
  299. Config.AttackSkill[4] = 251; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[3] is untimed skill.
  300. Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
  301. Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.
  302.  
  303. Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing
  304. Config.ClearType = 0xF; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
  305.  
  306. // Class specific config
  307. Config.UseTraps = true; // Set to true to use traps
  308. Config.Traps = [271, 271, 271, 276, 276]; // Skill IDs for traps to be cast on all mosters except act bosses.
  309. Config.BossTraps = [271, 271, 271, 271, 271]; // Skill IDs for traps to be cast on act bosses.
  310.  
  311. Config.SummonShadow = "Master"; // 0 = don't summon, 1 or "Warrior" = summon Shadow Warrior, 2 or "Master" = summon Shadow Master
  312. Config.UseFade = true; // Set to true to use Fade prebuff.
  313. Config.UseBoS = false; // Set to true to use Burst of Speed prebuff. TODO: Casting in town + UseFade compatibility
  314. Config.UseVenom = false; // Set to true to use Venom prebuff. Set to false if you don't have the skill and have Arachnid Mesh - it will cause connection drop otherwise.
  315. Config.UseCloakofShadows = true; // Set to true to use Cloak of Shadows while fighting. Useful for blinding regular monsters/minions.
  316. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement