Blizzard Sector
Avoid selling uniqe items - 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: Avoid selling uniqe items (/thread-47108.html)



Avoid selling uniqe items - M@trixXx - 02-27-2011

Hi, I would like my bot to stop selling uniqe items, where can I find a script to edit it pls?
Thanks in advance.


Avoid selling uniqe items - Jammer74 - 02-28-2011

in your character config character name file (which is located D2NT\scripts\NTBot\char_configs) you will see a list that looks like this
Code:
//-----------------------------------------------------------------------------------
    // SnagIt configuration
    // Select one group only (normal / advance / extreme)
    //-----------------------------------------------------------------------------------
        //NTConfig_NIPFilePath.push("LowShopping/magic_rare.nip")
        //NTConfig_NIPFilePath.push("StartingOut/magic_rare.nip");
        //NTConfig_NIPFilePath.push("StartingOut/set.nip");
        //NTConfig_NIPFilePath.push("StartingOut/normal.nip");
        //NTConfig_NIPFilePath.push("StartingOut/unique.nip");
        //NTConfig_NIPFilePath.push("StartingOut/Sellables.nip")

        //NTConfig_NIPFilePath.push("LLD/magic_rare.nip");
        //NTConfig_NIPFilePath.push("LLD/set.nip");
        //NTConfig_NIPFilePath.push("LLD/normal.nip");
        //NTConfig_NIPFilePath.push("LLD/unique.nip");
        //NTConfig_NIPFilePath.push("LLD/Sellables.nip")

   [COLOR=DarkOrange] NTConfig_NIPFilePath.push("normal/normal.nip");
    NTConfig_NIPFilePath.push("normal/magic_rare.nip");
    NTConfig_NIPFilePath.push("normal/set.nip");
    NTConfig_NIPFilePath.push("normal/unique.nip");
    NTConfig_NIPFilePath.push("normal/craft.nip");
[/COLOR]
    //NTConfig_NIPFilePath.push("advance/normal.nip");
    //NTConfig_NIPFilePath.push("advance/magic_rare.nip");
    //NTConfig_NIPFilePath.push("advance/set.nip");
    //NTConfig_NIPFilePath.push("advance/unique.nip");
    //NTConfig_NIPFilePath.push("advance/craft.nip");

    //NTConfig_NIPFilePath.push("extreme/normal.nip");
    //NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
    //NTConfig_NIPFilePath.push("extreme/set.nip");
    //NTConfig_NIPFilePath.push("extreme/unique.nip");
    //NTConfig_NIPFilePath.push("extreme/craft.nip");
the only reason to look at this is to find out which pickit you use notice how the orange part doesn't have // in front of it,that means the bot uses the normal folder.So now that we know which pickit the bot uses we can find it and edit it.
In this case my bot uses the normal pickit so look in D2NT31_NTBot42\D2NT\scripts\NTBot\item_configs\ to find the pickit folders and find the normal FOLDER(not to be confused w/ the normal file inside the folder) inside the folder are the nip files which are edited w/ a text editor like notepad or something better like notepad++.Find the unique nip file and open it up,then find whatever unique you want to keep(i dont recommend keeping everything the bot will fill up in a few hours) and remove everything after the word unique in the script line
like this
Code:
[Name]  == Sallet && [Quality] == unique && [Flag] == ethereal #  [EnhancedDefense] >= 220 && [ColdResist] == 40 &&  [FireResist] == 50 && [LightningResist] == 40 // Rockstopper

would be changed to this
Code:
[name] == Sallet && [Quality] == unique

i hope that helps you do what you want to do


Avoid selling uniqe items - M@trixXx - 02-28-2011

Hi thanks changed all i needed hope it heelps

just got one more question about addingitems to take and keep in inv. need to keep essences, so i've added a couple of lines like this

Code:
// ##### Essences ######################
[name] == BurntEssenceofTerror
[name] == TwistedEssenceofSuffering
[name] == ChargedEssenseofHatred
[name] == EsteringEssenceofDestruction

i've added it in .../items_config/normal/normal.nip

if you could check it...
Thanks


Avoid selling uniqe items - Jammer74 - 02-28-2011

M@trixXx Wrote:Hi thanks changed all i needed hope it heelps

just got one more question about addingitems to take and keep in inv. need to keep essences, so i've added a couple of lines like this

Code:
// ##### Essences ######################
[name] == BurntEssenceofTerror
[name] == TwistedEssenceofSuffering
[name] == ChargedEssenseofHatred
[name] == EsteringEssenceofDestruction

i've added it in .../items_config/normal/normal.nip

if you could check it...
Thanks
I assume your using 3.0 instead of 3.1(3.1 has essence and token support)
so if you are using 3.o this is what you need to do in addition to what you did already

open up NTItemAlias located \D2NT\scripts\libs\common\NTItemAlias.NTL
and cntrl+f this next line
Code:
_NTIPAliasClassID ["Std"] = 653; _NTIPAliasClassID ["standardofheroes"] = 653;

and add these lines under it
Code:
_NTIPAliasClassID ["te1"] = 654; _NTIPAliasClassID ["twistedessenceofsuffering"] = 654;
_NTIPAliasClassID ["te2"] = 655; _NTIPAliasClassID ["chargedessenceofhatred"] = 655;
_NTIPAliasClassID ["te3"] = 656; _NTIPAliasClassID ["burningessenceofterror"] = 656;
_NTIPAliasClassID ["te4"] = 657; _NTIPAliasClassID ["festeringessenceofdestruction"] = 657;
that will succesfully allow your bot to pick up essences


Avoid selling uniqe items - M@trixXx - 02-28-2011

thanks man it works Smile


Avoid selling uniqe items - Jammer74 - 02-28-2011

my pleasure glad to help