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

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

Also...

12/9/2012 8:34:58 PM: Vigilance(63) Legendary Misc Polearm
+--------------------------------------------------------------
| - [BASETYPE]: Misc
| - [TYPE]: Polearm
| - [QUALITY]: Legendary
| - [NAME]: Vigilance
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: True
| - [UNIDENT]: False
| - [LS%]: 5.90
| - [DPS]: 1409.37
| - [WEAPAS]: 1.05
| - [WEAPMAXDMG]: 1625.45
| - [WEAPMINDMG]: 1071.90
| - [DEFSTATS]: 1.00
+--------------------------------------------------------------
[ACTION = NULL]

Vigilance is being ID as misc.. thats why its keeping them no matter what

thats a bug ... somewhere between DB and the memory of D3
 
Need help. I wonder if my legendary file are being loaded and updated.

i have this in my log.

12/9/2012 11:17:15 PM: ImmortalKing'sIrons(63) Legendary Armor Gloves
+--------------------------------------------------------------
| - [BASETYPE]: Armor
| - [TYPE]: Gloves
| - [QUALITY]: Legendary
| - [NAME]: ImmortalKing'sIrons
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [STR]: 91.00
| - [INT]: 151.00
| - [REGEN]: 307.00
| - [CRIT%]: 9.00
| - [ARMOR]: 327.17
| - [ARMORBONUS]: 199.00
| - [ARMORTOT]: 526.00
| - [MAXSTAT]: 151.00
| - [MAXSTATVIT]: 151.00
| - [STRVIT]: 91.00
| - [INTVIT]: 151.00
| - [DMGFACTOR]: 18.00
| - [OFFSTATS]: 1.00
| - [DEFSTATS]: 2.00
+--------------------------------------------------------------
[QUALITY]=="Legendary"&&[BASETYPE]=="Armor"#[MAXSTATVIT]>400||[DMGFACTOR]>15 [ACTION = KEEP] < I cant find this line anywhere in my legendary.dis

I wonder whats this.

My immortal king irons is using this rule

[QUALITY] == "Legendary" && [NAME] == "Immortal King's Irons" # [AS%] > 0 || [CRITDMG%] > 0 || ([STR] > 180 && [VIT] > 50) || [ALLRES] > 64


u can ... change in ur config.dis .... [DEBUG] == true ....and then u should see in the log file all rules that are loaded ...and if u use a newer version ... from private repo ... u willla lso see from which path ..
 
hang on, here's an idea, go back to the way Giles did it originally that worked 100% for everything except legendary items, and just write a Legendary keeper plugin. The wheel was invented and worked well before 1.05, just needed a few spokes straitening after 1.05, be we went and brought a whole new set of square wheels it seems. Sorry if this sounds harsh but after a lot of work we have just come to the conclusion the old way worked fine and just needed another tweak.

G


sry ... i started on item rules .. after having ... my stash filled ... with shizzle .. and .. i didnt wanted to just increase the scoring .. as it isnt transparent of what will get trashed .... u got .. an armor scoring .... that should match gloves and boots ... and the items have complete other attributes that are relevant ... except maybee mainstat, vitallity and res all ... but for the rest u need to calculate a korelation ... and its not really possible as u need to have number to compare how much movement speed is equal to a scoring for attackspeed ... and this will just end in ...either trashing good loot or stashing trash ...

... d2 was up for a long time ... and no one used a fucking scoring to check there loot ... every one used those big rule sets ... that where getting bigger and bigger ... ^^

remeber ???

// ##### Jewels ########################
[Type] == jewel && [Quality] == magic # [EnhancedDamage] >= 36 && ([IAS] >= 15 || [ItemReqPercent] <= -15 || [Strength] >= 7 || [Dexterity] >= 7 || [MinDamage] >= 8 || [MaxDamage] >= 12)
[Type] == jewel && [Quality] == magic # [FireResist] >= 13 && [LightResist] >= 13 && ([IAS] >= 15 || [ItemReqPercent] <= -15 || [Strength] >= 7 || [Dexterity] >= 7)
[Type] == jewel && [Quality] == magic # [MaxDamage] >= 26
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && [MinDamage]+[MaxDamage] >= 20
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && [MinDamage]+[MaxDamage] >= 10 && ([Strength] >= 7 || [Dexterity] >= 7)
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && ([MinDamage] >= 6 || [MaxDamage] >= 6) && [Strength]+[Dexterity] >= 13
[Type] == jewel && [Quality] == rare # [EnhancedDamage] >= 26 && [FHR] >= 7 && ([MinDamage] >= 6 || [MaxDamage] >= 6) && ([Strength] >= 7 || [Dexterity] >= 7)
[Type] == jewel && [Quality] == rare # ([FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 28 || [ItemDamageToMana] >= 10) && [FHR] >= 7 && [ItemReqPercent] <= -15

// ##### Small Charms ##################
[Name] == SmallCharm && [Quality] == magic # (([MaxDamage] >= 3 && [ToHit] >= 12) || [MaxMana] >= 12 || ([FireResist] >= 4 && [LightResist] >= 4)) && ([MaxHP] >= 12 || [FHR] >= 5 || [FRW] >= 3 || [Strength] >= 2 || [Dexterity] >= 2)
[Name] == SmallCharm && [Quality] == magic # ([FireMaxDam] >= 24 || [LightMaxDam] >= 55 || [ColdMaxDam] >= 17) && ([MaxHP] >= 12 || [FHR] >= 5 || [FRW] >= 3 || [Strength] >= 2 || [Dexterity] >= 2)
[Name] == SmallCharm && [Quality] == magic # [MaxHP]+[MaxMana] >= 30
[Name] == SmallCharm && [Quality] == magic # [FireMaxDam] >= 35 || [LightMaxDam] >= 85 || [ColdMaxDam] >= 25
[Name] == SmallCharm && [Quality] == magic && [Prefix] == 1407 && [Suffix] > 0
[Name] == SmallCharm && [Quality] == magic # [PoisonMaxDam]/10.2 >= 21
//[Name] == SmallCharm && [Quality] == magic # [ItemMagicBonus] >= 7
 
hey guys. if you want to just pick up one handed weapons you can do it like this:

[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon" && [ONEHAND] == true
 
u can ... change in ur config.dis .... [DEBUG] == true ....and then u should see in the log file all rules that are loaded ...and if u use a newer version ... from private repo ... u willla lso see from which path ..

my debug is with true already...
 
hang on, here's an idea, go back to the way Giles did it originally that worked 100% for everything except legendary items, and just write a Legendary keeper plugin. The wheel was invented and worked well before 1.05, just needed a few spokes straitening after 1.05, be we went and brought a whole new set of square wheels it seems. Sorry if this sounds harsh but after a lot of work we have just come to the conclusion the old way worked fine and just needed another tweak.

G


LOL maybe they worked for you but when your spending 6+ hours a day sorting shit its no longer acceptable.
 
Hey, I'm using Beerwalker's custom Witchdoctor AI which has improved my runs a ton. The thing is, his latest version is using Trinity 1.7.1.4 which is using your original Item Rules.

Is it possible for me to "upgrade" my WD AI Trinity without having to replace the whole folder? Or do the files mix?

Thanks! So happy to see item ruling like d2 :D that item scoring stuff is a joke
 
I'm using latest beta and trying to use russian rules but it doesn't work for legendaries (stashes them all), it always returns errors like this in the log.
Tried using DB beta and stable, fresh install, please help :/

09 d?c. 17:43:04[ERROR]: Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="КрюкМясника"#[DPS]>800&&[SOCKETS]>0&&([LOH]>0||[MAXSTATVIT]>100);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!;;Триумвират;Legendary;Armor;Orb;62;;[BASETYPE]:Armor;[TYPE]:Orb;[QUALITY]:Legendary;[NAME]:Триумвират;[LEVEL]:{6:2};[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INT]:{16:7};[VIT]:{14:1};[CRIT%]:{0:8,5};[MINDMG]:{8:3};[MAXDMG]:{13:8};[FIREDMG%]:{0:6};[LIGHTNINGDMG%]:{0:6};[ARCANEDMG%]:{0:5};[MAXARCPOWER]:{1:3};[MAXSTAT]:{16:7};[MAXSTATVIT]:{30:8};[STRVIT]:{14:1};[DEXVIT]:{14:1};[INTVIT]:{30:8};[DMGFACTOR]:{2:8,05};[AVGDMG]:{11:0,5};[OFFSTATS]:{0:2};[DEFSTATS]:{0:1};
 
Last edited:
Hi all,

is there any way or documentation for combine "Item rules 2" into the original giles trinity not "community" version?
coz i mod my own .gs too much, thinking to stick w/ it.... thank !
 
hello all,

is there a way for the bot to not pick up any magic items/gems/tomes? cause he is going back to town to often. thanks.
 
I'm using latest beta and trying to use russian rules but it doesn't work for legendaries (stashes them all), it always returns errors like this in the log.
Tried using DB beta and stable, fresh install, please help :/

09 d?c. 17:43:04[ERROR]: Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="КрюкМясника"#[DPS]>800&&[SOCKETS]>0&&([LOH]>0||[MAXSTATVIT]>100);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!;;Триумвират;Legendary;Armor;Orb;62;;[BASETYPE]:Armor;[TYPE]:Orb;[QUALITY]:Legendary;[NAME]:Триумвират;[LEVEL]:{6:2};[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INT]:{16:7};[VIT]:{14:1};[CRIT%]:{0:8,5};[MINDMG]:{8:3};[MAXDMG]:{13:8};[FIREDMG%]:{0:6};[LIGHTNINGDMG%]:{0:6};[ARCANEDMG%]:{0:5};[MAXARCPOWER]:{1:3};[MAXSTAT]:{16:7};[MAXSTATVIT]:{30:8};[STRVIT]:{14:1};[DEXVIT]:{14:1};[INTVIT]:{30:8};[DMGFACTOR]:{2:8,05};[AVGDMG]:{11:0,5};[OFFSTATS]:{0:2};[DEFSTATS]:{0:1};

Found solution to my own problem, russian rules were outdated, so I rewrote them for v2 of the plugin.
darkfriend if you want I can send them to you ?
 
[Trinity]Skirmish Knack [Polearm_norm_base_07-79] [Polearm] = (NULL)
[Trinity]Skirmish Assailant [Polearm_norm_base_07-92] [Polearm] = (NULL)
[Trinity]Stark Thrust [Polearm_norm_base_04-97] [Polearm] = (NULL)
[Trinity]Vanguard Slayer [Polearm_norm_base_06-104] [Polearm] = (NULL)

donator soft rules
 
While debugging rules I found this repeated a lot in the logs. Could you tell me what it means?

09 Dec 13:17:11[ERROR]: Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="Shenlong'sFistofLegend"#[DPS]>800&&([LS%]>0||[LOH]>300||[DEXVIT]>=360||[DEX]=300);tree.Errors = 2;ParseError( 4097): Unexpected token '' found. Expected BRCLOSE;ParseError( 4097): Unexpected token '' found. Expected EOF
 
While debugging rules I found this repeated a lot in the logs. Could you tell me what it means?

09 Dec 13:17:11[ERROR]: Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="Shenlong'sFistofLegend"#[DPS]>800&&([LS%]>0||[LOH]>300||[DEXVIT]>=360||[DEX]=300);tree.Errors = 2;ParseError( 4097): Unexpected token '' found. Expected BRCLOSE;ParseError( 4097): Unexpected token '' found. Expected EOF


u miss one = in the last ...part ...

[DEX] =300)

should be

[DEX] ==300)
 
[Trinity]Skirmish Knack [Polearm_norm_base_07-79] [Polearm] = (NULL)
[Trinity]Skirmish Assailant [Polearm_norm_base_07-92] [Polearm] = (NULL)
[Trinity]Stark Thrust [Polearm_norm_base_04-97] [Polearm] = (NULL)
[Trinity]Vanguard Slayer [Polearm_norm_base_06-104] [Polearm] = (NULL)

donator soft rules


the polearms ... give back as basetype misc ..instead of weapon .. if u only check for TYPE == polearm ...

the rule will catch on the item ...

try something like that ..

[QUALITY] == "Rare" && [TYPE] == "Polearm" # [DPS] > 1600
 
Hey, I'm using Beerwalker's custom Witchdoctor AI which has improved my runs a ton. The thing is, his latest version is using Trinity 1.7.1.4 which is using your original Item Rules.

Is it possible for me to "upgrade" my WD AI Trinity without having to replace the whole folder? Or do the files mix?

Thanks! So happy to see item ruling like d2 :D that item scoring stuff is a joke

Question got skipped :D
 
Back
Top