Author Topic: Rush Bot: Help with Giving all Waypoints  (Read 1964 times)

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Rush Bot: Help with Giving all Waypoints
« on: August 04, 2010, 08:09:06 PM »
i finished the rush and actived to give myself all wps after it.

he opened a tp at the wp, i went it, took the wp and portet back to town with his tp.

but the bot just stood there.

so i went in the tp again and used the wp to port back again.

nothing happened again.

how can i continue givin wps?
« Last Edit: August 04, 2010, 08:15:52 PM by Apeboyz »

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Rush Bot: Help with Giving all Waypoints
« on: August 04, 2010, 08:09:06 PM »

cooptheking

  • Guest
Re: Rush Bot: Help with Giving all Waypoints
« Reply #1 on: August 04, 2010, 08:17:02 PM »
I'm assuming this is for TheFreak's Rush Bot.
So i'll be moving it to the appropriate section to better answer your request.

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Rush Bot: Help with Giving all Waypoints
« Reply #1 on: August 04, 2010, 08:17:02 PM »

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #2 on: August 04, 2010, 08:20:32 PM »
ye sry, wanted to create it here. missclicked

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #3 on: August 04, 2010, 08:36:26 PM »
Post tha script. Wit tha code box.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Rush Bot: Help with Giving all Waypoints
« Reply #3 on: August 04, 2010, 08:36:26 PM »

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #4 on: August 04, 2010, 08:41:27 PM »
Code: [Select]
Include("Messages/Messages.ntl");
//##############################################################################################################################
//Do Not distribute these scripts without the credits ##########################################################################
//##############################################################################################################################
//Regards - Shadde from PureKaoz.com; Which is now tha home site of this bot ###################################################
//##############################################################################################################################

function NT_LoadConfig()
{

//---------------------------------------------------
// Tp At every Wp you take!
//---------------------------------------------------

NTConfig_TpAtWp = false; // true will tp at every wp yu take, like if yu were doing a rush, it will take wp, then tp, say message, and carry on, false will run normal.

//---------------------------------------------------
// Main: Most important!
//---------------------------------------------------

NTConfig_Rusher = true; // Set to true to rush, You can also set All others = true; And it will do them ^.^.
NTConfig_DoQuests = true; // true to do extra quests.
NTConfig_DoAncients = false; // Well its obvious what to do, Sometimes bumper doesnt need ancients, sometimes he does.
NTConfig_KillBaal = false; // true will kill baal, false will not.

//---------------------------------------------------
// Extras: Still pretty important!
//---------------------------------------------------

//-------------------------------------------
// Addons!
//-------------------------------------------

NTConfig_DoDen = false; // NTConfig_DoQuests must also be true to run Den.
NTConfig_GetCain = false; // Keep This false, Havent finished it yet. // NTConfig_DoQuests must also be true to get Cain.
NTConfig_EndAfterBaal = true; // True will exit game after baal is dead IF Wps are not true. If this is set to false; After baal is dead, it will sit in throne until yu override it.
NTConfig_UseHarem = true; // This gives yu tha choice to tp at harem after duriel is done.

//-----------------------------------
// Wps!
//-----------------------------------

NTConfig_RushWps = false; // Will give rush Wp's only, set false for none.
NTConfig_AllWps = true; // Will give all wp's, set false to none.

//---------------------------
// Viper Level 2!
//---------------------------

NTConfig_FastViper = false; // Self Explanitory, For Viper Amulet
NTConfig_ClearViper = false; // Self Explanitory, For Viper Amulet
NTConfig_ClearTPSpot = true; // Self Explanitory, For Viper Amulet

//-------------------
// Diablo!
//-------------------

NTConfig_ClearCS = false; // false will rush seals, true will clear.

//------------------------
// Kill Mephs Council!
//------------------------

NTConfig_MephsCouncil = true; // Kill council in duarance 3

//----------------------------
// Messaging System!
//----------------------------

NTConfig_Messaging = true; // Messaging inside script. Found in D2NT/scripts/Messages/Messages.ntl

//-------------------------------------------------------------------------
// State Rules! NTConfig_Messaging must be true for these to be announced!
//-------------------------------------------------------------------------

NTConfig_StateRulesNormal = false; // Yu can edit these lines by going to ntbot/bots/StateRules.ntj
NTConfig_StateRulesNightmare = false; // Yu can edit these lines by going to ntbot/bots/StateRules.ntj

//---------------------------------------------------
// Rush Configuration. There is no need to edit this. Edit what is above.
//---------------------------------------------------

//NTConfig_Script.push("NoEnigmaTrav.ntj");
NTConfig_Script.push("StateRules.ntj");
NTConfig_Script.push("RushDen.ntj");
NTConfig_Script.push("RushCain.ntj");
NTConfig_Script.push("RushAndy.ntj");
NTConfig_Script.push("RushRadament.ntj");
NTConfig_Script.push("RushCubeAmu.ntj");   //Only does cube in normal
NTConfig_Script.push("RushStaff.ntj");
NTConfig_Script.push("RushSummoner.ntj");
NTConfig_Script.push("RushDuriel.ntj");
NTConfig_Script.push("RushTome.ntj");
NTConfig_Script.push("RushTrav.ntj");
NTConfig_Script.push("RushMeph.ntj");
NTConfig_Script.push("RushIzual.ntj");
NTConfig_Script.push("RushForge.ntj");
NTConfig_Script.push("RushChaos.ntj");
NTConfig_Script.push("RushSocket.ntj");
NTConfig_Script.push("RushAnya.ntj");
NTConfig_Script.push("RushAncients.ntj");
NTConfig_Script.push("RushBaal.ntj");
NTConfig_Script.push("GiveWps.ntj");

//--------------------------------------------
//--------------------------------------------
me.maxgametime = 0; // time in seconds, maximum game length (0 is infinite)
NTConfig_StartDelay = 100; // Delay time in milliseconds to start;
NTConfig_AreaDelay = 500; // Delay time in milliseconds to change area;
NTConfig_SnagDelay = 0; // Delay time in milliseconds to wait before starting picking items

//--------------------------------------------
//--------------------------------------------
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.
NTConfig_ResetWeapon = false; // Set to true to reset weapon when reviving merc

NTConfig_LifeThresh = 60; // Drink a normal potion if under this percent of life.
NTConfig_LifeRejuvThresh = 40; // 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 = 10; // Drink a rejuvenation potion if under this percent of mana.
NTConfig_LifeChicken = 30; // This is your chicken life percent. If you go below this life total, exit game.
NTConfig_ManaChicken = 0; // This is your chicken mana percent. If you go below this mana total, exit game.

NTConfig_MercLifeThresh = 50; // This is the threshold to use a life potion on your merc in percent.
NTConfig_MercRejuvThresh = 30; // This is the threshold to use a rejuv potion on your merc in percent.
NTConfig_MercChicken = 0; // This is your mercs chicken life percent. If he goes below this, exit game.

//--------------------------------------------
//--------------------------------------------
NTConfig_FreeSpace = 2; // Number of free columns. If less full columns are free stashing is set.

// The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
NTConfig_Columns[0] = [0,0,0,0,0,0,0,0,0,0];
NTConfig_Columns[1] = [0,0,0,0,0,0,0,0,0,0];
NTConfig_Columns[2] = [0,0,0,0,0,0,0,0,0,0];
NTConfig_Columns[3] = [0,0,0,0,0,0,0,0,0,0];

NTConfig_MinGoldToStash = 100000; // Maximum gold amount carried before going to stash

//--------------------------------------------
// Type of potion used in each belt column
// Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
// Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
// Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
// Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
// To use rejuvenations only, put "rv" in all columns.
//--------------------------------------------
NTConfig_BeltColType[0] = "hp";
NTConfig_BeltColType[1] = "mp";
NTConfig_BeltColType[2] = "rv";
NTConfig_BeltColType[3] = "rv";

//--------------------------------------------
// SnagIt configuration
// Select one group only (normal / advance / extreme)
//--------------------------------------------

if(Im_In_Hell) // This will only pickit in Hell
{
//NTConfig_NIPFilePath.push("normal/normal.nip");
//NTConfig_NIPFilePath.push("normal/magic_rare.nip");
//NTConfig_NIPFilePath.push("normal/set.nip");
//NTConfig_NIPFilePath.push("normal/unique.nip");
//NTConfig_NIPFilePath.push("normal/craft.nip");

NTConfig_NIPFilePath.push("advance/normal.nip");
NTConfig_NIPFilePath.push("advance/magic_rare.nip");
NTConfig_NIPFilePath.push("advance/set.nip");
NTConfig_NIPFilePath.push("advance/unique.nip");
NTConfig_NIPFilePath.push("advance/craft.nip");

//NTConfig_NIPFilePath.push("extreme/normal.nip");
//NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
//NTConfig_NIPFilePath.push("extreme/set.nip");
//NTConfig_NIPFilePath.push("extreme/unique.nip");
//NTConfig_NIPFilePath.push("extreme/craft.nip");
}

NTConfig_SnagRange = 40; // Radius to check for dropped items. 40 is a good number here


//--------------------------------------------
// General configuration
//--------------------------------------------
NTConfig_PublicMode = true;
NTConfig_CheckCloneDiablo = false; // Set to true if you want to wait in game after notifying "Diablo Walks the Earth" msg.
NTConfig_OpenChest = false; // Set to true to open chest
me.quitonhostile = false;

//--------------------------------------------
// Attack configuration
//--------------------------------------------
NTConfig_AttackSkill[0] = 0; // First skill. Set to 0 if you won't
NTConfig_AttackSkill[1] = 112; // Primary skill to boss.
NTConfig_AttackSkill[2] = 113; // Primary aura to boss. Set to 0 if you won't
NTConfig_AttackSkill[3] = 112; // Primary skill to others.
NTConfig_AttackSkill[4] = 113; // Primary aura to others. Set to 0 if you won't
NTConfig_AttackSkill[5] = 101; // Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
NTConfig_AttackSkill[6] = 109; // Secondary aura. Set to 0 if you won't
NTConfig_ClearPosition = true; // Set to true if you want to clear area after killing boss.

NTConfig_UseRedemptionHP = 80; // Use Redemption if under this percent of life. Set to 0 if you won't
NTConfig_UseRedemptionMP = 60; // Use Redemption if under this percent of mana. Set to 0 if you won't
}

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Rush Bot: Help with Giving all Waypoints
« Reply #4 on: August 04, 2010, 08:41:27 PM »

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #5 on: August 04, 2010, 08:55:32 PM »
Tha givewaypoint script... Not char config.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #6 on: August 04, 2010, 09:00:36 PM »
Code: [Select]
//##############################################################################################################################
//Do Not distribute these scripts without the credits ##########################################################################
//##############################################################################################################################
//Regards - Shadde from PureKaoz.com; Which is now tha home site of this bot ###################################################
//##############################################################################################################################
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");

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

NTA_Initialize();

me.maxgametime = 0;

if(NTConfig_AllWps)
{
NTTM_CheckAct()

NTTMGR_TownManager();

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(3);

NTP_DoPrecast();

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(4);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(5);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(6);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(27);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(29);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(32);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(35);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

Say("On to a2");

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(40);

NTTMGR_TownManager();

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(48);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(42);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(57);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(43);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(44);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(52);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(74);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(46);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

Say("On to a3");

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(75);

NTTMGR_TownManager();

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(76);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(77);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(78);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(79);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(80);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(81);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(83);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(101);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(103);

NTTMGR_TownManager();

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(106);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(107);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

Say("On to a4");

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(109);

NTTMGR_TownManager();

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(111);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(112);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(113);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(118);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(123);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(117);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(118);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(129);

NTM_MakeTP();
Say("Wp Up");

while(!NTC_IsQuesterIn())
NTC_Delay(1000);

while(!NTC_IsQuesterOut())
NTC_Delay(500);

NTM_UsePortal("BluePortal");
NTC_Delay(90000);
}

NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}

function NTC_IsQuesterIn(area, name)
{
var _player;
var _myPartyId;
var _area;

_player = GetPlayerUnit();
_myPartyId = _player.partyid;

if(arguments.length < 1)
_area = me.areaid
if(arguments.length > 0)
_area = area;

do
{
if(_player.areaid == _area && _myPartyId == _player.partyid)
{
if(!name)
return true;
else if(_player.name == name)
return true;
}

NTC_Delay(100);

} while(_player.GetNext());

return false;
}

function NTC_IsQuesterOut(area)
{
var _player;
var _myPartyId;

_player = GetPlayerUnit();
_myPartyId = _player.partyid;

if(arguments.length < 1)
_area = me.areaid;
else
_area = area;

do
{
if(_player.areaid == _area && _myPartyId == _player.partyid)
return false;

NTC_Delay(100);

} while(_player.GetNext());

return true;
}

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #7 on: August 04, 2010, 09:37:45 PM »
Yu need to wait longer.... Yu see tha long delay's? Enter tp... Wait... like 2 seconds... Go back to town.... wait 2 more seconds.... see what happens..


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Rush Bot: Help with Giving all Waypoints
« Reply #7 on: August 04, 2010, 09:37:45 PM »

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #8 on: August 04, 2010, 10:01:47 PM »
i didnt have the baal waypoint with my paly so i tried it with the sorc now

i edited the config that only the AllWps script and the rules are activated. but now iam getting an error.

how can i do that i only give the WPs? dont wanna do any rushes/quests  or what ever



sorc config:

Code: [Select]
Include("Messages/Messages.ntl");
//##############################################################################################################################
//Do Not distribute these scripts without the credits ##########################################################################
//##############################################################################################################################
//Regards - Shadde from PureKaoz.com; Which is now tha home site of this bot ###################################################
//##############################################################################################################################
function NT_LoadConfig()
{

//---------------------------------------------------
// Tp At every Wp you take!
//---------------------------------------------------

NTConfig_TpAtWp = false; // true will tp at every wp yu take, like if yu were doing a rush, it will take wp, then tp, say message, and carry on, false will run normal.

//---------------------------------------------------
// Main: Most important!
//---------------------------------------------------

NTConfig_Rusher = false; // Set to true to rush, You can also set All others = true; And it will do them ^.^.
NTConfig_DoQuests = false; // true to do extra quests.
NTConfig_DoAncients = false; // Well its obvious what to do, Sometimes bumper doesnt need ancients, sometimes he does.
NTConfig_KillBaal = false; // true will kill baal, false will not.

//---------------------------------------------------
// Extras: Still pretty important!
//---------------------------------------------------

//-------------------------------------------
// Addons!
//-------------------------------------------

NTConfig_DoDen = true; // NTConfig_DoQuests must also be true to run Den.
NTConfig_GetCain = false; // Keep This false, Havent finished it yet. // NTConfig_DoQuests must also be true to get Cain.
NTConfig_EndAfterBaal = true; // True will exit game after baal is dead IF Wps are not true. If this is set to false; After baal is dead, it will sit in throne until yu override it.
NTConfig_UseHarem = true; // This gives yu tha choice to tp at harem after duriel is done.

//-----------------------------------
// Wps!
//-----------------------------------

NTConfig_RushWps = false; // Will give rush Wp's only, set false for none.
NTConfig_AllWps = true; // Will give all wp's, set false to none.

//---------------------------
// Viper Level 2!
//---------------------------

NTConfig_FastViper = false; // Self Explanitory, For Viper Amulet
NTConfig_ClearViper = false; // Self Explanitory, For Viper Amulet
NTConfig_ClearTPSpot = true; // Self Explanitory, For Viper Amulet

//-------------------
// Diablo!
//-------------------

NTConfig_ClearCS = false; // false will rush seals, true will clear.

//------------------------
// Kill Mephs Council!
//------------------------

NTConfig_MephsCouncil = true; // Kill council in duarance 3

//----------------------------
// Messaging System!
//----------------------------

NTConfig_Messaging = true; // Messaging inside script. Found in D2NT/scripts/Messages/Messages.ntl

//-------------------------------------------------------------------------
// State Rules! NTConfig_Messaging must be true for these to be announced!
//-------------------------------------------------------------------------

NTConfig_StateRulesNormal = true; // Yu can edit these lines by going to ntbot/bots/StateRules.ntj
NTConfig_StateRulesNightmare = true; // Yu can edit these lines by going to ntbot/bots/StateRules.ntj

//---------------------------------------------------
// Rush Configuration. There is no need to edit this. Edit what is above.
//---------------------------------------------------

//NTConfig_Script.push("NoEnigmaTrav.ntj");
NTConfig_Script.push("StateRules.ntj");
NTConfig_Script.push("RushDen.ntj");
NTConfig_Script.push("RushCain.ntj");
NTConfig_Script.push("RushAndy.ntj");
NTConfig_Script.push("RushRadament.ntj");
NTConfig_Script.push("RushCubeAmu.ntj");   //Only does cube in normal
NTConfig_Script.push("RushStaff.ntj");
NTConfig_Script.push("RushSummoner.ntj");
NTConfig_Script.push("RushDuriel.ntj");
NTConfig_Script.push("RushTome.ntj");
NTConfig_Script.push("RushTrav.ntj");
NTConfig_Script.push("RushMeph.ntj");
NTConfig_Script.push("RushIzual.ntj");
NTConfig_Script.push("RushForge.ntj");
NTConfig_Script.push("RushChaos.ntj");
NTConfig_Script.push("RushSocket.ntj");
NTConfig_Script.push("RushAnya.ntj");
NTConfig_Script.push("RushAncients.ntj");
NTConfig_Script.push("RushBaal.ntj");
NTConfig_Script.push("GiveWps.ntj");

//--------------------------------------------
//--------------------------------------------
me.maxgametime = 0; // time in seconds, maximum game length (0 is infinite)
NTConfig_StartDelay = 100; // Delay time in milliseconds to start;
NTConfig_AreaDelay = 500; // Delay time in milliseconds to change area;
NTConfig_SnagDelay = 0; // Delay time in milliseconds to wait before starting picking items

//--------------------------------------------
//--------------------------------------------
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.
NTConfig_ResetWeapon = false; // Set to true to reset weapon when reviving merc

NTConfig_LifeThresh = 60; // Drink a normal potion if under this percent of life.
NTConfig_LifeRejuvThresh = 40; // 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 = 10; // Drink a rejuvenation potion if under this percent of mana.
NTConfig_LifeChicken = 30; // This is your chicken life percent. If you go below this life total, exit game.
NTConfig_ManaChicken = 0; // This is your chicken mana percent. If you go below this mana total, exit game.

NTConfig_MercLifeThresh = 50; // This is the threshold to use a life potion on your merc in percent.
NTConfig_MercRejuvThresh = 30; // This is the threshold to use a rejuv potion on your merc in percent.
NTConfig_MercChicken = 0; // This is your mercs chicken life percent. If he goes below this, exit game.

//--------------------------------------------
//--------------------------------------------
NTConfig_FreeSpace = 2; // Number of free columns. If less full columns are free stashing is set.

// The numbers correspond to your inventory. Set 0 to keep whatever is there, 1 to stash it.
NTConfig_Columns[0] = [1,1,0,0,0,0,0,0,0,0];
NTConfig_Columns[1] = [1,1,0,0,0,0,0,0,0,0];
NTConfig_Columns[2] = [1,1,0,0,0,0,0,0,0,0];
NTConfig_Columns[3] = [1,1,0,0,0,0,0,0,0,0];

NTConfig_MinGoldToStash = 100000; // Maximum gold amount carried before going to stash

//--------------------------------------------
// Type of potion used in each belt column
// Available types : "hp" = health | "mp" = mana | "rv" = rejuv. Can use other potion types too.
// Keep equal types at adjacent columns. First HP then MP and then HP again is a bad choice.
// Keep HP and MP at the beginning of the belt (in case you want to use rejuv and other types).
// Rejuvenations MUST, I REPEAT MUST be at the end of the belt (last x columns).
// To use rejuvenations only, put "rv" in all columns.
//--------------------------------------------
NTConfig_BeltColType[0] = "hp";
NTConfig_BeltColType[1] = "mp";
NTConfig_BeltColType[2] = "rv";
NTConfig_BeltColType[3] = "rv";

//--------------------------------------------
// SnagIt configuration
// Select one group only (normal / advance / extreme)
//--------------------------------------------

if(Im_In_Hell) // This will only pickit in Hell
{
//NTConfig_NIPFilePath.push("normal/normal.nip");
//NTConfig_NIPFilePath.push("normal/magic_rare.nip");
//NTConfig_NIPFilePath.push("normal/set.nip");
//NTConfig_NIPFilePath.push("normal/unique.nip");
//NTConfig_NIPFilePath.push("normal/craft.nip");

NTConfig_NIPFilePath.push("advance/normal.nip");
NTConfig_NIPFilePath.push("advance/magic_rare.nip");
NTConfig_NIPFilePath.push("advance/set.nip");
NTConfig_NIPFilePath.push("advance/unique.nip");
NTConfig_NIPFilePath.push("advance/craft.nip");

//NTConfig_NIPFilePath.push("extreme/normal.nip");
//NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
//NTConfig_NIPFilePath.push("extreme/set.nip");
//NTConfig_NIPFilePath.push("extreme/unique.nip");
//NTConfig_NIPFilePath.push("extreme/craft.nip");
}

NTConfig_SnagRange = 40; // Radius to check for dropped items. 40 is a good number here


//--------------------------------------------
// General configuration
//--------------------------------------------
NTConfig_PublicMode = true;
NTConfig_CheckCloneDiablo = false; // Set to true if you want to wait in game after notifying "Diablo Walks the Earth" msg.
NTConfig_OpenChest = false; // Set to true to open chest
me.quitonhostile = false;
//------------------------------------------------------------------------------
// Attack configuration
//------------------------------------------------------------------------------
NTConfig_AttackSkill[0] = 0; // First skill. Set to 0 if you won't
NTConfig_AttackSkill[1] = 59; // Primary skill to boss.
NTConfig_AttackSkill[2] = 55; // Primary untimed skill to boss. Set to 0 if you won't
NTConfig_AttackSkill[3] = 59; // Primary skill to others.
NTConfig_AttackSkill[4] = 55; // Primary untimed skill to others. Set to 0 if you won't
NTConfig_AttackSkill[5] = 0; // Secondary skill in case monster is immune to primary skill. Set to 0 if you won't
NTConfig_AttackSkill[6] = 0; // Secondary untimed skill. Set to 0 if you won't
NTConfig_ClearPosition = true; // Set to true if you want to clear area after killing boss.

NTConfig_CastStatic = 60; // Cast Static Field until monster's HP lower less than this percent. Set to 100 if you won't
}
« Last Edit: August 04, 2010, 10:05:39 PM by Apeboyz »

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #9 on: August 04, 2010, 10:08:48 PM »
Tha reason yur getting that error is cuz i forgot to put 2 functions in that script...

Code: [Select]
function NTC_IsQuesterIn(area, name)
{
var _player;
var _myPartyId;
var _area;

_player = GetPlayerUnit();
_myPartyId = _player.partyid;

if(arguments.length < 1)
_area = me.areaid
if(arguments.length > 0)
_area = area;

do
{
if(_player.areaid == _area && _myPartyId == _player.partyid)
{
if(!name)
return true;
else if(_player.name == name)
return true;
}

NTC_Delay(100);

} while(_player.GetNext());

return false;
}

function NTC_IsQuesterOut(area)
{
var _player;
var _myPartyId;

_player = GetPlayerUnit();
_myPartyId = _player.partyid;

if(arguments.length < 1)
_area = me.areaid;
else
_area = area;

do
{
if(_player.areaid == _area && _myPartyId == _player.partyid)
return false;

NTC_Delay(100);

} while(_player.GetNext());

return true;
}


Put that at tha bottom of tha GiveWps script..

And to run just tha wp giver... Turn NTConfig_Rusher = false; And NTConfig_DoQuests = false;

And then turn either NTConfig_RushWps = true; or NTConfig_AllWps.ntj = true;  NOTE: If AllWps = true; keep RushWps = false; If yu want just rush wps keep RushWps = true; and AllWps = false;


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #10 on: August 04, 2010, 10:22:44 PM »
its working!!

can u maybe tell me, if it would be possible to do write a script that the one who needs the waypoints join the TPs automaticly, presses the WP, waits till all others of the party is at the wp and then take the tp back to town?

like automaticly takin all WPs.

actually iam with 2 chars ingame and took the WPs the bot gave me.

but sometimes i entered the tp with char1, took wp and took the tp back to town. then when i wanted to take it with char2, the tp was already gone, cus one of the party entered the tp and left it again.

and automaticly takin all wps would be so fakin awesome

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #11 on: August 05, 2010, 12:04:35 AM »
I can do it tomorrow, im mad tired, and i feel really sick, but it wont be hard to do, i will do it as soon as i can tomorrow.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #12 on: August 05, 2010, 11:52:31 AM »
I can do it tomorrow, im mad tired, and i feel really sick, but it wont be hard to do, i will do it as soon as i can tomorrow.

that would be so cool.

another thing i mentioned.
how can i implement that my bot waits with teleporting to radament until all chars are in act 2 after killing andy.

it happened to me 2 times already that my hammerdins merc killed radament before everyone was in act2.
same thing for izual.

iam rushing with my hdin and 3 chars get rushed. takes some time for me to move with all chars to act 2 / act 4.

cooptheking

  • Guest
Re: Rush Bot: Help with Giving all Waypoints
« Reply #13 on: August 05, 2010, 12:23:18 PM »
add a delay!
add this line
Code: [Select]
Delay(5000);
1000=1sec
that should be enough time

(not sure exactly where you should add this in the script as i dont have it in front of me)
but somehwere after andy/before raddy

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Rush Bot: Help with Giving all Waypoints
« Reply #14 on: August 05, 2010, 12:37:02 PM »
add a delay!
add this line
Code: [Select]
Delay(5000);
1000=1sec
that should be enough time

(not sure exactly where you should add this in the script as i dont have it in front of me)
but somehwere after andy/before raddy

well i wonder if there is a function to check if the the zone of the other party members is = act2 city

like he is waiting at other parts of the script, like den of evil
« Last Edit: August 05, 2010, 12:42:21 PM by Apeboyz »

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Rush Bot: Help with Giving all Waypoints
« Reply #14 on: August 05, 2010, 12:37:02 PM »