[Release] Muddy's D2NT

04/11/2012 18:35 Playboy91#6346
Quote:
Originally Posted by kil-leroy View Post
ja und wie mach ich des am besten :D
das mit dem -direct -txt funktioniert nur wenn du den ordner mit der datei in deinem dia ordner erstellt hast, wie das funktioniert findest du hier:

[Only registered and activated users can see links. Click Here To Register...]

Bitte...
04/11/2012 18:54 Braumatic#6347
Quote:
Originally Posted by papachef View Post
Ich seh da nix im Code der für find Items stehen könnte.
Probier mal das:
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: 17:01 17.08.2011
*/

function NTMain()
{
	Include("libs/common/NTCommon.ntl");
	NTC_IncludeLibs();
	NTC_IncludeConfig("NTBot/char_configs");

	NT_LoadConfig();
	NTSI_LoadNIPFiles("NTBot/item_configs");

	MWC_Initialize();

	if(!NTTM_CheckAct(me.act, true))
	{
		NTC_SendMsgToScript("MWBotGame.ntj", NTTM_CheckAct, 18, me.act, true);
		return;
	}

	NTTMGR_TownManager();

	if(!NTTM_TownMove("waypoint"))
	{
		NTC_SendMsgToScript("MWBotGame.ntj", NTTM_TownMove, 26, "waypoint");
		return;
	}

	if(!NTM_TakeWaypoint(112))
	{
		NTC_SendMsgToScript("MWBotGame.ntj", NTM_TakeWaypoint, 32, 112);
		return;
	}

	NTP_DoPrecast(true);

	if(!NTM_MoveToStair(me.areaid, 113, 0, 0, MWConfig_ClearPathSpectypes.ThreshSocket > 0, MWConfig_ClearPathSpectypes.ThreshSocket))
	{
		NTC_SendMsgToScript("MWBotGame.ntj", NTM_MoveToStair, 40, me.areaid, 113, 0, 0, MWConfig_ClearPathSpectypes.ThreshSocket > 0, MWConfig_ClearPathSpectypes.ThreshSocket);
		return;
	}

	if(!NTTMGR_CheckSafe(0x00, NTConfig_CheckMercSafe&0x01))
	{
		NTC_SendMsgToScript("MWBotGame.ntj", NTTMGR_CheckSafe, 46, 0x00, NTConfig_CheckMercSafe&0x01);
		return;
	}

	if(!NTA_KillMonster(GetLocaleString(22498)))
	{
		NTC_SendMsgToScript("MWBotGame.ntj", NTA_KillMonster, 52, GetLocaleString(22498));
		return;
	}

	if(NTConfig_ClearPosition)
		NTA_ClearPosition();

	MWL_FindItem();

	NTSI_PickItems();

	NTC_SendMsgToScript("MWBotGame.ntj", "SCRIPT_END");
}
Das MWL_FindItem(); sollte dein Problem beheben.
Das teste ich mal.

hab sonst in jeder .ntj Datei auch nur NTSI_PickItems drin und es funzt, da ich in der NT_attack library usefinditem drin hab:
Quote:
function NTA_ClearPosition(range, pickitem, safelevel, openchests, usefinditem, spectype)
{
var _orgx, _orgy;
var _spectype = [0x0A, 0x0E, 0x01];
var _skiplist;
var _attackcount = 0;
var _target;
var _distance, _mingid, _mindistance;
var _mingidPrio, _mindistPrio;
var _result;
var _outputType;

if(NTConfig_AttackSkill[1] < 0 || NTConfig_AttackSkill[3] < 0)
return false;

switch(arguments.length)
{
case 0:
range = 20;
case 1:
pickitem = false;
case 2:
safelevel = 2;
case 3:
if(NTConfig_CheckSelfSafe < 0x01 && NTConfig_CheckMercSafe < 0x01)
safelevel = 0;
openchests = true;
case 4:
usefinditem = true;
case 5:
break;
default:
if(spectype > 0x01)
_spectype = [spectype];
}
ergebnis poste ich noch!
04/11/2012 20:20 karkadan#6348
Hey ich habn problem...
Ich hab nen Hammerdin... der aush soweit funktioniert...
Nur beim Precast castet der nur den Holy Shield obwohl ich im 2nd weapon slot n CTA drin hab.... Was muss ich denn umstellen das das funktioniert?
04/11/2012 20:38 Starguest#6349
Quote:
Originally Posted by karkadan View Post
Hey ich habn problem...
Ich hab nen Hammerdin... der aush soweit funktioniert...
Nur beim Precast castet der nur den Holy Shield obwohl ich im 2nd weapon slot n CTA drin hab.... Was muss ich denn umstellen das das funktioniert?
..\scripts\NTBot\char_configs
MWConfig_SwitchSlotsAfterBoPrecast = true;
04/11/2012 20:59 Playboy91#6350
gibt es für schreine bei der map ne extra einstellung? die schreine werden auf der map bei mir nich angezeigt
04/11/2012 21:22 karkadan#6351
Quote:
Originally Posted by Starguest View Post
..\scripts\NTBot\char_configs
MWConfig_SwitchSlotsAfterBoPrecast = true;
das steht bereits auf True...

edit: hat sich erledigt
Hab jetzt n anderes Problem...


Ich hab 2 Chars... und einen möchte ich jetzt als leecher mitlaufen lassen... funktioniert soweit auch... der Leecher findet den andern... so.. der Leader macht das Protal auf und der Leecher steht nur doof neben dran... er geht einfach nicht ins Portal... ~.~ was hab ich denn vergessen?
ich hab in der ntleech datei den Leader eingetragen... sie sind auf der friendlist... bei beiden is das selbst script aktiv... ich hab keinen Plan
also ich hab auch bemerkt das ,wenn ich per hand durch das portal gehe, er denn nach 10 sec anfängt zu kämpfen... also das fighten geht auch nur durchs Portal geht er nicht... komisch
04/11/2012 23:45 Braumatic#6352
Quote:
Originally Posted by papachef View Post


PHP Code:
MWL_FindItem(); 
JAU! das isses!:handsdown:

Nicht nur bei Threshsocket - hab es jetzt explizit auch im Dia script drinne- also werden alle 3 Siegelbosse gelootet nich nur Vizier.
Warum er es da nicht von alleine machte - ka.

Wo ist denn "MWL_xxx" eigentlich deklariert? kenne nur MWS bzw MWA aus der ntAttack.ntl..

?=Ach habs selbst grad in der MWLOOT.ntl gefunden:rolleyes:
04/12/2012 00:55 Starguest#6353
Quote:
Originally Posted by Starguest View Post
Ich habe eine Frage.

1. Ich möchte meine Zealoten gerne mit Forti ausstatten und somit ihn nicht mit Enigma teleportieren lassen, sondern laufen und am besten mit Vigor.

Wichtig ist allerdings das nur der eine Char davon betroffen ist, weil ich bereits einen ersten Bot (Hammerdin mit Enigma) am laufen habe und der Zealot lediglich zur Hilfe anwesend ist.

Bin für sämtliche Antworten dankbar ..
Jemand eine Idee?
04/12/2012 03:39 Playboy91#6354
wtf atm kann ich mein bot garnich mehr nutzen, weil folgendes problem auftritt:

Ich starte über die exe mit der NTbot.ntl ... bla bla alles wie normal ... er loggt sich ein und drückt "Tab" also aktiviert die stadt -> BAM game fängt meeeeeeeega an zu laggen, aber wirklich komplett, wenn ich mich bewege tut er das erst nach 3-4 sekunden und laggt dabei auch noch - das laggen hat zufolge, dass der bot sich nich bewegt, sondern er bleibt einfach nur die ganze zeit stehen -> leider spuckt das ding mir kein error aus -.-

und bei der NTbot.ntl wird ja schon nur die stadt gelanden und nicht die komplette map

zweitens: Logge ich mich nur mit dem loader ein und aktiviere die map -> funktioniert wunderbar

logge ich mich mit der NTMap.ntl ein, bei der sogar die komplett map geladen wird, funktioniert es auch wunderbar

pc ebenfalls schon neugestartet, grafik genauso wie vorher ... das einzige was ich gemacht habe glaube in der itemconfig paar runen ausgemacht, die er nicht mehr picken sollte und habe umgestellt was für runs er machen soll - aber das mach ich mehrmals am tag

ich hoffe, mir kann wer helfen^^

fehler gefunden - hatte diese einstellung

MWConfig_BeltColType["rv"].Columns = 1;
MWConfig_BeltColType["mp"].Columns = 1;
MWConfig_BeltColType["rv"].Columns = 2;

und darauf kam er wohl nich klar, aber ich habe es erst durch komplett neues aufsetzen des bottes gemerkt - geht das nicht, dass er 3 reihen recovery pot und eine reihe manapots nimmt? wie allerdings das ganze ding dann auf einmal richtig anfängt zu laggen, anstatt mir nen fehler zu geben versteh ich allerdings nicht xD
04/12/2012 10:05 Deamonsface#6355
[QUOTE=lanara;16151807]Vielleicht weil er zu lange dafür brauch? Zum Equip kannst du ja mal in meinen Blog schauen.

mh nein weil er portet hin, fehler kommt, macht portal, geht zum nächsten, selbe sache wieder....nach 2 bossen exited er das game XD
04/12/2012 13:38 VegaFFM#6356
Quote:
// Define a time limit for your attacks for each type of monster.
MWConfig_AttackTimeLimit[0] = 0; // Maximum time in seconds to attack a normal monster
MWConfig_AttackTimeLimit[1] = 49; // Maximum time in seconds to attack a super unique monster
MWConfig_AttackTimeLimit[2] = 0; // Maximum time in seconds to attack a champion
MWConfig_AttackTimeLimit[3] = 53; // Maximum time in seconds to attack a bosse
MWConfig_AttackTimeLimit[4] = 59; // Maximum time in seconds to attack a minion
Wie kann ich das umstellen das er attacken macht also meine Light sorc die geht ins game rein und macht alles aber keine attacken^^

Kann mir einer sagen wie ich das ihr einstelle für die Light Sorc

Quote:
// Define a time limit for your attacks for each type of monster.
MWConfig_AttackTimeLimit[0] = 0; // Maximum time in seconds to attack a normal monster
MWConfig_AttackTimeLimit[1] = 49; // Maximum time in seconds to attack a super unique monster
MWConfig_AttackTimeLimit[2] = 0; // Maximum time in seconds to attack a champion
MWConfig_AttackTimeLimit[3] = 53; // Maximum time in seconds to attack a bosse
MWConfig_AttackTimeLimit[4] = 59; // Maximum time in seconds to attack a minion
04/12/2012 13:44 kil-leroy#6357
Quote:
Originally Posted by Playboy91 View Post
das mit dem -direct -txt funktioniert nur wenn du den ordner mit der datei in deinem dia ordner erstellt hast, wie das funktioniert findest du hier:

[Only registered and activated users can see links. Click Here To Register...]

Bitte...
hab das alles gemacht nützt nix :(

dazu kommt noch dass er jetzt irgendwas mit der Stash nicht passt...

komischer weise kann der bot auch nur auf die game.exe, die man unter eigenschaften nicht verändern kann, zugreifen.

hängt dass vllt. damit zusammen dass ich es runtergeladen habe? Sprich ich hab die CD nicht mehr und habs bei blizzard aktivieren lassen und runtergeladen.

aber EGAL habs jez runtergeworfen und den englischen client runtergeladen...
nur die Server sind gerade sehr ausgelastet (100 kb/s ._.)

ich hoffe dass klappt ansonsten meld ich mich wieder :)
04/12/2012 14:05 VegaFFM#6358
Ich brauche Hilfe bei der Char confik^^
ich will meine Light Sorc laufen lassen aber sie macht keine Attacken^^^
Kann mir da mal einer helfen


Quote:
// Define a time limit for your attacks for each type of monster.
MWConfig_AttackTimeLimit[0] = 0; // Maximum time in seconds to attack a normal monster
MWConfig_AttackTimeLimit[1] = 49; // Maximum time in seconds to attack a super unique monster
MWConfig_AttackTimeLimit[2] = 0; // Maximum time in seconds to attack a champion
MWConfig_AttackTimeLimit[3] = 53; // Maximum time in seconds to attack a bosse
MWConfig_AttackTimeLimit[4] = 59; // Maximum time in seconds to attack a minion
04/12/2012 14:19 papachef#6359
Code:
NTConfig_AttackSkill[0] = MWS_CHAIN_LIGHTNING = 53;			// This skill is used once whenever attacking a new target. Set to -1 to deactivate.
	NTConfig_AttackSkill[1] = MWS_LIGHTNING = 49;		// Primary skill to bosses.
	NTConfig_AttackSkill[2] = MWS_LIGHTNING = 49;		// Primary untimed skill to boss. Set to -1 to deactivate.
	NTConfig_AttackSkill[3] = MWS_LIGHTNING = 49;		// Primary skill to others.
	NTConfig_AttackSkill[4] = MWS_LIGHTNING = 49;		// Primary untimed skill to others. Set to -1 to deactivate.
	NTConfig_AttackSkill[5] = MWS_CHAIN_LIGHTNING = 53;			// Secondary skill in case monster is immune to primary skill. Set to -1 to deactivate.
	NTConfig_AttackSkill[6] = -1		// Secondary untimed skill. Set to -1 to deactivate.
	NTConfig_AttackSkill[7] = MWS_CHAIN_LIGHTNING = 53;;		// Alternative untimed skill which is used if the target is immune to your untimed skill - mostly useful for FB/FO/Meteor sorcs or other sorcs that are using the same untimed skills. Set to -1 to deactivate.
Erklärung: Bot sieht Monster dann haut er einen Kettenblitz drauf und legt die Monster danach mit Blitzschlag.
Ist ein Monster Imun gegen Blitz so feuert der Bot Kettenblitz um deinen Gehilfen das Killen zu erleichtern.

regards

Lol warum schreibst deine Attacks in den Timeabschnitt..
den kannst ruhig so lassen wie er unten steht.

Code:
// 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
deine Angriffe kommen in DIESEN ABSCHNITT:
Code:
//------------------------------------------------------------------------------
	// 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] = MWS_METEOR;			// This skill is used once whenever attacking a new target. Set to -1 to deactivate.
	NTConfig_AttackSkill[1] = MWS_FROZEN_ORB;		// Primary skill to bosses.
	NTConfig_AttackSkill[2] = MWS_FIRE_BALL;		// Primary untimed skill to boss. Set to -1 to deactivate.
	NTConfig_AttackSkill[3] = MWS_FROZEN_ORB;		// Primary skill to others.
	NTConfig_AttackSkill[4] = MWS_FIRE_BALL;		// Primary untimed skill to others. Set to -1 to deactivate.
	NTConfig_AttackSkill[5] = MWS_METEOR;			// Secondary skill in case monster is immune to primary skill. Set to -1 to deactivate.
	NTConfig_AttackSkill[6] = MWS_FIRE_BALL;		// Secondary untimed skill. Set to -1 to deactivate.
	NTConfig_AttackSkill[7] = MWS_ICE_BLAST;		// Alternative untimed skill which is used if the target is immune to your untimed skill - mostly useful for FB/FO/Meteor sorcs or other sorcs that are using the same untimed skills. Set to -1 to deactivate.
04/12/2012 14:37 VegaFFM#6360
Gut Meine Nexte frage an den Muddy´s d2nt leechfightbot..

ich hab da folgenes Problem

Die soso geht wieder aus Game raus xD
.
Sonst macht er alles xD