September 08, 2010, 08:09:11 PM

Author Topic: D2NT Baal Leech Bot SCRIPT  (Read 5797 times)

Offline kky2kgod

Re: D2NT Baal Leech Bot SCRIPT
« Reply #15 on: June 21, 2010, 01:27:31 AM »
Is there a way to get the bot to go through the portal and just chill instead of walking all around trying to get killed?


also i am getting an unhandled error.
« Last Edit: June 21, 2010, 02:19:09 AM by kky2kgod »

Offline woodsy102

Re: D2NT Baal Leech Bot SCRIPT
« Reply #16 on: June 21, 2010, 01:42:24 PM »
I set up everything an it works somewhat. I get into the game loads the script fixes my bots rezes my merc and then goes to where the tp will be.

Onces hes there he just sits and wont take the tp and then times out like 10 seconds later.

Is there something i missed?

Offline mrmapcheekz

Re: D2NT Baal Leech Bot SCRIPT
« Reply #17 on: June 21, 2010, 09:38:32 PM »
Sup bro know you're a busy dude and all but can you make a folder for leech bot like you did for the rush bot. Props for everything man.

Offline noob_patrol

Re: D2NT Baal Leech Bot SCRIPT
« Reply #18 on: June 22, 2010, 05:30:22 AM »
I set up everything an it works somewhat. I get into the game loads the script fixes my bots rezes my merc and then goes to where the tp will be.

Onces hes there he just sits and wont take the tp and then times out like 10 seconds later.

Is there something i missed?
make sure u have // infront of diabloleech

Offline woodsy102

Re: D2NT Baal Leech Bot SCRIPT
« Reply #19 on: June 23, 2010, 03:25:57 PM »
Make sure i have // infront or dont have? because if i put"//" infront of it, it wont run it.

PureKaoz.com - The best source for D2NT, and other Diablo 2 Bots and Files

Re: D2NT Baal Leech Bot SCRIPT
« Reply #19 on: June 23, 2010, 03:25:57 PM »

Offline kolin

Re: D2NT Baal Leech Bot SCRIPT
« Reply #20 on: July 04, 2010, 10:51:52 PM »
can you make a vid on how to do this plz. the bot only joins game, doesnt go through tp, and doesnt leave when the leader leaves

Offline Justin

Re: D2NT Baal Leech Bot SCRIPT
« Reply #21 on: July 05, 2010, 04:06:38 PM »
can you make a vid on how to do this plz. the bot only joins game, doesnt go through tp, and doesnt leave when the leader leaves


Did you put the leader name in NTBotLeech.ntj in your bots folder. Then insert the code into your character file?

Offline kiko123

Re: D2NT Baal Leech Bot SCRIPT
« Reply #22 on: July 27, 2010, 01:43:31 AM »
can you just upload your d2nt file all configured :P?.

Online deth

Re: D2NT Baal Leech Bot SCRIPT
« Reply #23 on: July 28, 2010, 07:17:40 PM »
im having a problem i did every thing step by step lol and it just keeps checking my f/list (its not saying cant read text) and i typed the game in my slef and he just stood there doing nothing got any ideas of wat goin on and how to fix  ;D

thx
vlc media player is better for torrent movies

the higher you are the farther you fall
dreams can turn into nightmares

Offline Justin

Re: D2NT Baal Leech Bot SCRIPT
« Reply #24 on: July 29, 2010, 02:44:55 AM »
im having a problem i did every thing step by step lol and it just keeps checking my f/list (its not saying cant read text) and i typed the game in my slef and he just stood there doing nothing got any ideas of wat goin on and how to fix  ;D

thx

You have to edit the common.ntl to enable the bot to read the text...

PureKaoz.com - The best source for D2NT, and other Diablo 2 Bots and Files

Re: D2NT Baal Leech Bot SCRIPT
« Reply #24 on: July 29, 2010, 02:44:55 AM »

Offline septik

Re: D2NT Baal Leech Bot SCRIPT
« Reply #25 on: August 21, 2010, 06:31:24 PM »
Hey, I don't think you ever mention where to paste that /f list code that you give a link to. These are the steps I took: Pasted that first code you gave into a ntj file, then put that in my bots folder (changed leader name of course.) Then I took the same code file and pasted it into the Scripts folder. When this didn't work (since I wasn't quite sure what code this second step was referring to) I put the character config with the new like NTBot-Leech(etc.) into that file in the Scripts folder since I thought you might have meant that (I don't understand what code "now paste this new code into a file called xxxxx in your Scripts folder" was referring to.) I then added the line underneath the other 2 lines in the controlInfo file. I don't know where to put the linked /f list code as there is no mention of this that I can find, and it when I load the script, my bot doesn't do anything involving a friends list, but instead creates a game that has a name like nforunguisbdoiurbg///nuief and then has a syntax error. Although the syntax error could be because I copied a paladin script and I am trying to use a druid (I took out all the skills section because I assumed the leech bot wouldn't need any skills. My d2nt came with no druid script, so one of those would be great too lol) So you could say I ran into problem after problem. An email or response would be very appreciated :)
« Last Edit: August 21, 2010, 06:37:10 PM by septik »

Offline septik

Re: D2NT Baal Leech Bot SCRIPT
« Reply #26 on: August 23, 2010, 02:51:13 AM »
Okay, I finally understood everything you meant by comparing my setup of files to someone elses (lol!) Only problem is - When I load my manager file using the NTLeechbot.ntl, it opens Diablo, changes the account name to my leech character's account, then doesn't enter the password! When I change the file to load using NTBot.ntj, it works fine! I don't know what the problem is, since I copied the exact script from that link and pasted it to create the NTLeechbot.ntj so I have no idea what is wrong, since the only difference between the two is the loader.

Online cooptheking

Re: D2NT Baal Leech Bot SCRIPT
« Reply #27 on: August 23, 2010, 03:12:15 AM »
Hrm..
If you copied exactly it should load up just fine...
few questions
1) If you manually put in password does it work from there on in?
2) Longest wait time you did before saying "it won't type it in" (only reason i ask is i have mine set "long"..and some people i sent it too would be like it doesn't put in password..when it delays for 3 secs...(they just assumed it should be instant and closed)
3) can you post your ntbotleech.ntj?
If anything I say doesn't help or does help please post back so everyone knows.
If I marked a topic solved/closed a topic and you disagree, please contact me via pm with link to topic + reason you think it needs to remain open.

Offline septik

Re: D2NT Baal Leech Bot SCRIPT
« Reply #28 on: August 24, 2010, 11:38:33 PM »
Hrm..
If you copied exactly it should load up just fine...
few questions
1) If you manually put in password does it work from there on in?
2) Longest wait time you did before saying "it won't type it in" (only reason i ask is i have mine set "long"..and some people i sent it too would be like it doesn't put in password..when it delays for 3 secs...(they just assumed it should be instant and closed)
3) can you post your ntbotleech.ntj?

It works when I put the password in manually, but only to a point. It goes into the game, talks to malah, talks to the guy to res merc (char doesn't have a merc so he just talks then goes to tp) but doesn't party. If I manually party he enters tp. I have the leader's name spelled perfectly and case-sensitive in the NTBotLeech.ntj file (the one in the "bots" folder) and for some reason it just doesn't want to party with him. I will post my character script and bot file script here shortly for you to look at. Thank you.

Here are my script:

Script for file "NTBaalLeech.ntj" in bots folder


Code: [Select]
function NTMain()
{
   
   Include("libs/common/NTCommon.ntl");
   NTC_IncludeLibs();
   NTC_IncludeConfig("NTBot/char_configs");

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

   NTA_Initialize(); // 10

   var _leader = "Flex"; // Name of leader's character in game (exactly)
   
   if(!NTTM_CheckAct())
   {
      NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_CheckAct()");
      return;
   }

   if(me.areaid != 109)
   {
   if(!NTTM_TownMove("waypoint"))
   {
      NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
      return;
   }

   if(!NTM_TakeWaypoint(109))
   {
      NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
      return;
   }
   }
       
   NTTMGR_TownManager();
   
   NTTM_TownMove("portalspot");

   for(i = 0; i <= 200; i++)
   {
      if(NTC_InMyParty(_leader))
         break;

      Delay(200);
   }   

   while(me.areaid == 109 && NTC_InMyParty(_leader))
   {
      NTM_UsePortal("BluePortal", 131, _leader); // 50
      Delay(5000);
       
   }
   
   NTP_DoPrecast(true);

   while(NTC_InMyParty(_leader))
   {
      Delay(1000);
   }


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

}





Script for NTBaalLeech.ntj in Scripts folder


Code: [Select]


var gameMinLength      = 90000;   // time in milliseconds, minimum game length, 180 seconds default (1 game/3 minutes)

var unableToConnectRetry   = 5;      // time in minutes to retry connecting on connection fail (real value is +/- 1 min)
var realmDownRetry      = 260;      // time in minutes to retry connecting on a realm down (default is 120 minutes)
var disconnectedRetry      = 5;      // time in minutes to retry on a disconnection (usually ip ban related)
var cdkeyInUseRetry      = 5;      // time in minutes to retry on a cdkey in use error message (set to 0 to stop)
var connectingToBnetTimeout   = 20000;   // time in milliseconds to wait for a login to time out and click cancel and retry
var characterScreenTimeout   = 5000;   // time in milliseconds to wait for character screen to appear
var pleaseWaitTimeout      = 2000;   // time in milliseconds to wait for a please wait popup
var createGameThreshold      = 5000;      // time in milliseconds to wait between making games
var createGameThresholdRandom   = 1000;      // time in milliseconds to randomly add +/- to the game create time
var createGameTimeout      = 15000;   // time in milliseconds to register a failed to create game
var waitInLineTimeout      = 60000;   // time in milliseconds to wait in lines for a create game (60 second default)
var characterSelectDelay   = 1000;      // time in milliseconds to wait before selecting a character on the char screen
var loginDelay         = 1000;      // time in milliseconds to wait before submitting login information
var clickDelay         = 500;      // wait X milliseconds before next action after a click event
var textDelay         = 500;      // wait X milliseconds before next action after inserting text into a textbox
var clickDelayRandom      = 500;      // random amount of time to add to a click
var textDelayRandom      = 500;      // random amount of time to add to a text set
var gameDoesNotExistDelayMin   = 5;   // how long to wait when a Game Does Not Exist occurs - minimum - default 10 minutes
var gameDoesNotExistDelayMax   = 10;   // how long to wait when a Game Does Not Exist occurs - maximum - default 15 minutes
var gameDoesNotExistTimeout   = 1000;   // how long to wait for the dialog to disappear (default 30 seconds, don't change this)
var joinChatAfterGame      = true;   // join chat after leaving a game
var joinRandomChannel      = false;      // if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat      = "Septik";      // leave blank to not join a private channel
var waitBeforeEnterChatMin   = 1000;      // min how long to wait before entering chat
var waitBeforeEnterChatMax   = 2000;      // max how long to wait before entering chat
var waitInChatBeforeActionsMin   = 2000;      // min how long to wait before joining channel
var waitInChatBeforeActionsMax   = 3000;      // max how long to wait before joining channel
var JoinFromChat = true;
var leaderAccountName = "xtaintedzx";
var gamepassword = '';
var samegame = '';
var oldgame = '';
var check = 1;

// DONT EDIT ANYTHING BELOW THIS

// D2NT Manager Command
const D2NT_MGR_LOADING = 1;
const D2NT_MGR_READY = 2;
const D2NT_MGR_LOGIN = 3;
const D2NT_MGR_CREATE_GAME = 4;
const D2NT_MGR_INGAME = 5;
const D2NT_MGR_RESTART = 6;
const D2NT_MGR_CHICKEN = 7;
const D2NT_MGR_PRINT_STATUS = 8;
const D2NT_MGR_PRINT_LOG = 9;

var lastGameMade = GetTickCount();
var lastGameStatus = 0;
var nextGameMake = 0;
var inGameAt = 0;
var chatActionsDone = false;
var lastGameFailed = false;

Include("libs/controlInfo.ntl");
//Include("joinBotSettings.ntl");

var controlData = new controlInfo();

var game = '';

function NTMain()
{
   Delay(1000);

   var _ingame = false;

   controlData.clickDelay = clickDelay;
   controlData.textDelay = textDelay;
   controlData.clickDelayRandom = clickDelayRandom;
   controlData.textDelayRandom = textDelayRandom;

   while(1)
   {
      if(me.ingame)
      {
         if(!inGameAt)
            inGameAt = GetTickCount();

         if(!_ingame)
         {
            if(Load("NTBot/NTBotGame.ntj"))
            {
               _ingame = true;

if(me.playtype > 0)
sendEventToOOG(D2NT_MGR_INGAME, "In Game[IP:" + me.gameserverip.split(".")[3] + "]", 0);
else
sendEventToOOG(D2NT_MGR_INGAME, "In Game", 0);

               lastGameStatus = 2; // in game successful
            }
         }

         Delay(1000);
      }
      else
      {
         if(_ingame)
         {
            _ingame = false;

            sendEventToOOG(D2NT_MGR_READY, "", 0);
         }

         locationAction(controlData.getLocation());

         Delay(500);
      }
   }
}

function locationAction(location)
{
   switch(location.id)
   {
 
   case 3: // Lobby Chat
      if(!chatActionsDone)
      {
         chatActionsDone = true;
         Delay(Random(waitInChatBeforeActionsMin, waitInChatBeforeActionsMax));
 
         if(joinRandomChannel || joinChannelInChat != "")
         {
            Say("/join " + (joinRandomChannel ? getRandomString(Random(3,10)) : joinChannelInChat));
            Delay(1000);
         }
      }
 
      if(JoinFromChat){

    if(check == 1)
{
    sendEventToOOG(D2NT_MGR_CREATE_GAME, location.name, 0);
    outputGameLength();
            lastGameStatus = 0;
            setNextGameMake();
            sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name, 0);
    check = check + 1;
}
         game = '';
         if (joinChannelInChat)
Delay (1000);
//Say('Locating the leader : '+leaderAccountName);
 
         Say('/f l');
         Delay(1000);
         if(chat = controlData.get(controlData.controls.lobby.chat.textBox.channelText))
         {
            var errors = '';
            var found_leader = false;
            lines = chat.GetText();
            for (var friend = 0; friend < lines.length; friend++)
            {
               if (lines[friend].lastIndexOf(': '+leaderAccountName+',') > -1)
               {
                  game = '';
                  found_leader = true;
                  var regOfflineEnglish=/^\d\s?:\s?(\w*)\s?,\s?offline\s*$/gi;
                  var regGameNameEnglish=/^\s*(the\s)?(game\s)?([\w\s-]*\w)\s\(private\)\.\s*$/gi;
                  var regGameNameFrench=/^\s*(la\s)?(partie\s)?([\w\s-]*\w)\s\(priv[^\)]*\)\.\s*$/gi;

                  if (lines[friend].match(regOfflineEnglish))
                  {
                     errors += (errors == '' ? '' : ' ') + 'leader is offline';
                  }
                  if (lines[friend + 1].match(regGameNameEnglish) && lines[friend+1].substr(1, 1) != ':')
                  {
                     game = lines[friend + 1].replace(regGameNameEnglish, "$3");
                  }
                  if (!game && lines[friend + 1].match(regGameNameFrench) && lines[friend+1].substr(1, 1) != ':')
                  {
                     game = lines[friend + 1].replace(regGameNameFrench, "$3");
                  }

                  if (game != '' && game != samegame && game != oldgame)
                  {
                     controlData.click(controlData.controls.lobby.button.join);
Delay(200);
                 controlData.setText( controlData.controls.lobby.join.editBox.gameName, game);
            Delay (200);
controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
Delay (200);
         controlData.click(controlData.controls.lobby.join.button.joinGame);
check = 1;
                  }
                  else
                  {
                     if(!errors)
                     {
                        errors = 'leader is not in game.';
                     }
                  }
               }
            }
            if (!found_leader && joinChannelInChat)
            {
               if (errors)
                  Say('Errors : ' + errors);
               else
                  Say('I couldn\'t find the leader in my friend list.');
               Delay(1500);
            }
         }
         else
         {
            if (joinChannelInChat)
               Say('I can\'t read the chat!'); 
         }
         
      }


errors = '';

if(game != '')
samegame = game;

      break;
 
     
   case 1:   // Lobby
      if(location.id == 1 && joinChatAfterGame)
      {
         Delay(Random(waitBeforeEnterChatMin, waitBeforeEnterChatMax));
         controlData.click(controlData.controls.lobby.button.enterChat);
         break;
      }

      if(GetTickCount() >= nextGameMake)
      {
         lastGameFailed = false;

         switch(lastGameStatus)
         {
         case 0:
            controlData.click(controlData.controls.lobby.button.create);
            nextGameMake = GetTickCount() + createGameTimeout; // set our timeout
            sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name, 0);
            break;
         case 1: // game failed, rollover to reset timer
            inGameAt = GetTickCount(); // reset inGameAt, to wait how long we should have waited..
            lastGameFailed = true;
         case 2:
            outputGameLength();
            lastGameStatus = 0;
            setNextGameMake();
            sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name, 0);
            break;
         }
      }
      else
         timeoutDelay(nextGameMake-GetTickCount(), location);
      break;

   case 2: // Waiting In Line
      if(GetTickCount()-lastGameMade > waitInLineTimeout)
         controlData.click(controlData.controls.lobby.inLine.button.cancel);
      break;

   case 4: // Create Game
        if(!controlData.get(controlData.controls.lobby.create.editBox.gameName))
        {
            controlData.click(controlData.controls.lobby.button.join);
            Delay (500);
            controlData.click(controlData.controls.lobby.button.create);
            Delay (500);
        }
      sendEventToOOG(D2NT_MGR_CREATE_GAME, location.name, 0);

      RunGC(); // run garbage collector between each game

      locationTimeout(5000, location);

      lastGameMade = GetTickCount();
      lastGameStatus = 1; // pending creation
      break;

   case 5: // Join Game
        if(!controlData.get(controlData.controls.lobby.join.editBox.gameName))
        {
            controlData.click(controlData.controls.lobby.button.create);
            Delay (1000);
            controlData.click(controlData.controls.lobby.button.join);
            Delay (1000);
        }
        if (game != '')
        {
            controlData.setText( controlData.controls.lobby.join.editBox.gameName, game);
            Delay (100);
            //controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
            //Delay (100);
    controlData.click(controlData.controls.lobby.join.button.joinGame);
        }
check = 1;
    lastGameStatus = 1; // pending creation
      break;

   case 6: // Ladder
      break;

   case 7: // Channel List
      break;

   case 8: // Main Menu
      if(controlData.getCurrentRealmIndex() == me.gatewayid)
      {
         outputGameLength();
         controlData.click(controlData.gameTypes[me.playtype]);
      }
      else
         controlData.click(controlData.controls.mainMenu.button.gateway);
      break;

   case 9: // Login
      sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name, 0);
      Delay(loginDelay);

      controlData.setText(controlData.controls.login.editBox.accountName, me.account);

      sendEventToOOG(D2NT_MGR_LOGIN, location.name, 0);

      locationTimeout(5000, location);
      break;

   case 10: // Login Error (this is a fatal error, so stop)
      sendEventToOOG(D2NT_MGR_RESTART, location.name, 10);
      Delay(3500);
      break;

   case 11: // Unable To Connect
      timeoutDelay(unableToConnectRetry*60*1000, location)
      controlData.click(controlData.controls.login.unableToConnect.button.ok);
      break;

   case 12: // Character Select
      var _time, _control;

      sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name, 0);

      for(_time = 0 ; _time < characterScreenTimeout ; _time += 500)
      {
         _control = controlData.get(controlData.controls.characterSelect.textBox.characterInfo[me.charloc]);
         if(_control && _control.GetText() != undefined)
            break;

         Delay(500);
      }

      if(_time < characterScreenTimeout)
      {
         Delay(characterSelectDelay);

         controlData.click(controlData.controls.characterSelect.textBox.characters[me.charloc], 0, 0, 1);
         controlData.click(controlData.controls.characterSelect.textBox.characterInfo[me.charloc], 0, 0, 1);

         // reset last game made, so it doesnt make a game immediately
         inGameAt = 0;
         setNextGameMake();
      }
      else
      {
         controlData.click(controlData.controls.characterSelect.button.exit);
         timeoutDelay(realmDownRetry*60*1000, location);
      }
      break;

   case 13: // Realm Down - Character Select screen
      controlData.click(controlData.controls.characterSelect.button.exit);
      timeoutDelay(realmDownRetry*60*1000, location);
      break;

   case 14: // Character Select - Disconnected
      timeoutDelay(disconnectedRetry*60*1000, location);
      controlData.click(controlData.controls.characterSelect.disconnected.button.ok);
      break;

   case 15: // New Character
      break;   

   case 16: // Character Select - Please Wait popup
      if(!locationTimeout(pleaseWaitTimeout, location))
         controlData.click(controlData.controls.characterSelect.pleaseWait.button.cancel);
      break;

   case 17: // Lobby - Lost Connection - just click okay, since we're toast anyway
      controlData.click(controlData.controls.lobby.lostConnection.button.ok);
      break;

   case 18: // D2 Splash
      controlData.click(controlData.controls.d2Splash.textBox.copyright);
      break;

   case 19: // Login - Cdkey In Use
      timeoutDelay(cdkeyInUseRetry*60*1000, location);
      controlData.click(controlData.controls.login.cdkeyInUse.button.ok);
      break;

   case 20: // Single Player - Select Difficulty
      RunGC(); // run garbage collector between each game

      controlData.click(controlData.singlePlayerDifficulties[me.diff]);
      break;

   case 21: // Main Menu - Connecting
      if(!locationTimeout(connectingToBnetTimeout, location))
         controlData.click(controlData.controls.mainMenu.connecting.button.cancel);
      break;

   case 22: // Login - Invalid Cdkey (classic or xpac)
      sendEventToOOG(D2NT_MGR_RESTART, location.name, 3600);
      Delay(3500);
      break;   

   case 23: // Character Select - Connecting
      if(!locationTimeout(characterScreenTimeout, location))
         controlData.click(controlData.controls.characterSelect.button.exit);
      break;

   case 24: // Server Down - not much to do but wait..
      break;

   case 25: // Lobby - Please Wait
      if(!locationTimeout(pleaseWaitTimeout, location))
         controlData.click(controlData.controls.lobby.pleaseWait.button.cancel);
      break;

   case 26: // Lobby - Game Name Exists
      //sendEventToOOG(D2NT_MGR_PRINT_LOG, "Game already exists", 0);

      //inGameAt = 0;
      //lastGameStatus = 0;
      //setNextGameMake();
this.controls.lobby.button.quit
      locationTimeout(15000, location);
      break;

   case 27: // Gateway Select
      controlData.clickRealmEntry(me.gatewayid);
      controlData.click(controlData.controls.gateway.button.ok);
      break;

   case 28: // Lobby - Game Does Not Exist

Delay(160000); // 40 seconds longer then leader's min game time, edit yourself
controlData.click(controlData.controls.lobby.button.quit)
Delay(1000);
controlData.click(controlData.controls.characterSelect.textBox.characters[me.charloc], 0, 0, 1);
controlData.click(controlData.controls.characterSelect.textBox.characterInfo[me.charloc], 0, 0, 1)
check = 1;
oldgame = game;

      break;
   }
}

function sendEventToOOG(locationId, statusString, pendingTime)
{
   return SendCopyData("D2NT Manager", null, (locationId<<16)|pendingTime, statusString);
}

function setNextGameMake()
{
   lastGameMade = GetTickCount();
   nextGameMake = lastGameMade + createGameThreshold + Random(0-createGameThresholdRandom, createGameThresholdRandom) + inGameAt;
   inGameAt = 0;
   chatActionsDone = false;
}

function outputGameLength()
{
   if(inGameAt)
   {
      duration = GetTickCount() - inGameAt;

      inGameAt = (duration < gameMinLength ? gameMinLength - duration : 0);
   }
}

function locationTimeout(time, location)
{
   endtime = GetTickCount() + time;

   while(controlData.getLocation().id == location.id && endtime > GetTickCount())
   {
      sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name + " (" + parseInt((endtime-GetTickCount())/1000) + "s)", 0);
      Delay(500);
   }

   return (controlData.getLocation().id != location.id);
}

function timeoutDelay(time, location)
{
   endtime = GetTickCount() + time;

   while(endtime > GetTickCount())
   {
      sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name + " (" + parseInt((endtime-GetTickCount())/1000) + "s)", 0);
      Delay(1000);
   }
}

function getRandomString(_length)
{
   _retString = "";
   _charSet = "0123456789abcdefghijklmnopqrstuvwxyz";

   while(_length--)
   {
      _retString += _charSet.charAt(Random(0, _charSet.length-1));
      Delay(1);
   }

   return _retString;
}
Character File

Code: [Select]
function NT_LoadConfig()
{
////////////////////////////////
// ###ACT 1 BOSSES###
//
//NTConfig_Script.push("NTDenOfEvil.ntj"); //CLEAR DEN OF EVIL
//NTConfig_Script.push("NTBishibosh_ENG.ntj"); //KILL BISHIBOSH
NTConfig_ClearColdPlains = false; //THEN CLEAR COLD PLAINS
//NTConfig_Script.push("NTRakanishu_ENG.ntj"); //KILL RAKANISHU
NTConfig_ClearStonyField = false; //THEN CLEAR STONY FIELD
//NTConfig_Script.push("NTTristram.ntj"); //CLEAR TRISTRAM
//NTConfig_Script.push("NTBloodRaven.ntj"); //KILL BLOOD RAVEN
NTConfig_ClearMausoleum = false; //THEN CLEAR MAUSOLEUM
NTConfig_ClearCrypt = false; //THEN CLEAR CRYPT
//NTConfig_Script.push("NTUndergroundPassage.ntj"); //CLEAR UNDERGROUND PASSAGE
NTConfig_ClearPassageLevel1 = 2;            //LEVEL 1 ( 0 = DON'T | 1 = PATH TO LVL 2 ONLY | 2 = CLEAR FULL LVL 1 )
//NTConfig_Script.push("NTTreehead.ntj"); //KILL TREEHEAD
NTConfig_ClearDarkWoods = false; //THEN CLEAR DARK WOODS
//NTConfig_Script.push("NTPit.ntj"); //CLEAR PIT
NTConfig_ClearTamoeHighLand =false ; //SET TO TRUE TO CLEAR HIGHLAND BEFORE PIT
NTConfig_ClearPitLevel1 = 2;    //0 = CLEAR 2ND LEVEL | 1 = CLEAR FIRST LEVE | 2 = CLEAR ALL
//NTConfig_Script.push("NTCountess.ntj"); //KILL COUNTESS
//NTConfig_Script.push("NTTheSmith.ntj"); //KILL THE SMITH
NTConfig_ClearBarracks = false; //THEN CLEAR BARRACKS
//NTConfig_Script.push("NTCatacombs.ntj"); //CLEARS CATACOMBS LV 1, 2, 3, 4, AND ANDY
NTConfig_BoneAshExtension = true; //THEN  KILL BONEASH
//NTConfig_Script.push("NTAndariel.ntj"); //KILL ANDY
NTConfig_ClearAndarielThron = false; //THEN CLEAR THRONE
///////////////////////////////////
// ###ACT 2 BOSSES###                  //
//
//NTConfig_Script.push("NTRadament.ntj"); //KILL RADAMENT
NTConfig_ClearSewersLevel3 = false; //THEN CLEAR SEWERS LVL 3
//NTConfig_Script.push("NTAncientTunnels.ntj"); //Clears Ancient Tunnels
NTConfig_ClearLostCity = false; //SET TO TRUE TO CLEAR LOST CITY
//NTConfig_Script.push("NTFangskin.ntj"); //KILL FANGSKIN
NTConfig_ClearClawViperTempleLevel1 = 0; //THEN CLEAR VIPER TEMPLE LEVEL 1 ( 0 = DON'T | 1 = PATH TO LVL 2 ONLY | 2 = CLEAR FULL LVL 1)
//NTConfig_Script.push("NTSummoner.ntj"); //KILL SUMMONER
NTConfig_FireEyeExtension = false; //THEN KILL FIRE EYE
//NTConfig_Script.push("NTFastTalRashasTomb.ntj"); //CLEARS DURIEL, CLEARS HIS TOMB,AND CLEARS MAGI VALLEY
//NTConfig_Script.push("NTDuriel.ntj"); //ONLY KILLS DURIEL
////////////////////////////////
// ###ACT 3 BOSSES###               
//
//NTConfig_Script.push("NTLowerKurast.ntj"); //CLEARS LOWER KURAST,OPENS CHESTS,BODIES,LOGS,SHRINES,ECT
//NTConfig_Script.push("NTSewers.ntj"); //OPENS CHESTS IN THE SEWERS
//NTConfig_Script.push("NTTravincal.ntj"); //CLEAR TRAVINCAL
NTConfig_ClearRuinedFane = false; //THEN CLEAR RUINED FANE AT KURASTBAZAAR
NTConfig_ClearDuranceofHate = false; //THEN CLEARS DURRANCE LV 1, 2, 3, KILLS COUNCIL AS WELL AS MEPH
//NTConfig_Script.push("NTMephisto.ntj"); //KILL MEPHISTO
NTConfig_KillBottomCouncilMembers = true; //Kill bottom Coucil Members
NTConfig_KillLeftSideCouncilMembers = true; //Kill left side Coucil Members
NTConfig_KillRightSideCouncilMembers = true;    //Kill right side Coucil Members
//////////////////////////////////////
// ###ACT 4 BOSSES###                     //
//
//NTConfig_Script.push("NTHephasto.ntj"); //KILL HEPHASTO
NTConfig_ClearRiverOfFlame = false; //THEN CLEAR RIVER OF FLAME.
//NTConfig_Script.push("NTDiabloFromEntrance.ntj"); //NORMAL DIABLO FROM ENTRANCE
//NTConfig_Script.push("NTDiabloFromStar.ntj"); //DIABLO FROM STAR
//NTConfig_Script.push("NTDiabloSealsOnly.ntj"); //FAST DIABLO "SEALS ONLY"
/////////////////////////////////////
// ###ACT 5 BOSSES###                    //
//
//NTConfig_Script.push("NTThreshSocket.ntj"); //KILL TRESHOCKET
//NTConfig_Script.push("NTEldritch.ntj"); //KILL ELDRITCH
NTConfig_ShenkExtension = true; //THEN KILL SHENK
NTConfig_DacFarrenExtension = false; //THEN KILL DACFARREN
NTConfig_ClearBloodyFootHills = false; //THEN CLEAR BLOODY FOOT HILLS
//NTConfig_Script.push("NTPindleskinByWP.ntj"); //KILL PINDLESKIN BY USING HALLS OF PAIN WP
//NTConfig_Script.push("NTPindleskin.ntj"); //KILL PINDLESKIN
NTConfig_NihlathakExtension = false; //RED PORTAL
//NTConfig_Script.push("NTNihlathak.ntj"); //KILL NIHLATAK
NTConfig_ViperSkipNihlathak = false; //LEAVE IF VIPERS
NTConfig_PindleskinExtension = false; //THEN PINDLESKIN THROUGH PAIN WP
//NTConfig_Script.push("NTAbbadon.ntj"); //ABADON SCRIPT
NTConfig_ClearAbaddon = 0; //0 = TELE TO CHEST CLEAR POSITION | 1 = TELE TO CHEST, CLEAR PATH, AND POSITION | 2 = CLEAR FULL ABADDON
//NTConfig_Script.push("NTPitOfAcheron.ntj"); //ACHERON SCRIPT
NTConfig_ClearPitOfAcheron = 0; //0 = TELE TO CHEST CLEAR POSITION | 1 = TELE TO CHEST, CLEAR PATH, AND POSITION | 2 = CLEAR FULL PITOFACHERON
//NTConfig_Script.push("NTInfernalPit.ntj"); //INFERNAL PIT SCRIPT
NTConfig_ClearInfernalPit = 0; //0 = TELE TO CHEST CLEAR POSITION | 1 = TELE TO CHEST, CLEAR PATH, AND POSITION | 2 = CLEAR FULL INFERNAL PIT
NTConfig_FTEvilUrnExtension = true; //GO TO ANCIENTWAY ENTRACE, CLEAN CHAMPIONS AND OPEN EVIL URN
//NTConfig_Script.push("NTFrozenstein.ntj"); //KILL FROZENSTEIN
NTConfig_ClearFrozenRiver = false; //THEN CLEAR FROZEN RIVER
//NTConfig_Script.push("NTGlacialTrail.ntj"); //GO TO GLACIAL TRAIL
NTConfig_ClearGlacialTrail = false; //THEN CLEAR IT
//NTConfig_Script.push("NTIcyCellar.ntj"); //GO TO ICY CELAR
NTConfig_ClearIcyCellar = false; //THEN CLEAR IT
//NTConfig_Script.push("NTDrifterCavern.ntj");        //GO TO DRIFTER CAVERN, CLEAN CHAMPIONS/BOSS AND OPEN CHEST
   NTConfig_ClearDrifterCavern = true;            //Set to true to clear the cavern.
//NTConfig_Script.push("NTWorldStoneKeep.ntj"); //CLEAR WORLDSTONEKEEP ( LVL 1,2,3 )
//NTConfig_Script.push("NTBaal.ntj"); //BAAL SCRIPT
NTConfig_ClearLeftSideThrone = false; //CLEAN LEFT SIDE OF THRONE OF DESTRUCTION
NTConfig_ClearCenterThrone = false; //CLEAN CENTER PATH OF THRONE OF DESTRUCTION
NTConfig_ClearRightSideThrone = false; //CLEAN RIGHT SIDE OF THRONE OF DESTRUCTION
NTConfig_KillBaal = true; //KILL BAAL
NTConfig_Leader = "Flex" // Your Leader name - CaSe sensitive
NTConfig_Script.push("NTBaalLeech.ntj"); NTConfig_KillBaal = true;
////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////
//###SECRET COW LEVEL###
//
NTConfig_Script.push("NTCows.ntj");                            //Remove the "//" to run private cow games.
////////////////////////////////////////////////
// ###Public Mode Settings###
//
NTConfig_PublicMode = false;                                                    //Turn to true to enable bot to run public games below
NTConfig_BRWisperToFriendList = false;
me.quitonhostile = false;                                                               //Turn to true to leave game if player hostiles you
NTConfig_KillHostiles = false;                                                  ////Set to true to kill hostiles. Make sure me.quitonhostile is false if you set this to true.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ###PUBLIC DIABLO CONFIGURATIOn."MAKE SURE YOU TURN ALL PRIVATE BOSSES OFF INCLUDING DIABLOS WHEN RUNNING THIS.###//
//
//NTConfig_Script.push("NTDiabloFromEntrance.ntj"); //NORMAL DIABLO FROM ENTRANCE
//NTConfig_Script.push("NTDiabloFromStar.ntj"); //DIABLO FROM STAR
Diablo_WelcomeMessage = ""                                                                                 // "Message spammed when people join the game if public"
Diablo_TpUpMessage = "TP is up should be clearish!"                                    // "Spams when the tp is safe enough to enter"
Diablo_KillDiabloMessage = ""                                                                                // "message to alert people that you are on Diablo"
Diablo_NextGameMessage = "CHANEL SO&SO FOR RUNS"                                             // 'New Game message after killing boss"
NTConfig_MagesFirst = false;                                                        //Kill the dreaded mages first.
//////////////////////////////////////////////////////////////////
// ###PUBLIC BAAL CONFIGURATION###
//
//NTConfig_Script.push("NTBaal.ntj"); //PUBLIC BAAL SCRIPT
Baal_WelcomeMessage =""                                                                 //WHAT TO SAY AT BEGINNING OF GAME
Baal_TpUpMessage = "Tp up help clear plz" //WHAT TO SAY WHEN BOT OPENS TP
Baal_TpSafeMessage = "Tp safer"                             // WHAT TO SAY WHEN BOT CLEARS TP
Baal_KillBaalMessage = "" //WHAT TO SAY AFTER LAST WAVE, BEFORE ENTERING CHAMBER
Baal_NextGameMessage = "Channel so&so for runz"                   //WHAT TO SAY AFTER KILLING BAAL
/////////////////////////////////////////////////////////////////////
//###PUBLIC COW CONFIGURATION###
//###WARNING! RUNNING PUBLIC COWS INCREASES THE CHANCES OF COW KING BEING KILLED!###
//
//NTConfig_Script.push("NTCows.ntj");                           // Remove the "//" for Public cow runs.
Cow_WelcomeMessage = "Welcome to hell cowz"                     //WHAT TO SAY AT BEGINNING OF GAME.
Cow_TpUpMessage      = "Red portal up DON'T KILL KING!!"                         //WHAT TO SAY WHEN BOT OPENS COW PORTAL
Cow_GetLeg         = "Getting leg"                         //WHAT TO SAY WHEN GETTING LEG
Cow_GotLeg         = "Got the leg"                         //WHAT TO SAY AFTER GOT LEG
Cow_NextGameMessage = "Next Game!"                  //WHAT TO SAY WHEN IT'S THE NEXT GAME
////////////////////////////////////////////////////////////////////
// ###TIME DELAYS. ALL OTHER TIME DELAYS CAN BE FOUND IN Scripts/NTBot###//
//
me.maxgametime = 0; // time in seconds, maximum game length (0 is infinite)
NTConfig_StartDelay = 0; // Delay time in milliseconds to start;
NTConfig_AreaDelay = 0; // Delay time in milliseconds to change area;
NTConfig_SnagDelay = 0; // Delay time in milliseconds to wait before starting picking items
/////////////////////////////////////////////////////////////////////
// ###CHARACTER & MERC HEALTH & MANA POTION SYSTEM CONFIGURATIONS###.//
//
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 = 40; // Drink a normal potion if under this percent of life.
NTConfig_LifeRejuvThresh = 20; // Drink a rejuvenation potion if under this percent of life.
NTConfig_ManaThresh = 40; // Drink a normal potion if under this percent of mana.
NTConfig_ManaRejuvThresh = 1; // Drink a rejuvenation potion if under this percent of mana.
NTConfig_LifeChicken = 20; // 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.
// Check self safe in field (NOT in town). Set to 0 if you won't
// 0x01 : Potion, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
NTConfig_CheckSelfSafe = 0;
// Check merc's safe in field (NOT in town). Set to 0 if you won't
// 0x01 : Death, 0x02 : Poison, 0x04 : Amplify Damage, 0x08 : Weaken, 0x10 : Iron Maiden, 0x20 : Decrepify, 0x40 : Lower Resist
//NTConfig_CheckMercSafe = 0;
//////////////////////////////////////////////////////////////////////////
// ###INVENTORY SETTINGS FOR YOUR CHARACTERS ITEMS i.e. TOURCH, CHARMS ETC.###//
//
NTConfig_FreeSpace = 0; // 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
////////////////////////////////////////////////////////////////////////////////////////////
// ###BELT SETTINGS TO TELL YOUR BOT WHAT TYPES OF POST TO STASH AND BUY AS WELL AS HOW MANY.###//
//
// 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] = "mp";
NTConfig_BeltColType[3] = "rv";
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ###Pickit configuration###
//
//
NTConfig_NIPFilePath.push("Unique/Unique.nip");
NTConfig_NIPFilePath.push("Rare/Rare.nip");
//NTConfig_NIPFilePath.push("Magic/Magic.nip");
NTConfig_NIPFilePath.push("Whites/Whites.nip");
NTConfig_NIPFilePath.push("Sets/Sets.nip");
//NTConfig_NIPFilePath.push("Gems&Skulls/Gems&Skulls.nip");
NTConfig_NIPFilePath.push("Potions/Potions.nip");
NTConfig_NIPFilePath.push("Runes/Runes.nip");
//NTConfig_NIPFilePath.push("Keys/Keys.nip");
//NTConfig_NIPFilePath.push("Essences/Essences.nip");
//NTConfig_NIPFilePath.push("Crafting/Crafting.nip");
//
NTConfig_SnagRange = 40;// Radius to check for dropped items. 40 is a good number here
//
//
/////////////////////////////////////////////////////////////////////////////////
// ###Shrine configuration###
//
ExperienceShrine = true;  // hits exp shrines.
SkillShrine = true;  // hits skill shrines.
ArmorShrine = true; // hits armor shrines.
CombatShrine = true; // hits combat shrines.
StaminaShrine = true; // hits stamina shrines.
MonsterShrine = true; // hits monster shrines.
ResistShrine = true; // hits resist shrines.
ManaShrine = true; // hits mana recharge shrines.
////////////////////////////////////////////////////////////
// ###Cubing configuration###
//
NTConfig_Cubing = false; // Enable cubing
//NTConfig_CubingItem.push([NTCU_GEM, 560]); // Flawless Amethyst
//NTConfig_CubingItem.push([NTCU_GEM, 565]); // Flawless Topaz
//NTConfig_CubingItem.push([NTCU_GEM, 570]); // Flawless Saphire
//NTConfig_CubingItem.push([NTCU_GEM, 575]); // Flawless Emerald
//NTConfig_CubingItem.push([NTCU_GEM, 580]); // Flawless Ruby
//NTConfig_CubingItem.push([NTCU_GEM, 585]); // Flawless Diamond
//NTConfig_CubingItem.push([NTCU_GEM, 600]); // Flawless Skull
//NTConfig_CubingItem.push([NTCU_MAGIC, 420]); // Magic Tiara
//NTConfig_CubingItem.push([NTCU_MAGIC, 421]); // Magic Diadem
//NTConfig_CubingItem.push([NTCU_MAGIC_CHARM, 603]); // Magic Small Charm
//NTConfig_CubingItem.push([NTCU_MAGIC_CHARM, 605]); // Magic Grand Charm
//NTConfig_CubingItem.push([NTCU_CRAFT_HITPOWER_GLOVES, 382]); // Craft Heavy Bracers
//NTConfig_CubingItem.push([NTCU_CRAFT_HITPOWER_GLOVES, 452]); // Craft Vambraces
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_HELM, 354]); // Craft Casque
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_HELM, 424]); // Craft Armet
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BOOTS, 388]); // Craft Battle Boots
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BOOTS, 458]); // Craft Mirrored Boots
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_GLOVES, 381]); // Craft Sharkskin Gloves
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_GLOVES, 451]); // Craft Vampirebone Gloves
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BELT, 392]); // Craft Mesh Belt
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_BELT, 462]); // Craft Mithril Coil
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_AMULET, 520]); // Craft Amulet
//NTConfig_CubingItem.push([NTCU_CRAFT_BLOOD_RING, 522]); // Craft Ring
//NTConfig_CubingItem.push([NTCU_CRAFT_CASTER_AMULET, 520]); // Craft Amulet
//NTConfig_CubingItem.push([NTCU_CRAFT_SAFETY_SHIELD, 447]); // Craft Monarch
//NTConfig_CubingItem.push([NTCU_CRAFT_SAFETY_AMULET, 520]); // Craft Amulet
//NTConfig_CubingItem.push([NTCU_RUNE_THUL, 562]);
//NTConfig_CubingItem.push([NTCU_RUNE_AMN, 557]);
//NTConfig_CubingItem.push([NTCU_RUNE_SOL, 567]);
//NTConfig_CubingItem.push([NTCU_RUNE_SHAEL, 577]);
//NTConfig_CubingItem.push([NTCU_RUNE_DOL, 572]);
//NTConfig_CubingItem.push([NTCU_RUNE_HEL, 582]);
//NTConfig_CubingItem.push([NTCU_RUNE_IO, 563]);
//NTConfig_CubingItem.push([NTCU_RUNE_LUM, 558]);
//NTConfig_CubingItem.push([NTCU_RUNE_KO, 568]);
//NTConfig_CubingItem.push([NTCU_RUNE_FAL, 578]);
//NTConfig_CubingItem.push([NTCU_RUNE_LEM, 573]);
//NTConfig_CubingItem.push([NTCU_RUNE_PUL, 583]);
//NTConfig_CubingItem.push([NTCU_RUNE_UM, 564]);
//NTConfig_CubingItem.push([NTCU_RUNE_MAL, 559]);
//NTConfig_CubingItem.push([NTCU_RUNE_IST, 569]);
//NTConfig_CubingItem.push([NTCU_RUNE_GUL, 579]);
//NTConfig_CubingItem.push([NTCU_RUNE_VEX, 574]);
//NTConfig_CubingItem.push([NTCU_RUNE_OHM, 584]);
//NTConfig_CubingItem.push([NTCU_RUNE_LO, 565]);
//NTConfig_CubingItem.push([NTCU_RUNE_SUR, 560]);
//NTConfig_CubingItem.push([NTCU_RUNE_BER, 570]);
//NTConfig_CubingItem.push([NTCU_RUNE_JAH, 580]);
//NTConfig_CubingItem.push([NTCU_RUNE_CHAM, 575]);
//***** Include the following, Primary item must be setted in item_configs folder *****
//NTConfig_CubingItem.push([NTCU_SOCKET_BODYARMOR, 442]); // Socket Sacred Armor
//NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 255]); // Socket Thresher
//NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 256]); // Socket Cryptic Axe
//NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 257]); // Socket Great Poleaxe
//NTConfig_CubingItem.push([NTCU_SOCKET_WEAPON, 258]); // Socket Giant Thresher
//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_WEAPON, 295]); // Titan's Revenge : Exceptional -> Elite
//NTConfig_CubingItem.push([NTCU_UPGRADE_N_UNIQUE_ARMOR, 337]); // Magefist : Normal -> Exceptional
//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 360]); // Skin of the Vipermagi : Exceptional -> Elite
//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 383]); // Magefist or Lava Gout : Exceptional -> Elite
//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 389]); // Gore Rider : Exceptional -> Elite
//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 477]); // Arreat's Face : Exceptional -> Elite
//NTConfig_CubingItem.push([NTCU_UPGRADE_E_UNIQUE_ARMOR, 481]); // Herald Of Zakarum : Exceptional -> Elite
/////////////////////////////////////////////////////////////////////////////////
// ###Gamble configuration
// To specify what items to gamble, adjust the array with the desired item codes###
//
//NTConfig_Gamble = false; // Enable gambling
//NTConfig_GambleStartGold = 800000; // Gold amount to start the gambling
//NTConfig_GambleStopGold = 300000; // Gold amount to stop the gambling
//NTConfig_GambleItem.push(520); // Amulets
//NTConfig_GambleItem.push(522); // Rings
//NTConfig_GambleItem.push(418); // Circlets
//NTConfig_GambleItem.push(419); // Coronets
//NTConfig_GambleItem.push(334); // Leather Gloves
//NTConfig_GambleItem.push(335); // Heavy Gloves
//NTConfig_GambleItem.push(336); // Chain Gloves
//NTConfig_GambleItem.push(337); // Light Gauntlets
//NTConfig_GambleItem.push(338); // Gauntlets
////////////////////////////////////////////////////////////////////////////////
// ###General configuration###
//
NTConfig_CheckCloneDiablo = false; // Set to true if you want to wait in game after notifying "Diablo Walks the Earth" msg.
NTConfig_OpenChest = true; // Set to true to open chest
NTConfig_StopIfStashInventoryFull = false;   //True to enable bot to stop when your stash and inventory is full.
/////////////////////////////////////////////////////////////////////////////////
//
// Attack configuration
//
NTConfig_AttackSkill[0] = 0; // First skill. Set to 0 if you won't
NTConfig_AttackSkill[1] = 0; // Primary skill to boss.
NTConfig_AttackSkill[2] = 0; // Reserved
NTConfig_AttackSkill[3] = 0; // Primary skill to others.
NTConfig_AttackSkill[4] = 0; // Reserved
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; // Reserved
NTConfig_ClearPosition = true; // Set to true if you want to clear area after killing boss.
}




I don't know where I went wrong, I've been able to figure everything else out myself in regarding d2nt and I have a basic understanding of how it works.
« Last Edit: August 25, 2010, 03:41:25 AM by cooptheking »



 


* Latest Posts


* Top Poster

Justin Justin
387 Posts
TheFreak TheFreak
283 Posts
cooptheking cooptheking
262 Posts
noob_patrol noob_patrol
125 Posts
deth deth
70 Posts
mad-max-hq mad-max-hq
68 Posts
killziky
50 Posts
mythosis mythosis
49 Posts
Corruption
47 Posts
Apeboyz
44 Posts

* Latest Files

No attachments were found.

* Affiliates


* Richest Members


* PureKaoz Staff

Justin admin Justin
Administrator
cooptheking admin cooptheking
Administrator
noob_patrol gmod noob_patrol
PK Novice
TheFreak gmod TheFreak
Global Moderator
mythosis gmod mythosis
D2NT/Program Technician

* Google