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

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

Is there any problem with Bow and Crossbow in my pickup list? Didn't loot a Bow or Corssbow for 2 days now...
Code:
[QUALITY] == "Rare"  && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Staff" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "CeremonialDagger" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Wand" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "MightyWeapon" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "HandCrossbow" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "FistWeapon" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Bow" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Crossbow" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare"  && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]

Edit: Ok its working now:
Code:
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "CeremonialDagger" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Wand" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "MightyWeapon" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "HandCrossbow" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "FistWeapon" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Staff" -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] > 62  && [BASETYPE] == "Weapon" && [TYPE] == "Bow"
[QUALITY] == "Rare"  && [LEVEL] > 62  && [BASETYPE] == "Weapon" && [TYPE] == "Crossbow"
[QUALITY] == "Rare"  && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare"  && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]
 
can someone share item rules with better rings filter? because i am getting alot bad rings with elite rules :)
PS amu if possible too :)
 
I noticed that the log said there was no rules for "Rare6"

[QUALITY] == "Rare" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Staff" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "CeremonialDagger" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Wand" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "MightyWeapon" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "HandCrossbow" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "FistWeapon" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Bow" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Crossbow" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare" && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]


So I did this.

[QUALITY] == "Rare" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare1" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare2" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare3" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare4" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare5" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]
[QUALITY] == "Rare6" && [LEVEL] <= 63 && [BASETYPE] == "Weapon" && [TYPE] == "Diabo" -> [IGNORE]

Seems to be working on all of my rules. However it would be nice if there was a 'string contains' operator or some sort of regex / lazy matching / globs so you could say

[QUALITY] == "Rare*"
or
contains
[QUALITY] <-> "Rare"
 
.... added new stuff to item viewer ...

MHoayBA.png
 
Did DB read the elemental damage correctly now? It does not work last time I try
 
Hi I'd like to make my own rules to pick up rares items that have potential to be enchanted. Is there anyway to check for # of attribute on a item. example is this a 4 stat or 6 stat item? Also further is it possible to write to check for # of primary and #of secondary skills on an item?

My goal is to look for items with 3 stats I like and with the potential to enchant the 4th. but if possible I'd like to check if the option for a 4th primary exists on not on the item.

[QUALITY] == "Rare" && [TYPE] == "Chest" # ([MAXSTAT] >= 400 && [VIT] >= 400 && ([ALLRES] >= 86 || [SOCKETS] >=3) || [LIFE%] >= 8 ) --> I can enchant PSNResist if the option exists for OWE Monk
[QUALITY] == "Rare" && [TYPE] == "Chest" # ([MAXSTAT] >= 400 && [VIT] >= 400 && [RESPOISON] > 60 --> I can enchant with Allres/sockets/life% if option exisit.

Thanks for the help!
 
All element damages filtering seems to work except physical. There is nothing documented about what the tag is. I've tried [PHYSICALDMG%] or [PHYSDMG%] but both don't seem to detect the stat on my amulets.
 
so this topick was unsticked because this itemrulers dont work anymore?
i thought its not///
 
Hi I'd like to make my own rules to pick up rares items that have potential to be enchanted. Is there anyway to check for # of attribute on a item. example is this a 4 stat or 6 stat item? Also further is it possible to write to check for # of primary and #of secondary skills on an item?

My goal is to look for items with 3 stats I like and with the potential to enchant the 4th. but if possible I'd like to check if the option for a 4th primary exists on not on the item.

[QUALITY] == "Rare" && [TYPE] == "Chest" # ([MAXSTAT] >= 400 && [VIT] >= 400 && ([ALLRES] >= 86 || [SOCKETS] >=3) || [LIFE%] >= 8 ) --> I can enchant PSNResist if the option exists for OWE Monk
[QUALITY] == "Rare" && [TYPE] == "Chest" # ([MAXSTAT] >= 400 && [VIT] >= 400 && [RESPOISON] > 60 --> I can enchant with Allres/sockets/life% if option exisit.

Thanks for the help!

I am searching for same answer but noone helps :S

I want to write a code:
For Exemple I want to keep an Amulet wich has 3 of these 4 stats:

1-CritDMG
2-CritChance
3-Soket
4-Stat(Dex,Int,Str)

And if some amulet drops like this:

-Amulet-
600 Dex
%10 CritChance
Soket
%5 Atack Speed ==> (I am able enchant this stat to CritDMG in Mystic vendor)

Can you please write me simple code so that I can copy and adjust for other items?

If you can help I will be glad! Thank you!
 
hi guys! how i can this item rules:
1.pick legendary(set items too), white,blue,yellow reagent, socket gem, blue item, rift key, and great rift key
2.salvage blue item and non-ancient legendary(set items)
3. drop all THIS in stash if my bags if full.
Sorry, for my bad english. if I was able to , I would have written myself. Thanx!
 
Back
Top