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:
var QuickPickIt = 1; // 0: Never, 1: PublicMode only, 2: Always
var QuickPickItDelay = 10; // SnagItDelay for quick pick
Find:
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:
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!