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

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

Still has a strange pause =/... I'd be willing to donate if you debug the current loot rules plugin.

Having the same problem, it loots and then pauses for ~2 seconds. Not sure if this is items rules related or a trinity problem.
 
@darkfriend:

There is a bug with "Polearm" 2H Weapons, in pickup.dis I set 2h weapon to ignore which is working except for polearm.
Also on your screenshot right above it looks like Polearm rules are not working (NULL)

cheers
 
donated yesterday still waiting for latest item rules, running 2 atm \=


the only thing ive noticed is a slight few second delay after every elite mob, ive turned it down to the minimum '200' but still waits a few seconds when all loot is picked up

1.7.1.8 community edition
 
Last edited:
Some bugs/mistakes from \Rules\hard\legendary.dis:

Code:
// - Tzo Krin's Gaze ----------------------------------------------------------+
// "Legendary" Spirit Stone
// 322–359 Armor
// +78-83 Dexterity
// +78-83 Vitality
// Attack Speed Increased by 6-7%
// +6-7% Life
// Gain 15.1-29.8 Life per Spirit Spent (Monk Only)
// +1 Random Magic Properties
// Item Level: 61
[QUALITY] == "Legendary" && [NAME] == "Tzo Krin's Gaze" # [DEXVIT] > 200 || [SOCKETS] > 0 || [TOTRES] > 0 || [CRIT%] > 0

These rules are definetly not hard. Honestly i cant imagine any Tzo Krin's Gaze worth selling.



Another one:

Code:
// - Fire Walkers -------------------------------------------------------------+
// "Legendary" Boots
// 280–308 Armor
// +46-50 Fire Resistance
// +12% Movement Speed
// Reduces damage from melee attacks by 4%.
// Burn the ground you walk on.
// One of 3 Magic Properties (varies)
// +150-169 Intelligence
// +150-169 Dexterity
// +150-169 Strength
// +2 Random Magic Properties
// Item Level: 62
[QUALITY] == "Legendary" && [NAME] == "Fire Walkers" # [MAXSTATVIT] > 200 || [ALLRES] > 0

In hard rules should be at least:
Code:
[QUALITY] == "Legendary" && [NAME] == "Fire Walkers" # [MAXSTATVIT] > 200 && [ALLRES] > 60

Next:

Code:
// - Blackthorne's Surcoat ----------------------------------------------------+
// Set Chest Armor
// 397–457 Armor
// +71-80 Resistance to All Elements
// Reduces damage from ranged attacks by 5-6%.
// One of 2 Magic Properties (varies)
// +90-100 Vitality
// +170-200 Vitality
// +2 Random Magic Properties
// Empty Socket
// Empty Socket
// Empty Socket
// Blackthorne's Armor
// Item Level: 63
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Surcoat"

No rules so every Surcoat would be stashed.

I'll let it run on hard rules and when i see something i'll post it here.

1:

Safety rules are commented out from medium rules but not from hard rules.

HARD:
Code:
// safety rule
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [ONEHAND] == true # [DPS] > 900 && [SOCKETS] > 0 && ([CRITDMG%] > 50 || [LOH] > 400 || [LS%] > 3 || [MAXSTATVIT] > 200)
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [TWOHAND] == true # [DPS] > 1200 && [SOCKETS] > 0 && ([CRITDMG%] > 100 || [LOH] > 800 || [LS%] > 6 || [MAXSTATVIT] > 400) 
[QUALITY] == "Legendary" && [BASETYPE] == "Armor" # [MAXSTATVIT] > 400 || [DMGFACTOR] > 15
[QUALITY] == "Legendary" && [BASETYPE] == "Armor" # [MAXSTATVIT] > 300 && ([DMGFACTOR] > 12 || [ALLRES] > 60)
[QUALITY] == "Legendary" && [BASETYPE] == "Armor" # [MAXSTATVIT] > 200 && [DMGFACTOR] > 9 && [ALLRES] > 60
[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 300 || [DMGFACTOR] > 6
[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 200 && ([DMGFACTOR] > 4 || [ALLRES] > 60)
[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 100 && [DMGFACTOR] > 3 && [ALLRES] > 60

MEDIUM:
Code:
// safety rule
//[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [ONEHAND] == true # [DPS] > 900 && [SOCKETS] > 0 && ([CRITDMG%] > 50 || [LOH] > 400 || [LS%] > 3 || [MAXSTATVIT] > 200)
//[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [TWOHAND] == true # [DPS] > 1200 && [SOCKETS] > 0 && ([CRITDMG%] > 100 || [LOH] > 800 || [LS%] > 5 || [MAXSTATVIT] > 400) 
//[QUALITY] == "Legendary" && [BASETYPE] == "Armor" # [MAXSTATVIT] > 400 || [DMGFACTOR] > 15
//[QUALITY] == "Legendary" && [BASETYPE] == "Armor" # [MAXSTATVIT] > 300 && ([DMGFACTOR] > 12 || [ALLRES] > 60)
//[QUALITY] == "Legendary" && [BASETYPE] == "Armor" # [MAXSTATVIT] > 200 && [DMGFACTOR] > 9 && [ALLRES] > 60
//[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 300 || [DMGFACTOR] > 6
//[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 200 && ([DMGFACTOR] > 4 || [ALLRES] > 60)
//[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 100 && [DMGFACTOR] > 3 && [ALLRES] > 60

Because of this Gladiator Gauntlets with crit damage are going to be stashed with hard rules but not with medium.

Code:
08:16:08[LOG]:KEEP;[BASETYPE]:Armor;[TYPE]:Gloves;[QUALITY]:Legendary;[NAME]:GladiatorGauntlets;[LEVEL]:61,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[LIFE%]:6,99;[LOH]:207,00;[CRIT%]:7,00;[CRITDMG%]:30,00;[ARMOR]:265,83;[ARMORBONUS]:203,00;[ARMORTOT]:468,00;[DMGFACTOR]:20,00;[OFFSTATS]:2,00;[DEFSTATS]:3,00;[@EHP]:39861,45;[@OFFSTAT]:2,00;[@DEFSTAT]:3,00;[QUALITY]=="Legendary"&&[BASETYPE]=="Armor"#[MAXSTATVIT]>400||[DMGFACTOR]>15

2:

HARD:
Code:
[LOG]:KEEP;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:Hierophant'sSeal;[LEVEL]:61,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[AS%]:6,00;[LIFE%]:6,00;[REGEN]:118,00;[MINDMG]:24,00;[MAXDMG]:44,00;[ARMORBONUS]:195,00;[ARMORTOT]:195,00;[DMGFACTOR]:9,40;[AVGDMG]:34,00;[OFFSTATS]:2,00;[DEFSTATS]:3,00;[@EHP]:39396,57;[@OFFSTAT]:3,00;[@DEFSTAT]:3,00;[QUALITY]=="Legendary"&&[NAME]=="Hierophant'sSeal"#[DMGFACTOR]>7||[MAXSTATVIT]>50||[ALLRES]>40

MEDIUM:
Code:
[LOG]:TRASH;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:Hierophant'sSeal;[LEVEL]:61,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[AS%]:6,00;[LIFE%]:6,00;[REGEN]:118,00;[MINDMG]:24,00;[MAXDMG]:44,00;[ARMORBONUS]:195,00;[ARMORTOT]:195,00;[DMGFACTOR]:9,40;[AVGDMG]:34,00;[OFFSTATS]:2,00;[DEFSTATS]:3,00;[QUALITY]=="Legendary"&&[BASETYPE]=="Jewelry"#True->[TRASH]

3:

HARD:
Code:
[LOG]:KEEP;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:BandofHollowWhispers;[LEVEL]:61,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[DEX]:39,00;[VIT]:133,00;[LOH]:220,00;[ALLRES]:53,00;[MAXSTAT]:39,00;[MAXSTATVIT]:172,00;[STRVIT]:133,00;[DEXVIT]:172,00;[INTVIT]:133,00;[TOTRES]:53,00;[DEFSTATS]:2,00;[@EHP]:47676,81;[@DEFSTAT]:3,00;[@MONSTAT]:1,00;[@DEMSTAT]:1,00;[QUALITY]=="Legendary"&&[NAME]=="BandofHollowWhispers"#[DMGFACTOR]>3||[MAXSTATVIT]>100||[MAXSTATVIT]>200

MEDIUM:
Code:
[LOG]:TRASH;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:BandofHollowWhispers;[LEVEL]:61,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[DEX]:39,00;[VIT]:133,00;[LOH]:220,00;[ALLRES]:53,00;[MAXSTAT]:39,00;[MAXSTATVIT]:172,00;[STRVIT]:133,00;[DEXVIT]:172,00;[INTVIT]:133,00;[TOTRES]:53,00;[DEFSTATS]:2,00;[QUALITY]=="Legendary"&&[BASETYPE]=="Jewelry"#True->[TRASH]

4:

HARD:
Code:
[LOG]:KEEP;[BASETYPE]:Jewelry;[TYPE]:Amulet;[QUALITY]:Legendary;[NAME]:XephirianAmulet;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[REGEN]:386,00;[CRIT%]:6,50;[GF%]:35,99;[MF%]:36,99;[MAXARCPOWER]:15,00;[DMGFACTOR]:13,00;[OFFSTATS]:1,00;[DEFSTATS]:1,00;[@EHP]:35000,00;[@OFFSTAT]:1,00;[@DEFSTAT]:1,00;[@WIZSTAT]:1,00;[QUALITY]=="Legendary"&&[NAME]=="XephirianAmulet"#[DMGFACTOR]>10||[MAXSTATVIT]>100&&[ALLRES]>50

MEDIUM:
Code:
[LOG]:TRASH;[BASETYPE]:Jewelry;[TYPE]:Amulet;[QUALITY]:Legendary;[NAME]:XephirianAmulet;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[REGEN]:386,00;[CRIT%]:6,50;[GF%]:35,99;[MF%]:36,99;[MAXARCPOWER]:15,00;[DMGFACTOR]:13,00;[OFFSTATS]:1,00;[DEFSTATS]:1,00;[QUALITY]=="Legendary"&&[BASETYPE]=="Jewelry"#True->[TRASH]

As you can see rules are commented out in medium but not in hard.
There are a lot more of these.

Any progress?
 
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.020(special):
// | - on public demand GilesTrinity version 1.6.3.4 (v0.45)
// |   released with newest Item Rules Version 2.020
// |   feedback apreciated
// +---------------------------------------------------------------------------+

GilesTrinity version 1.6.3.4 & Item Rules Version 2.020

have fun!!!


using this atm, noticed it didnt pick up warlord legplates and some daibo rares
i think it should pick all rares in inferno dificulty,
also is there a way to make it salvage only trash legendaries?
 
When I use the rules it seems like they are being ignored: it stashes following items while it shouldnt (i choose the medium rules)

Code:
[17:39:36.475 N] [Trinity]Sun Keeper [Mace_norm_unique_04-156] [Mace] = (KEEP)[17:39:36.530 N] [Trinity]Windforce [Bow_norm_unique_04-214] [Bow] = (KEEP)
[17:39:38.113 N] [Trinity]+=+=+=+=+=+=+=+=+ LEGENDARY FOUND +=+=+=+=+=+=+=+=+
[17:39:38.113 N] [Trinity]+  Name:       Sun Keeper (Mace)
[17:39:38.113 N] [Trinity]+  Score:       48039
[17:39:38.113 N] [Trinity]+  Attributes: Intelligence=192. DPS=945
[17:39:38.113 N] [Trinity]+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
[17:39:38.633 N] [Trinity]+=+=+=+=+=+=+=+=+ LEGENDARY FOUND +=+=+=+=+=+=+=+=+
[17:39:38.633 N] [Trinity]+  Name:       Windforce (TwoHandBow)
[17:39:38.633 N] [Trinity]+  Score:       50715
[17:39:38.633 N] [Trinity]+  Attributes: Life Steal %=3. DPS=1182
[17:39:38.633 N] [Trinity]+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Is this the logging from the File system or from Trinity score system?

I really dont know what I do wrong.
I choose file based system in trinity config
I choose the lootrule in config.dis

I mean what else can I do? :s

actualog:
Code:
18 dec 17:39:36[ERROR]:Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"||[QUALITY]==Special#True->[KEEP];tree.Errors = 3;ParseError( 4097): Unexpected token '' found. Expected EOF;ParseError( 111): TryGetValue NUMBER failed '' check this key!;ParseError( 111): TryGetValue NUMBER failed '' check this key!;;[BASETYPE]:Weapon;[TYPE]:Mace;[QUALITY]:Legendary;[NAME]:SunKeeper;[LEVEL]:63,00;[ONEHAND]:True;[TWOHAND]:False;[UNIDENT]:False;[DEX]:175,00;[INT]:198,00;[DPS]:945,86;[WEAPAS]:1,20;[WEAPMAXDMG]:1047,68;[WEAPMINDMG]:500,42;[MF%]:45,00;[MAXSTAT]:198,00;[MAXSTATVIT]:198,00;[DEXVIT]:175,00;[INTVIT]:198,00;[DEFSTATS]:1,00;
18 dec 17:39:36[LOG]:KEEP;[BASETYPE]:Weapon;[TYPE]:Mace;[QUALITY]:Legendary;[NAME]:SunKeeper;[LEVEL]:63,00;[ONEHAND]:True;[TWOHAND]:False;[UNIDENT]:False;[DEX]:175,00;[INT]:198,00;[DPS]:928,86;[WEAPAS]:1,20;[WEAPMAXDMG]:1047,68;[WEAPMINDMG]:500,42;[MF%]:45,00;[MAXSTAT]:198,00;[MAXSTATVIT]:198,00;[DEXVIT]:175,00;[INTVIT]:198,00;[DEFSTATS]:1,00;[QUALITY]=="Legendary"&&[BASETYPE]=="Weapon"#True->[KEEP]
18 dec 17:39:36[ERROR]:Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"||[QUALITY]==Special#True->[KEEP];tree.Errors = 3;ParseError( 4097): Unexpected token '' found. Expected EOF;ParseError( 111): TryGetValue NUMBER failed '' check this key!;ParseError( 111): TryGetValue NUMBER failed '' check this key!;;[BASETYPE]:Weapon;[TYPE]:Bow;[QUALITY]:Legendary;[NAME]:Windforce;[LEVEL]:63,00;[ONEHAND]:False;[TWOHAND]:True;[UNIDENT]:False;[LS%]:3,00;[DPS]:1281,59;[WEAPAS]:1,54;[WEAPMAXDMG]:1182,44;[WEAPMINDMG]:475,96;[HATREDREG]:1,27;[DEFSTATS]:1,00;
18 dec 17:39:36[LOG]:KEEP;[BASETYPE]:Weapon;[TYPE]:Bow;[QUALITY]:Legendary;[NAME]:Windforce;[LEVEL]:63,00;[ONEHAND]:False;[TWOHAND]:True;[UNIDENT]:False;[LS%]:3,00;[DPS]:1281,59;[WEAPAS]:1,54;[WEAPMAXDMG]:1188,44;[WEAPMINDMG]:475,96;[HATREDREG]:1,27;[DEFSTATS]:1,00;[QUALITY]=="Legendary"&&[BASETYPE]=="Weapon"#True->[KEEP]

Im using version 1.7.1.7. from here :http://www.thebuddyforum.com/demonb...d-fix-custom-item-rules-monk-adjustments.html
But I had the same problem with 1.7.1.8.
 
Last edited:
i think its hardcoded so we don't really need to choose anything... oh and did anyone notice 'notifymyandroid' is not working? seems that i'm not receiving any notifications (my bot just stashed an IK belt but didn't receive any notification about it). i'm using darkfriend's v0.45.
 
i think its hardcoded so we don't really need to choose anything... oh and did anyone notice 'notifymyandroid' is not working? seems that i'm not receiving any notifications (my bot just stashed an IK belt but didn't receive any notification about it). i'm using darkfriend's v0.45.
NMA not working with 0.45
 
Back
Top