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

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

Can someone post a rule for not pick up twohands with ilvl < 63?
I tried this:
Code:
[QUALITY] == "Rare"  && [BASETYPE] == "Weapon" && [TWOHAND] == "True" && [LEVEL] < 63 -> [IGNORE]
but it doesnt working...

I believe the problem is with your use of [TWOHAND]. I also tried a very similar rule using twohand=true logic that I made myself and it never worked. But now I am using the frostie one and...just having a look over my slaves...its working, no 2handers anywhere.

So have another look at frosties code:
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] -> [IGNORE]
 
Even the weapon part is superfluous, you could actually make it:
[QUALITY] == "Rare" && [TWOHAND] -> [IGNORE]
And it should still work
 
[QUALITY] == "Rare" && [TWOHAND] == true && [LEVEL] == 63 -> [KEEP]

"untested"
you should put it the first rules
 
Last edited:
I just want to make sure it keeps all Legendary/Set items, as it only takes me a second of looking at one of those to determine if it should be kept or not. Will this loot rule automatically stash all legendaries, regardless of stats, or do I need to edit something to make sure it does?
 
it chooses between good and crap, if you want to stash all legendaries go to the config.dis and add an // before legendary.dis
 
Hey darkfriend, would u consider making it as a standalone plugin?
 
Hey darkfriend, would u consider making it as a standalone plugin?

that would be nice, so we can pick which version of trinity we want without having to worry about updating trinity just for better loot rules.
 
Hey darkfriend, would u consider making it as a standalone plugin?

... i might start work on this ... again ... but i still hope trinity will improve again ...

if there is a real need i can also put up a version 1.6.3.4 or so ... with the latest item rules version ...

but i haven't any ver. 1.6.3.4 around ^^


and i need to finish first my new log viewer ... as i need it to improve rule sets ... for more efficency ...

 
Last edited:
... i might start work on this ... again ... but i still hope trinity will improve again ...

if there is a real need i can also put up a version 1.6.3.4 or so ... with the latest item rules version ...

but i haven't any ver. 1.6.3.4 around ^^

Please make one for 1.6.3.4 (v0.45) that would be super sweet!
 
I have the feeling the rules werent followed (stashing behaviour didnt match the rules, I use the medium rule). My ActualLog says this:
201212161335034208;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="TheButcher'sSickle"#[DPS]>800&&[SOCKETS]>0&&([LOH]>0||[MAXSTATVIT]>100||[WEAPAS]>1.35);tree.Errors = 2;ParseError( 111): TryGetValue NUMBER failed '1.35' check this key!;ParseError( 111): TryGetValue NUMBER failed '1.35' check this key!;;[KEY]:2019229847;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:StoneofJordan;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[LIGHTNINGDMG%]:6,00;[MAXFURY]:15,00;[DEFSTATS]:1,00;
201212161335034458;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="Chantodo'sWill"#[DPS]>1000&&[WEAPAS]>1.76;tree.Errors = 2;ParseError( 111): TryGetValue NUMBER failed '1.76' check this key!;ParseError( 111): TryGetValue NUMBER failed '1.76' check this key!;;[KEY]:2019229847;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:StoneofJordan;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[LIGHTNINGDMG%]:6,00;[MAXFURY]:15,00;[DEFSTATS]:1,00;
201212161335034488;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="UhkapianSerpent"#[DMGFACTOR]>13.5||([DMGFACTOR]>12.5&&[INTVIT]>220);tree.Errors = 2;ParseError( 111): TryGetValue NUMBER failed '13.5' check this key!;ParseError( 111): TryGetValue NUMBER failed '13.5' check this key!;;[KEY]:2019229847;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:StoneofJordan;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[LIGHTNINGDMG%]:6,00;[MAXFURY]:15,00;[DEFSTATS]:1,00;
201212161335034498;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Legendary"&&[NAME]=="Manajuma'sGoryFetch"#[CRIT%]>0||[DMGFACTOR]>14.5||([DMGFACTOR]>13&&[MAXSTATVIT]>220);tree.Errors = 2;ParseError( 111): TryGetValue NUMBER failed '14.5' check this key!;ParseError( 111): TryGetValue NUMBER failed '14.5' check this key!;;[KEY]:2019229847;[BASETYPE]:Jewelry;[TYPE]:Ring;[QUALITY]:Legendary;[NAME]:StoneofJordan;[LEVEL]:62,00;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[LIGHTNINGDMG%]:6,00;[MAXFURY]:15,00;[DEFSTATS]:1,00;
etc
 
Nope I just want darkfriend to take a look at the giles.

Darkfriend, cant you just make it standalone regardless of whether giles version?
 
I have the feeling the rules werent followed (stashing behaviour didnt match the rules, I use the medium rule). My ActualLog says this: etc


that log means something is wrong in ur rule set ... !!! if u havent touched ur rules .... then u might redownload the whole thing ...
 
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!!!
 
darkfriend, is trinity 1.7.1.8 working? did u manage to fix the pause?
 
Back
Top