[Release] Muddy's D2NT

11/08/2011 18:23 DaQ_#3826
Danke, jetzt gehts :)
11/08/2011 18:46 DaSHiFTeR#3827
Hallo zusammen ich hätte da nochmal ne Frage...

Der Bot läuft soweit bei mir...

In der Config habe ich diese Bosse:

MWConfig_Script.push(["NTTristram.ntj", 10]); NTConfig_KillRakanishu = true;
MWConfig_Script.push(["NTTreehead.ntj", 10]);
MWConfig_Script.push(["NTCountess.ntj", 5]); MWConfig_ClearPathSpectypes.Countess = 0; MWConfig_ClearAreaSpectypes.Countess = 0;
MWConfig_Script.push(["NTAndariel.ntj", 10]);
MWConfig_Script.push(["NTSummoner.ntj", 5]); NTConfig_KillFireEye = false; MWConfig_ClearPathSpectypes.Summoner = 0;
MWConfig_Script.push(["MWKurastSewers.ntj", 5]); MWConfig_ClearPathSpectypes.KurastSewers = 0;
MWConfig_Script.push(["NTMephisto.ntj", 5]); MWConfig_OpenMephistoChest = true; MWConfig_MephistoClearArea = false;
MWConfig_Script.push(["NTIzual.ntj", 5]); MWConfig_ClearPathSpectypes.Izual = 0;
MWConfig_Script.push(["NTHephasto.ntj", 10]); MWConfig_ClearPathSpectypes.Hephasto = 0;
MWConfig_Script.push(["NTDiablo.ntj", 10]); MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = false; MWConfig_IgnoreSealOpeningErrors = false; MWConfig_FastDia = true;
MWConfig_Script.push(["NTEldritch.ntj", 5]); NTConfig_ShenkExtension = true;
MWConfig_Script.push(["NTThreshSocket.ntj", 5]); MWConfig_ClearPathSpectypes.ThreshSocket = 0;
MWConfig_Script.push(["NTNihlathak.ntj", 5]); MWConfig_ClearPathSpectypes.Nihlathak = 0; NTConfig_PindleskinExtension = false; MWConfig_SkipOnTombVipers = true;
MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true; MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = false; MWConfig_DoBaalPreAttack = true; MWConfig_ClearPathSpectypes.Baal = 0;

das läuft auch alles soweit...

WENN ich aber jetzt Publich games (Dia und Baal) machen will und es dann so aussieht:

MWConfig_Script.push(["NTDiablo.ntj", 10]); MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = false; MWConfig_IgnoreSealOpeningErrors = false; MWConfig_FastDia = true;
MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true; MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = false; MWConfig_DoBaalPreAttack = true; MWConfig_ClearPathSpectypes.Baal = 0;


Dann loggt der Bot sich ein und verlässt das Spiel direkt wieder...

Was mach ich falsch?
11/08/2011 18:54 blackhawk77#3828
Huhu,

steht da

Code:
MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true; MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = true; MWConfig_DoBaalPreAttack = true;
MWConfig_Script.push(["NTDiablo.ntj", 10]); MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = true; MWConfig_IgnoreSealOpeningErrors = false; MWConfig_FastDia = false;
oder

Code:
MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true;
MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = true; MWConfig_DoBaalPreAttack = true;
MWConfig_Script.push(["NTDiablo.ntj", 10]); 
MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = true; 
MWConfig_IgnoreSealOpeningErrors = false; MWConfig_FastDia = false;
?

Wäre einfacher, wenn du das wie schon sehr oft gesagt wurde, einfach in ner Codebox (das # Zeichen oben)
11/08/2011 19:02 Northern Light#3829
Quote:
Originally Posted by DeathFromHeaven View Post
was mir noch aufegfallen ist:

Meine Meteor/FO/FB-Sorc hat wesentlich mehr unhandled Exceptions als andere chars.

Kann das vlt noch wer bestätigen?

bei mir isses so, die Light/FO-Sorc hat vlt 1 unhandled übern tag, die 2 FO/FB mind 20 oder mehr...
haben alle mehr oder weniger die selben runs

kann das noch wer bestätigen? oder isses nur bei mir so?
ich habe das bei etal auch, wollte mal muddys testen ob es hier auch so dolle ist...

aber so wie es ausssieht leider jah :(
11/08/2011 19:05 DaSHiFTeR#3830
Quote:
Originally Posted by blackhawk77 View Post
Huhu,

steht da

Code:
MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true; MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = true; MWConfig_DoBaalPreAttack = true;
MWConfig_Script.push(["NTDiablo.ntj", 10]); MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = true; MWConfig_IgnoreSealOpeningErrors = false; MWConfig_FastDia = false;
oder

Code:
MWConfig_Script.push(["NTBaal.ntj", 10]); NTConfig_KillBaal = true;
MWConfig_SkipBaalOnDolls = true; MWConfig_SkipBaalOnSouls = true; MWConfig_DoBaalPreAttack = true;
MWConfig_Script.push(["NTDiablo.ntj", 10]); 
MWConfig_KillFullInfectorMob = true; MWConfig_StartAtStar = true; 
MWConfig_IgnoreSealOpeningErrors = false; MWConfig_FastDia = false;
?

Wäre einfacher, wenn du das wie schon sehr oft gesagt wurde, einfach in ner Codebox (das # Zeichen oben)


Da steht die erste Variante
11/08/2011 19:06 PeterNeu#3831
@DaSHiFTeR

Hey,

wahrscheinlich musst Du

Code:
	MWConfig_ExitGameOnMissingPassword = false;
auf true setzen.
11/08/2011 19:26 DaSHiFTeR#3832
Quote:
Originally Posted by PeterNeu View Post
@DaSHiFTeR

Hey,

wahrscheinlich musst Du

Code:
	MWConfig_ExitGameOnMissingPassword = false;
auf true setzen.
Hey danke hat funktioniert.. Nur anders herum :D Musste von true auf false setzten :)

Hast du vielleicht auch ne Ahnung wie ich die ganzen Ansagen bei baal unten abstellen kann?
Also die monster die da stehen, tp safe, killing baal, usw??


Greez
11/08/2011 19:39 PeterNeu#3833
Quote:
Originally Posted by DaSHiFTeR View Post
Hey danke hat funktioniert.. Nur anders herum :D Musste von true auf false setzten :)

Hast du vielleicht auch ne Ahnung wie ich die ganzen Ansagen bei baal unten abstellen kann?
Also die monster die da stehen, tp safe, killing baal, usw??


Greez
Hehe,

hatte eigentlich erwartet, dass ich den Standard-Wert in meiner Config hatte. Nach den public Baal Runs wohl nicht zurück gesetzt. Danke dafür :)

Zu den Announcements:

In der MWConfig_GlobalSettings.ntl gibts nen Teil der sich "Chat Announcements" nennt. Dort einfach alle nicht gewünschten Announcements ersetzen.

z.b.
Code:
MWConfig_Announcements.BaalThrone = "There are %d monster(s) in Throne!";
wird

Code:
MWConfig_Announcements.BaalThrone = "";
11/08/2011 20:19 DaSHiFTeR#3834
Quote:
Originally Posted by PeterNeu View Post
Hehe,

hatte eigentlich erwartet, dass ich den Standard-Wert in meiner Config hatte. Nach den public Baal Runs wohl nicht zurück gesetzt. Danke dafür :)

Zu den Announcements:

In der MWConfig_GlobalSettings.ntl gibts nen Teil der sich "Chat Announcements" nennt. Dort einfach alle nicht gewünschten Announcements ersetzen.

z.b.
Code:
MWConfig_Announcements.BaalThrone = "There are %d monster(s) in Throne!";
wird

Code:
MWConfig_Announcements.BaalThrone = "";
Also die Nachricht: Es sind 7 Monster im Thron 1 Lord & Seelen.... kommt trotzdem noch
11/08/2011 20:27 Abfahrt#3835
Kurze Frage zur Einbindung diverser Skripte:

Wenn ich bspw. die folgenden Skripte ( [Only registered and activated users can see links. Click Here To Register...] / [Only registered and activated users can see links. Click Here To Register...] / [Only registered and activated users can see links. Click Here To Register...] ) in den aktuellsten D2NT Muddy's einfüge, werden diese zwar ordnungsgemäß ausgeführt, jedoch am Ende des Skripts bleiben die Chars einfach stehen. Somit finden die Skripte kein Ende.

Was muss ich zusätzlich einstellen/beachten, dass der Übergang zum nächsten Skript stattfindet (wie es ja eigentlich auch normal ist)?

Besten Dank im Voraus.
11/08/2011 20:34 PeterNeu#3836
Quote:
Originally Posted by DaSHiFTeR View Post
Also die Nachricht: Es sind 7 Monster im Thron 1 Lord & Seelen.... kommt trotzdem noch
Dann mal bitte das hier probieren:

Muddy's D2NT\scripts\NTBot\bots\NTBaal.ntj öffnen

nach diesem Stück Code suchen

Code:
		if(NTConfig_PublicMode)
		{
			if(_monsterCount > 1 && MWConfig_Announcements.BaalThrone)
				Say(MWConfig_Announcements.BaalThrone.replace(/%d/gi, _monsterCount));
			
			NTM_MoveTo(me.areaid, 15116, 5068);
			
			_monsterCount = MW_CountMonstersInThrone(20);
			
			if(_monsterCount > 1)
			{
				if(_monsterCount < 3 && MWConfig_Announcements.BaalTpCold)
					Say(MWConfig_Announcements.BaalTpCold.replace(/%d/gi, _monsterCount));
				else if(_monsterCount < 6 && MWConfig_Announcements.BaalTpWarm)
					Say(MWConfig_Announcements.BaalTpWarm.replace(/%d/gi, _monsterCount));
				else if(MWConfig_Announcements.BaalTpHot)
					Say(MWConfig_Announcements.BaalTpHot.replace(/%d/gi, _monsterCount));
			}
			else if(MWConfig_Announcements.BaalTpNone)
				Say(MWConfig_Announcements.BaalTpNone);
			
			NTM_MakeTP();
			
			NTA_ClearPosition(25, true, 2);
		}
testweise mit

Code:
		if(NTConfig_PublicMode)
		{
			//if(_monsterCount > 1 && MWConfig_Announcements.BaalThrone)
				//Say(MWConfig_Announcements.BaalThrone.replace(/%d/gi, _monsterCount));
			
			NTM_MoveTo(me.areaid, 15116, 5068);
			
			_monsterCount = MW_CountMonstersInThrone(20);
			
			//if(_monsterCount > 1)
			//{
				//if(_monsterCount < 3 && MWConfig_Announcements.BaalTpCold)
					//Say(MWConfig_Announcements.BaalTpCold.replace(/%d/gi, _monsterCount));
				//else if(_monsterCount < 6 && MWConfig_Announcements.BaalTpWarm)
					//Say(MWConfig_Announcements.BaalTpWarm.replace(/%d/gi, _monsterCount));
				//else if(MWConfig_Announcements.BaalTpHot)
					//Say(MWConfig_Announcements.BaalTpHot.replace(/%d/gi, _monsterCount));
			//}
			//else if(MWConfig_Announcements.BaalTpNone)
				//Say(MWConfig_Announcements.BaalTpNone);
			
			NTM_MakeTP();
			
			NTA_ClearPosition(25, true, 2);
		}
Nicht gerade schön, könnte aber funktionieren. :) Möglicherweie könnte man auch den ganzen Block auskommentieren oder löschen. Habs nicht probiert. ;)
11/08/2011 21:02 DaSHiFTeR#3837
geht trotzdem nicht... die Ansage kommt immer noch
11/08/2011 21:10 DeathFromHeaven#3838
hast du auch alle geleert?, also von
Code:
MWConfig_Announcements.BaalThrone = "There are %d monster(s) in Throne!";
	MWConfig_Announcements.BaalTpNone = "TP up, no monsters close!";
	MWConfig_Announcements.BaalTpCold = "TP cold, %d monsters close!";
	MWConfig_Announcements.BaalTpWarm = "TP warm, %d monsters close!";
	MWConfig_Announcements.BaalTpHot = "TP hot, %d monsters close!";
	MWConfig_Announcements.BaalTpSafe = "TP is safe!";
	MWConfig_Announcements.BaalPreChamber = "Killing Baal!";
	MWConfig_Announcements.BaalKilled = "Next game!";
auf

Code:
MWConfig_Announcements.BaalThrone = "";
	MWConfig_Announcements.BaalTpNone = "";
	MWConfig_Announcements.BaalTpCold = "";
	MWConfig_Announcements.BaalTpWarm = "";
	MWConfig_Announcements.BaalTpHot = "";
	MWConfig_Announcements.BaalTpSafe = "TP is safe!";
	MWConfig_Announcements.BaalPreChamber = "Killing Baal!";
	MWConfig_Announcements.BaalKilled = "Next game!";
die letzten drei haben ja nichts mit den monstern zu tun, musste selbst überlegen, ob du die brauchst oder nicht^^
11/08/2011 21:15 DaSHiFTeR#3839
Genau so hab ich es stehen und es wird trotzdem angezeigt!
11/08/2011 21:35 blackhawk77#3840
Quote:
Originally Posted by DaSHiFTeR View Post
Genau so hab ich es stehen und es wird trotzdem angezeigt!
dann mach doch vor die Einträge einfach ein // zum auskommentieren, dann muss es weg sein, es sei denn, du bearbeitest die Datei in nem anderen Ordner, als in dem wo es abgefragt wird.

Ich habe z.B. auch 2 Ordner. Einmal D2NT und D2NT old, check das vielleicht nochmal, sowas passiert schnell, das man in nem falschen Ordner was ändert und sich dann natürlich nix tut.