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

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

how would i make the rules stash all legendaries? instead of selling the crappy ones

ty
 
can anyone tell me how to make my bot to not pick up shields(pick up only legendary)?
 
what if I have different trinity version , how can I add your plugin to that version ?
 
is there a minimum that we can donate? and once we donate we get special access to prerelease right? also after we donate what do we have to do to acess the content for donators?

thx
 
is there a minimum that we can donate? and once we donate we get special access to prerelease right? also after we donate what do we have to do to acess the content for donators?

thx


u get an invite to my private repository where u can download actual rule sets and the beta development ... right now im working agin strong on new rules sets ... gona release to beta soon ...
 
u get an invite to my private repository where u can download actual rule sets and the beta development ... right now im working agin strong on new rules sets ... gona release to beta soon ...

is there a minimum for donations?
 
Optimized Rules to test ... for donators ...

Code:
// +---------------------------------------------------------------------------+
// |  ______         __             ______ __                                  
// | |   __ \.--.--.|  |.-----.    |      |  |--.---.-.-----.-----.-----.-----.
// | |      <|  |  ||  ||  -__|    |   ---|     |  _  |     |  _  |  -__|__ --|
// | |___|__||_____||__||_____|    |______|__|__|___._|__|__|___  |_____|_____|
// |                                                        |_____|           
// +---------------------------------------------------------------------------+
// +-06.01.2013 ---------------------------------------------------------------+
// | - rewrote rare ring & amulet (hard)
// | - rewrote rare legs (hard)
// | - rewrote rare boots (hard)
// | - rewrote rare cloak (hard)
// | - rewrote rare bracer (hard)
// | - rewrote rare gloves (hard)
// | - rewrote rare belt & mightyBelt (hard)
// | - rewrote rare helms (hard)
// | - added monk swap items (hard)
// | - removed some soft macro rules (hard)
// | - changed chest rules (hard)
// | - added shield rules (hard)
// | - fixed some more stuff (hard)

LINK (beta rules)
 
I am noticing some log spam, I am not sure if this is intended or i made an error when editing my files.


Plugins\GilesTrinity\ItemRules\Log

201301061204399537.Derp;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Rare"&&[TYPE]=="Legs"#[MAXSTATVIT]>150&&[SOCKETS]=2&&([MF%]>0||[GF%]>0)&&[PICKUP]>0;tree.Errors = 1;ParseError( 4097): Unexpected token '' found. Expected EOF;;[KEY]:2020343969;[BASETYPE]:Armor;[TYPE]:Shield;[QUALITY]:Rare;[NAME]:UndauntedShield;[LEVEL]:62;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INTNAME]:Shield_norm_base_06-29;[DEX]:106;[INT]:192;[VIT]:162;[BLOCK%]:10;[RESCOLD]:43;[ARMOR]:971;[ARMORTOT]:971;[MAXSTAT]:192;[MAXSTATVIT]:354;[STRVIT]:162;[DEXVIT]:268;[INTVIT]:354;[MAXONERES]:43;[TOTRES]:43;[DEFSTATS]:2;
201301061204399838.Derp;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Rare"&&[TYPE]=="Chest"#[MAXSTAT]>=70&&[SOCKETS]=3&&[VIT]>=60&&[ALLRES]>=60;tree.Errors = 1;ParseError( 4097): Unexpected token '' found. Expected EOF;;[KEY]:2020409506;[BASETYPE]:Armor;[TYPE]:Belt;[QUALITY]:Rare;[NAME]:SlyLash;[LEVEL]:63;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INTNAME]:Belt_hell_base_06-30;[STR]:91;[DEX]:81;[ARMOR]:303;[ARMORBONUS]:236;[ARMORTOT]:539;[THORNS]:1801;[MAXSTAT]:91;[MAXSTATVIT]:91;[STRVIT]:91;[DEXVIT]:81;[DEFSTATS]:2;
201301061204399848.Derp;ERROR;Specified cast is not valid.;last use rule: [QUALITY]=="Rare"&&[TYPE]=="Chest"#[MAXSTAT]>=70&&[SOCKETS]=3&&[VIT]>=150&&[ALLRES]>=60;tree.Errors = 1;ParseError( 4097): Unexpected token '' found. Expected EOF;;[KEY]:2020409506;[BASETYPE]:Armor;[TYPE]:Belt;[QUALITY]:Rare;[NAME]:SlyLash;[LEVEL]:63;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:False;[INTNAME]:Belt_hell_base_06-30;[STR]:91;[DEX]:81;[ARMOR]:303;[ARMORBONUS]:236;[ARMORTOT]:539;[THORNS]:1801;[MAXSTAT]:91;[MAXSTATVIT]:91;[STRVIT]:91;[DEXVIT]:81;[DEFSTATS]:2;


Is that it checking each item, and if it fails trashs? or is that errors on my edits?
 
Guys , When I delete everything inside in legendary.dis and save this file empty , db will keep all legendarys into stash ?

I really need this info, because I prefere check them self :-P
 
Why not open the legendary.dis file and read it? Then do what it's written , ie delete the comment, two / signs. Plus you also learn something.
 
I am noticing some log spam, I am not sure if this is intended or i made an error when editing my files.
Plugins\GilesTrinity\ItemRules\Log
Is that it checking each item, and if it fails trashs? or is that errors on my edits?

You have invalid stuff in your rules .... for example ..

[QUALITY]=="Rare" && [TYPE]=="Legs" # [MAXSTATVIT]>150 && [SOCKETS]= 2&&([MF%]>0||[GF%]>0)&&[PICKUP]>0

[SOCKETS]= 2 has to be [SOCKETS]==2
 
You have invalid stuff in your rules .... for example ..

[QUALITY]=="Rare" && [TYPE]=="Legs" # [MAXSTATVIT]>150 && [SOCKETS]= 2&&([MF%]>0||[GF%]>0)&&[PICKUP]>0

[SOCKETS]= 2 has to be [SOCKETS]==2


I just remember getting some parse errors back in diablo2 days because i missed a space or didnt close a ().


I didn't realize = needed to be ==, so time to go through and change all those lol


Thank you
 
201301061751011829.Derp;LOG;NULL;[KEY]:2020016288;[BASETYPE]:Misc;[TYPE]:Polearm;[QUALITY]:Rare;[NAME]:Partisan'sConqueror;[LEVEL]:60;[ONEHAND]:False;[TWOHAND]:True;[UNIDENT]:False;[INTNAME]:Polearm_norm_base_05-26;[INT]:245;[LS%]:4.40;[DPS]:539.65;[WEAPAS]:1;[WEAPMAXDMG]:619;[WEAPMINDMG]:463;[SOCKETS]:1;[MAXSTAT]:245;[MAXSTATVIT]:245;[INTVIT]:245;[DEFSTATS]:1;

201301061751020850.Derp;LOG;NULL;[KEY]:2021195954;[BASETYPE]:Misc;[TYPE]:Polearm;[QUALITY]:Rare;[NAME]:BlackTitle;[LEVEL]:63;[ONEHAND]:False;[TWOHAND]:True;[UNIDENT]:False;[INTNAME]:Polearm_norm_base_08-44;[INT]:79;[VIT]:158;[LOH]:1674;[DPS]:854.65;[WEAPAS]:0.95;[WEAPMAXDMG]:1014.02;[WEAPMINDMG]:785.24;[MAXSTAT]:79;[MAXSTATVIT]:237;[STRVIT]:158;[DEXVIT]:158;[INTVIT]:237;[DEFSTATS]:1;

201301061751097344.Derp;LOG;NULL;[KEY]:2020016288;[BASETYPE]:Misc;[TYPE]:Polearm;[QUALITY]:Rare;[NAME]:Partisan'sConqueror;[LEVEL]:60;[ONEHAND]:False;[TWOHAND]:True;[UNIDENT]:False;[INTNAME]:Polearm_norm_base_05-26;[INT]:245;[LS%]:4.40;[DPS]:539.65;[WEAPAS]:1;[WEAPMAXDMG]:619;[WEAPMINDMG]:463;[SOCKETS]:1;[MAXSTAT]:245;[MAXSTATVIT]:245;[INTVIT]:245;[DEFSTATS]:1;

201301061751106024.Derp;LOG;NULL;[KEY]:2021195954;[BASETYPE]:Misc;[TYPE]:Polearm;[QUALITY]:Rare;[NAME]:BlackTitle;[LEVEL]:63;[ONEHAND]:False;[TWOHAND]:True;[UNIDENT]:False;[INTNAME]:Polearm_norm_base_08-44;[INT]:79;[VIT]:158;[LOH]:1674;[DPS]:854.65;[WEAPAS]:0.95;[WEAPMAXDMG]:1014.02;[WEAPMINDMG]:785.24;[MAXSTAT]:79;[MAXSTATVIT]:237;[STRVIT]:158;[DEXVIT]:158;[INTVIT]:237;[DEFSTATS]:1;

I fixed the socket problems, now these are the the only lines that show up, not sure about these. Any insight?


Also another thing looking over the hard rules under specialty i see

[QUALITY] == "Rare" # [MAXSTATVIT] > 100 && [PICKRAD] >= 7 && [GF%] >= 25 && ([TYPE] != "Helm" || [SOCKET] > 0)

Is it [PICKUP] or [PICKRAD]? The ItemRules2.txt shows

// | [PICKUP] | PickUpRadius | 5
 
From hard rules:
[QUALITY] == "Legendary" && [NAME] == "Tiklandian Visage" # [INTVIT] > 170 || [SOCKETS] > 0 || [ALLRES] > 0 || [CRIT%] > 0 || [LIFE%] > 0

This rule is definetly not hard.
 
Hey darkfriend, thx for your invite. The donation was 110% worth it. XD

Just a quick question tho, what exactly does """[Trinity]Item Rules doesn't handle mightyWeapon_1H_norm_base_flippy_03 of type MightyWeapon and quality Rare4!""" mean. Thx again!
 
Back
Top