Author Topic: [D2NT] Quick PickIt Fix  (Read 2018 times)

Offline mythosis

  • PK Pro
  • ****
  • Join Date: Aug 2010
  • Posts: 265
  • Reputation 0
  • USWest Channel: op pkbaal
    • View Profile
[D2NT] Quick PickIt Fix
« on: September 02, 2010, 09:15:09 PM »
So whats the change?
Currently, your bot picks up items after clearing the area. Wait, some one can beat my bot to a grab! (and he can miss items in rare cases)
With this mod, he can grab items after killing any monster, preventing the above.

QuickPickIt = 0 :: He will pick normally, after clearing the area.
QuickPickIt = 1 :: He will pick after every kill, using the custom delay time, IF running in public mode.
QuickPickIt = 2 :: He will pick after every kill, using the custom delay time.

Well, why would I not want to quick pick always, and just in public mode?
Diablo implemented a anti-pickit scheme a long time ago that measures the time it takes for an item to drop and be picked up. People who picked up dropped items 'too fast to be human' underwent investigation for hacking. It is in this line of thought that I enabled this mode.

Step 1:
Navigate to folder: D2NT\scripts\libs\common
Open File: NTAttack.

At the top, add:
Code: [Select]
var QuickPickIt = 1; // 0: Never, 1: PublicMode only, 2: Always
var QuickPickItDelay = 10; // SnagItDelay for quick pick

Find:
Code: [Select]
function NTA_KillMonster(classid)
{
var _target;

if(NTConfig_AttackSkill[1] < 1)
return false;

_target = NTC_FindUnit(NTC_UNIT_MONSTER, classid, 5);

if(!_target)
return false;

Replace with:
Code: [Select]
function NTA_KillMonster(classid)
{
var _target;

if(NTConfig_AttackSkill[1] < 1)
return false;

_target = NTC_FindUnit(NTC_UNIT_MONSTER, classid, 5);

if(QuickPickIt >= 1)
{
if(NTConfig_PublicMode || QuickPickIt == 2)
{
Delay(QuickPickItDelay);
NTSI_PickItems();
}
}

if(!_target)
return false;


O look, no step 2! That was easy!
« Last Edit: September 04, 2010, 03:50:22 AM by mythosis »

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

[D2NT] Quick PickIt Fix
« on: September 02, 2010, 09:15:09 PM »

Offline slitherypoo

  • Newbie
  • *
  • Join Date: Jul 2011
  • Posts: 5
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: [D2NT] Quick PickIt Fix
« Reply #1 on: August 23, 2011, 10:14:37 PM »
I tried adding this to the code and it errors out as soon as it begins the attack.nfp.  Is it because i am using 3.0? or is there a quickpickit.nfp i need to add?  Anyone have any clues/links i need please post!

Appreciate any and all help!

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

Re: [D2NT] Quick PickIt Fix
« Reply #1 on: August 23, 2011, 10:14:37 PM »