Author Topic: [UPDATED 1-29-12]PureKaoz Rush Bot 1.13d  (Read 35311 times)

cooptheking

  • Guest
Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #195 on: July 20, 2010, 02:59:38 AM »
since summoner isn't a "distance" quest
can't you just tp at wp.."wait here"
KILL SUMMONER... say goto town
open new tp for them to read book/etc/etc?
(or is summoner a distance one...never really noticed??)

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

Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #195 on: July 20, 2010, 02:59:38 AM »

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: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #196 on: July 20, 2010, 09:30:37 AM »
since summoner isn't a "distance" quest
can't you just tp at wp.."wait here"
KILL SUMMONER... say goto town
open new tp for them to read book/etc/etc?
(or is summoner a distance one...never really noticed??)

Yea, Summoner is a 'distance quest', So is radament, Tp'ing at tha WP is tha first thing i tried wit both of these quests.


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: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #196 on: July 20, 2010, 09:30:37 AM »

Offline DeepFrost

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #197 on: July 21, 2010, 07:46:19 PM »
cant wait to dl it n test.

Offline DPK

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #198 on: July 24, 2010, 07:40:35 AM »
Dare I ask...
Is there an easy way to tell me which places I *have* to update for an Assassin?

I've been skimming through this D2nT scripting for a few days now, and having taught myself other scripting language's I'm slowly getting into this one, so I'm sure I could fix it up to be Assassin-friendly... I just don't want to have to look through every single NTL file unless I have to...
Which NTL files include class-specific script?
And did you have to code any changes to the standard Pally codes?

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

Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #198 on: July 24, 2010, 07:40:35 AM »

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: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #199 on: July 24, 2010, 11:44:35 AM »
NTAttack.ntl
Code: [Select]
function NTA_AssassinAttackPatternInt()
{
   var _maxindex, _maxskill;
   var _avgskilllevel = new Array();

   _avgskilllevel[0] = me.GetSkill(271, false);

   _maxindex = -1;
   _maxskill = 0;

   for(var i = 0 ; i < _avgskilllevel.length ; i++)
   {
      if(_avgskilllevel[i] > _maxskill)
      {
         _maxindex = i;
         _maxskill = _avgskilllevel[i];
      }
   }

   switch(_maxindex)
   {
   case 0: // Lightning Sentry + Fire Blast + Physical Hammer
      NTConfig_AttackSkill[1] = 271;
      NTConfig_AttackSkill[3] = 251;
      NTConfig_AttackSkill[5] = 253;
      break;
   }

   return (NTConfig_AttackSkill[1] && NTConfig_AttackSkill[3]);
}

function NTA_AssassinAttackInt(target, firstorder)
{
   var _primaryindex;

   if(NTTMGR_CheckCurse(NTConfig_CheckSelfSafe&0x04, NTConfig_CheckMercSafe&0x04))
   {
      if(!NTTMGR_VisitTown())
         return 0;
   }

   if(firstorder && NTConfig_AttackSkill[0] > 0 && NTA_GetResistance(target, _NTA_SkillDamage[0]) < 100)
   {
      if(GetDistance(me, target) > _NTA_SkillRange[15] || !CheckCollision(me, target, 10))
      {
         var _pos = me.GetOptimalAttackPos(target.areaid, target.x, target.y, _NTA_SkillRange[0], 4);

         if(_pos)
            NTM_MoveTo(target.areaid, _pos[0], _pos[10], 0);
      }

      if(!NTC_CastSkill(NTConfig_AttackSkill[0], _NTA_SkillHand[0], target))
         return 2;

      return 3;
   }

   _primaryindex = (target.spectype&0x0A) ? 1 : 3;

   if(NTA_GetResistance(target, _NTA_SkillDamage[_primaryindex]) < 100)
   {
      if((_NTA_SkillRange[_primaryindex] < 4 || NTConfig_AttackSkill[_primaryindex] == 271) && !CheckCollision(target.areaid, target.x, target.y, 1))
         return 1;

      if(!NTA_AssassinCastSkillInt(_primaryindex, target))
         return 2;

      return 3;
   }

   if(NTConfig_AttackSkill[5] > 0 && NTA_GetResistance(target, _NTA_SkillDamage[5]) < 100)
   {
      if((_NTA_SkillRange[5] < 4 || NTConfig_AttackSkill[5] == 271) && !CheckCollision(target.areaid, target.x, target.y, 1))
         return 1;

      if(!NTA_AssassinCastSkillInt(5, target))
         return 2;

      return 3;
   }

   return 1;
}

function NTA_AssassinCastSkillInt(index, target)
{   
      if(me.GetSkillStatus(NTConfig_AttackSkill[index]) != 8)
      {   
       
      if(GetDistance(me, target) > _NTA_SkillRange[index] || !CheckCollision(me, target, 4))
      {
         if(target.name != "Baal")
         {
            if (target.name == "Lister the Tormentor")
            _NTA_SkillRange[index] = 15;
            if (target.name == "Baal")
               _NTA_SkillRange[index] = 0;
         
            var _pos = me.GetOptimalAttackPos(target.areaid, target.x, target.y,  _NTA_SkillRange[index], 4);

            if(_pos)
               NTM_MoveTo(target.areaid, _pos[0], _pos[1], 0);
         }
         
         else
         {
            Print("Moving closer to Baal for a better chance to hit...");
            NTM_MoveTo(target.areaid, target.x, target.y,0);
         }
      }

      return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
   }

   if(NTConfig_AttackSkill[index+1] > 0)
   {
       
      if(GetDistance(me, target) > _NTA_SkillRange[index] || !CheckCollision(me, target, 4))
      {
         if(target.name != "Baal")
         {
            if (target.name == "Lister the Tormentor")
            _NTA_SkillRange[index] = 15;
            if (target.name == "Baal")
               _NTA_SkillRange[index] = 0;
         
            var _pos = me.GetOptimalAttackPos(target.areaid, target.x, target.y,  _NTA_SkillRange[index], 4);

            if(_pos)
               NTM_MoveTo(target.areaid, _pos[0], _pos[1], 0);
         }
         
         else
         {
            Print("Moving closer to Baal for a better chance to hit...");
            NTM_MoveTo(target.areaid, target.x, target.y,0);
         }
      }

      return NTC_CastSkill(NTConfig_AttackSkill[index+1], _NTA_SkillHand[index+1], target);
   }

   for(var i = 0 ; i < 25 ; i++)
   {
      NTC_Delay(NTC_DELAY_FRAME);

      if(me.GetSkillStatus(NTConfig_AttackSkill[index]) != 8)
         break;
   }

   return false;
}

Replace yur assassin part wit that.

Im working on trying to find tha char config for a trapper, i cant remember where it is, and since i dont have my files anymore, i have to check tha intronet. ^ ^


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: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #199 on: July 24, 2010, 11:44:35 AM »

Offline DPK

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #200 on: July 25, 2010, 06:55:04 AM »
Thanks YoungLove, I nearly copy-pasted that from my Assassin mf'er but wasn't sure if there were other places to put it as well. I suppose I should just copy-paste all but the spells part of your Sorc char-config and replace the spells with the assassin spells? Anything else I'm missing off the top of your head?

Quick question if you're around - why is it that the skills are here in NTAttack.NTL:

Code: [Select]
   switch(_maxindex)
   {
   case 0: // Lightning Sentry + Fire Blast + Physical Hammer
      NTConfig_AttackSkill[1] = 271;
      NTConfig_AttackSkill[3] = 251;
      NTConfig_AttackSkill[5] = 253;
      break;
   }
   return (NTConfig_AttackSkill[1] && NTConfig_AttackSkill[3])

AND in the CharConfig file? Is there an easy way to explain what these mean?
« Last Edit: July 27, 2010, 04:18:55 AM by DPK »

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: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #201 on: July 25, 2010, 01:44:37 PM »
I'm not entirely sure, but i think that if tha 'character config' 'attack config' is all set to 0, then it uses tha default set in tha NTAttack.ntl.

But im not totally sure.

And theres some things that will needed to be added, like

var fade; var wake_of_inferno;

then

use fade = xxx

use wake_of_inferno = xxx

But i cant remember it all from my head.

Im still searching for it.


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 DPK

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #202 on: July 27, 2010, 04:23:23 AM »
That makes sense.
I will have to investigate further anyway because I want to make the bot cast 1 death sentry, 4 light sentries, then throw 10 fire blasts, then back to death+4 lights, then 10 fire blasts... etc. Anywho, for another day.

BTW - my 'feedback' on your bot:
1) when doing the Den she will tele around the place 3 times before deciding she's killed everything. For my mana-less Assassin, this was 3 full rejuvs. Maybe there could be an optional command "quest complete" to be typed by the rushee so as to push the bot to move onto the next task?
2) when doing Radamant, the bot TP'd at the entrance to Sewers L3, then tele'd away to kill Radamant before my rushee could catch up, so he didn't get the quest.
3) for the Summoner - awesome, tp was in a safer place than the BlueBird rusher, thanks.
4) for the Forge quest - worked great.
5) for Diablo - can you make the bot kill all the mini-bosses? Can the bot tp @ the beginning of Chaos entrance so rushee can get xp if they want? Would be great options.
6) is the rusher supposed to TP at WPs?

Also, in the event that the Rusher cannot use the required WP because the stupidly forgot to collect the said WP, is it possible to include that in the messages? i.e. "Unable to rush through Anya quest: WP unavailable"

Thanks again Young_Love, awesome bot.

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

Re: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #202 on: July 27, 2010, 04:23:23 AM »

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: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #203 on: July 27, 2010, 08:16:38 AM »
That makes sense.
I will have to investigate further anyway because I want to make the bot cast 1 death sentry, 4 light sentries, then throw 10 fire blasts, then back to death+4 lights, then 10 fire blasts... etc. Anywho, for another day.

BTW - my 'feedback' on your bot:
1) when doing the Den she will tele around the place 3 times before deciding she's killed everything. For my mana-less Assassin, this was 3 full rejuvs. Maybe there could be an optional command "quest complete" to be typed by the rushee so as to push the bot to move onto the next task?
2) when doing Radamant, the bot TP'd at the entrance to Sewers L3, then tele'd away to kill Radamant before my rushee could catch up, so he didn't get the quest.
3) for the Summoner - awesome, tp was in a safer place than the BlueBird rusher, thanks.
4) for the Forge quest - worked great.
5) for Diablo - can you make the bot kill all the mini-bosses? Can the bot tp @ the beginning of Chaos entrance so rushee can get xp if they want? Would be great options.
6) is the rusher supposed to TP at WPs?

Also, in the event that the Rusher cannot use the required WP because the stupidly forgot to collect the said WP, is it possible to include that in the messages? i.e. "Unable to rush through Anya quest: WP unavailable"

Thanks again Young_Love, awesome bot.


Yu can open Den.ntj ctrl+f clearlevel and delete 2 of tha 3 calls.

Coop and i will be working on tha bot activating on commands made by a specific leader. And tha leader specified by a command made in game. Tha killing of raddy, is just because it was trying to clear tp, and radament was to close.

I took my time and was very precise wit tha summoner tp, it was hard, but i got it. :)

Ummm, wit Diablo, i'm goona see if coop wants to do that :) for his first edit wit it.


Thank yu for tha feedback.
« Last Edit: July 27, 2010, 08:24:38 AM by TheFreak »


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"

cooptheking

  • Guest
Re: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #204 on: July 27, 2010, 09:43:57 AM »
I can do that to the chaos. Most likely. Only problem being that you'd want to clear ALL cuz if you only cleared SUPERS your leechers would die :(
Tho my hc hdin can clear entire chaos+diablo in less than 4 minutes

Offline Mad-Max

  • Donors
  • PK Novice
  • ***
  • Join Date: Jun 2010
  • Posts: 126
  • Reputation 5
    • View Profile
Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #205 on: July 27, 2010, 10:45:21 AM »
id like to see the bot make a tp when he gets to rada/summoner/izzy,
then go back to town and wait for some one to enter the tp,
then the bot gos in and kill the boss .....
because ive noticed that some times when waiting for slow jsp leechers the merc will kill the boss

over all its much smoother compared to the first one i tryed even with the glitches every so often that cooptheking pointed out

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: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #206 on: July 27, 2010, 10:56:19 AM »
id like to see the bot make a tp when he gets to rada/summoner/izzy,
then go back to town and wait for some one to enter the tp,
then the bot gos in and kill the boss .....
because ive noticed that some times when waiting for slow jsp leechers the merc will kill the boss

over all its much smoother compared to the first one i tryed even with the glitches every so often that cooptheking pointed out

Well those can be made easily, Might make yu have a choice. Yu can choose 'NTConfig_Super_Safe_Boss' Or 'Not_So_Safe_Boss'


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 Hunter

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 10
  • Reputation -9
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]Young_Love's D2NT Rush Bot 3.0!
« Reply #207 on: July 27, 2010, 10:59:29 AM »
id like to see the bot make a tp when he gets to rada/summoner/izzy,
then go back to town and wait for some one to enter the tp,
then the bot gos in and kill the boss .....
because ive noticed that some times when waiting for slow jsp leechers the merc will kill the boss

over all its much smoother compared to the first one i tryed even with the glitches every so often that cooptheking pointed out

Well those can be made easily, Might make yu have a choice. Yu can choose 'NTConfig_Super_Safe_Boss' Or 'Not_So_Safe_Boss'

Yea the rush scripts I use only include the main q's no skill or anything else so urs is so much better.. but ye it goes in town.. but they made it so its a delay u wait in town for leecher so it gets all fucky..

But yea those bottronic people are such dicks.. taking ur work.
« Last Edit: July 27, 2010, 11:03:35 AM by TheFreak »

Offline DPK

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #208 on: July 28, 2010, 08:34:42 AM »
<<<what I said>>>

1. Yu can open Den.ntj ctrl+f clearlevel and delete 2 of tha 3 calls.

2. Coop and i will be working on tha bot activating on commands made by a specific leader. And tha leader specified by a command made in game. Tha killing of raddy, is just because it was trying to clear tp, and radament was to close.

3. I took my time and was very precise wit tha summoner tp, it was hard, but i got it. :)

4. Ummm, wit Diablo, i'm goona see if coop wants to do that :) for his first edit wit it.

Thank yu for tha feedback.

RE: 1. Of course - and I understand why it's like this now too - Hammerdins/Sorcs are much more 'hit and miss' affairs - Assassins are the masters of "if I lay this trap, it'll target whatever is still alive" - much better rushers, esp with good gear & Infinity!

RE: 2. Ah, that makes sense, let me give it another go...

RE: 3. Works a treat :D

RE: 4. I've just gone through your NTConfig_CharName file, and I think what you have here is good enough, kill all CS is all I need - I just overlooked the idea of actually checking what you'd got in your scripting :P

Thanks again!

Offline DPK

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #209 on: July 28, 2010, 08:47:26 AM »
One more thing - this may be a general troubleshooting thing rather than to do with your bot - but is it supposed to automatically party? I can't figure this one :S

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

Re: [UPDATED 7-14-10]The PureKaoz Rush Bot
« Reply #209 on: July 28, 2010, 08:47:26 AM »