D2Bot# mit Kolbot RELEASE - Ein neuer Bot für D2BS

05/19/2013 00:40 Derbeth#1951
Weiss jemand wie ich einstellen kann das der Bot bei Dia ein TP erstellt bevor er den Eingang Cleart?

Und habe n Bot gesehen der den anderen Spielern bei LVL Up gratuliert... geht das auch mit Kolbot?

Ist es ausserdem möglich das die Soso bei Baal Bossfight an ihm dranklebt? (ich glaube sonst komm ich zuspät um zu picken :D)
05/19/2013 04:14 MysticalFrame2#1952
Quote:
if (Config.Diablo.Entrance) {
//Attack.clear(35, 0, false, this.entranceSort);
Pather.moveTo(7790, 5544);
Pather.makePortal();
say(Config.Diablo.EntranceTP);
Precast.doPrecast(true);
this.followPath(this.entranceToStar, this.entranceSort);
} else {
Pather.moveTo(7774, 5305);
Attack.clear(15, 0, false, this.starSort);
}
ntdiablo editieren ganz runter scrollen und die markierte zeile kommentieren
05/19/2013 14:04 Mecco-Pekko#1953
ich brauch ma kurz hilfe q.q

ich will mit followern spielen nun habe ich also die char scripte umgeschrieben das sie mit 0 attack aben der leader und follower script sind drin
nun lass ich die follower +ber das botchannel scrript als entry point laufen! egal ob ich pw x oder pw leer lasse der bot gibt immer ~ 8 zeichen ins passwort feld ein

weiß jemand wie man das behebt?

e/
hab das hier so zu stehen und es funktioniert nicht
Games: ["hau-", "ench-"], // List of games to look for. Example: Games: ["some baal-", "chaos run-"],
schreibe ich es allerdings so funktioniert es
Games: ["ench-"], // List of games to look for. Example: Games: ["some baal-", "chaos run-"],
05/19/2013 15:27 Derbeth#1954
Thx
Gibts noch die möglichkeit zum lvl up gratz?
05/19/2013 15:42 MysticalFrame2#1955
Kann mir echt keiner helfen?
kann es eventuell daran liegen das ich keine enigma auf den chars hab ?

post #1913

bzw nochmal hier
Scripts.BaalAssistant lass ich laufen

das passiert nicht in jedem run sondern nur ab und zu eventuel 1x von 10 runs und dann auch nur bei 1 oder 2 char's

1. Tp kommt
2. Alle gehen rein und cleanen throne

3. waves kommen
4. waves werden gekillt

5. baal geht rein
6. baal tod

bei schritt 3 und 4 passiert es das 1ner der leecher aus dem throne abhaut und immer links in die ecke geht dort die monster killt und dann wieder zürück rennt

[Only registered and activated users can see links. Click Here To Register...]
auf hell ist das richtig nervig hab echt angst den bot alleine laufen zulassen -.- wenn da ne gruppe conv souls etc ist dann schauts schlecht aus bei dem gammel eq von den chars
05/19/2013 16:03 Derbeth#1956
Hey leute, habe noch ein problem.
Meine Soso ist oftmals zu spät im Dia-Run vom pala.. (dauert 1-2 sec dann ist es voll...)
Code:
var JoinSettings = {
	"DerbDM": ["DerbAJ"]
};

// Advanced config - you don't have to edit this unless you need some of the features provided
var AdvancedConfig = {
	/* Features: Override join delay for each profile

	* Format *:
		"Profile Name": {JoinDelay: number_of_seconds}

	* Example * (don't edit this - it's just an example):
		"MyProfile1": {JoinDelay: 3},
		"MyProfile2": {JoinDelay: 6}
	*/

	// Put your lines under this one. Multiple entries are separated by commas. No comma after the last one.
	"DerbAJ": {JoinDelay: 0}
};
kann ich das noch schneller machen? fühlt sich so gar nicht wie 0 secs an...
05/19/2013 16:33 tgvbhz#1957
Nimm die line ganz raus
05/19/2013 17:06 mirkoregge#1958
Quote:
Originally Posted by MysticalFrame2 View Post
Kann mir echt keiner helfen?
kann es eventuell daran liegen das ich keine enigma auf den chars hab ?

post #1913

bzw nochmal hier
Scripts.BaalAssistant lass ich laufen

das passiert nicht in jedem run sondern nur ab und zu eventuel 1x von 10 runs und dann auch nur bei 1 oder 2 char's

1. Tp kommt
2. Alle gehen rein und cleanen throne

3. waves kommen
4. waves werden gekillt

5. baal geht rein
6. baal tod

bei schritt 3 und 4 passiert es das 1ner der leecher aus dem throne abhaut und immer links in die ecke geht dort die monster killt und dann wieder zürück rennt

[Only registered and activated users can see links. Click Here To Register...]
auf hell ist das richtig nervig hab echt angst den bot alleine laufen zulassen -.- wenn da ne gruppe conv souls etc ist dann schauts schlecht aus bei dem gammel eq von den chars
Welches Script nutzt du? Hoffentlich nicht das Follower-Script; nimm einfach:
Code:
	Scripts.BaalAssistant = true; // Used to leech or help in baal runs.
		Config.BaalAssistant.Wait = 120; // Seconds to wait for a runner to be in the throne / portal wait / safe TP wait / hot TP wait...
		Config.BaalAssistant.KillNihlathak = false; // Kill Nihlathak before going to Throne
		Config.BaalAssistant.FastChaos = false; // Kill Diablo before going to Throne
		Config.BaalAssistant.Helper = true; // Set to true to help attack, set false to to leech.
		Config.BaalAssistant.GetShrine = false; // Set to true to get a experience shrine at the start of the run.
		Config.BaalAssistant.GetShrineWaitForHotTP = false; // Set to true to get a experience shrine after leader shouts the hot tp message as defined in Config.BaalAssistant.HotTPMessage
		Config.BaalAssistant.SkipTP = false; // Set to true to enable the helper to skip the TP and teleport down to the throne room.
		Config.BaalAssistant.WaitForSafeTP = false; // Set to true to wait for a safe TP message (defined in SafeTPMessage)
		Config.BaalAssistant.DollQuit = false; // Quit on dolls. (Hardcore players?)
		Config.BaalAssistant.SoulQuit = false; // Quit on Souls. (Hardcore players?)
		Config.BaalAssistant.KillBaal = true; // Set to true to kill baal, if you set to false you MUST configure Config.QuitList or Config.BaalAssistant.NextGameMessage or the bot will wait indefinitely. 
		Config.BaalAssistant.HotTPMessage = ["Hot"]; // Configure safe TP messages.
		Config.BaalAssistant.SafeTPMessage = ["Safe", "Clear"]; // Configure safe TP messages.
		Config.BaalAssistant.BaalMessage = ["Baal"]; // Configure baal messages, this is a precautionary measure.
		Config.BaalAssistant.NextGameMessage = ["Next Game", "Next", "New Game"];	// Next Game message, this is a precautionary quit command, Reccomended setting up: Config.QuitList
WaitForSafeTP = true falls du das benötigst; bei False geht der Char sofort ins TP und kämpft mit, auch ohne Enigma
05/19/2013 17:13 MysticalFrame2#1959
Code:
Scripts.BaalAssistant = true; // Used to leech or help in baal runs.
		Config.BaalAssistant.Wait = 120; // Seconds to wait for a runner to be in the throne / portal wait / safe TP wait / hot TP wait...
		Config.BaalAssistant.KillNihlathak = false; // Kill Nihlathak before going to Throne
		Config.BaalAssistant.FastChaos = false; // Kill Diablo before going to Throne
		Config.BaalAssistant.Helper = true; // Set to true to help attack, set false to to leech.
		Config.BaalAssistant.GetShrine = false; // Set to true to get a experience shrine at the start of the run.
		Config.BaalAssistant.GetShrineWaitForHotTP = false; // Set to true to get a experience shrine after leader shouts the hot tp message as defined in Config.BaalAssistant.HotTPMessage
		Config.BaalAssistant.SkipTP = false; // Set to true to enable the helper to skip the TP and teleport down to the throne room.
		Config.BaalAssistant.WaitForSafeTP = false; // Set to true to wait for a safe TP message (defined in SafeTPMessage)
		Config.BaalAssistant.DollQuit = false; // Quit on dolls. (Hardcore players?)
		Config.BaalAssistant.SoulQuit = false; // Quit on Souls. (Hardcore players?)
		Config.BaalAssistant.KillBaal = true; // Set to true to kill baal, if you set to false you MUST configure Config.QuitList or Config.BaalAssistant.NextGameMessage or the bot will wait indefinitely. 
		Config.BaalAssistant.HotTPMessage = ["Hot"]; // Configure safe TP messages.
		Config.BaalAssistant.SafeTPMessage = ["Safe", "Clear"]; // Configure safe TP messages.
		Config.BaalAssistant.BaalMessage = ["Baal"]; // Configure baal messages, this is a precautionary measure.
		Config.BaalAssistant.NextGameMessage = ["Next Game", "Next", "New Game"];	// Next Game message, this is a precautionary quit command, Reccomended setting up: Config.QuitList
	Scripts.Follower = false; // Script that follows a manually played leader around like a merc. For a list of commands, see Follower.js
es klappt ja bei 9 von 10 runs
und run jetz weiter und mach dann direkten screen wenns geht außer sind haufen souls dolls dann muss ich sofort leaven :P und es passiert ja auch nur bei 1-2 chars
auf norm wars immer 1-2 chars auf alp auch aber auf hell bis jetzt immer nur 1char

follower ofc false :)


wie schaut das mit dem baalhelper aus ?
geht der auch direkt in das tp ? dann probier ich nämlich den mal aus

Klappt mit baalhelper bis jetzt wunderbar



andere frage wie mach ich das beim wpgetter das er nur bestimmte wps's holt bzw nur wps aus a1/2/3 ?
05/19/2013 18:14 mirkoregge#1960
Quote:
Originally Posted by MysticalFrame2 View Post
andere frage wie mach ich das beim wpgetter das er nur bestimmte wps's holt bzw nur wps aus a1/2/3 ?
Er holt automatisch alle fehlenden außer Nilathak
05/19/2013 19:22 tgvbhz#1961
Quote:
Originally Posted by MysticalFrame2 View Post
andere frage wie mach ich das beim wpgetter das er nur bestimmte wps's holt bzw nur wps aus a1/2/3 ?
WPGetter.ntj editieren und die for Schleife durch einzelne Aufzählung der gewünschten wps ersetzen.
Wenn du alle gewünschten WPs direkt nacheinander kommen, kannst du auch die for Schleife beibehalten und nur das Ende anpassen, also Nr. des letzten Wps.
05/19/2013 20:10 fossibär#1962
Folgendes Problem

Hab das erste mal eine Sorc als DiabloHelper am Start. Leider kommt die nicht ins tp da sie immer direkt in der Stadt auf dem wp stehen bleibt und von da aus nicht mit Telekinese ins tp kommt.
Mit dem Wakkascript hatte es geklappt da läuft die immer paar cm Richtung Portalspot.

Hoffe hier kann mir wer weiterhelfen.
05/19/2013 20:59 MysticalFrame2#1963
Quote:
Originally Posted by tgvbhz View Post
WPGetter.ntj editieren und die for Schleife durch einzelne Aufzählung der gewünschten wps ersetzen.
Wenn du alle gewünschten WPs direkt nacheinander kommen, kannst du auch die for Schleife beibehalten und nur das Ende anpassen, also Nr. des letzten Wps.
Code:
function WPGetter() {
	Town.doChores();
	Town.goToTown(1);

	var i;

		
	Pather.getWP(Pather.wpAreas[x]);
        Pather.getWP(Pather.wpAreas[x]);
        Pather.getWP(Pather.wpAreas[x]);
        Pather.getWP(Pather.wpAreas[x]);
		
	}

	return true;
}
so? wobei x für das gebiet steht
05/19/2013 21:42 Mecco-Pekko#1964
wenn ich zeile 165-170 und 188-191 aus dem mephisto script lösche müsste das open chests komplett raus sein beim mephisto kill oder?
habs mal unten rot makiert
Code:
/**
*	@filename	Mephisto.js
*	@author		kolton, njomnjomnjom
*	@desc		kill Mephisto
*/

function Mephisto() {
	this.killMephisto = function () {
		var i, angle, angles,
			pos = {},
			attackCount = 0,
			meph = getUnit(1, 242);

		if (!meph) {
			throw new Error("Mephisto not found!");
		}

		if (Config.MFLeader) {
			Pather.makePortal();
			say("kill " + meph.classid);
		}

		while (attackCount < 300 && Attack.checkMonster(meph)) {
			//if (getUnit(3, 276)) {
			if (meph.mode === 5) {
			//if (attackCount % 2 === 0) {
				angle = Math.round(Math.atan2(me.y - meph.y, me.x - meph.x) * 180 / Math.PI);
				angles = me.y > meph.y ? [-30, -60, -90] : [30, 60, 90];

				for (i = 0; i < angles.length; i += 1) {
					//pos.dist = Math.round(getDistance(me, meph));
					pos.dist = 18;
					pos.x = Math.round((Math.cos((angle + angles[i]) * Math.PI / 180)) * pos.dist + meph.x);
					pos.y = Math.round((Math.sin((angle + angles[i]) * Math.PI / 180)) * pos.dist + meph.y);

					if (Attack.validSpot(pos.x, pos.y)) {
						me.overhead("move, bitch!");
						Pather.moveTo(pos.x, pos.y);

						break;
					}
				}
			}

			if (ClassAttack.doAttack(meph) < 2) {
				break;
			}

			attackCount += 1;
		}

		return (meph.mode === 0 || meph.mode === 12);
	};

	this.moat = function () {
		var count, distance, mephisto;

		count = 0;

		delay(350);
		Pather.moveTo(17563, 8072);

		mephisto = getUnit(1, 242);

		if (!mephisto) {
			throw new Error("Mephisto not found.");
		}

		delay(350);
		Pather.moveTo(17575, 8086);
		delay(350);
		Pather.moveTo(17584, 8091);
		delay(1200);
		Pather.moveTo(17600, 8095);
		delay(550);
		Pather.moveTo(17610, 8094);
		delay(2500);
		Attack.clear(10);
		Pather.moveTo(17610, 8094);

		distance = getDistance(me, mephisto);

		while (distance > 27) {
			count += 1;

			Pather.moveTo(17600, 8095);
			delay(150);
			Pather.moveTo(17584, 8091);
			delay(150);
			Pather.moveTo(17575, 8086);
			delay(150);
			Pather.moveTo(17563, 8072);
			delay(350);
			Pather.moveTo(17575, 8086);
			delay(350);
			Pather.moveTo(17584, 8091);
			delay(1200);
			Pather.moveTo(17600, 8095);
			delay(550);
			Pather.moveTo(17610, 8094);
			delay(2500);
			Attack.clear(10);
			Pather.moveTo(17610, 8094);

			distance = getDistance(me, mephisto);

			if (count >= 5) {
				throw new Error("Failed to lure Mephisto.");
			}
		}

		return true;
	};

	this.killCouncil = function () {
		//left maffer
		Pather.moveTo(17600, 8125);

		if (getUnit(1, getLocaleString(2858))) {
			try {
				Attack.kill(getLocaleString(2858));
				Attack.clear(15, 0, getLocaleString(2858));
			} catch (e1) {

			}
		}

		//right voidbringer
		Pather.moveTo(17600, 8015);

		if (getUnit(1, getLocaleString(2859))) {
			try {
				Attack.kill(getLocaleString(2859));
				Attack.clear(15, 0, getLocaleString(2859));
			} catch (e2) {

			}
		}

		//middle bremm
		Pather.moveTo(17635, 8070);

		if (getUnit(1, getLocaleString(2861))) {
			try {
				Attack.kill(getLocaleString(2861));
				Attack.clear(15, 0, getLocaleString(2861));
			} catch (e3) {

			}
		}
	};

	Town.doChores();
	Pather.useWaypoint(101);
	Precast.doPrecast(true);

	if (!Pather.moveToExit(102, true)) {
		throw new Error("Failed to move to Durance Level 3");
	}

	if (Config.Mephisto.KillCouncil) {
		this.killCouncil();
	}

[COLOR="Red"]	if (Config.OpenChests) {
		Pather.moveTo(17572, 8011);
		Attack.openChests(5);
		Pather.moveTo(17572, 8125);
		Attack.openChests(5);
	}[/COLOR]

	Pather.moveTo(17566, 8069);

	if (me.classid === 1) {
		if (Config.Mephisto.MoatTrick) {
			this.moat();
			Attack.kill(242); // Mephisto
		} else {
			//this.killMephisto();
			Attack.kill(242); // Mephisto
		}
	} else {
		Attack.kill(242); // Mephisto
	}

	Pickit.pickItems();

[COLOR="Red"]	if (Config.OpenChests) {
		Pather.moveTo(17515, 8061);
		Attack.openChests(5);
	}[/COLOR]
	
	if (Config.Mephisto.TakeRedPortal) {
		Pather.moveTo(17590, 8068);
		delay(1500);
		Pather.moveTo(17601, 8070);
		Pather.usePortal(null);
	}

	return true;
}
05/19/2013 21:43 Derbeth#1965
Hey zusammen noch ein problem:
Wenn ich meinen dia pala laufen lasse und dazu die Infy sorc krieg ich immer RD's, manchmal kommt beim game öffner auch x mal nacheinander spiel existiert nicht.
Lasse ich diese als normale mf runs (andi meph etc) laufen, habe ich das problem nicht... Beide chars wechseln nach 16 games den key. Habe 3:00-3:30 pro run...