Author Topic: [D2NT] Picking Up Junk Fix  (Read 2308 times)

mythosis

  • Guest
[D2NT] Picking Up Junk Fix
« on: September 02, 2010, 08:25:49 PM »
Bot picking up things like Arrows, keys, throwing potions?
This can happen for a number of reasons, and you may need to find a specific solution to your problem to get it to ignore those items, however, a simple fix is available. Just note that doing this fix, you will want to have a tome of town portal and identify in a spot of your inventory your bot isn't configured to use. Its possible otherwise he may not have room to buy a scroll.


Picking up things like Flawless Gems and Ko Runes when your pickit files say not to?
Your problem is probably in your character configure file, under the Cubing Section. It will pick up the items needed to make what you want to cube. Just put "//" infront of the gems/runes/items in that section. Otherwise,


Step 1: IgnoredList
Navigate to folder: D2NT\scripts\libs\common
Open File: NTTown.ntl
At the top you will see
Code: [Select]
var _NTT_IgnoredItems = new Array(
"aqv", // Arrows quiver
"cqv", // Bolts quiver
"key", // Keys
"tbk", // Tome of Town Portal
"ibk", // Tome of Identify
"tsc", // Scroll of Town Portal
"isc", // Scroll of Identify
"yps", // Antidote potion
"vps", // Stamina potion
"wms", // Thawing potion
"gps", // Rancid Gas Pot
"ops", // Oil Potion
"gpm", // Choking Gas Pot
"opm", // Exploding Pot
"gpl", // Strangling Gas
"opl", // Fulminating Pot
"hp1","hp2","hp3","hp4","hp5", // Healing potions
"mp1","mp2","mp3","mp4","mp5", // Mana potions
"rvs","rvl"); // Rejuvenation potions

Change it to
Code: [Select]
var _NTT_IgnoredItems = new Array("key");
var _NTT_IgnoredItems2 = new Array(
"aqv", // Arrows quiver
"cqv", // Bolts quiver
"key", // Keys
"tbk", // Tome of Town Portal
"ibk", // Tome of Identify
"tsc", // Scroll of Town Portal
"isc", // Scroll of Identify
"yps", // Antidote potion
"vps", // Stamina potion
"wms", // Thawing potion
"gps", // Rancid Gas Pot
"ops", // Oil Potion
"gpm", // Choking Gas Pot
"opm", // Exploding Pot
"gpl", // Strangling Gas
"opl", // Fulminating Pot
"hp1","hp2","hp3","hp4","hp5", // Healing potions
"mp1","mp2","mp3","mp4","mp5", // Mana potions
"rvs","rvl"); // Rejuvenation potions

Step 2: Clear Inventory
Navigate to folder: D2NT\scripts\libs\common
Open File: NTTownManager.ntl
Find (crt+f): NTTMGR_VisitTown
Add the line
Code: [Select]
NTT_ClearInventory();
Here
Code: [Select]
function NTTMGR_VisitTown()
{
var _prearea = me.areaid;

if(!NTTM_CheckAct())
return false;

NTTMGR_TownManager(true);

NTT_ClearInventory();

if(!NTTM_TownMove("portalspot"))
return false;

if(!NTM_UsePortal("BluePortal", _prearea))
return false;

if(NTConfig_PublicMode)
NTM_MakeTP();

return true;
}

Now he should only ignore keys (for opening chests). And he will drop the crap just before he moves back to his portal to go try to pick up items again.
« Last Edit: September 04, 2010, 03:49:32 AM by mythosis »