Register for your free account! | Forgot your password?

You last visited: Today at 07:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Muddy's D2NT

Discussion on [Release] Muddy's D2NT within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old 12/24/2010, 23:23   #481
 
elite*gold: 0
Join Date: May 2010
Posts: 212
Received Thanks: 40
Quote:
Originally Posted by cashgnm View Post
hätte da eine frage.. der bot geht irgendwie nach jedem einzelnen script (nach jedem travi, nach jedem eldritch, etc.) zu nem healer, selbst wenn er keine items mitgenommen hat. hätte das aber eigentlich weitesgehend ausgestellt. warum?

Code:
/**
*	This file was modified by 			
*	Check the programming section for updates and further scripts
*	Last Update: 09/05/2010							
*
*	Hotkey Reference NTBot:
*
*	Pause/Break			- Pause the current script
*	Page up (PgUp)		- Skip to the next script
*	Page down (PgDn)	- Repeat the previous script
*	Home (Pos1)			- Show your current coordinates and area id
*	End					- Delete current XML Logfile
*	Insert (Ins)		- Log all items on your char to XML or TXT
*	Delete (Del)		- Exit Game
*
*	Backspace			- Shows the item level and some .nip specific information for items that match your current.nip files; The item(s) have to be located in your horadric cube when you press backspace!
*	NipCheckID Reference:	-1		- The item migh might be useful, but has to be identified first
*							 0		- The item does NOT match any .nip line and is therefore trashed
*							 1		- The item matches at least one .nip line and is stashed - Additional console output: corresponding .nip line, corresponding .nip line in JavaScript code, the name of the .nip file that contains the line and the line number
*							(true)	- The item is kept for cubing
*							(false)	- The item is NOT kept for cubing
*/

var NTConfig_UseRedemptionHP;
var NTConfig_UseRedemptionMP;

function NT_LoadConfig()
{
	NTConfig_AutoMule = true;
	DGFreeSpace = 12;
	NTConfig_ExcludeItemsFromMuling = true;
	
	//------------------------------------------------------------------------------
	// Rush - Bot
	//------------------------------------------------------------------------------

	//NTConfig_Script.push("NTRushAct1.ntj");
	//NTConfig_Script.push("NTRushAct2.ntj"); NTConfig_Cube = false; NTConfig_Staff = true; NTConfig_Amu = true; NTConfig_Summoner = true;
	//NTConfig_Script.push("NTRushAct3.ntj");
	//NTConfig_Script.push("NTRushAct4.ntj"); NTConfig_ClearCS = false;
	//NTConfig_Script.push("NTRushAct5.ntj"); NTConfig_Anya = true;  NTConfig_Ancients = true; 
	
	//------------------------------------------------------------------------------
	// Available Scripts
	//------------------------------------------------------------------------------
	 
	// Act1
	// NTConfig_Script.push(["NTMausoleum.ntj", 10]); NTConfig_KillBloodRaven = true;
	// NTConfig_Script.push(["NTTristram.ntj", 10]); NTConfig_KillRakanishu = true;
	// NTConfig_Script.push(["NTHole.ntj", 10]); NTConfig_ClearHoleLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
	// NTConfig_Script.push(["NTTreehead.ntj", 10]);
	// NTConfig_Script.push(["NTCountess.ntj", 10]);
	// NTConfig_Script.push(["NTPit.ntj", 10]); NTConfig_ClearPathToPit = true; NTConfig_ClearPitLevel1 = 2; // 0 : don't clear, 1 : clear path only, 2 : clear all
	// NTConfig_Script.push(["NTAndariel.ntj", 10]);
	// NTConfig_Script.push(["NTAndarielBlizzard.ntj", 10]);
	
	// Act 2
	// NTConfig_Script.push(["NTRadament.ntj", 10]);
	// NTConfig_Script.push(["NTColdworm.ntj", 10]);
	// NTConfig_Script.push(["NTAncientTunnels.ntj", 10]); NTConfig_ClearPathToTunnels = true;
	// NTConfig_Script.push(["NTSummoner.ntj", 10]); NTConfig_KillFireEye = true;
	// NTConfig_Script.push(["NTDuriel.ntj", 10]); NTConfig_ClearPathToDuriel = true;
	
	// Act 3
	// NTConfig_Script.push(["NTFlayerJungle.ntj", 10]);
	// NTConfig_Script.push(["NTAct3Sewers.ntj", 10]); NTConfig_ClearA3SewersLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
	// NTConfig_Script.push(["NTKurastTravel.ntj", 10]);
	// NTConfig_Script.push(["NTKurastTemple.ntj", 10]);
	// NTConfig_Script.push(["NTMephisto.ntj", 10]); NTConfig_OpenMephistoChest = true; NTConfig_MephistoClearArea = true;
	// NTConfig_Script.push(["NTMephistoBlizzard.ntj", 10]); NTConfig_OpenMephistoChest = false; NTConfig_MephistoClearArea = false;
	
	// Act 4
	// NTConfig_Script.push(["NTIzual.ntj", 10]);
	// NTConfig_Script.push(["NTHephasto.ntj", 10]);
	// NTConfig_Script.push(["NTDiabloClearAll.ntj", 10]); NTConfig_StartAtStar = false; // false: start at entrance, true: start at star
	// NTConfig_Script.push(["NTDiablo.ntj", 10]); NTConfig_StartAtStar = false; // false: start at entrance, true: start at star
	
	// Act 5
	// NTConfig_Script.push(["NTThreshSocket.ntj", 10]);
	// NTConfig_Script.push(["NTFrozenRiver.ntj", 10]); NTConfig_ClearFrozenRiver = false;
	// NTConfig_Script.push(["NTGlacialTrail.ntj", 10]); NTConfig_ClearGlacialTrail = false;
	// NTConfig_Script.push(["NTIcyCellar.ntj", 10]); NTConfig_ClearIcyCellar = false;
	// NTConfig_Script.push(["NTPindleskin.ntj", 10]); NTConfig_NihlathakExtension = true; NTConfig_SkipOnTombVipers = true;
	// NTConfig_Script.push(["NTNihlathak.ntj", 10]); NTConfig_PindleskinExtension = false; NTConfig_SkipOnTombVipers = true;
	// NTConfig_Script.push(["NTWorldstoneKeep.ntj", 10]); NTConfig_SkipLevelOnWitches = true; NTConfig_SkipLevelOnSouls = false; NTConfig_SkipLevelOnDeathLords = true;
	// NTConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true; NTConfig_SkipBaalOnDolls = true; NTConfig_SkipBaalOnSouls = false;
	
	// My Bosses
	 
    NTConfig_Script.push(["NTTravincal.ntj", 10]);
    NTConfig_Script.push(["NTEldritch.ntj", 10]); NTConfig_ShenkExtension = true;
	NTConfig_Script.push(["NTFastDiabloHard.ntj", 10]); // don't use for public games
    NTConfig_Script.push(["NTPindleskin.ntj", 10]); NTConfig_NihlathakExtension = false;
   
	
	// Miscellaneous
	// NTConfig_Script.push(["NTWaypointCatcher.ntj", 0]); NTConfig_WaypointCatcherActs = [1, 2, 3, 4, 5]; NTConfig_TPWaypoints = true; NTConfig_SkipHallsOfPain = true; NTConfig_ClearWaypointPaths = false; 
	// NTConfig_Script.push(["NTIdleMode.ntj", 0]); NTConfig_IdleModeRuntime = 5; // Runtime in Minutes
	// NTConfig_Script.push(["NTCows.ntj", 10]);
	
	// -------------- Organ Farm -----------------//
	// As soon as you have 1 of each key this     //
	// Script will try to get an organ.           //
	// -------------------------------------------//
	// ONLY USE WITH A CHAR THAT CAN FARM ORGANS! //
	// -------------------------------------------//
	
	// NTConfig_Script.puts(["NTOrganFarm.ntj",10]); NTConfig_SmiteUbers = false; NTConfig_PreBuffFade = false;
	
	//------------------------------------------------------------------------------
	// Baal-Leech-Bot
	//------------------------------------------------------------------------------

	//NTConfig_Script.push("NTBaalLeech.ntj"); 
	
	//------------------------------------------------------------------------------
	// Various Configuration
	//------------------------------------------------------------------------------
	NTConfig_SkipHealLife = 70;		// If you have more than this percent of life, you won't go to a healer
	NTConfig_SkipHealMana = 50;		// If you have more than this percent of mana, you won't go to a healer
	NTConfig_UseMerc = false;		// Set to true if you use a mercenary, will revive merc at a reviver npc.
	NTConfig_ResetWeapon = false;	// Set to true to reset weapon when reviving merc
	NTConfig_ResetArmor = false	// Reset Enigma if Teleport Skill is missing (Note: Activating this function may - though not likely will - lead to the loss of your enigma; Use at your own risk and make sure to include runewords in your .nip Files!)

	NTConfig_Teleport = true; 		// Set to false if you DONT have Teleport!

	//------------------------------------------------------------------------------
	// Chicken Configuration
	//------------------------------------------------------------------------------
	NTConfig_LifeThresh = 77;		// Drink a normal potion if under this percent of life.
	NTConfig_LifeRejuvThresh = 57;	// Drink a rejuvenation potion if under this percent of life.
	NTConfig_ManaThresh = 40;		// Drink a normal potion if under this percent of mana.
	NTConfig_ManaRejuvThresh = 5;	// Drink a rejuvenation potion if under this percent of mana.
	NTConfig_LifeChicken = 27;		// This is your chicken life percent. If you go below this life total, exit game.
	NTConfig_ManaChicken = 0;		// This is your chicken mana percent. If you go below this mana total, exit game.

	NTConfig_MercLifeThresh = 50;	// This is the threshold to use a life potion on your merc in percent.
	NTConfig_MercRejuvThresh = 30;	// This is the threshold to use a rejuv potion on your merc in percent.
	NTConfig_MercChicken = 0;		// This is your mercs chicken life percent. If he goes below this, exit game.
	
	NTConfig_UseChickenLog = false;	// Creates a logfile in case of chicken including useful information such as nearby monsters, negative/positive effects, potions etc.
									// Note: This function may delay chickens and is likely to cause chicken counter errors, use at your own risk

	//------------------------------------------------------------------------------
	// Inventory Configuration
	//------------------------------------------------------------------------------
	NTConfig_FreeSpace = 3		// Number of free columns. If less full columns are free stashing is set.

	// The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
	NTConfig_Columns[0] = [1,1,1,1,1,1,0,0,0,0];
	NTConfig_Columns[1] = [1,1,1,1,1,1,0,0,0,0];
	NTConfig_Columns[2] = [1,1,1,1,1,1,0,0,0,0];
	NTConfig_Columns[3] = [1,1,1,1,1,1,0,0,0,0];

	NTConfig_MinGoldToStash = 3250000;	// Maximum gold amount carried before going to stash

	//----------------------------------------------------------------------------------------------
	// Type of potion used in each belt column
	// Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
	// Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
	// Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
	// Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
	// To use rejuvenations only, put "rv" in all columns.
	//----------------------------------------------------------------------------------------------
	NTConfig_BeltColType[0] = "hp";
	NTConfig_BeltColType[1] = "mp";
	NTConfig_BeltColType[2] = "rv";
	NTConfig_BeltColType[3] = "rv";
	
	NTConfig_BuyPotionsOnLackOfMana = true;	// Visit Town if your char lacks mana while trying to loot a corpse or to teleport
	
	//-----------------------------------------------------------------------------------
	// NipFile Configuration
	//-----------------------------------------------------------------------------------
	
	NTConfig_NIPFilePath.push("normal/1.nip");
	NTConfig_NIPFilePath.push("normal/2.nip");
	NTConfig_NIPFilePath.push("normal/3.nip");
	NTConfig_NIPFilePath.push("normal/4.nip");
	NTConfig_NIPFilePath.push("normal/5.nip");
	
	//------------------------------------------------------------------------------
	// Pickit Configuration
	//------------------------------------------------------------------------------
	NTConfig_SnagRange = 60;				// Radius to check for dropped items. 40 is a good number here
	NTConfig_PickItemsInstantly = false;			// Pickup items instantly whenever a monster is killed
	
	//------------------------------------------------------------------------------
	// FindItem Configuration
	//------------------------------------------------------------------------------
	NTConfig_UseFindItem = false;				// Loot corpses of slain Monsters when clearing positions or areas
	NTConfig_FindItemRange = 40;				// Default range to check for corpses to loot when clearing positions or areas
	NTConfig_PickLootedItemsInstantly = false;		// Pick Items directly after using Find Item (slows down looting a lot, not recommended for private games)
	
	// If you don't want to loot corpses in a certain area, add it's areaid to NTConfig_FindItemExceptions
	//NTConfig_FindItemExceptions.push(131); 		// Throne Of Destruction
	
	//------------------------------------------------------------------------------
	// Chest Configuration
	//------------------------------------------------------------------------------
	NTConfig_OpenChest = false;				// Set to true to open chest (mostly super unique chests)
	NTConfig_OpenAllNearbyChests = false;			// Open any kind of chest or lootable object nearby
	NTConfig_PickChestLootsInstantly = false;		// Wether to pickup items each time a chest is opened; true: pickup items after every single chest; false: pickup items after opening all nearby chests first
	NTConfig_OpenChestsRange = 35;				// Default range to check for chests
	// If you don't wish to open chests in a certain area, add it's areaid to NTConfig_ChestExceptions - Check the file "areas.txt" in the sdk folder to view all areaids
	//NTConfig_ChestExceptions.push(25); 			// Tower Cellar Lvl 5
	
	//------------------------------------------------------------------------------
	// Identification Configuration
	//------------------------------------------------------------------------------
	NTConfig_IdentAtCain = false;				// Identify items using cain (will only use cain, if you don't carry any items that are supposed to be kept unid)
	NTConfig_DropAtCain = false;				// Drop items at cain?
	NTConfig_AvoidCainA5 = false;				// Will Avoid Cain if visiting Malah anyway
	NTConfig_IdentAfterPickup = false;			// Identify items after pickup using a ID tome
	NTConfig_MinItemsToIdent = 2;				// Amount of unid items to carry before commencing ID progress
	
	//------------------------------------------------------------------------------
	// Itemlog Configuration
	//------------------------------------------------------------------------------
	NTConfig_UseXMLItemlog = false;				// Log kept and sold items additionally in a XML log file
	
	NTConfig_LogSoldItems = false;				// Adds sold items to the manager's itemlog
	NTConfig_ShowGoldPickupsPerScript = false;		// Shows how much gold was picked running the last script
	NTConfig_ShowGoldPickups = false;			// Show Pickup message whenever gold is picked
	NTConfig_ShowPotionPickups = false;			// Show Pickup message whenever a potion is picked
	NTConfig_LogStashToTxt = false;				// Use a textfile instead of a XML file for logging your char's carried items; false: log to .txt, true: log to .xml
	NTConfig_LowestRuneToLog = 23;				// Determine the lowest rune shown in both the Manager's and XML log at pickup (e.g. 0 to log every Rune >= EL or 19 to log every rune >= LEM)
	
	//------------------------------------------------------------------------------
	// Cubing Configuration
	//------------------------------------------------------------------------------
	NTConfig_Cubing = false;		// Enable cubing

	NTConfig_CubingItem.push([NTCU_ESSENCE, 653]);
	
	//NTConfig_CubingItem.push([NTCU_GEM, 560]);		// Flawless Amethyst
	//NTConfig_CubingItem.push([NTCU_GEM, 565]);	// Flawless Topaz
	//NTConfig_CubingItem.push([NTCU_GEM, 570]);	// Flawless Saphire
	//NTConfig_CubingItem.push([NTCU_GEM, 575]);	// Flawless Emerald
	//NTConfig_CubingItem.push([NTCU_GEM, 580]);	// Flawless Ruby
	//NTConfig_CubingItem.push([NTCU_GEM, 585]);	// Flawless Diamond
	//NTConfig_CubingItem.push([NTCU_GEM, 600]);	// Flawless Skull

	//NTConfig_CubingItem.push([NTCU_MAGIC, 420]);	// Magic Tiara
	//NTConfig_CubingItem.push([NTCU_MAGIC, 421]);	// Magic Diadem

	NTConfig_CubingItem.push([NTCU_MAGIC_CHARM, 603]);	// Magic Small Charm
	//NTConfig_CubingItem.push([NTCU_MAGIC_CHARM, 605]);	// Magic Grand Charm

	//NTConfig_CubingItem.push([NTCU_CRAFT_HITPOWER_GLOVES, 382]);	// Craft Heavy Bracers
	//NTConfig_CubingItem.push([NTCU_CRAFT_HITPOWER_GLOVES, 452]);	// Craft Vambraces

	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_HELM, 354]);		// Craft Casque
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_HELM, 424]);		// Craft Armet
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BOOTS, 388]);		// Craft Battle Boots
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BOOTS, 458]);		// Craft Mirrored Boots
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_GLOVES, 381]);		// Craft Sharkskin Gloves
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_GLOVES, 451]);		// Craft Vampirebone Gloves
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BELT, 392]);		// Craft Mesh Belt
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BELT, 462]);		// Craft Mithril Coil
	//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_AMULET, 520]);		// Craft Amulet
	NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_RING, 522]);		// Craft Ring

	//NTConfig_CubingItem.push([NTCU_CRAFT_CASTER_BOOTS, 455]); 	// Craft Wyrmhide Boots
	NTConfig_CubingItem.push([NTCU_CRAFT_CASTER_AMULET, 520]);		// Craft Amulet

	//NTConfig_CubingItem.push([NTCU_CRAFT_SAFETY_SHIELD, 447]);	// Craft Monarch
	//NTConfig_CubingItem.push([NTCU_CRAFT_SAFETY_AMULET, 520]);	// Craft Amulet

	//NTConfig_CubingItem.push([NTCU_RUNE_THUL, 562]);
	//NTConfig_CubingItem.push([NTCU_RUNE_AMN, 557]);
	//NTConfig_CubingItem.push([NTCU_RUNE_SOL, 567]);
	//NTConfig_CubingItem.push([NTCU_RUNE_SHAEL, 577]);
	//NTConfig_CubingItem.push([NTCU_RUNE_DOL, 572]);
	//NTConfig_CubingItem.push([NTCU_RUNE_HEL, 582]);
	//NTConfig_CubingItem.push([NTCU_RUNE_IO, 563]);
	//NTConfig_CubingItem.push([NTCU_RUNE_LUM, 558]);
	//NTConfig_CubingItem.push([NTCU_RUNE_KO, 568]);
	NTConfig_CubingItem.push([NTCU_RUNE_FAL, 578]);
	NTConfig_CubingItem.push([NTCU_RUNE_LEM, 573]);
	NTConfig_CubingItem.push([NTCU_RUNE_PUL, 583]);
	NTConfig_CubingItem.push([NTCU_RUNE_UM, 564]);
	//NTConfig_CubingItem.push([NTCU_RUNE_MAL, 559]);
	//NTConfig_CubingItem.push([NTCU_RUNE_IST, 569]);
	NTConfig_CubingItem.push([NTCU_RUNE_GUL, 579]);
	//NTConfig_CubingItem.push([NTCU_RUNE_VEX, 574]);
	//NTConfig_CubingItem.push([NTCU_RUNE_OHM, 584]);
	//NTConfig_CubingItem.push([NTCU_RUNE_LO, 565]);
	//NTConfig_CubingItem.push([NTCU_RUNE_SUR, 560]);
	//NTConfig_CubingItem.push([NTCU_RUNE_BER, 570]);
	//NTConfig_CubingItem.push([NTCU_RUNE_JAH, 580]);
	//NTConfig_CubingItem.push([NTCU_RUNE_CHAM, 575]);

	//***** Include the following, Primary item must be setted in item_configs folder *****
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 429]);	// Socket Dusk Shroud
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 430]);	// Socket Wyrmhide
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 431]);	// Socket Scarab Husk
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 432]);	// Socket Wire Fleece
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 433]);	// Socket Diamond Mail
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 434]);	// Socket Loricated Mail
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 435]);	// Socket Bone Weave
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 436]);	// Socket Great Hauberk
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 437]);	// Socket Balrog Skin
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 438]);	// Socket Hellforge Plate
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 439]);	// Socket Kraken Shell
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 440]);	// Socket Lacquered Plate
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 441]);	// Socket Shadow Plate
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 442]);	// Socket Sacred Armor
	NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 443]);	// Socket Archon Plate
	
	
	NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 200]);	// Socket Berserker Axe
	
	NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 255]);	// Socket Thresher
	NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 256]);	// Socket Cryptic Axe
	NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 257]);	// Socket Great Poleaxe
	NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 258]);	// Socket Giant Thresher

	//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_WEAPON, 295]);	// Titan's Revenge : Exceptional -> Elite

	NTConfig_CubingItem.push([NTCU_UPGRADE_N_UNIQUE_ARMOR, 337]);	// Magefist : Normal -> Exceptional
	//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 360]);	// Skin of the Vipermagi : Exceptional -> Elite
	//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 383]);	// Magefist or Lava Gout : Exceptional -> Elite
	//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 389]);	// Gore Rider : Exceptional -> Elite
	//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 477]);	// Arreat's Face : Exceptional -> Elite
	//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 481]);	// Herald Of Zakarum : Exceptional -> Elite

	//------------------------------------------------------------------------------
	// Gamble Configuration
	// To specify what items to gamble, adjust the array with the desired item codes
	//------------------------------------------------------------------------------
	NTConfig_Gamble = false;		// Enable gambling
	NTConfig_GambleStartGold = 3000000;	// Gold amount to start the gambling
	NTConfig_GambleStopGold = 150000;	// Gold amount to stop the gambling

	NTConfig_GambleItem.push(520);	// Amulets
	NTConfig_GambleItem.push(522);	// Rings
	NTConfig_GambleItem.push(418);	// Circlets
	NTConfig_GambleItem.push(419);	// Coronets
	//NTConfig_GambleItem.push(334);	// Leather Gloves
	//NTConfig_GambleItem.push(335);	// Heavy Gloves
	//NTConfig_GambleItem.push(336);	// Chain Gloves
	//NTConfig_GambleItem.push(337);	// Light Gauntlets
	//NTConfig_GambleItem.push(338);	// Gauntlets

	//------------------------------------------------------------------------------
	// General Configuration
	//------------------------------------------------------------------------------
	NTConfig_AutoParty = false;					// Always use AutoParty, even if not being in public mode
	NTConfig_PublicMode = false;
		
	NTConfig_ExitGameOnMissingPassword = false;	// Exit the game if it is public due to an error pasting the password at game creation
	me.quitonhostile = false;					// Exit the game if another player expresses hostility towards you
	
	me.maxgametime = 600; 		// Time in seconds, maximum game length (0 is infinite)
	NTConfig_StartDelay = 0;	// Delay time in milliseconds to start;
	NTConfig_AreaDelay = 500;	// Delay time in milliseconds to change area;
	NTConfig_SnagDelay = 500;	// Delay time in milliseconds to wait before starting picking items
	
	//------------------------------------------------------------------------------
	// World Event Configuration
	//------------------------------------------------------------------------------
	NTConfig_CheckSojSales = false;			// If set to true, the bot will stop the current script and wait 5 minutes for every "x Stones of Jordan sold to Merchants" message. Your char will continue running in the same game, unless your me.maxgametime is not reached yet.
	NTConfig_CheckCloneDiablo = false;		// Set to true if you want to wait in game after notifying "Diablo Walks the Earth" message.
	NTConfig_WorldEventAccount = "";		// Wisp this account in case of a world event or a soj sale every 10 minutes (leave blank not to wisp any account)
	NTConfig_WorldEventWaitTime = 0;		// How long you want to wait in game in case of a world event in minutes (0 is infinite)
		
	//------------------------------------------------------------------------------
	// Shrine Configuration
	//------------------------------------------------------------------------------
	NTConfig_ActivateNearbyShrines = true;	// Set to true if you'd like to use shrines (Note: Shrines will only be activated if it is actually useful)
	// If you don't wish to activate shrines in a certain area, add it's areaid to NTConfig_ShrineExceptions - Check the file "areas.txt" in the sdk folder to view all areaids
	//NTConfig_ShrineExceptions(108); 		// Chaos Sanctuary
	
	//------------------------------------------------------------------------------
	// Attack Configuration
	//------------------------------------------------------------------------------
	NTConfig_AttackSkill[0] = 0;	// First skill. Set to 0 if you won't
	NTConfig_AttackSkill[1] = 112;	// Primary skill to boss.
	NTConfig_AttackSkill[2] = 113;	// Primary aura to boss. Set to 0 if you won't
	NTConfig_AttackSkill[3] = 112;	// Primary skill to others.
	NTConfig_AttackSkill[4] = 113;	// Primary aura to others. Set to 0 if you won't
	NTConfig_AttackSkill[5] = 0;	// Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
	NTConfig_AttackSkill[6] = 0;	// Secondary aura. Set to 0 if you won't
	NTConfig_ClearPosition = true;	// Set to true if you want to clear area after killing boss.

	NTConfig_CheckImmunitySkills = [];		// Define the condition for a monster being immune; Add skill numbers (0-6) here; Example: [1, 3] means that a monster is considered as immune if it is immune to both NTConfig_AttackSkill[1] and NTConfig_AttackSkill[3]
	NTConfig_BehaviourOnImmuneMonster = 0;	// Determine what the char is supposed to do when attacking immune Monsters; 0: Don't do anything (D2NT standard), 2: Skip the Monster
	// Check self safe in field (NOT in town). Set to 0 if you won't
	// 0x01 : Potion, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
	//NTConfig_CheckSelfSafe = 0;
	// Check merc's safe in field (NOT in town). Set to 0 if you won't
	// 0x01 : Death, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
	NTConfig_CheckMercSafe = 0x01;

	NTConfig_UseRedemptionHP = 80;	// Use Redemption if under this percent of life. Set to 0 if you won't
	NTConfig_UseRedemptionMP = 60;	// Use Redemption if under this percent of mana. Set to 0 if you won't
}
Kannst vlt mal NTConfig_checkMercSafe= remarken //

Hast du die selbst geändert? Ich frage vor Allem wegen der Möglichkeit nem Char zu sagen, er soll net telen. Wusst garnet, dass sowas geht.
Ne Info für mich? Danke.
fred9x9 is offline  
Old 12/24/2010, 23:34   #482
 
elite*gold: 0
Join Date: Jul 2010
Posts: 88
Received Thanks: 0
ist die modifizierte version von ldevil & bluebird (mit autotele)

hat auch nix gebracht. der geht einfach hin zu malah, kurz in den "verkaufsbereich" rein, macht dort nix, und macht wieder normal weiter. hmmm

ist immer zu beginn der scripte, dass er hingeht, d.h. in der anzeige steht schon das neue script. wenn er jetzt z.b. mit eldritch fertig ist, steht schon das nächste script da... z.b. diablo script und er geht zum healer.
laxast is offline  
Old 12/26/2010, 03:28   #483

 
RezChams's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 24,265
Received Thanks: 15,362
Meister Muddy ich habe eine Padawan Frage:

Spaß bei seite.

Also, ist es in deinen Bot eingebaut, das der Leader wenn er ein Tp castet CHECKT! ob er es den gecastet hat?
mir fiel bei Sterni auf das er ab und zu durch einen Hit nicht castet... und somit der Leecher leer bleibt^^
RezChams is offline  
Old 12/26/2010, 22:56   #484
 
elite*gold: 0
Join Date: May 2010
Posts: 212
Received Thanks: 40
Quote:
Originally Posted by laxast View Post
ist die modifizierte version von ldevil & bluebird (mit autotele)

hat auch nix gebracht. der geht einfach hin zu malah, kurz in den "verkaufsbereich" rein, macht dort nix, und macht wieder normal weiter. hmmm

ist immer zu beginn der scripte, dass er hingeht, d.h. in der anzeige steht schon das neue script. wenn er jetzt z.b. mit eldritch fertig ist, steht schon das nächste script da... z.b. diablo script und er geht zum healer.
Ne sorry, aber da fällt mir leider nix ein, nur vielleicht spekulieren, townmanager geändert?
Ne Frage hätt ich, ist in der Idevil/bluebird version, Muddys Ausweichroutine für kranke Sosos implementiert und wo gibts die ?
fred9x9 is offline  
Old 12/26/2010, 23:45   #485
 
elite*gold: 0
Join Date: Jul 2006
Posts: 469
Received Thanks: 235
Quote:
Originally Posted by fred9x9 View Post
Ne sorry, aber da fällt mir leider nix ein, nur vielleicht spekulieren, townmanager geändert?
Ne Frage hätt ich, ist in der Idevil/bluebird version, Muddys Ausweichroutine für kranke Sosos implementiert und wo gibts die ?
Meine Version gibt's in meiner Sig, aber basiert auf der Version 1.12 von muddy und ist jetzt relativ schwer da was gescheites draus zu basteln. Da's ja in 1.13 doch ein paar Nette updates gibt.

Ich denk auch, dass Muddies version viel besser organisiert ist und abgesehen von all den geänderten Variablen- und Dateinamen die's relativ schwer machen Scripts von anderen einzubauen.

Darfst aber gern Mal nen Blick in meine Version schauen, hab ja auch von dir ein Script rein gepackt ^^

edit: Und ja da's auf V1.12 basiert ist die ausweichroutine auch drin. Das eigentliche Ziel war anfangs nur Muddies mit Automule, aber da Muddie da dann grad seine "Auszeit" genommen hat, hab ich dann halt mit Bluebird Muddies Version versucht anzupassen, dass andere Scripts einfacher zu integrieren sind

Nun wo Muddie doch nicht für immer weg ist, sollt ich evtl. einfach das Mule Script ausglieder und für Muddies Version anpassen, so dass es jeder selber in die Aktuelle von Muddy einbauen kann.
ldevil is offline  
Old 12/27/2010, 00:00   #486

 
RezChams's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 24,265
Received Thanks: 15,362
Also jetzt brumt mir der Schädel, was willst du damit sagen
RezChams is offline  
Old 12/27/2010, 00:10   #487
 
elite*gold: 0
Join Date: Jul 2010
Posts: 88
Received Thanks: 0
Quote:
Originally Posted by fred9x9 View Post
Ne sorry, aber da fällt mir leider nix ein, nur vielleicht spekulieren, townmanager geändert?
Ne Frage hätt ich, ist in der Idevil/bluebird version, Muddys Ausweichroutine für kranke Sosos implementiert und wo gibts die ?
hm also ich weiß nicht, ldevil/bluebird haben da wahrscheinlich was geändert (oder auch nicht), aber ldevil weiß auch nicht, wo der fehler liegt. naja kann man nix machen ^^
laxast is offline  
Old 12/27/2010, 00:13   #488
 
elite*gold: 0
Join Date: Jul 2006
Posts: 469
Received Thanks: 235
Quote:
Originally Posted by Daarmy View Post
Also jetzt brumt mir der Schädel, was willst du damit sagen
Dass Muddies Version besser ist als meine

Zu deiner Frage: Da hab ich keinen Schimmer. Schau dir halt die entsprechende Funktion an


edit: @laxast: stell Mal das IdentAtCain ein, oder hab ich dir das schon Mal geraten? Weil dafür hab ich an den Scripten rumgebastelt
ldevil is offline  
Old 12/27/2010, 00:15   #489
 
elite*gold: 0
Join Date: Jul 2010
Posts: 88
Received Thanks: 0
hm, problem is, ich sammel viele sachen unid ein
laxast is offline  
Old 12/27/2010, 13:49   #490
 
elite*gold: 0
Join Date: Jul 2006
Posts: 469
Received Thanks: 235
Quote:
Originally Posted by laxast View Post
hm, problem is, ich sammel viele sachen unid ein
Das sollte kein Problem sein, wenn du was im invent hast, dass er unid behält, sollte er eigentlich Cain eh nicht ansprechen. Scheint auch zu funktionieren
ldevil is offline  
Old 12/27/2010, 14:13   #491
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41364
Join Date: Jan 2010
Posts: 22,727
Received Thanks: 12,653
Da hat sich ja einiges in meiner Abwesenheit getan, direkt mal alles durchschauen.

Ich hoffe ihr hattet auch alle schöne Feiertage.

Quote:
Originally Posted by fred9x9 View Post
Kannst vlt mal NTConfig_checkMercSafe= remarken //

Hast du die selbst geändert? Ich frage vor Allem wegen der Möglichkeit nem Char zu sagen, er soll net telen. Wusst garnet, dass sowas geht.
Ne Info für mich? Danke.
Dieser Ratschlag ist leider alles andere als gut, weil du damit die komplette Variablen Initialisierung aussetzt.

Ich weiss, dass das eventuell schlecht einsehbar ist, da man ja sonst auch immer munter auskommentiert. Dabei sind es aber in der Regel Arrays, die für sich schon initialisiert sind und an die du nur Datensätze anhängst.

Bei einfachen Variablen (auch wenn es die in JavaScript praktisch nicht gibt, aber wir tun einfach mal so, als ob) muss aber immer eine Initialisierung erfolgen, ansonsten ist es von der Interpretation der Laufzeitumgebung abhängig, was eigentlich passiert. Und das sollte man vermeiden, je eindeutiger man sich ausdrückt, desto besser.

Darum in jedem Fall NTConfig_checkMercSafe mit Null initialisieren und nicht die Initialisierung auskommentieren.

Quote:
Originally Posted by laxast View Post
ist die modifizierte version von ldevil & bluebird (mit autotele)

hat auch nix gebracht. der geht einfach hin zu malah, kurz in den "verkaufsbereich" rein, macht dort nix, und macht wieder normal weiter. hmmm

ist immer zu beginn der scripte, dass er hingeht, d.h. in der anzeige steht schon das neue script. wenn er jetzt z.b. mit eldritch fertig ist, steht schon das nächste script da... z.b. diablo script und er geht zum healer.
Du kannst ausschließen, dass der Char Tränke kauft?

Der "Fehler" - sofern er denn einer ist - liegt in der NTTMGR_TownManager() function in der gleichnamigen library.
Ich bezweifle aber stark, dass überhaupt ein Fehler vorliegt.

Quote:
Originally Posted by Daarmy View Post
Meister Muddy ich habe eine Padawan Frage:

Spaß bei seite.

Also, ist es in deinen Bot eingebaut, das der Leader wenn er ein Tp castet CHECKT! ob er es den gecastet hat?
mir fiel bei Sterni auf das er ab und zu durch einen Hit nicht castet... und somit der Leecher leer bleibt^^
Nicht bewusst würde ich sagen.

Aber das ist ja nicht das Problem, in dem Fall passt man einfach die Funktion zum Erstellen von TPs etwas an, sodass mehrmals versucht wird, ein TP zu erstellen, falls es nicht direkt klappt.

Quote:
Originally Posted by ldevil View Post
Meine Version gibt's in meiner Sig, aber basiert auf der Version 1.12 von muddy und ist jetzt relativ schwer da was gescheites draus zu basteln. Da's ja in 1.13 doch ein paar Nette updates gibt.

Ich denk auch, dass Muddies version viel besser organisiert ist und abgesehen von all den geänderten Variablen- und Dateinamen die's relativ schwer machen Scripts von anderen einzubauen.

Darfst aber gern Mal nen Blick in meine Version schauen, hab ja auch von dir ein Script rein gepackt ^^

edit: Und ja da's auf V1.12 basiert ist die ausweichroutine auch drin. Das eigentliche Ziel war anfangs nur Muddies mit Automule, aber da Muddie da dann grad seine "Auszeit" genommen hat, hab ich dann halt mit Bluebird Muddies Version versucht anzupassen, dass andere Scripts einfacher zu integrieren sind

Nun wo Muddie doch nicht für immer weg ist, sollt ich evtl. einfach das Mule Script ausglieder und für Muddies Version anpassen, so dass es jeder selber in die Aktuelle von Muddy einbauen kann.
Danke für die Blumen, meiner Selbsteinschätzung nach herrscht bei mir furchtbares Chaos.

Ich hoffe ich schaffe es dieses Jahr noch, dort mal einen Blick drauf zu werfen, über die Feiertage habe ich mich rein gar nicht mit D2NT oder D2 bezogenen Dingen beschäftigt. Und jetzt bin ich schon wieder damit beschäftigt, mir was zum Organe holen zu schreiben...

Quote:
Originally Posted by ldevil View Post
Das sollte kein Problem sein, wenn du was im invent hast, dass er unid behält, sollte er eigentlich Cain eh nicht ansprechen. Scheint auch zu funktionieren
Jedenfalls sieht das meine Funktion so vor, sofern die noch in der Form bei dir enthalten ist.

Lg
Muddy
Muddy Waters is offline  
Thanks
1 User
Old 12/27/2010, 14:42   #492
 
elite*gold: 0
Join Date: Jul 2010
Posts: 88
Received Thanks: 0
funzt danke ldevil

edit: nicht ganz! jetzt geht er nach jedem script zu nem repair-menschen und repariert das stuff, auch nicht ganz sinnvoll irgendwie aber nur in akt 5 + akt 4, meine abfolge ist: travi(geht nachher nicht hin),eldritch(geht, wenn fertig),diablo(geht, wenn fertig),pindle(beendet game, wenn fertig)

d.h. er geht 2x umsonst zu nem repairer pro run
laxast is offline  
Old 12/27/2010, 14:55   #493
 
elite*gold: 0
Join Date: Jul 2006
Posts: 469
Received Thanks: 235
Sollte er eigentlich nur machen, wenn er auch was pickt hat um den Trash zu verkaufen. Aber dann weiss ich wenigstens woran es liegt und kanns mir Mal ansehen
ldevil is offline  
Old 12/27/2010, 14:58   #494
 
elite*gold: 0
Join Date: May 2009
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by laxast View Post
funzt danke ldevil

edit: nicht ganz! jetzt geht er nach jedem script zu nem repair-menschen und repariert das stuff, auch nicht ganz sinnvoll irgendwie aber nur in akt 5 + akt 4, meine abfolge ist: travi(geht nachher nicht hin),eldritch(geht, wenn fertig),diablo(geht, wenn fertig),pindle(beendet game, wenn fertig)

d.h. er geht 2x umsonst zu nem repairer pro run
Hat das vielleicht mit der Repair Rate zu tun?
Das er z.B. immer min. Repair von 99% haben will?
Gab glaub ich mal solch eine Diskussion bezüglich Titans

falls nicht, sry for spam
Copy&Past is offline  
Old 12/27/2010, 15:02   #495
 
elite*gold: 0
Join Date: Jul 2010
Posts: 88
Received Thanks: 0
ok, neue entdeckung:
er geht nur zum repair-menschen (in den beiden scripten), wenn er NICHTS gepickt hat. wenn er etwas gepickt hat, geht er ganz normal zum normalen healer und idented+verkauft dort, kein repair besuch. (es ist meistens etwas unid im inventar, deswegen geht er nie cain)
vllt hilft das weiter
repair rate, wo find ich die? das gabs früher in der charconfig-file, aber jetzt seh ich da nix mehr.

edit: macht er btw zu BEGINN der scripte, also zu beginn von diablo + pindle, also die laufen schon in der anzeige
laxast is offline  
Reply


Similar Threads Similar Threads
[Release] D2NT 3.1 1.13c
07/17/2016 - Diablo 2 - 91 Replies
hi, hab eben den d2nt3.1 gefunden. ein neues baba script is dabei. release thread eon D2NT3.1
[Realease] Muddy's Waypoint Catcher
08/21/2013 - Diablo 2 Programming - 46 Replies
Moin zusammen, hier mal die erste Release Version eines kleinen Scripts genannt Waypoint Catcher. Das ganze ist jetzt nichtmal 24h alt, dementsprechend sind vermutlich noch einige Bugs vorhanden. Hinweise dazu nehme ich gerne entgegen. ;) Features: - Suchen sämtlicher Wegpunkte mit Ausnahme, wobei in Akt ein durch Probleme im Jail Bereich nach dem Wegpunkt Outer Cloister abgebrochen wird - Wahlweise auch mit TP an jedem gefundenen Wp, sodass man damit auch anderen (nicht-Bots) die...
[D2NT] Long Dia Release
05/10/2011 - Diablo 2 Programming - 28 Replies
Ein kleines Script für diablo, es startet beim eingang macht ein tp cleart den weg zum star macht am star noch ein tp dann läufts wie das normale nur cleart es schöner :) hoffe euch gefällts ich habs noch nicht wirklich getestet (2-3 runs) bugs können gerne hier gepostet werden verbesserungs vorschläge auch :D installation: 1.)Script in den Bot ordner kopieren 2.)Script im editor oder vergleichbaren öffnen 3.) Msg´s anpassen (ist nicht schwer) 4.) in der char config die zeile...
D2NT 3.0 Pickit release
10/22/2010 - Diablo 2 - 77 Replies
edit
Muddy's D2NT Help
07/29/2010 - Diablo 2 - 3 Replies
hi i just started to use the bot it work's great. how do i set up the skill's i use on my Sorc and pick up itme's? ..... if you reply to this post please use english



All times are GMT +1. The time now is 07:03.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.