[Release] Muddy's D2NT

03/05/2011 14:58 RezChams#736
Sehr schön was die neue Version so alles kann, und ist auch schneller als andere NT Bots
03/05/2011 15:02 xXx__xXx#737
hmmm warum braucht ihr alle mehrere d2 ordner?

was bringt das?
03/05/2011 15:16 Muddy Waters#738
Quote:
Originally Posted by Daarmy View Post
Sehr schön was die neue Version so alles kann, und ist auch schneller als andere NT Bots
Das war auch einer der Punkte, auf die ich mich konzentriert habe.

Auch wenn Änderungen an Delays immer recht sensibel und nicht immer sinnvoll sind. Teilweise kann man die Geschwindigkeit aber auch durch Workarounds optimieren.

So wird zum Beispiel beim Kaufen von Tränken nicht mehr Überprüft, ob sich das Goldkonto ändert, sondern ob sich die Anzahl der Tränke im Gürtel ändert. Letztere wird nämlich schneller aktualisiert, als das eigene Goldkonto.

Auch wenn ich diesen Workaround nur geschrieben habe, um einen Bug zu beseitigen, der sich durch das Ändern der Reihenfolge für die Aktionen bei einem Händler ergab. :D

Quote:
Originally Posted by Phantomracer View Post
hmmm warum braucht ihr alle mehrere d2 ordner?

was bringt das?
Dieses Problem haben nur einige Nutzer, mich eingeschlossen.

Sobald mehr als ein Bot gleichzeitig läuft, kommt es für alle weiteren Bots nach etwa 1 Minute im Spiel zu einem Disconnect, sofern nicht jedes Profil über eine eigene D2 Installation läuft.

Die Lösung einfach mehrere D2 Installationen zu verwenden ist einfach und schafft Abhilfe, daher habe ich mir darüber noch nie tiefgehendere Gedanken gemacht, es wäre wohl ohnehin nicht ganz einfach, die Ursache festzustellen. :)

Lg
Muddy
03/05/2011 15:27 xXx__xXx#739
Hmmm, asooo, denke es hat vl den Fehler wegen der BNet Log Datei,..... das sich da irgendwas überschneidet ........

LG René
03/05/2011 15:36 jannimanni#740
Kann man eigentlich einfach die neue Version von Muddys runterladen und in die Vorhandene reinkopieren?
Also ich mein einfach die vorhandenen Datein durch die geupdateten ersetzen?

Oder wärs ratsamer die chars nochmal komplett neu mit Muddys 1.2 einzurichten?
03/05/2011 15:47 Muddy Waters#741
Quote:
Originally Posted by jannimanni View Post
Kann man eigentlich einfach die neue Version von Muddys runterladen und in die Vorhandene reinkopieren?
Also ich mein einfach die vorhandenen Datein durch die geupdateten ersetzen?

Oder wärs ratsamer die chars nochmal komplett neu mit Muddys 1.2 einzurichten?
Meinst du die alte Version 1.2 mit dem kleinen Bug in der Cubing library, oder eine ältere Version?

Für die 1.2 Version mit dem Bug kannst du es einfach drüberkopieren, eine Änderung der Configs ist nicht nötig.

Im Bezug auf noch ältere Versionen würde ich es neu aufsetzen, da die Änderungen hier deutlich gravierender sind.

Lg
Muddy

P.S.: Verzeih mir das Editieren deines Beitrags, ich bin aus Versehen auf den falschen Button gekommen. :o
03/05/2011 15:50 jannimanni#742
Quote:
Originally Posted by Muddy_Waters View Post
Meinst du die alte Version 1.2 mit dem kleinen Bug in der Cubing library, oder eine ältere Version?

Für die 1.2 Version mit dem Bug kannst du es einfach drüberkopieren, eine Änderung der Configs ist nicht nötig.

Im Bezug auf noch ältere Versionen würde ich es neu aufsetzen, da die Änderungen hier deutlich gravierender sind.

Lg
Muddy

P.S.: Verzeih mir das Editieren deines Beitrags, ich bin aus Versehen auf den falschen Button gekommen. :o
ohne die anmerkung hätt ich das edit garnciht gemerkt ;)

ich bin momentan mit 1.13 unterwegs, das ist doch richtig das 1.2 aktueller ist? nur das ich da nichts verwechsle ^^
03/05/2011 15:55 Muddy Waters#743
Quote:
Originally Posted by jannimanni View Post
ohne die anmerkung hätt ich das edit garnciht gemerkt ;)

ich bin momentan mit 1.13 unterwegs, das ist doch richtig das 1.2 aktueller ist? nur das ich da nichts verwechsle ^^
Ja, siehst du richtig. Ich glaube ich werde die alten Versionen mal in den zweiten Betrag verlagern, dann ist es eindeutiger. :)

Du solltest in dem Fall aber nichts drüberkopieren und die Configs nochmal neu anpassen, weil sich deren Aufbau mit der neuen Version stark geändert hat (Stichwort Global Config ;)).

Lg
Muddy
03/05/2011 16:02 Onkarion#744
Huhu!

Danke für die neue Version! Sie läuft gefühlt um einiges schneller und das Precast bei den Wellen bei Baal ist genial:handsdown:

Nur habe ich ein Problem bei der Gräfin. Meine Sorc telt zwar zu ihr, schreibt aber "NTA_KillMonster() failed (Tower Cellar Level 5)" obwohl die Gräfin etwa eine Orb-Reichweite entfernt steht.

D2 ist auf englisch umgestellt. Geändert habe ich bisher nur die Char-Config. Habe auch mal das alte Countess-Skript probiert und es klappt nicht.

Hast du eine Idee?

Grüße
Onkarion
03/05/2011 16:05 jexhammer#745
@Muddy_Waters

Also ein Leechscript integrieren funt leider nicht

Code:
 // Use the following syntax for activating botscripts: MWConfig_Script.push([<ScriptName>, <Script runtime in minutes (0 is infinite)>]);
    // ***************** Current schedule ******************
    //MWConfig_Script.push(["NTAndariel.ntj", 10]);
    //MWConfig_Script.push(["NTPit.ntj", 10]); MWConfig_ClearPathToPitSpectype = 0; NTConfig_ClearPitLevel1 = 2; // 0 : don't clear, 1 : clear path only, 2 : clear all
    //MWConfig_Script.push(["NTCountess.ntj", 5]); MWConfig_ClearCountessRoomsSpectype = 0;
    //MWConfig_Script.push(["NTAncientTunnels.ntj", 10]); MWConfig_ClearPathToTunnelsSpectype = 0x01;
    //MWConfig_Script.push(["NTTravincal.ntj", 10]);
    //MWConfig_Script.push(["NTMephisto.ntj", 10]); MWConfig_OpenMephistoChest = true; MWConfig_MephistoClearArea = true;
    //MWConfig_Script.push(["NTEldritch.ntj", 10]); NTConfig_ShenkExtension = true;
    MWConfig_Script.push(["Others-BaalLeechFight.ntj", 10]); NTConfig_KillBaal = true;
   [COLOR="DarkOrange"] NTConfig_Leader = "asddf" // Name vom Leader-Char, Groß- und Kleinschreibung beachten![/COLOR]
der NTconfig hab ich die var NTConfig_Leader; spendiert. Die fehlerhaften Stellen die anfangs da waren gelöscht. Der gamejoin funktioniert. Aber er lädt das script nicht. Da passiert soviel wie wenn ich bei Act 2 XXXX nur die // entferne und nicht nach oben schiebe :D

Aso erstmal noch danke für die positions bestimmung ;-) hat wunderbar mit Druide geklappt. Aber Hammerdin & Smiter sind beides Paladine ^^ der Smiter soll aber da stehen wo der Druide steht.

Wäre Es möglich:
Code:
switch(me.classid)
{
    case NTC_CHAR_CLASS_[COLOR="DarkOrange"]SMITER[/COLOR]:
        NTM_MoveTo(me.areaid, 42, 42);
        break;
    case NTC_CHAR_CLASS_PALADIN:
    case NTC_CHAR_CLASS_BARBARIAN:
        NTM_MoveTo(me.areaid, 15092, 5028);
        break;
    default:
        NTM_MoveTo(me.areaid, 15092, 5044);
}
Und in der Char Config einfach die Palaconfig kopieren und umbennen im Stil von : NTConfig_Smiter_Charname.ntl ?
03/05/2011 16:22 jannimanni#746
libs\common\NTTown.ntl(2192):TypeError: MWConfig_BeltTypeColQuantity[type] is undefined

was is denn bloss falsch an meinem gürtel? :<
03/05/2011 16:32 jexhammer#747
Ok habs jetzt mit dem Smite und Hammerdin problem. habe einfach das NTBaal.nj kopiert zu NTBaalSmiter.ntj benannt und die Position für den Paladin generell geändert und NTBaalSmiter.ntj in die Charconfig extra gefügt :D

@janni

zeig mal die Charconfig von dir du wirst da was geändert haben ohne die Komments gelesen zu haben :D
03/05/2011 16:34 jannimanni#748
Code:
/**
*	This file was modified by [Only registered and activated users can see links. Click Here To Register...]
*	Check the programming section for updates and further scripts
*	Last Update: 03/02/2011
*
*	Hotkey				Description
*
*	Pause/Break			Pauses the current bot script.
*	Page up (PgUp)		Skips the current bot script.
*	Page down (PgDn)	Repeats the previous bot script
*	Home (Pos1)			Shows your current coordinates and areaid.
*	End					Shows current ping in status text bar.
*	Insert (Ins)		Logs all items on your char to either XML or TXT.
*	Delete (Del)		Exits the game. NOTE: Always use this key to leave a game!
*/

Include("NTBot/char_configs/MWConfig_GlobalSettings.ntl");

var NTConfig_UseRedemptionHP;
var NTConfig_UseRedemptionMP;

function NT_LoadConfig()
{
	MW_LoadGlobalSettings();
	
		//------------------------------------------------------------------------------
	//
	// Run Configuration
	//
	//------------------------------------------------------------------------------
	
	// Use the following syntax for activating botscripts: MWConfig_Script.push([<ScriptName>, <Script runtime in minutes (0 is infinite)>]);
	// ***************** Current schedule ******************
	MWConfig_Script.push(["NTPit.ntj", 10]); MWConfig_ClearPathToPitSpectype = 0; NTConfig_ClearPitLevel1 = 2; // 0 : don't clear, 1 : clear path only, 2 : clear all
	MWConfig_Script.push(["NTAncientTunnels.ntj", 10]); MWConfig_ClearPathToTunnelsSpectype = 0x01;
	MWConfig_Script.push(["MWSuperChests.ntj", 20]); MWConfig_SuperChestClearAreaRadius = 10; MWConfig_SuperChestAreas = ["Cave Level 2", "Mausoleum", "Hole Level 2", "Pit Level 2", "Sewers Level 3", "Halls of the Dead Level 2", "Stony Tomb Level 2", "Maggot's Lair Level 3", "Ancient Tunnels", "Tal Rasha's Tomb", "Arachnid Lair", "Swampy Pit Level 3", "Flayer Dungeon", "Sewers Level 2", "Abbadon", "Pit of Acheron", "Drifter Cavern", "Infernal Pit", "Icy Cellar", "Halls of Pain"];
	
	
	
	// *****************************************************
	//------------------------------------------------------------------------------
	// Available Scripts
	//------------------------------------------------------------------------------
	/* 
	// *********************** Act I ***********************
	
	MWConfig_Script.push(["NTMausoleum.ntj", 10]); NTConfig_KillBloodRaven = true;
	MWConfig_Script.push(["NTTristram.ntj", 10]); NTConfig_KillRakanishu = true;
	MWConfig_Script.push(["NTHole.ntj", 10]); NTConfig_ClearHoleLevel1 = 1; // 0 : don't clear, 1 : clear path only, 2 : clear all
	MWConfig_Script.push(["NTTreehead.ntj", 10]);
	MWConfig_Script.push(["NTCountess.ntj", 5]); MWConfig_ClearCountessRoomsSpectype = 0;
	MWConfig_Script.push(["NTPit.ntj", 10]); MWConfig_ClearPathToPitSpectype = 0; NTConfig_ClearPitLevel1 = 2; // 0 : don't clear, 1 : clear path only, 2 : clear all
	MWConfig_Script.push(["NTAndariel.ntj", 10]);
	
	// *********************** Act II **********************
	
	MWConfig_Script.push(["NTRadament.ntj", 10]);
	MWConfig_Script.push(["NTColdworm.ntj", 10]);
	MWConfig_Script.push(["NTAncientTunnels.ntj", 10]); MWConfig_ClearPathToTunnelsSpectype = 0x01;
	MWConfig_Script.push(["NTSummoner.ntj", 5]); NTConfig_KillFireEye = false; MWConfig_ClearPathToSummonerSpectype = 0;
	MWConfig_Script.push(["NTDuriel.ntj", 10]); MWConfig_ClearPathToDurielSpectype = 0x01;
	
	// ********************** Act III **********************
	
	MWConfig_Script.push(["MWFlayerJungle.ntj", 10]);
	MWConfig_Script.push(["MWKurastSewers.ntj", 5]); MWConfig_ClearPathToKurastSewersSpectype = 0;
	MWConfig_Script.push(["MWKurastTemples.ntj", 5])
	MWConfig_Script.push(["NTKurastTravel.ntj", 10]);
	MWConfig_Script.push(["NTTravincal.ntj", 5]);
	MWConfig_Script.push(["NTMephisto.ntj", 5]); MWConfig_OpenMephistoChest = true; MWConfig_MephistoClearArea = true;
	
	// *********************** Act IV **********************
	
	MWConfig_Script.push(["NTIzual.ntj", 5]);
	MWConfig_Script.push(["MWRiverOfFlame.ntj", 10]);
	MWConfig_Script.push(["NTHephasto.ntj", 10]);
	MWConfig_Script.push(["NTDiablo.ntj", 10]); MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = false; // false: start at entrance, true: start at star
	
	// *********************** Act V ***********************
	
	MWConfig_Script.push(["NTEldritch.ntj", 5]); NTConfig_ShenkExtension = true;
	MWConfig_Script.push(["NTThreshSocket.ntj", 5]);
	MWConfig_Script.push(["NTFrozenRiver.ntj", 10]); NTConfig_ClearFrozenRiver = false;
	MWConfig_Script.push(["NTGlacialTrail.ntj", 10]); NTConfig_ClearGlacialTrail = false;
	MWConfig_Script.push(["NTIcyCellar.ntj", 5]); NTConfig_ClearIcyCellar = false;
	MWConfig_Script.push(["NTNihlathak.ntj", 5]); NTConfig_PindleskinExtension = false; MWConfig_SkipOnTombVipers = true;
	MWConfig_Script.push(["MWWorldstoneKeep.ntj", 10]); MWConfig_SkipLevelOnWitches = true; MWConfig_SkipLevelOnSouls = false; MWConfig_SkipLevelOnDeathLords = true;
	MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true; MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = false; MWConfig_DoBaalPreAttack = true;
	
	// *********************** Misc ************************
	
	MWConfig_Script.push(["MWSuperChests.ntj", 20]); MWConfig_SuperChestClearAreaRadius = 10; MWConfig_SuperChestAreas = ["Cave Level 2", "Mausoleum", "Hole Level 2", "Pit Level 2", "Sewers Level 3", "Halls of the Dead Level 2", "Stony Tomb Level 2", "Maggot's Lair Level 3", "Ancient Tunnels", "Tal Rasha's Tomb", "Arachnid Lair", "Swampy Pit Level 3", "Flayer Dungeon", "Sewers Level 2", "Abbadon", "Pit of Acheron", "Drifter Cavern", "Infernal Pit", "Icy Cellar", "Halls of Pain"];
	MWConfig_Script.push(["MWRush.ntj", 0]); MWConfig_IsRusher = true; MWConfig_ActiveQuestersName = ""; MWConfig_NumberOfCharsToRush = 1; MWConfig_GetHoradricCubesInNorm = true; MWConfig_QuestSchedule = ["A4Q1", "A5Q1"]; MWConfig_RushActs = [1, 2, 3, 4, 5]; 
	MWConfig_Script.push(["MWWaypointCatcher.ntj", 0]); MWConfig_WaypointCatcherActs = [1, 2, 3, 4, 5]; MWConfig_TPWaypoints = true; MWConfig_SkipHallsOfPain = true; MWConfig_ClearWaypointPaths = false; 
	MWConfig_Script.push(["MWIdleMode.ntj", 0]); MWConfig_IdleModeRuntime = 5; // Runtime in Minutes
	MWConfig_Script.push(["NTCows.ntj", 10]);
	MWConfig_Script.push(["MWBloodyRejuvs.ntj", 10]);
	MWConfig_Script.push(["MWOrganHarvest.ntj", 10]); MWConfig_EnterInvalidUberPortals = true; MWConfig_PauseOnLackOfKeys = false; MWConfig_IntendedUberPortal = 0; // Matron's Den: 133; Forgotten Sands: 134; Furnace Of Pain: 135;
	MWConfig_Script.push(["MWUberTristram.ntj", 10]); MWConfig_PauseOnLackOfOrgans = false;
	
	*/
	//------------------------------------------------------------------------------
	// Misc Configuration
	//------------------------------------------------------------------------------
	
	NTConfig_SkipHealLife = 90;		// If you have more than this percent of life, you won't go to a healer.
	NTConfig_SkipHealMana = 70;		// If you have more than this percent of mana, you won't go to a healer
	NTConfig_UseMerc = true;		// Set to true if you use a mercenary, will revive merc at a reviver npc.
	MWConfig_ResetArmor = false;	// Set to true to reset your Enigma if Teleport skill is missing. WARNING: Activating this feature may - though not likely will - result in the loss of your enigma. Use at your own risk!

	//------------------------------------------------------------------------------
	// Potion Configuration
	//------------------------------------------------------------------------------
	
	NTConfig_LifeThresh = 70;		// Drink a normal potion if under this percent of life.
	NTConfig_LifeRejuvThresh = 60;	// Drink a rejuvenation potion if under this percent of life.
	NTConfig_ManaThresh = 30;		// Drink a normal potion if under this percent of mana.
	NTConfig_ManaRejuvThresh = 0;	// Drink a rejuvenation potion if under this percent of mana.
	
	NTConfig_MercLifeThresh = 50;	// This is the threshold to use a life potion on your merc in percent.
	NTConfig_MercRejuvThresh = 50;	// This is the threshold to use a rejuv potion on your merc in percent.
	
	//------------------------------------------------------------------------------
	// Chicken Configuration
	//------------------------------------------------------------------------------
	
	// This is your chicken life. If you go below this threshhold, your char will exit the game. You can either enter a percentage (1-100), an absolute threshold (>100) or 0 to deactivate life chicken.
	NTConfig_LifeChicken = 30;
	// This is your chicken mana. If you go below this threshhold, your char will exit the game. You can either enter a percentage (1-100), an absolute threshold (>100) or 0 to deactivate mana chicken.
	NTConfig_ManaChicken = 0;
	// This is your merc's chicken life in percent. If your merc goes below this threshhold, your char will exit the game.
	NTConfig_MercChicken = 0;
	
	//------------------------------------------------------------------------------
	// Inventory Configuration
	//------------------------------------------------------------------------------
	
	// Number of free columns. If less full columns are free stashing is set.
	NTConfig_FreeSpace = 5;

	// Each number represents a slot in your inventory.
	// Set to 0 if the slot and its content must not be touched.
	// Set to 1 to allow access to this slot.
	// Set to 2 to select the slot that is used for storing keys. (if keys are kept at another slot, your char will try to move them)
	NTConfig_Columns[0] = [1,1,1,1,1,2,0,0,0,0];
	NTConfig_Columns[1] = [1,1,1,1,1,0,0,0,0,0];
	NTConfig_Columns[2] = [1,1,1,1,1,0,0,0,0,0];
	NTConfig_Columns[3] = [1,1,1,1,1,0,0,0,0,0];

	// Maximum gold amount carried before going to stash.
	NTConfig_MinGoldToStash = 250000;
	
	// Set to true if your char is supposed to carry, buy and pick up keys. You do not need to add keys to your .nip files, they will be picked up anyway if this is set to true.
	MWConfig_CarryKeys = true;

	//------------------------------------------------------------------------------
	// Belt Configuration
	//------------------------------------------------------------------------------
	
	// Determine how many columns for each type of potion are used.
	// Available types : "hp" = health | "mp" = mana | "rv" = rejuvenation
	// The first number indicates how many columns will be used for this type of potion.
	// The second number indicates the minimum amount of potions in one column. If there are less potions in a single column when your char is in town, he will is visit a merchant in order to buy potions.
	// Unlike in vanilla D2NT, there is no need to specify which column is used for certain type of potion, this will be chosen automatically!
	MWConfig_BeltTypeColQuantity["rv"] = [1, 3];
	MWConfig_BeltTypeColQuantity["rv"] = [1, 3];
	MWConfig_BeltTypeColQuantity["rv"] = [2, 1];
	
	// Visit Town and buy potions if your char lacks mana when trying to loot a corpse or teleport.
	MWConfig_BuyPotionsOnLackOfMana = false;
	
	// Set to true to replace low quality potions with higher quality potions that just dropped.
	MWConfig_ReplaceLowQualityPotions = true;

	//-----------------------------------------------------------------------------------
	// NipFile Configuration
	//-----------------------------------------------------------------------------------
	
	NTConfig_NIPFilePath.push("private/normal.nip");
	NTConfig_NIPFilePath.push("private/magic_rare.nip");
	//NTConfig_NIPFilePath.push("private/set.nip");
	NTConfig_NIPFilePath.push("private/unique.nip");
	NTConfig_NIPFilePath.push("private/craft.nip");
	NTConfig_NIPFilePath.push("private/temp.nip");
	
	//------------------------------------------------------------------------------
	// Pickit Configuration
	//------------------------------------------------------------------------------
	
	// Radius to check for dropped items. NOTE: The maximum is at about ~75, entering higher values will not have any effect.
	NTConfig_SnagRange = 70;
	
	// Set to true to check for dropped items whenever you kill a monster.
	MWConfig_PickItemsInstantly = false;
	
	//------------------------------------------------------------------------------
	// Chest Configuration
	//------------------------------------------------------------------------------
	
	// Set to true to open chests. NOTE: This only affects some super unique chests in certain boss scripts.
	NTConfig_OpenChest = true;
	
	// Set to true to open almost any type of container.
	MWConfig_OpenAllNearbyChests = true;
	
	// Set to true to check for dropped items right after opening a chest. NOTE: This will slow down your runs and therefore should definately be set to false when doing private games.
	MWConfig_PickChestLootsInstantly = false;
	
	// This is the range being checked for chests after clearing an area or room. NOTE: You should not set this too high, 30 is a good value.
	MWConfig_OpenChestsRange = 30;
	
	// If you do not like to open chests in a certain area, you can its areaid as an exception below. NOTE: All areaids can be found in "sdk\areas.txt".
	// MWConfig_ChestExceptions.push(<areaid1>, <areaid2>, <areaidn>);
	
	//------------------------------------------------------------------------------
	// Cubing Configuration
	//------------------------------------------------------------------------------
	
	// Set to true to enable cubing and crafting. NOTE: The recipes are added in the global config by default. If you like to craft certain recipe only using this very char, add those recipes below.
	NTConfig_Cubing = true;
	
	//------------------------------------------------------------------------------
	// General Configuration
	//------------------------------------------------------------------------------
	
	// Set to true to activate public mode. By activating public mode, your char will form a party, open TPs and do some chat outputs when running certain bot scripts.
	NTConfig_PublicMode = false;

	// Set to true to exit the game instantly if the game is public. This may happen sometimes due to an error pasting the password correctly.
	MWConfig_ExitGameOnMissingPassword = false;
	
	// Set to true to exit the game when another player expresses hostility towards you.
	me.quitonhostile = false;
	
	// This is the maximum time in seconds your char will remain in a single game. Set to 0 to stay in game infinitely.
	me.maxgametime = 3000;
	
	// This is the minimum time in seconds for your char to remain in a single game. Your char will not exit the game before this time elapsed.
	me.mingametime = 0;
	
	//------------------------------------------------------------------------------
	// Shrine Configuration
	//------------------------------------------------------------------------------
	
	// Set to true to activate nearby shrines. Shrines will only be activated if it is actually useful.
	MWConfig_ActivateNearbyShrines = true;
	
	// If you would like to skip shrines in a certain area, you can its areaid as an exception below. NOTE: All areaids can be found in "sdk\areas.txt".
	// MWConfig_ShrineExceptions.push(<areaid1>, <areaid2>, <areaidn>);
	
	//------------------------------------------------------------------------------
	// Precast Configuration
	//------------------------------------------------------------------------------
	
	// Your precast skills can be defined in the array below. NOTE: Battle Command, Battle Orders and Shout will be cast automatically. Constants for all skill ids can be found in "scripts\libs\common\MWSkills.ntl".
	MWConfig_PrecastSkills = [MWS_HOLY_SHIELD];
	
	// Set this to true if you would like to switch slots right after casting BC, BO and Shout. If set to false, your char will remain with the BO Slot until the whole precast procedure is done.
	MWConfig_SwitchSlotsAfterBoPrecast = true;
	
	//------------------------------------------------------------------------------
	// Attack Configuration
	//------------------------------------------------------------------------------
	
	// Specify your attack skills below. NOTE: Constants for all skill ids can be found in "scripts\libs\common\MWSkills.ntl".
	NTConfig_AttackSkill[0] = 0;					// This skill is used once whenever attacking a new target. Set to 0 to deactivate.
	NTConfig_AttackSkill[1] = MWS_BLESSED_HAMMER;	// Primary skill to bosses.
	NTConfig_AttackSkill[2] = MWS_CONCENTRATION;	// Primary aura to bosses. Set to 0 to deactivate.
	NTConfig_AttackSkill[3] = MWS_BLESSED_HAMMER;	// Primary skill to others.
	NTConfig_AttackSkill[4] = MWS_CONCENTRATION;	// Primary aura to others. Set to 0 to deactivate.
	NTConfig_AttackSkill[5] = MWS_HOLY_BOLT;		// Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
	NTConfig_AttackSkill[6] = MWS_CONCENTRATION;	// Secondary aura. Set to 0 not to activate any aura.
	NTConfig_AttackSkill[7] = 0;		// Aura to be used against Uber Mephisto. Set to 0 to deactivate.
	
	// Set to true if you want to clear area after killing boss. NOTE: This only affects a few botscripts.
	NTConfig_ClearPosition = true;
	
	// Set to true to clear area when killing a boss and the position is crowded by monsters. NOTE: Setting this to true may cause NTA_KillMonster() to fail way more often.
	MWConfig_ClearBossPosition = false;
	
	// This is the number of attacks to be performed before the the character tries to move to another position. Set to 0 not to reposition.
	MWConfig_AttacksBeforeRepositioning = 20;

	// Define a time limit for your attacks for each type of monster.
	MWConfig_AttackTimeLimit[0] = 20;	// Maximum time in seconds to attack a normal monster
	MWConfig_AttackTimeLimit[1] = 120;	// Maximum time in seconds to attack a super unique monster
	MWConfig_AttackTimeLimit[2] = 30;	// Maximum time in seconds to attack a champion
	MWConfig_AttackTimeLimit[3] = 120;	// Maximum time in seconds to attack a bosse
	MWConfig_AttackTimeLimit[4] = 30;	// Maximum time in seconds to attack a minion
	
	// Define when a monster is considered immune by entering the index of one or more of your attack skills. As an example: [1, 3] means that a monster is considered immune if it is immune to both NTConfig_AttackSkill[1] and NTConfig_AttackSkill[3], whatever those may be.
	MWConfig_CheckImmunitySkills = [];
	
	// Select the behaviour of your character when encountering a monsters that is considered immune referring to the definition above.
	// 0: Don't do anything. (D2NT default)
	// 1: Get close to the monster.
	// 2: Skip the monster.
	// 3: Attack the monster using NTConfig_AttackSkill[8] and NTConfig_AttackSkill[9]
	NTConfig_BehaviourOnImmuneMonster = 0;
	
	NTConfig_AttackSkill[8] = 0;	// Skill to be used against user defined immunes.
	NTConfig_AttackSkill[9] = 0;	// Untimed Skill to be used against user defined immunes.
	
	// Activate Redemption if your health is lower than this percentage. Set to 0 not to use Redemption.
	NTConfig_UseRedemptionHP = 90;
	
	// Activate Redemption if your health is lower than this percentage. Set to 0 not to use Redemption.
	NTConfig_UseRedemptionMP = 90;
	
	// 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;
}
hat das vllt was mit den beiden zahlen bei den pots im gürtel zutun? :S
03/05/2011 16:36 Muddy Waters#749
Quote:
Originally Posted by Onkarion View Post
Huhu!

Danke für die neue Version! Sie läuft gefühlt um einiges schneller und das Precast bei den Wellen bei Baal ist genial:handsdown:

Nur habe ich ein Problem bei der Gräfin. Meine Sorc telt zwar zu ihr, schreibt aber "NTA_KillMonster() failed (Tower Cellar Level 5)" obwohl die Gräfin etwa eine Orb-Reichweite entfernt steht.

D2 ist auf englisch umgestellt. Geändert habe ich bisher nur die Char-Config. Habe auch mal das alte Countess-Skript probiert und es klappt nicht.

Hast du eine Idee?

Grüße
Onkarion
Das liegt vermutlich daran, dass die gute grundsätzlich Immun gegen Kälte ist und somit nicht mit Orb attackiert wird.

Kann deine Sorc auch noch was anderes als Orb? ;)

Quote:
Originally Posted by jexhammer View Post
@Muddy_Waters

Also ein Leechscript integrieren funt leider nicht

Code:
 // Use the following syntax for activating botscripts: MWConfig_Script.push([<ScriptName>, <Script runtime in minutes (0 is infinite)>]);
    // ***************** Current schedule ******************
    //MWConfig_Script.push(["NTAndariel.ntj", 10]);
    //MWConfig_Script.push(["NTPit.ntj", 10]); MWConfig_ClearPathToPitSpectype = 0; NTConfig_ClearPitLevel1 = 2; // 0 : don't clear, 1 : clear path only, 2 : clear all
    //MWConfig_Script.push(["NTCountess.ntj", 5]); MWConfig_ClearCountessRoomsSpectype = 0;
    //MWConfig_Script.push(["NTAncientTunnels.ntj", 10]); MWConfig_ClearPathToTunnelsSpectype = 0x01;
    //MWConfig_Script.push(["NTTravincal.ntj", 10]);
    //MWConfig_Script.push(["NTMephisto.ntj", 10]); MWConfig_OpenMephistoChest = true; MWConfig_MephistoClearArea = true;
    //MWConfig_Script.push(["NTEldritch.ntj", 10]); NTConfig_ShenkExtension = true;
    MWConfig_Script.push(["Others-BaalLeechFight.ntj", 10]); NTConfig_KillBaal = true;
   [COLOR=DarkOrange] NTConfig_Leader = "asddf" // Name vom Leader-Char, Groß- und Kleinschreibung beachten![/COLOR]
der NTconfig hab ich die var NTConfig_Leader; spendiert. Die fehlerhaften Stellen die anfangs da waren gelöscht. Der gamejoin funktioniert. Aber er lädt das script nicht. Da passiert soviel wie wenn ich bei Act 2 XXXX nur die // entferne und nicht nach oben schiebe :D

Aso erstmal noch danke für die positions bestimmung ;-) hat wunderbar mit Druide geklappt. Aber Hammerdin & Smiter sind beides Paladine ^^ der Smiter soll aber da stehen wo der Druide steht.

Wäre Es möglich:
Code:
switch(me.classid)
{
    case NTC_CHAR_CLASS_[COLOR=DarkOrange]SMITER[/COLOR]:
        NTM_MoveTo(me.areaid, 42, 42);
        break;
    case NTC_CHAR_CLASS_PALADIN:
    case NTC_CHAR_CLASS_BARBARIAN:
        NTM_MoveTo(me.areaid, 15092, 5028);
        break;
    default:
        NTM_MoveTo(me.areaid, 15092, 5044);
}
Und in der Char Config einfach die Palaconfig kopieren und umbennen im Stil von : NTConfig_Smiter_Charname.ntl ?
Öhm, zum Joinen verwendest du einen alternativen Entry Point, den du nicht auf meine Version angepasst hast? ;)

Und nein, das geht nicht, weil ein Smiter nunmal keine Charakterklasse ist, sondern ein Build eines Paladins. ;)

Man könnte es allerdings umsetzen, indem man einfach schaut, welche Skills verwendet werden.

Das könnte in etwa so aussehen:
Code:
switch(me.classid)
{
    case NTC_CHAR_CLASS_PALADIN:
        if(NTConfig_AttackSkill[1] == MWS_SMITE || NTConfig_AttackSkill[3] == MWS_SMITE) // Move to a certain location if any of our primary skills is Smite
        {
            NTM_MoveTo(me.areaid, 42, 42);
            break;
        }
    case NTC_CHAR_CLASS_BARBARIAN:
        NTM_MoveTo(me.areaid, 15092, 5028);
        break;
    default:
        NTM_MoveTo(me.areaid, 15092, 5044);
}
Quote:
Originally Posted by jannimanni View Post
libs\common\NTTown.ntl(2192):TypeError: MWConfig_BeltTypeColQuantity[type] is undefined

was is denn bloss falsch an meinem gürtel? :<
Wie hast du MWConfig_BeltTypeColQuantity initialisiert? Oder hast du überhaupt etwas an der Initialisierung geändert?

Entweder liegt der Fehler in deiner Config oder in meiner Klasse, wobei ich in letzterem Fall soviel Input über die Umstände des Fehlers bräuchte, wie möglich. ;)

Lg
Muddy
03/05/2011 16:42 jannimanni#750
sieht bei mir aktuell so aus
Code:
MWConfig_BeltTypeColQuantity["rv"] = [4, 3];
	MWConfig_BeltTypeColQuantity["rv"] = [0, 0];
	MWConfig_BeltTypeColQuantity["rv"] = [0, 0];
hab aber auch schon
Code:
MWConfig_BeltTypeColQuantity["rv"] = [2, 3];
	MWConfig_BeltTypeColQuantity["rv"] = [1, 0];
	MWConfig_BeltTypeColQuantity["rv"] = [1, 0];
ausprobiert