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

[Plugin] "Item Rules 2" File based scripting language!

its donator only at the moment ... but it will be public released in a few days no worrys or ... if u really wanna try u can still jump on to the trinity dev branch
 
place the following in Plugins\GilesTrinity\ItemRules\Rules\[soft or hard, depends on your Trinity config]\pickup.dis:
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon" && [TWOHAND] == false
[QUALITY] == "Rare" && [LEVEL] == 63 && [BASETYPE] == "Armor" && [TYPE] == "Gloves"
[QUALITY] == "Rare" && [LEVEL] > 59 && [BASETYPE] == "Jewelry" && [TYPE] == "Ring"
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Jewelry" && [TYPE] == "Amulet"
[QUALITY] == "Rare" -> [IGNORE]

unid legs are controlled in a plugin of the same name afaik


can someone add there a line to not pickup wands, wich doctor knifes and 1hand crossbow? i try but failed :(
 
just be sure to have no generic weapon pickup earlier to this line

[QUALITY] == "Rare" && [TYPE] == "Wand" -> [IGNORE]
 
just be sure to have no generic weapon pickup earlier to this line

[QUALITY] == "Rare" && [TYPE] == "Wand" -> [IGNORE]

tryed that to wand, cereminioal dagger and handcrossbow but not worked. thats why cant find out why.

fixed, worked now, thanks alot.
 
Last edited:
Code:
// WANTED LEGENDARYS
[QUALITY] == "Legendary" && [LEVEL] > 57
[QUALITY] == "Legendary" && [LEVEL] > 50 && [TYPE] == "Jewelry"
// LEGENDARY IGNORE
[QUALITY] == "Legendary" && [LEVEL] <= 56 -> [IGNORE]



// RARE WANTED WEAPONS
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Axe" && [TWOHAND] == "false"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Spear"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Dagger"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "MightyWeapon" && [TWOHAND] == "false"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Mace" && [TWOHAND] == "false"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Sword" && [TWOHAND] == "false"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Wand"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "FistWeapon"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "CeremonialDagger"
// RARE WEAPON IGNORE
[QUALITY] == "Rare" && [LEVEL] < 63 && [BASETYPE] == "Weapon" -> [IGNORE]



// RARE WANTED MISC, RINGS, GLOVES, AMULETS
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Gloves"
// [QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Shoulder"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Bracer"
[QUALITY] == "Rare" && [LEVEL] > 57 && [TYPE] == "Ring"
[QUALITY] == "Rare" && [LEVEL] > 57 && [TYPE] == "Amulet"
// RARE MISC IGNORE
[QUALITY] == "Rare" && [LEVEL] < 63 && [BASETYPE] == "Armor" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] < 57 && [BASETYPE] == "Jewelry" -> [IGNORE]

I'm using this, whats wrong with it? Its still picking up EVERYTHING! :(
 
ok, the same question

but to this rulers

what this rulers will do with this item, for example?

rLzyuW4.jpg
 
just check rare.dis in corresponding folder (soft/hard) and you'll find out :)
 
I'm maybe totally idiot, but still dont get how to make my bot pickup just specific items (1hands wepz, jewelry, gloves, pants and all legendaries )
Can someone politely explain how to do it ? : (
 
I'm maybe totally idiot, but still dont get how to make my bot pickup just specific items (1hands wepz, jewelry, gloves, pants and all legendaries )
Can someone politely explain how to do it ? : (
Fandrey explained very well to me, when i have internet back @ home i can pm u my pickup.dis to bring u some lights on this(4-7days)

Sent from my GT-I9100 using TheBuddyForum mobile app
 
pickup.dis

Code:
// +---------------------------------------------------------------------------+
// |  ______ _______ ______ __  __      _______ ______
// | |   __ \_     _|      |  |/  |    |   |   |   __ \
// | |    __/_|   |_|   ---|     <     |   |   |    __/
// | |___|  |_______|______|__|\__|    |_______|___|
// | ++++++++++++++++++++++++++++++++++++++++++++++++++
// +---------------------------------------------------------------------------+
// TODO:
// ItemBaseType
// - Misc, Gem
// ItemQuality
// - Inferior, Normal, Superior, Rare, Magic, Legendary, Special
// - Rare4, Rare5, Rare6 & Legendary (for craftingPlan)
// +---------------------------------------------------------------------------+
// | - NORMAL -
// +---------------------------------------------------------------------------+
// craftingPlans on the ground have all quality normal cant decide here
//[TYPE] == "CraftingPlan" (now controlled through Trinity)
// craftingReagents like Demonic Essences (now handled through Trinity)
//[TYPE] == "CraftingReagent"
// +---------------------------------------------------------------------------+
// | - LEGENDARY -
// +---------------------------------------------------------------------------+
// +-- WEAPON -----------------------------------------------------------------+
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [LEVEL] > 57
// +-- ARMOR ------------------------------------------------------------------+
[QUALITY] == "Legendary" && [BASETYPE] == "Armor" && [LEVEL] > 57
// +-- JEWELRY ----------------------------------------------------------------+
[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" && [LEVEL] > 0
// +-- IGNORE RULE
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" -> [IGNORE]
[QUALITY] == "Legendary" && [BASETYPE] == "Armor" -> [IGNORE]
[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" -> [IGNORE]
// +-- SAFTY RULE
[QUALITY] == "Legendary"
// +---------------------------------------------------------------------------+
// | - RARE -
// +---------------------------------------------------------------------------+
// +-- WEAPON -----------------------------------------------------------------+
// - ONE-HAND
[QUALITY] == "Rare" && [LEVEL] > 61 && [ONEHAND] && [TYPE] == "Axe"
[QUALITY] == "Rare" && [LEVEL] > 61 && [ONEHAND] && [TYPE] == "Sword"
[QUALITY] == "Rare" && [LEVEL] > 61 && [ONEHAND] && [TYPE] == "Mace"
[QUALITY] == "Rare" && [LEVEL] > 61 && [ONEHAND] && [TYPE] == "MightyWeapon"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "HandCrossbow"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Dagger"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "Spear"
[QUALITY] == "Rare" && [LEVEL] > 62 && [TYPE] == "Wand"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "FistWeapon"
[QUALITY] == "Rare" && [LEVEL] > 61 && [TYPE] == "CeremonialDagger"
// - TWO-HAND
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TWOHAND] && [TYPE] == "Axe"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TWOHAND] && [TYPE] == "Sword"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TWOHAND] && [TYPE] == "Mace"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TWOHAND] && [TYPE] == "MightyWeapon"
[QUALITY] == "Rare" && [LEVEL] > 62 && [TYPE] == "Crossbow"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TYPE] == "Bow"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TYPE] == "Daibo"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TYPE] == "Staff"
//[QUALITY] == "Rare" && [LEVEL] > 62 && [TYPE] == "Polearm"
// +-- ARMOR ------------------------------------------------------------------+
//[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Helm"
//[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "WizardHat"
//[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "SpiritStone"
//[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "VoodooMask"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Chest"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Cloak"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Legs"
//[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Boots"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Belt"
//[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "MightyBelt"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Bracer"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Shoulder"
[QUALITY] == "Rare"  && [LEVEL] > 57  && [TYPE] == "Gloves"
// - OFF-HAND
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Orb"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Mojo"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [TYPE] == "Quiver"
[QUALITY] == "Rare"  && [LEVEL] > 62  && [TYPE] == "Shield"
// - FOLLOWER SPECIAL
[QUALITY] == "Rare"  && [LEVEL] > 59  && [TYPE] == "FollowerSpecial"
// +-- JEWELRY ----------------------------------------------------------------+
[QUALITY] == "Rare"  && [LEVEL] > 54 && [TYPE] == "Ring"
[QUALITY] == "Rare"  && [LEVEL] > 54 && [TYPE] == "Amulet"
// +-- IGNORE RULE
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Jewelry" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Misc" && [TYPE] == "FollowerSpecial" -> [IGNORE]
// +-- SAFTY RULE
[QUALITY] == "Rare"
// +---------------------------------------------------------------------------+
// | - MAGIC -
// +---------------------------------------------------------------------------+
// +-- WEAPON -----------------------------------------------------------------+
// +-- ARMOR ------------------------------------------------------------------+
// +-- JEWELRY ----------------------------------------------------------------+
//[QUALITY] == "Magic"  && [LEVEL] > 59 && [TYPE] == "Ring"
//[QUALITY] == "Magic"  && [LEVEL] > 59 && [TYPE] == "Amulet"
// +-- IGNORE RULE
[QUALITY] == "Magic" && [BASETYPE] == "Weapon" -> [IGNORE]
[QUALITY] == "Magic" && [BASETYPE] == "Armor" -> [IGNORE]
[QUALITY] == "Magic" && [BASETYPE] == "Jewelry" -> [IGNORE]
[QUALITY] == "Magic" && [BASETYPE] == "Misc" && [TYPE] == "FollowerSpecial" -> [IGNORE]
// +-- SAFTY RULE
[QUALITY] == "Magic"
 
Hey darkfriend, great work on this, so easy to make custom rules.

Do you think you could add the zombie dogs reduced cooldown attribute to the list? Seems like it's the only way to get some value out of a Stone of Jordan/Skull Grasp at the moment?
 
Hello darky
it is possible to implement unid rule like:
[NAME] == "Echoing Fury" -> [UNIDENT]
[itemid] == 1880318728 -> [UNIDENT]
or i must to insert all items like:
[QUALITY] == "Legendary" && [LEVEL] >= 63 && [ONEHAND] && [TYPE] == "Mace" -> [UNIDENT]

found the solution
[NAME] == "Echoing Fury" -> [UNIDENT]
is working
but function in trinity to recognize itemsid instead of names must be selected
 
Last edited:
Thanks for the item rules, can't stand sifting through all dem crap items!
 
Hello darky
it is possible to implement unid rule like:
[NAME] == "Echoing Fury" -> [UNIDENT]
[itemid] == 1880318728 -> [UNIDENT]
or i must to insert all items like:
[QUALITY] == "Legendary" && [LEVEL] >= 63 && [ONEHAND] && [TYPE] == "Mace" -> [UNIDENT]

found the solution
[NAME] == "Echoing Fury" -> [UNIDENT]
is working
but function in trinity to recognize itemsid instead of names must be selected

yep ... shouldwork but not with names ... with item ids ^^ :-)
 
after some time i notice little problem, bot allways sell potions in town rutine
think problem is placed in salvageSell.dis
How to solve it?
 
Back
Top