What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

not to pick up 2h weapons rare

you have to edit your loot rules for this
 
\Plugins\GilesTrinity\ItemHandling.cs

there is a line very ealy in this file: case GItemBaseType.WeaponTwoHand: -> // case GItemBaseType.WeaponTwoHand:

just put // at this expression
 
Like this? Just in one place?
string itemSha1Hash = ItemHash.GenerateItemHash(item.Position, item.ActorSNO, item.Name, iCurrentWorldID, item.Quality, item.Level);

switch (baseType)
{
// case GItemBaseType.WeaponTwoHand:
case GItemBaseType.WeaponOneHand:
case GItemBaseType.WeaponRange:
 
Like this? Just in one place?
string itemSha1Hash = ItemHash.GenerateItemHash(item.Position, item.ActorSNO, item.Name, iCurrentWorldID, item.Quality, item.Level);

switch (baseType)
{
// case GItemBaseType.WeaponTwoHand:
case GItemBaseType.WeaponOneHand:
case GItemBaseType.WeaponRange:

Yes that is correct.


can you tell in which one file i will have to look?

Alternatively you could try using the plugin in the link below. You might find it easier.

[Plugin] "Item Rules 2" File based scripting language!
 
Last edited:
thanks, is there short way to pick up armor - just gloves, bracers? i saw your link but for me now its to dificult, i am new to forum :)
 
The shortest way would be to download a item loot profile so you don't need to customize. Try looking around. They're easily available!
 
I use item Trinity 1.7.1.13 with custom loot rules, you'll want to edit your pickup.dis. Here is mine:

Code:
// +---------------------------------------------------------------------------+
// |  _______ ______ _______ ______ _______ _______ _____   
// | |     __|   __ \    ___|      |_     _|   _   |     |_ 
// | |__     |    __/    ___|   ---|_|   |_|       |       |
// | |_______|___|  |_______|______|_______|___|___|_______|
// +---------------------------------------------------------------------------+                                               

// craftingPlans on the ground have all quality normal cant decide here
[QUALITY] == "Normal" && [TYPE] == "CraftingPlan"

// +---------------------------------------------------------------------------+
// |  _____   _______ _______ _______ _______ _____  _______ ______ ___ ___ 
// | |     |_|    ___|     __|    ___|    |  |     \|   _   |   __ \   |   |
// | |       |    ___|    |  |    ___|       |  --  |       |      <\     / 
// | |_______|_______|_______|_______|__|____|_____/|___|___|___|__| |___|                                                                     
// +---------------------------------------------------------------------------+
           
[QUALITY] == "Legendary"

// +--------------------------------------------------------------------------------------+
// |  ______ _______ ______ _______ 
// | |   __ \   _   |   __ \    ___|
// | |      <       |      <    ___|
// | |___|__|___|___|___|__|_______|                     
// +--------------------------------------------------------------------------------------+

//Special Glove Pickup Rule
[QUALITY] == "Rare"  && [TYPE] == "Gloves" && [LEVEL] >=58

//Weapon Ignore Rules
[QUALITY] == "Rare"  && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]
[QUALITY] == "Rare"  && [BASETYPE] == "Weapon" && [TWOHAND] -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Bow" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Crossbow" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Staff" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Polearm" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Daibo" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "HandCrossbow" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Wand" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Fist Weapon" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Ceremonial Knife" -> [IGNORE]

//Off Hand Ignore Rules
[QUALITY] == "Rare"  && [TYPE] == "Shield" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Mojo" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Orb" -> [IGNORE]

//Armor Ignore Rules
//[QUALITY] == "Rare"  && [TYPE] == "Legs" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Belt" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Chest" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Helm" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "MightyBelt" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 60 && [BASETYPE] == "Armor"  -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Boots" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Cloak" -> [IGNORE]

//Hats Ignore Rules
[QUALITY] == "Rare"  && [TYPE] == "SpiritStone" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "VoodooMask" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "WizardHat" -> [IGNORE]

//Jewelry Ignore Rule
[QUALITY] == "Rare"  && [TYPE] == "FollowerSpecial"  -> [IGNORE]

//Pickup Rules
[QUALITY] == "Rare"  && [LEVEL] >= 61  && [BASETYPE] == "Weapon"
[QUALITY] == "Rare"  && [BASETYPE] == "Jewelry"
[QUALITY] == "Rare"  && [LEVEL] > 60  && [BASETYPE] == "Armor"

// +---------------------------------------------------------------------------+
// |  _______ _______ _______ _______ ______ 
// | |   |   |   _   |     __|_     _|      |
// | |       |       |    |  |_|   |_|   ---|
// | |__|_|__|___|___|_______|_______|______|                                                                                                   
// +---------------------------------------------------------------------------+
//Magic GTFO
[QUALITY] == "Magic" -> [IGNORE]
 
Back
Top