D2jsp/Yamb - How To Set Up TP ?

ArtificialIntel

Member!
Joined
May 6, 2005
Messages
40
Reaction score
0
Hello everyone on this wonderful Forum :) And Greetings to the moderators and admin(s) of battleForums
Yes I am new here and "WOOW" this forum really rocks ! :D Keep up the good work :)

Okay, now for the question...

I Use D2jsp/Yamb and my blizzard sorc doesn't set up a tp at each and every boss that it comes to (for mfing with normal players). Can someone please walk me through on how to setup my bot to make a tp each and every time it reaches a boss? Thank you.
 

EH_Zardock

Member!
Joined
Jul 19, 2003
Messages
49
Reaction score
0
Website
Visit site
ya you have to set the "PublicMode = 0;" to "PublicMode = 1;" in the character file. OR if you are trying to leach you should set it to "PublicMode = 2;" hope that works for ya. THOUGH I may be wrong and u may have to mess with the bot settings themselves which I would stronly recommend NOT doing unless you backup the entire D2jsp folder to do it.
 

ArtificialIntel

Member!
Joined
May 6, 2005
Messages
40
Reaction score
0
Thanks for all your help, I have found a solution and it works, now mfing with other and sending tp's whenever i make it to a boss is so much easier.
 

ArtificialIntel

Member!
Joined
May 6, 2005
Messages
40
Reaction score
0
Here's an Explanation on how to set up your bot to send TP's up for your group/team when you reach a boss.

I will explain the function on the mainly used bosses as for mfing. (Meph and Andy). Found in d2jsp/scripts/libs/YAMB

1. Copy the vairiable:


if (BXP_ClearFirst) {
say("Clearing tp spot");
XP_ClearPosition(20);
XP_OpenTP();
say(YAM_TPMsg);
}


2. For meph, place the variable underneathe:


MXP_MephDodge=false;
DM_MoveTo(17585,8054);
DM_WalkTo(17560,8067);
DC_DoDel(300);
DM_WalkTo(17563,8072);
DC_DoDel(300);
DM_WalkTo(17585,8083);
DC_DoDel(400);
DM_MoveTo(17611,8087);
}

It should looke like this:


MXP_MephDodge=false;
DM_MoveTo(17585,8054);
DM_WalkTo(17560,8067);
DC_DoDel(300);
DM_WalkTo(17563,8072);
DC_DoDel(300);
DM_WalkTo(17585,8083);
DC_DoDel(400);
DM_MoveTo(17611,8087);
}

if (BXP_ClearFirst) {
say("Clearing tp spot");
XP_ClearPosition(20);
XP_OpenTP();
say(YAM_TPMsg);
}
}

function MXP_AttackMeph() {
// Detecting Mephisto with 3 retries to be sure to get the target
for (var i = 0; i < 3; i+=1) {
var target = DC_FindMonster(242);
if (target) { break; }


3. On Andy, place the variable under:


function AXP_GoToAndy() {
commPather.InitType = 1;
// Move from Catacombs 2 waypoint to Andariel's lair
commPather.GotoLevel(36,false,false);
DC_DoDel(DC_LagDelay);
DM_TakeStairs(18,18);
// Check health/mana, belt and if cursed, go to healer if needed
if (AndySafeCheck) { if (YAM_SafeCheck()) XP_Precasts(); }
commPather.GotoLevel(37,false,false);
DC_DoDel(DC_LagDelay);
DM_TakeStairs(18,18);
// Check health/mana, belt and if cursed, go to healer if needed
if (AndySafeCheck) { if (YAM_SafeCheck()) XP_Precasts(); }
// Move to the final spot
DM_MoveTo(22582,9614);
DM_MoveTo(22570,9591);
if (!AXP_Kamikaze) {
XP_ClearPosition(30,null,ATTACKING_MODE);
XP_ClearPosition(30,null,ALIVE_MODE);
DSN_PickItems(YAM_SafeCheck);
// Check health/mana, belt and if cursed, go to healer if needed
if (AndySafeCheck) { if (YAM_SafeCheck()) XP_Precasts(); }
}

So it should looke like this:

function AXP_GoToAndy() {
commPather.InitType = 1;
// Move from Catacombs 2 waypoint to Andariel's lair
commPather.GotoLevel(36,false,false);
DC_DoDel(DC_LagDelay);
DM_TakeStairs(18,18);
// Check health/mana, belt and if cursed, go to healer if needed
if (AndySafeCheck) { if (YAM_SafeCheck()) XP_Precasts(); }
commPather.GotoLevel(37,false,false);
DC_DoDel(DC_LagDelay);
DM_TakeStairs(18,18);
// Check health/mana, belt and if cursed, go to healer if needed
if (AndySafeCheck) { if (YAM_SafeCheck()) XP_Precasts(); }
// Move to the final spot
DM_MoveTo(22582,9614);
DM_MoveTo(22570,9591);
if (!AXP_Kamikaze) {
XP_ClearPosition(30,null,ATTACKING_MODE);
XP_ClearPosition(30,null,ALIVE_MODE);
DSN_PickItems(YAM_SafeCheck);
// Check health/mana, belt and if cursed, go to healer if needed
if (AndySafeCheck) { if (YAM_SafeCheck()) XP_Precasts(); }
}
if (BXP_ClearFirst) {
say("Clearing tp spot");
XP_ClearPosition(20);
XP_OpenTP();
say(YAM_TPMsg);
}
if (BXP_ClearFirst) {
say("Clearing tp spot");
XP_ClearPosition(20);
XP_OpenTP();
say(YAM_TPMsg);
}
}

function AXP_AttackAndy() {
// Detecting Andariel with 3 retries to be sure to get the target
for (var i = 0; i < 3; i+=1) {
var target = DC_FindMonster(156);
if (target) { break; }

REMEMBER! you can change the ways to do this, for example, if you just want to open a tp without saying "Tp up" all you you have to do is get rid of the line:
say(YAM_TPMsg);
But it has to be set at public mode for this to work.
 

NewPosts

New threads

Top