Blizzard Sector
help pickit - Printable Version

+- Blizzard Sector (https://www.blizzsector.co)
+-- Forum: Diablo II (https://www.blizzsector.co/forum-4.html)
+--- Forum: Hacks Bots and Editors (https://www.blizzsector.co/forum-16.html)
+--- Thread: help pickit (/thread-46909.html)



help pickit - shaggys - 12-23-2010

how do i change the time it takes him to pick up
he picks stuff up after everything is dead i want him to snag it when it drops


help pickit - Jammer74 - 12-25-2010

First thing is to download Notepad++ It is the only thing I use to edit Javascript,Java,xml ect files.
next open NTAttack located D2NT31_NTBot42\D2NT\scripts\libs\common and find line 80 which would start with


function NTA_ClearPosition(range, pickitem, safelevel)
{
var _orgx, _orgy;
var _spectype = [0x0A, 0x01, 0x01];
var _skiplist;
var _attackcount = 0;
var _target;
var _distance, _mingid, _mindistance;
var _result;

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

switch(arguments.length)
{
case 0:
range = 20;
case 1:
pickitem = false;
case 2:
safelevel = 0;
default:
if(NTConfig_CheckSelfSafe < 0x01 && NTConfig_CheckMercSafe < 0x01)
safelevel = 0;
break;
}

_orgx = me.x;
_orgy = me.y;

for(var i = 0 ; i < _spectype.length ; i++)
{
_skiplist = new Array();

while(_attackcount < (i+1)*100)
{
_mindistance = 100000;

_target = NTC_FindUnit(NTC_UNIT_MONSTER);

NTSI_PickItems();

if(_target)
The orange line is what u need to add and it makes the pickit work before the bot aquires a new target instead of after everything is dead,essentially making the bot pick items after every kill. Next thing is to go into your config file and change NTConfig_SnagDelay to somewhere in the range of 0-50 milleseconds,I personally use 50,because sometimes the bot picks up the wrong things when going to fast.I cant take the credit for this all credit goes to
Beo900