Guest User

Untitled

a guest
Jul 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.52 KB | None | 0 0
  1. var NTConfig_UseRedemptionHP;
  2. var NTConfig_UseRedemptionMP;
  3.  
  4. //=========================================================================================================
  5. // shop bot settings
  6. //=========================================================================================================
  7.  
  8. // false = for expansion, true = for classic (act 4 max)
  9. var is_D2C = false;
  10.  
  11. //just uncomment the shop_npcNumber.push that you wish to use. You can set bot to use as many as you want
  12.  
  13. var shop_npcNumber = new Array();
  14. //shop_npcNumber.push( 1 ); // Act 1: Akara
  15. //shop_npcNumber.push( 2 ); // Act 1: Charsi
  16. //shop_npcNumber.push( 3 ); // Act 1: Gheed
  17.  
  18. //shop_npcNumber.push( 4 ); // Act 2: Drognan
  19. //shop_npcNumber.push( 5 ); // Act 2: Fara
  20. //shop_npcNumber.push( 6 ); // Act 2: Elzix
  21.  
  22. //shop_npcNumber.push( 7 ); // Act 3: Ormus
  23. //shop_npcNumber.push( 8 ); // Act 3: Hratli
  24. //shop_npcNumber.push( 9 ); // Act 3: Asheara
  25.  
  26. //shop_npcNumber.push( 10 ); // Act 4: Jamella
  27. //shop_npcNumber.push( 11 ); // Act 4: Halbu
  28.  
  29. shop_npcNumber.push( 12 ); // Act 5: Anya
  30. //shop_npcNumber.push( 13 ); // Act 5: Larzuk
  31. //shop_npcNumber.push( 14 ); // Act 5: Malah
  32.  
  33. // Kill monsters in nith's temple
  34. // NOTE: to clear area you must have attacks configured
  35. var autoClear = true;
  36.  
  37. // true = use wp for anya (if you don't got), false = use red portal (nith's temple)
  38. var anyaGoWp = true;
  39.  
  40. // false = do not quit on error, true = quit on error
  41. var errorGoQuitGame = true;
  42.  
  43. //==========================================================================================================
  44. // Don't forget to uncomment NTConfig_Script.push("NTShopbot.ntj"); below
  45. //==========================================================================================================
  46.  
  47. function NT_LoadConfig()
  48. {
  49. NTConfig_Script.push("NTShopbot.ntj"); //shop bot
  50.  
  51. //-----------------------------------------------------------------------------------
  52. // SnagIt configuration
  53. // Select one group only (normal / advance / extreme / Master)
  54. //-----------------------------------------------------------------------------------
  55. NTConfig_NIPFilePath.push("Master/shop.nip"); //note this pickit is pretty liberal so you may want to tighten it up
  56. NTConfig_SnagRange = 40; // Radius to check for dropped items. 40 is a good number here
  57.  
  58. //------------------------------------------------------------------------------
  59. // Speed settings
  60. //------------------------------------------------------------------------------
  61. me.maxgametime = 1800; // time in seconds, maximum game length (0 is infinite)
  62. NTConfig_StartDelay = 0; // Delay time in milliseconds to start;
  63. NTConfig_AreaDelay = 500; // Delay time in milliseconds to change area;
  64. NTConfig_SnagDelay = 500; // Delay time in milliseconds to wait before starting picking items
  65.  
  66. //------------------------------------------------------------------------------
  67. // Chicken settings
  68. //------------------------------------------------------------------------------
  69. NTConfig_SkipHealLife = 90; // If you have more than this percent of life, you won't go to a healer
  70. NTConfig_SkipHealMana = 70; // If you have more than this percent of mana, you won't go to a healer
  71.  
  72. NTConfig_LifeThresh = 85; // Drink a normal potion if under this percent of life.
  73. NTConfig_LifeRejuvThresh = 45; // Drink a rejuvenation potion if under this percent of life.
  74. NTConfig_ManaThresh = 30; // Drink a normal potion if under this percent of mana.
  75. NTConfig_ManaRejuvThresh = 0; // Drink a rejuvenation potion if under this percent of mana.
  76.  
  77. NTConfig_LifeChicken = 20; // This is your D2NT chicken life percent. If you go below this life total, exit game.
  78. NTConfig_ManaChicken = 0; // This is your D2NT chicken mana percent. If you go below this mana total, exit game.
  79.  
  80. // These chicken values are optional and can run alongside the traditional D2NT chicken or as a standalone chicken
  81. // The Etal version comes with additional logging and will restart D2 instead of exitting the game for crash protection
  82. // To disable, use 0
  83. NTConfig_EtalLifeChicken = 0; // This is your Etal chicken life percent. If you go below this life total, exit D2.
  84. NTConfig_EtalManaChicken = 0; // This is your Etal chicken mana percent. If you go below this mana total, exit D2.
  85.  
  86. NTConfig_TPChicken = 60; //life percent for tp chicken set to zero if you don't want to use
  87.  
  88. NTConfig_MercLifeThresh = 50; // This is the threshold to use a life potion on your merc in percent.
  89. NTConfig_MercRejuvThresh = 0; // This is the threshold to use a rejuv potion on your merc in percent.
  90. NTConfig_MercChicken = 0; // This is your mercs chicken life percent. If he goes below this, exit game.
  91.  
  92.  
  93. //------------------------------------------------------------------------------
  94. // Inventory settings
  95. //------------------------------------------------------------------------------
  96. NTConfig_FreeSpace = 6; // Number of free columns. If less full columns are free stashing is set.
  97.  
  98. // The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
  99. NTConfig_Columns[0] = [0,1,1,1,1,1,1,1,0,0];
  100. NTConfig_Columns[1] = [0,1,1,1,1,1,1,1,0,0];
  101. NTConfig_Columns[2] = [0,1,1,1,1,1,1,1,0,0];
  102. NTConfig_Columns[3] = [0,1,1,1,1,1,1,1,0,0];
  103.  
  104. NTConfig_MinGoldToStash = 100000; // Maximum gold amount carried before going to stash
  105.  
  106. //----------------------------------------------------------------------------------------------
  107. // Belt settings
  108. // Type of potion used in each belt column
  109. // Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
  110. // Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
  111. // Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
  112. // Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
  113. // To use rejuvenations only, put "rv" in all columns.
  114. //----------------------------------------------------------------------------------------------
  115. NTConfig_BeltColType[0] = "hp";
  116. NTConfig_BeltColType[1] = "mp";
  117. NTConfig_BeltColType[2] = "rv";
  118. NTConfig_BeltColType[3] = "rv";
  119.  
  120. //------------------------------------------------------------------------------
  121. // config options default setting work
  122. // these need to be here to avoid errors
  123. //------------------------------------------------------------------------------
  124. NTConfig_Cubing = false; // Enable cubing
  125. NTConfig_MakeRunewords = false;
  126. NTConfig_Gamble = false; // Enable gambling
  127. NTConfig_IdentAtCain = true; // will skip using cain if something in inventory is suppose to be kept unid. Also will not log sold items
  128. 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
  129. NTConfig_DontCainAct = [0]; // list any act you don't want to use cain on seperated by ",". Set to "0" to id in all acts
  130. 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
  131. 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
  132. NTConfig_PublicMode = false; // if you set this to true make sure party leecheronly in leech sections is set tp false
  133. NTConfig_CheckCloneDiablo = true; // Set to true if you want to wait in game after notifying "Diablo Walks the Earth" msg.
  134. 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)
  135. NTConfig_UseMerc = true; // Set to true if you use a mercenary, will revive merc at a reviver npc.
  136. NTConfig_ResetEnigma = true; // Set to true to reset enigma when tele bug exists
  137. me.quitonhostile = false; // Set to true to quit when someone hostiles you
  138. NTConfig_ClearPosition = false; // Set to true if you want to clear area after killing boss.
  139. NTConfig_PrioritizeWeakerFoes = false; // Enable to kill weaker foes with higher priority as well as clear areas of minions and other foes prior to killing bosses
  140. NTConfig_PrioritizeWeakerFoesAreaDisable = []; // Use IDs from D2NT\sdk\areas.txt to disable for specific areas, e.g. [124,83] would disable Nihlathak and Travincial
  141. 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
  142. NTConfig_PreBuffFade = false; // use to stand in fire until fade is triggered. Must have last wish for this
  143. NTConfig_StopIfStashInventoryFull = false; // Pauses bot when stash/inventory are full (helpful for HardCore players)
  144. NTConfig_SkipRegularMonsters = false; // If true will only kill Champions, Uniques and Bosses
  145. 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
  146. 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)
  147. NTConfig_TeleGrab = 0; // 0 = No, 1 = Yes. Look for items every teleport? (Recommended for aura stacking.)
  148. NTConfig_CheckPassword = false; // quit if game is made without password obv set to false if you run un-passworded games
  149. NTConfig_PatryOnlyLeader = false;
  150.  
  151.  
  152. //------------------------------------------------------------------------------
  153. // Attack configuration
  154. // Change the 0's to corosponding #'s found in /D2NT/sdk/skills.txt
  155. //------------------------------------------------------------------------------
  156. NTConfig_AttackSkill[0] = 0; // First skill. Set to 0 if you won't
  157. NTConfig_AttackSkill[1] = 0; // Primary skill to boss.
  158. NTConfig_AttackSkill[2] = 0; // Primary aura to boss. Set to 0 if you won't
  159. NTConfig_AttackSkill[3] = 0; // Primary skill to others.
  160. NTConfig_AttackSkill[4] = 0; // Primary aura to others. Set to 0 if you won't
  161. NTConfig_AttackSkill[5] = 0; // Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
  162. NTConfig_AttackSkill[6] = 0; // Secondary aura. Set to 0 if you won't
  163. NTConfig_AttackSkill[7] = 0; // Tertiary skill in case monster is immune to primary skill. Set to 0 if you won't
  164. NTConfig_AttackSkill[8] = 0; // Tertiary aura. Set to 0 if you won't
  165.  
  166. //------------------------------------------------------------------------------
  167. // Check safe settings
  168. //------------------------------------------------------------------------------
  169. // Check self safe. Set to []; if you wont.
  170. // 01=Potion. 02=Poison. 04=Amplify Damage. 08=Weaken. 10=Iron Maiden. 20=Decrepify. 40=Lower Resist. 80=Blood Mana.
  171. // Use this format: ['01','02'] etc. Add as many or as little as you want.
  172.  
  173. NTConfig_CheckSelfSafe = [];
  174.  
  175. // Check merc's safe. Set to []; if you wont.
  176. // 01=Death, 02=Poison, 04=Amplify Damage, 08=Weaken, 10=Iron Maiden, 20=Decrepify, 40=Lower Resist
  177. // Use this format: ['01','02'] etc. Add as many or as little as you want.
  178.  
  179. NTConfig_CheckMercSafe = [];
  180.  
  181. //------------------------------------------------------------------------------
  182. // Class Specific settings
  183. //------------------------------------------------------------------------------
  184. NTConfig_UseRedemptionHP = 80; // Use Redemption if under this percent of life. Set to 0 if you won't
  185. NTConfig_UseRedemptionMP = 60; // Use Redemption if under this percent of mana. Set to 0 if you won't
  186.  
  187. }
Add Comment
Please, Sign In to add comment