Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.64 KB | None | 0 0
  1. var NTConfig_UseTraps;
  2. var NTConfig_UseFade;
  3. var NTConfig_UseBOS;
  4. var NTConfig_MinTrapRange;
  5. var NTConfig_MinBossTrapRange;
  6. var NTConfig_NumTraps;
  7. var NTConfig_NumBossTrap;
  8.  
  9. //=========================================================================================================
  10. // shop bot settings
  11. //=========================================================================================================
  12.  
  13. // false = for expansion, true = for classic (act 4 max)
  14. var is_D2C = false;
  15.  
  16. //just uncomment the shop_npcNumber.push that you wish to use. You can set bot to use as many as you want
  17.  
  18. var shop_npcNumber = new Array();
  19. //shop_npcNumber.push( 1 ); // Act 1: Akara
  20. //shop_npcNumber.push( 2 ); // Act 1: Charsi
  21. //shop_npcNumber.push( 3 ); // Act 1: Gheed
  22.  
  23. //shop_npcNumber.push( 4 ); // Act 2: Drognan
  24. //shop_npcNumber.push( 5 ); // Act 2: Fara
  25. //shop_npcNumber.push( 6 ); // Act 2: Elzix
  26.  
  27. //shop_npcNumber.push( 7 ); // Act 3: Ormus
  28. //shop_npcNumber.push( 8 ); // Act 3: Hratli
  29. //shop_npcNumber.push( 9 ); // Act 3: Asheara
  30.  
  31. //shop_npcNumber.push( 10 ); // Act 4: Jamella
  32. //shop_npcNumber.push( 11 ); // Act 4: Halbu
  33.  
  34. shop_npcNumber.push( 12 ); // Act 5: Anya
  35. //shop_npcNumber.push( 13 ); // Act 5: Larzuk
  36. //shop_npcNumber.push( 14 ); // Act 5: Malah
  37.  
  38. // Kill monsters in nith's temple
  39. // NOTE: to clear area you must have attacks configured
  40. var autoClear = false;
  41.  
  42. // true = use wp for anya (if you don't got), false = use red portal (nith's temple)
  43. var anyaGoWp = false;
  44.  
  45. // false = do not quit on error, true = quit on error
  46. var errorGoQuitGame = true;
  47.  
  48. //==========================================================================================================
  49. // Don't forget to uncomment NTConfig_Script.push("NTShopbot.ntj"); below
  50. //==========================================================================================================
  51.  
  52. function NT_LoadConfig()
  53. {
  54. NTConfig_Script.push("NTShopbot.ntj"); //shop bot
  55.  
  56. //-----------------------------------------------------------------------------------
  57. // SnagIt configuration
  58. // Select one group only (normal / advance / extreme / Master)
  59. //-----------------------------------------------------------------------------------
  60. NTConfig_NIPFilePath.push("Master/shop.nip"); //note this pickit is pretty liberal so you may want to tighten it up
  61. NTConfig_SnagRange = 40; // Radius to check for dropped items. 40 is a good number here
  62.  
  63. //------------------------------------------------------------------------------
  64. // Speed settings
  65. //------------------------------------------------------------------------------
  66. me.maxgametime = 2000; // time in seconds, maximum game length (0 is infinite)
  67. NTConfig_StartDelay = 0; // Delay time in milliseconds to start;
  68. NTConfig_AreaDelay = 500; // Delay time in milliseconds to change area;
  69. NTConfig_SnagDelay = 500; // Delay time in milliseconds to wait before starting picking items
  70.  
  71. //------------------------------------------------------------------------------
  72. // Chicken settings
  73. //------------------------------------------------------------------------------
  74. NTConfig_SkipHealLife = 90; // If you have more than this percent of life, you won't go to a healer
  75. NTConfig_SkipHealMana = 70; // If you have more than this percent of mana, you won't go to a healer
  76.  
  77. NTConfig_LifeThresh = 85; // Drink a normal potion if under this percent of life.
  78. NTConfig_LifeRejuvThresh = 45; // Drink a rejuvenation potion if under this percent of life.
  79. NTConfig_ManaThresh = 30; // Drink a normal potion if under this percent of mana.
  80. NTConfig_ManaRejuvThresh = 0; // Drink a rejuvenation potion if under this percent of mana.
  81. NTConfig_LifeChicken = 20; // This is your chicken life percent. If you go below this life total, exit game.
  82. NTConfig_ManaChicken = 0; // This is your chicken mana percent. If you go below this mana total, exit game.
  83.  
  84. NTConfig_TPChicken = 60; //life percent for tp chicken set to zero if you don't want to use
  85.  
  86. NTConfig_MercLifeThresh = 50; // This is the threshold to use a life potion on your merc in percent.
  87. NTConfig_MercRejuvThresh = 0; // This is the threshold to use a rejuv potion on your merc in percent.
  88. NTConfig_MercChicken = 0; // This is your mercs chicken life percent. If he goes below this, exit game.
  89.  
  90.  
  91. //------------------------------------------------------------------------------
  92. // Inventory settings
  93. //------------------------------------------------------------------------------
  94. NTConfig_FreeSpace = 6; // Number of free columns. If less full columns are free stashing is set.
  95.  
  96. // The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
  97. NTConfig_Columns[0] = [1,1,1,1,1,1,1,0,0,0];
  98. NTConfig_Columns[1] = [1,1,1,1,1,1,1,0,0,0];
  99. NTConfig_Columns[2] = [1,1,1,1,1,1,1,0,0,0];
  100. NTConfig_Columns[3] = [1,1,1,1,1,1,1,0,0,0];
  101.  
  102. NTConfig_MinGoldToStash = 100000; // Maximum gold amount carried before going to stash
  103.  
  104. //----------------------------------------------------------------------------------------------
  105. // Belt settings
  106. // Type of potion used in each belt column
  107. // Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
  108. // Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
  109. // Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
  110. // Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
  111. // To use rejuvenations only, put "rv" in all columns.
  112. //----------------------------------------------------------------------------------------------
  113. NTConfig_BeltColType[0] = "hp";
  114. NTConfig_BeltColType[1] = "mp";
  115. NTConfig_BeltColType[2] = "rv";
  116. NTConfig_BeltColType[3] = "rv";
  117.  
  118. //------------------------------------------------------------------------------
  119. // config options default setting work
  120. // these need to be here to avoid errors
  121. //------------------------------------------------------------------------------
  122. NTConfig_Cubing = false; // Enable cubing
  123. NTConfig_MakeRunewords = false;
  124. NTConfig_Gamble = false; // Enable gambling
  125. NTConfig_IdentAtCain = true; // will skip using cain if something in inventory is suppose to be kept unid. Also will not log sold items
  126. NTConfig_PocketChange = 500000; // set this to amount of gold you want to keep on hand. Make adjustments to this and repair to keep equiptment from breaking
  127. NTConfig_DontCainAct = [0]; // list any act you don't want to use cain on seperated by ",". Set to "0" to id in all acts
  128. NTConfig_Repair = "40" // Set to how much durability you want to repair at 40 is normal 99 is as soon as you loose one point
  129. NTConfig_AlwaysUseCain = false; // this to true to always use cain even it it will id something that is not suppose to be id'd that is stuch in inventory
  130. NTConfig_PublicMode = false; // if you set this to true make sure party leecheronly in leech sections is set tp false
  131. NTConfig_CheckCloneDiablo = true; // Set to true if you want to wait in game after notifying "Diablo Walks the Earth" msg.
  132. NTConfig_FastPickit = false; // Recomended only in Public games with a Snag delay of 0 (Can cause Chickens only use if you have to beat out leechers)
  133. NTConfig_UseMerc = true; // Set to true if you use a mercenary, will revive merc at a reviver npc.
  134. NTConfig_ResetEnigma = true; // Set to true to reset enigma when tele bug exists
  135. me.quitonhostile = false; // Set to true to quit when someone hostiles you
  136. NTConfig_ClearPosition = false; // Set to true if you want to clear area after killing boss.
  137. NTConfig_SwitchTele = false; // use this if higher fcr on switch for tele make sure attack switch is tab 1 and is a slight chance of breaking an eth cta spirit
  138. NTConfig_PreBuffFade = false; // use to stand in fire until fade is triggered. Must have last wish for this
  139. NTConfig_StopIfStashInventoryFull = false; // Pauses bot when stash/inventory are full (helpful for HardCore players)
  140. NTConfig_SkipRegularMonsters = false; // If true will only kill Champions, Uniques and Bosses
  141. NTConfig_DropExtraRejuvs = false; // When belt is full bot will either drop extra rejuvs when a new rejuv is found or drink them. true to drop, false to drink
  142. NTConfig_LogSoldItemQUality = 7; // The bot will log items >= item quality set. example "4" would log everything "6" would log rare and unique only (magic=4, set=5, rare=6, unique=7)
  143. NTConfig_TeleGrab = 0; // 0 = No, 1 = Yes. Look for items every teleport? (Recommended for aura stacking.)
  144. NTConfig_CheckPassword = false; // quit if game is made without password obv set to false if you run un-passworded games
  145. NTConfig_PatryOnlyLeader = false;
  146.  
  147. //------------------------------------------------------------------------------
  148. // Attack configuration
  149. // Change the 0's to corosponding #'s found in /D2NT/sdk/skills.txt
  150. //------------------------------------------------------------------------------
  151. NTConfig_AttackSkill[0] = 0; // First skill. Maybe slow missiles
  152. NTConfig_AttackSkill[1] = 0; // Primary skill to super unique/champion.
  153. NTConfig_AttackSkill[2] = 0; // Primary untimed skill to super unique/champion.
  154. NTConfig_AttackSkill[3] = 0; // Primary skill to others.
  155. NTConfig_AttackSkill[4] = 0; // Primary untimed skill to others.
  156. NTConfig_AttackSkill[5] = 0; // Secondary skill in case monster is immune to primary skill.
  157. NTConfig_AttackSkill[6] = 0; // Secondary untimed skill.
  158. NTConfig_AttackSkill[7] = 0; // Tertiary skill to everything else in case monster is immune to both primary and secondary.
  159. NTConfig_AttackSkill[8] = 0; // Tertiary untimed skill.
  160. NTConfig_AttackSkill[9] = 0; // Primary skill to boss (diablo/baal/meph/etc) Not immune to spells I guess.
  161.  
  162. //------------------------------------------------------------------------------
  163. // Check safe settings
  164. //------------------------------------------------------------------------------
  165. // Check self safe in field (NOT in town). Set to 0 if you won't
  166. // 0x01 : Potion, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist, 0x80: Blood Mana
  167. NTConfig_CheckSelfSafe = [];
  168. // Check merc's safe in field (NOT in town). Set to 0 if you won't
  169. // 0x01 : Death, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
  170. NTConfig_CheckMercSafe = [];
  171.  
  172. //------------------------------------------------------------------------------
  173. // Class Specific settings
  174. //------------------------------------------------------------------------------
  175. NTConfig_UseTraps = true; // Set to true to use traps
  176. NTConfig_UseFade = true; // Set to true to use Fade
  177. NTConfig_UseBOS = false; // Set to true to use Burst of Speed
  178.  
  179. NTConfig_TrapSet = [271,271,271,276,276]; // Set 5 the traps to cast in order. Use this for all monsters and Andariel.
  180. // 261 - Charged Bolt : 262 - Wake of Fire : 271 - Lightning Sentry : 272 - Wake of Inferno : 276 - Death Sentry
  181.  
  182. NTConfig_ActBossTrapSet = [271,271,271,271,271]; // Set 5 the traps to cast in order for Act bosses (except Andariel).
  183. // 261 - Charged Bolt : 262 - Wake of Fire : 271 - Lightning Sentry : 272 - Wake of Inferno : 276 - Death Sentry
  184.  
  185. NTConfig_TrapWaitTimeForImmune = 150; // Time in ms. Set delay time after casting traps and NTConfig_AttackSkill is immune or 0. 150 is good number here.
  186. // If monster is being skipped before Shadow/Merc kills, set to higher number.
  187. NTConfig_TrapAttackPattern = 0; // Trap layout pattern.
  188. // 0 - quincunx(default) : 1 - pentagram : 2 - X axis(Horizontal) : 3 - Y axis(Vertical)
  189.  
  190.  
  191. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement