Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.29 KB | None | 0 0
  1. function NT_LoadConfig()
  2. {
  3. //------------------------------------------------------------------------------
  4. // Script Settings
  5. //------------------------------------------------------------------------------
  6. Scripts.Command = true; // Overrides all other scripts set here
  7. Scripts.Andy = true;
  8. Scripts.Radament = true;
  9. Scripts.Cube = true;
  10. Scripts.Ammy = true;
  11. Scripts.Staff = true;
  12. Scripts.Summoner = true;
  13. Scripts.Duriel = true;
  14. Scripts.Tome = true;
  15. Scripts.Travincal = true;
  16. Scripts.Mephisto = true;
  17. Scripts.Izual = true;
  18. Scripts.Diablo = true;
  19. Scripts.Shenk = true;
  20. Scripts.Anya = true;
  21. Scripts.Ancients = true;
  22. Scripts.Baal = true;
  23.  
  24. //------------------------------------------------------------------------------
  25. // Script Sub Settings
  26. //------------------------------------------------------------------------------
  27. NTConfig_TpHarem = true;
  28. NTConfig_KillCouncils = true;
  29. NTConfig_ClearCS = false;
  30. NTConfig_CSDodge = false;
  31.  
  32. //------------------------------------------------------------------------------
  33. // Speed Settings
  34. //------------------------------------------------------------------------------
  35. me.maxgametime = 0; // Maximum game length in seconds (0 is infinite).
  36. NTConfig_StartDelay = 0; // Delay time in milliseconds to wait at start.
  37. NTConfig_AreaDelay = 500; // Delay time in milliseconds to wait on each area change.
  38. NTConfig_SnagDelay = 500; // Delay time in milliseconds (added to ping delay) to wait before each pickit call.
  39.  
  40. //------------------------------------------------------------------------------
  41. // Chicken settings
  42. //------------------------------------------------------------------------------
  43. NTConfig_SkipHealLife = 90; // If you are over this percentage of life, you won't go to a healer.
  44. NTConfig_SkipHealMana = 70; // If you are over this percentage of mana, you won't go to a healer.
  45.  
  46. NTConfig_LifeThresh = 75; // Drink a health potion if under this percent of life.
  47. NTConfig_LifeRejuvThresh = 55; // Drink a rejuvenation potion if under this percent of life. (Will not use health potions under this %)
  48. NTConfig_ManaThresh = 10; // Drink a mana potion if under this percent of mana.
  49. NTConfig_ManaRejuvThresh = 0; // Drink a rejuvenation potion if under this percent of mana. (Will not use mana potions under this %)
  50.  
  51. NTConfig_LifeChicken = 30; // This is your D2NT chicken life percent. If you go below this life total, exit game.
  52. NTConfig_ManaChicken = 0; // This is your D2NT chicken mana percent. If you go below this mana total, exit game.
  53.  
  54. // These chicken values are optional and can run alongside the traditional D2NT chicken or as a standalone chicken
  55. // The Etal version comes with additional logging and will restart D2 instead of exitting the game for crash protection
  56. // To disable, use 0
  57. NTConfig_EtalLifeChicken = 0; // This is your Etal chicken life percent. If you go below this life total, exit D2.
  58. NTConfig_EtalManaChicken = 0; // This is your Etal chicken mana percent. If you go below this mana total, exit D2.
  59.  
  60. NTConfig_TPChicken = 0; // Under this % of health will attempt to tp to town and heal. (Set 0 to disable.)
  61.  
  62. NTConfig_MercLifeThresh = 30; // Give merc a health potion if under this percent of life.
  63. NTConfig_MercRejuvThresh = 10; // Give merc a rejuvenation potion if under this percent of life. (Will not use health potions under this %)
  64. NTConfig_MercChicken = 0; // This is your mercs chicken life percent. If he goes below this, exit game. (Set 0 to disable.)
  65.  
  66. //------------------------------------------------------------------------------
  67. // Inventory settings
  68. //------------------------------------------------------------------------------
  69. NTConfig_FreeSpaceBeforeBoss = 2; // If # of free columns is less than this, will town before killing bosses.
  70. NTConfig_FreeSpace = 6; // Number of free columns. If bot has less than this amount after id'ing, it will go to stash.
  71.  
  72. // These numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to have the bot manage the slot.
  73. NTConfig_Columns[0] = [1,1,1,1,1,0,0,0,0,0];
  74. NTConfig_Columns[1] = [1,1,1,1,0,0,0,0,0,0];
  75. NTConfig_Columns[2] = [1,1,1,1,0,0,0,0,0,0];
  76. NTConfig_Columns[3] = [1,1,1,1,0,0,0,0,0,0];
  77.  
  78. NTConfig_MinGoldToStash = 100000; // Maximum gold amount carried before going to stash
  79.  
  80. //----------------------------------------------------------------------------------------------
  81. // Belt Settings
  82. // Type of potion used in each belt column
  83. // Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
  84. // Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
  85. // Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
  86. // Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
  87. // To use rejuvenations only, put "rv" in all columns.
  88. //----------------------------------------------------------------------------------------------
  89. NTConfig_BeltColType[0] = "hp";
  90. NTConfig_BeltColType[1] = "hp";
  91. NTConfig_BeltColType[2] = "mp";
  92. NTConfig_BeltColType[3] = "rv";
  93.  
  94. //-----------------------------------------------------------------------------------
  95. // Pickit (SnagIt) Configuration
  96. // * Select one group only (normal / advance / extreme / Master)
  97. //-----------------------------------------------------------------------------------
  98. //NTConfig_NIPFilePath.push("normal/normal.nip");
  99. //NTConfig_NIPFilePath.push("normal/magic_rare.nip");
  100. //NTConfig_NIPFilePath.push("normal/set.nip");
  101. //NTConfig_NIPFilePath.push("normal/unique.nip");
  102. //NTConfig_NIPFilePath.push("normal/craft.nip");
  103. //NTConfig_NIPFilePath.push("normal/key.nip");
  104.  
  105. //NTConfig_NIPFilePath.push("advance/normal.nip");
  106. //NTConfig_NIPFilePath.push("advance/magic_rare.nip");
  107. //NTConfig_NIPFilePath.push("advance/set.nip");
  108. //NTConfig_NIPFilePath.push("advance/unique.nip");
  109. //NTConfig_NIPFilePath.push("advance/craft.nip");
  110. //NTConfig_NIPFilePath.push("advance/key.nip");
  111.  
  112. //NTConfig_NIPFilePath.push("extreme/normal.nip");
  113. //NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
  114. //NTConfig_NIPFilePath.push("extreme/set.nip");
  115. //NTConfig_NIPFilePath.push("extreme/unique.nip");
  116. //NTConfig_NIPFilePath.push("extreme/craft.nip");
  117. //NTConfig_NIPFilePath.push("extreme/key.nip");
  118.  
  119. NTConfig_NIPFilePath.push("Master/Charms.nip");
  120. NTConfig_NIPFilePath.push("Master/Crafted.nip");
  121. NTConfig_NIPFilePath.push("Master/Cubed.nip");
  122. //NTConfig_NIPFilePath.push("Master/CustomAdditions.nip");
  123. //NTConfig_NIPFilePath.push("Master/FAST.nip");
  124. NTConfig_NIPFilePath.push("Master/Gold Potions Runes Gems Essences Keys Organs.nip");
  125. //NTConfig_NIPFilePath.push("Master/Magic.nip");
  126. NTConfig_NIPFilePath.push("Master/Rare.nip");
  127. NTConfig_NIPFilePath.push("Master/Set.nip");
  128. NTConfig_NIPFilePath.push("Master/Unid.nip");
  129. NTConfig_NIPFilePath.push("Master/Unique.nip");
  130. NTConfig_NIPFilePath.push("Master/White.nip");
  131. NTConfig_NIPFilePath.push("Master/Runeword.nip");
  132.  
  133. NTConfig_SnagRange = 40; // Radius to check for dropped items. 40 is a good number here
  134.  
  135. //------------------------------------------------------------------------------
  136. // General configuration
  137. //------------------------------------------------------------------------------
  138. NTConfig_PublicMode = true; // Enables "Public" features (Partying, Tp'ing etc). (Cannot be true while NTConfig_PartyOnlyLeader is.)
  139. NTConfig_CheckCloneDiablo = false; // Set to true if you want to wait in game after "Diablo Walks the Earth" msg.
  140. NTConfig_SoJWaitTime = 0; // Time in minutes to wait for the next SoJ sale. Set to 0 to disable SoJ notifier.
  141. NTConfig_FastPickit = false; // This is a new option that causes far less crashes(maybe none). Is independent of snag delay
  142. NTConfig_UseMerc = true; // Set true if you will use a mercenary, will revive merc at a reviver npc.
  143. NTConfig_ResetEnigma = false; // Set true to reset enigma when tele bug exists. (Safe.)
  144. NTConfig_QuitOnPing = 900; // Ping threshold. (0 to disable.)
  145. NTConfig_PingInterval = 10; // If ping is greater than threshold for x seconds, exit game. (0 = Disabled, x = Time Interval In Seconds.)
  146. NTConfig_ClearPosition = true; // Set true if you want to clear area after killing boss.
  147. 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
  148. NTConfig_PrioritizeWeakerFoesAreaDisable = []; // Use IDs from D2NT\sdk\areas.txt to disable for specific areas, e.g. [124,83] would disable Nihlathak and Travincial
  149. NTConfig_SwitchTele = false; // Use tab 2 for teleporting (higher fcr breakpoint in tab 2)? (Slight chance of breaking an eth cta spirit.)
  150. NTConfig_PreBuffFade = false; // Stand in fire until fade is triggered? (Must have Last Wish / Treachery etc.)
  151. NTConfig_StopIfStashInventoryFull = false; // Pauses bot when stash/inventory are full. (Helpful for HardCore players.) Must configure NTConfig_FreeRowsQuit below.
  152. NTConfig_FreeRowsQuit = 2; // If after stashing less than this number of inventory columns are free, bot will pause.
  153. NTConfig_SkipRegularMonsters = false; // If true will only kill Champions, Uniques and Bosses.
  154. 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).
  155. NTConfig_TeleGrab = 0; // 0 = No, 1 = Yes. Changes pickit to run after each teleport (instead of after each clear call). (Recommended for aura stacking only with a NTConfig_SnagDelay of 0.) (Can cause complications (chickens etc) depending on system / setup.)
  156. NTConfig_CheckPassword = false; // Check for game password, quit if none.
  157. NTConfig_GoWestFromLut = false; // If new game starts in act 2, use Warriv to return to act 1?
  158. NTConfig_MinPots = 1; // If less then this many (Health or Mana) potions, will return to town on checkselfsafe 0x01 is calls.
  159. NTConfig_CheckPotsTown = 0; // If less then this many (Health or Mana) potions, will shop them in normal town functions. Set 0 to always shop them
  160. NTConfig_PickupFreeGold = false; // set to true to pickup gold dropped near vendors
  161. NTConfig_AutoMule = false; // Set to true to enable muling. Requires NTMule entry point.
  162. NTConfig_FinishRun = false; // true will finish current game. Good for if running the leecher entry or if running main as leader.
  163. NTConfig_MuleStash = 8; // Set this to the free block limit in your Stash. If less than this mule.
  164. NTConfig_MuleInv = 2; // Set this to the free column limit in your Inventory. If less than this mule. Must be set to higher than NTConfig_FreeSpace
  165. NTConfig_UseKeysForPlaceHolder = true; // Set to true to keep a key in your inventory. (In the event that the bot has no space for ID scrolls, will sell the key instead of one of your items.)
  166.  
  167. NTConfig_Telekinesis = true; // Try to use Telekinesis skill on waypoint, stash, portals (in town) & while picking up potions/gold.
  168. NTConfig_SwitchCastSorc = false; // Using a memory staff?
  169. NTConfig_PropsForEtal = 1; // Advertising etal at the end of public games. set to 0 to disable. Set to 1 or greater for the number of phrases spoken before exiting public games. See D2NT\scripts\NTBot\char_configs\EtalPR.ntl for instructions on adding or removing phrases
  170. NTConfig_MercStats = false; // Prints Merc stats to Common Log with Char stats if true
  171.  
  172. //-------------------------------------------------------------------------------
  173. // Immunity Skipping
  174. //-------------------------------------------------------------------------------
  175. NTConfig_AreasToNotSkipImmunes = [131, 108]; // Add area ID's into the array seperated by "," for to disable immunity skipping within said area.
  176.  
  177. NTConfig_SkipSingle[0] = false; //Skips all physical immunes.
  178. NTConfig_SkipSingle[1] = false; //Skips all magic immunes.
  179. NTConfig_SkipSingle[2] = false; //Skips all fire immunes.
  180. NTConfig_SkipSingle[3] = false; //Skips all lightning immunes.
  181. NTConfig_SkipSingle[4] = false; //Skips all cold immunes.
  182. NTConfig_SkipSingle[5] = false; //Skips all poison immunes.
  183.  
  184. NTConfig_SkipDual[0] = false; //Skips all dual physical + magic immunes.
  185. NTConfig_SkipDual[1] = false; //Skips all dual physical + fire immunes.
  186. NTConfig_SkipDual[2] = false; //Skips all dual physical + lightning immunes.
  187. NTConfig_SkipDual[3] = false; //Skips all dual physical + cold immunes.
  188. NTConfig_SkipDual[4] = false; //Skips all dual physical + poison immunes.
  189. NTConfig_SkipDual[5] = false; //Skips all dual magic + fire immunes.
  190. NTConfig_SkipDual[6] = false; //Skips all dual magic + lightning immunes.
  191. NTConfig_SkipDual[7] = false; //Skips all dual magic + cold immunes.
  192. NTConfig_SkipDual[8] = false; //Skips all dual magic + poison immunes.
  193. NTConfig_SkipDual[9] = false; //Skips all dual fire + lightning immunes.
  194. NTConfig_SkipDual[10] = false; //Skips all dual fire + cold immunes.
  195. NTConfig_SkipDual[11] = false; //Skips all dual fire + poison immunes.
  196. NTConfig_SkipDual[12] = false; //Skips all dual lightning + cold immunes.
  197. NTConfig_SkipDual[13] = false; //Skips all dual lightning + poison immunes.
  198. NTConfig_SkipDual[14] = false; //Skips all dual cold + poison immunes.
  199.  
  200. //------------------------------------------------------------------------------
  201. // Attack Configuration
  202. // * Change the -1's to the corresponding #'s found in /D2NT/sdk/skills.txt
  203. // * As of Jan 17th: -1 = Disabled, 0 = Normal Attack.
  204. //------------------------------------------------------------------------------
  205. NTConfig_AttackSkill[0] = 64; // First skill. Maybe slow missiles
  206. NTConfig_AttackSkill[1] = 53; // Primary skill to super unique/champion.
  207. NTConfig_AttackSkill[2] = 53; // Primary untimed skill to super unique/champion.
  208. NTConfig_AttackSkill[3] = 53; // Primary skill to others.
  209. NTConfig_AttackSkill[4] = 64; // Primary untimed skill to others.
  210. NTConfig_AttackSkill[5] = 64; // Secondary skill in case monster is immune to primary skill.
  211. NTConfig_AttackSkill[6] = 53; // Secondary untimed skill.
  212. NTConfig_AttackSkill[7] = -1; // Tertiary skill to everything else in case monster is immune to both primary and secondary.
  213. NTConfig_AttackSkill[8] = -1; // Tertiary untimed skill.
  214. NTConfig_AttackSkill[9] = 49; // Primary skill to boss (diablo/meph/Duriel/andy)
  215. NTConfig_AttackSkill[10] = 49; // Primary skill to baal this MUST be set if you do baal charged bolt works well here
  216.  
  217. NTConfig_ChainLightOnLightImmunes = false; // Set true to use Chain Lighning automatically on light immune mobs.
  218. NTConfig_DancingSorc = false; // Periodically teleport between attacks, settings below.
  219. NTConfig_AttackJump = 5; // # of attacks before teleporting.
  220. NTConfig_BounceRange = 9; // Range away from mob to keep when teleporting.
  221. NTConfig_DanceStartHp = 78; // Auto dance if below this % health? (Set -1 to disable, 101 to always.)
  222. NTConfig_DanceStartMp = -1; // Auto dance if below this % mana? (Set -1 to disable, 101 to always.)
  223.  
  224. prewavespot = [15092, 5040]; // Pre-Wave standing (X,Y) coordinates. (For Baal Scripts.)
  225. NTConfig_PreWaveSpam = 59; // Attack skill to spam between waves. Set "0" to disable.
  226. KBLSpamPos = [15090, 5028, 15095, 5028, 15093, 5028]; // (X,Y) coordinates to attack with NTConfig_PreWaveSpam.
  227.  
  228.  
  229. NTConfig_HighMaxAttack = true; // Use HighMaxAttacks? (False = LowMaxAttacks.) High/Low are below.
  230. NTConfig_HighMaxAttackAreas = [131]; // If above is set false (you're using LowMaxAttacks), add areas to bypass LowMaxAttacks and use HighMaxAttacks instead. (Recommended in Baal's Throne Room.)
  231.  
  232. NTConfig_HighMaxAttacks = 300; // Maximum number of attacks (HIGH) before skipping.
  233. NTConfig_LowMaxAttacks = 15; // Maximum number of attacks (LOW) before skipping.
  234.  
  235. MonstersToAttackFirst = // Monster ID's to attack first. (Monsters which resurrect / spawn others are good choices.)
  236. [58,59,60,61,62,101,102,103,104,190,191,
  237. 192,193,194,206,207,208,209,228,239,240,
  238. 241,278,279,280,281,282,283,303,312,480,
  239. 481,482,483,484,485,486,529];
  240.  
  241. NTConfig_AttackingThis = false; // Used to say target monsters ID/Name - Primarily for Dev purposes
  242.  
  243. //------------------------------------------------------------------------------
  244. // Check Safe Settings
  245. //------------------------------------------------------------------------------
  246. // Check Self Safe. Set to []; for none.
  247. // 01=Potion. 02=Poison. 04=Amplify Damage. 08=Weaken. 10=Iron Maiden. 20=Decrepify. 40=Lower Resist. 80=Blood Mana.
  248. // Use this format: ['01','02'] etc. Add as many or as few as you want.
  249.  
  250. NTConfig_CheckSelfSafe = ['01','80'];
  251.  
  252. // Check Merc's Safe. Set to []; for none.
  253. // 01=Death, 02=Poison, 04=Amplify Damage, 08=Weaken, 10=Iron Maiden, 20=Decrepify, 40=Lower Resist
  254. // Use this format: ['01','02'] etc. Add as many or as few as you want.
  255.  
  256. NTConfig_CheckMercSafe = ['01'];
  257.  
  258. //------------------------------------------------------------------------------
  259. // Class Specific Settings
  260. //------------------------------------------------------------------------------
  261.  
  262. NTConfig_CastStatic = 50; // Cast Static Field until monster's HP is less than (or equal to) this percent. (Set to 100 to disable.) (This will only static act bosses.)
  263.  
  264. NTConfig_StaticBossesOnly = true; // Only static bosses? (Add bosses below.) (Any missing GetLocaleString values can be found in D2NT\sdk\getlocalestring.txt)
  265. NTConfig_StaticBossesSelect.push(GetLocaleString(3021)); // Andariel
  266. NTConfig_StaticBossesSelect.push(GetLocaleString(3062)); // Mephisto
  267. NTConfig_StaticBossesSelect.push(GetLocaleString(3060)); // Diablo
  268. NTConfig_StaticBossesSelect.push(GetLocaleString(3061)); // Baal
  269. NTConfig_StaticBossesSelect.push(GetLocaleString(3054)); // Duriel
  270. //NTConfig_StaticBossesSelect.push(GetLocaleString(22497)); // Pindleskin
  271. //NTConfig_StaticBossesSelect.push(GetLocaleString(22498)); // Thresh Socket
  272. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement