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

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

Does this plugin go with your trinity plugin or is this separate? I currently use the community trinity with your rules but I think its getting rid of to many rares my Gold intake has taken a 17.65% hit over the past 10 days. I am not sure if its the loot rules or the community trinity that is doing it. Is this basically for people who dont want to use community trinity but want to use your rules? I would be happy to donate a 100.00 USD if this brings my average gold income close to where it is with giles's final version of trinity but shaves off the 4+ hours of sorting that using your rules has already accomplished.
 
Well, since I still use your old rules that you made for Unified 0.43 that already saved me lots of "crap" sorting, I think that deserves a donation :)
 
Ok I am new to your rules. I donated and download ItemRules200UniTrinity0_45stable.zip and pop'd that mofo into the plugins folder of a brand new DB folder. Is this all I need to do? What is the default in this build for item rules? Soft? Medium? Hard? I seem to not be stashing much of anything and I wondering if everything is ok.
 
Ok I am new to your rules. I donated and download ItemRules200UniTrinity0_45stable.zip and pop'd that mofo into the plugins folder of a brand new DB folder. Is this all I need to do? What is the default in this build for item rules? Soft? Medium? Hard? I seem to not be stashing much of anything and I wondering if everything is ok.

i think it stash in between 1-5 Million and higher ... the ring and amulets are ... u can lower it ... just take a look in rare.dis ....
 
Code:
// +---------------------------------------------------------------------------+
// | _______         ___                             __   __              
// ||_     _|.-----.'  _|.-----.----.--------.---.-.|  |_|__|.-----.-----.
// | _|   |_ |     |   _||  _  |   _|        |  _  ||   _|  ||  _  |     |
// ||_______||__|__|__|  |_____|__| |__|__|__|___._||____|__||_____|__|__|
// |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                                                                                                                                                                                   
// +---------------------------------------------------------------------------+
// | - actual beta development can be downloaded separate on the
// |   donators repository.
// | - actual beta rules can be downloaded separate on the donators repository
// | - contributors are welcome to help building rules
// | - rules sets provide a best effort for valuable items (not beeing perfect)
// | - donators: https://riouxsvn.com/svn/dbplugins
// | - public:   https://subversion.assembla.com/svn/CustomTrinity/trunk
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.004(beta):
// | - implemented pickup rules
// | - separate pickup rules for itemtypes possible
// +---------------------------------------------------------------------------+


i have a working version ... an alpha release ...

if u use it be sure to have pickup.dis adjusted to ur needs ...

if no rule hits ... it lets ur trinity setting decide if it should be picked up or not...


in the example ... pickup.dis ... magic items will be ignored regardless of
ur giles pickup setting...

pickup.dis
Code:
[QUALITY] == "Legendary" && [LEVEL] > 57

[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [LEVEL] > 61
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [LEVEL] > 60
[QUALITY] == "Rare" && [TYPE] == "Gloves" && [LEVEL] > 57
[QUALITY] == "Rare" && [BASETYPE] == "Jewelry" && [LEVEL] > 54

[QUALITY] == "Magic" -> [IGNORE]
 
So your saying the default is pretty decent? wont let anything 1m or above be trashed?

Also, does this trash legendaries that arent up to snuff? With brim stone prices up wouldnt it be best to keep and salvage?

Thanks in advance! I aint too good at reading the code.
 
GilesTrinity-1.7.1.4 is up now :) Please update if you have some time :)
 
I'm having some trouble with ItemRules2003UniTrinity1-7-1-3 stable keeping all legendaries.

I noticed that I was getting NULLs on the rule matching so I enabled it to match all legendaries and enabled debugging, I ended up with this...

Code:
12/1/2012 11:57:27 PM: ... reading file: legendary.dis
12/1/2012 11:57:27 PM: 78:[QUALITY]==Legendary&&[BASETYPE]==Weapon#[1]==1->[KEEP]
....
12/1/2012 11:57:46 PM: Maximus(63) Legendary Sword [4.217796E+08]
+--------------------------------------------------------------
| - [BASETYPE]: Weapon
| - [TYPE]: Sword
| - [QUALITY]: Legendary
| - [NAME]: Maximus
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: True
| - [DEX]: 418.00
| - [INT]: 87.00
| - [DPS]: 1190.15
| - [WEAPAS]: 1.10
| - [WEAPMAXDMG]: 1360.08
| - [WEAPMINDMG]: 803.82
| - [MAXSTAT]: 418.00
| - [MAXSTATVIT]: 418.00
| - [DEXVIT]: 418.00
| - [INTVIT]: 87.00
| - [DEFSTATS]: 1.00
| - [GAMEBALANCEID]: 421779600.00
+--------------------------------------------------------------
 [ACTION = NULL]

I haven't seen if any rares are trashing correctly or not but crafting patterns are working correctly.

EDIT: Same problem with rares, trying alpha 2004

EDIT AGAIN: The problem seems to be in medium/legendary.dis somewhere. Works normal with default rules from the 2004 rar, once I put in medium/legendary.dis I get the same problems
 
Last edited:
I'm having some trouble with ItemRules2003UniTrinity1-7-1-3 stable keeping all legendaries.

I noticed that I was getting NULLs on the rule matching so I enabled it to match all legendaries and enabled debugging, I ended up with this...

Code:
12/1/2012 11:57:27 PM: ... reading file: legendary.dis
12/1/2012 11:57:27 PM: 78:[QUALITY]==Legendary&&[BASETYPE]==Weapon#[1]==1->[KEEP]
....
12/1/2012 11:57:46 PM: Maximus(63) Legendary Sword [4.217796E+08]
+--------------------------------------------------------------
| - [BASETYPE]: Weapon
| - [TYPE]: Sword
| - [QUALITY]: Legendary
| - [NAME]: Maximus
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: True
| - [DEX]: 418.00
| - [INT]: 87.00
| - [DPS]: 1190.15
| - [WEAPAS]: 1.10
| - [WEAPMAXDMG]: 1360.08
| - [WEAPMINDMG]: 803.82
| - [MAXSTAT]: 418.00
| - [MAXSTATVIT]: 418.00
| - [DEXVIT]: 418.00
| - [INTVIT]: 87.00
| - [DEFSTATS]: 1.00
| - [GAMEBALANCEID]: 421779600.00
+--------------------------------------------------------------
 [ACTION = NULL]

I haven't seen if any rares are trashing correctly or not but crafting patterns are working correctly.

EDIT: Same problem with rares, trying alpha 2004

EDIT AGAIN: The problem seems to be in medium/legendary.dis somewhere. Works normal with default rules from the 2004 rar, once I put in medium/legendary.dis I get the same problems

... yep ..this rule can not be applied like this anymore ... medium rules?


Code:
[QUALITY]==Legendary&&[BASETYPE]==Weapon#[COLOR="#FF0000"][B][1]==1[/B][/COLOR]->[KEEP]
the red part won't work anymore thats the bad news ...

the good news ... it's not necessary ..

Code:
[QUALITY]==Legendary&&[BASETYPE]==Weapon
is the shortest possible solution ^^ to keep all legendary weapons

Code:
[QUALITY]==Legendary && [BASETYPE]==Weapon # True -> [KEEP]
is writen out ...if u like writing useless stuff ^^^^


i think u mixed up Item Rules 1 ... rules with Item Rules 2
 
Last edited:
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.005(alpha):
// | - better pickup identification with PICKUP & IGNORE
// | - better logging and fixed some bugs
// | - added pickup rules
// | - fixed some stuff
// +---------------------------------------------------------------------------+


example pickup.dis

Code:
// +---------------------------------------------------------------------------+
// |  ______ _______ ______ __  __      _______ ______ 
// | |   __ \_     _|      |  |/  |    |   |   |   __ \
// | |    __/_|   |_|   ---|     <     |   |   |    __/
// | |___|  |_______|______|__|\__|    |_______|___|   
// | ++++++++++++++++++++++++++++++++++++++++++++++++++
// +---------------------------------------------------------------------------+                                                 

// TODO add crafting plans gems and the follower shizzle

// +---------------------------------------------------------------------------+
// |  _____   _______ _______ _______ _______ _____  _______ ______ ___ ___ 
// | |     |_|    ___|     __|    ___|    |  |     \|   _   |   __ \   |   |
// | |       |    ___|    |  |    ___|       |  --  |       |      <\     / 
// | |_______|_______|_______|_______|__|____|_____/|___|___|___|__| |___|                                                                     
// +---------------------------------------------------------------------------+
[QUALITY] == "Legendary"  && [LEVEL] > 57
[QUALITY] == "Legendary"  && [LEVEL] > 50 && [TYPE] == "Jewelry"
//ignore rule               
[QUALITY] == "Legendary" && [LEVEL] <= 56 -> [IGNORE]

// +--------------------------------------------------------------------------------------+
// |  ______ _______ ______ _______ 
// | |   __ \   _   |   __ \    ___|
// | |      <       |      <    ___|
// | |___|__|___|___|___|__|_______|                     
// +--------------------------------------------------------------------------------------+
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare"  && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]

[QUALITY] == "Rare"  && [LEVEL] > 60  && [BASETYPE] == "Armor"
[QUALITY] == "Rare"  && [LEVEL] > 57  && [BASETYPE] == "Armor" && [TYPE] == "Gloves"
//ignore rule
[QUALITY] == "Rare"  && [LEVEL] <= 60 && [BASETYPE] == "Armor"  -> [IGNORE]

[QUALITY] == "Rare"  && [LEVEL] > 54 && [BASETYPE] == "Jewelry"
//ignore rule
[QUALITY] == "Rare"  && [LEVEL] <= 54 && [BASETYPE] == "Jewelry"-> [IGNORE]

// +---------------------------------------------------------------------------+
// |  _______ _______ _______ _______ ______ 
// | |   |   |   _   |     __|_     _|      |
// | |       |       |    |  |_|   |_|   ---|
// | |__|_|__|___|___|_______|_______|______|                                                                                                   
// +---------------------------------------------------------------------------+
//ignore rule
[QUALITY] == "Magic" -> [IGNORE]

working great sofar
 
is it posible to use just Your pickup rules and ignore completly other scoring, using just old trinity ones?
 
Isn't the pick up for loot decided by the plugin in the UI? in the 3 drop-down boxes?
 
anyone know how to fix this. And holding CTRL while Scrolling is not helping
items2.webp
 
Just downloaded 2005-1.7.1.3 stable and replaced with medium rules. Looks very promising. It will save me hours of sorting out loads of crap. I can only say, ppl. donate here, the plugin is worth those few bucks! :cool:
 
Back
Top