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

    Discussion in 'Trinity' started by darkfriend77, Nov 30, 2012.

    1. warbux

      warbux New Member

      Joined:
      Aug 10, 2012
      Messages:
      201
      Likes Received:
      3
      Trophy Points:
      0
      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.
       
    2. ThaNosey

      ThaNosey New Member

      Joined:
      Oct 29, 2012
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Just donated! Keep up the good work.
       
    3. drizzt001

      drizzt001 New Member

      Joined:
      Jul 26, 2012
      Messages:
      262
      Likes Received:
      0
      Trophy Points:
      0
      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 :)
       
    4. curep4

      curep4 New Member

      Joined:
      Feb 7, 2012
      Messages:
      182
      Likes Received:
      0
      Trophy Points:
      0
      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.
       
    5. darkfriend77

      darkfriend77 Member

      Joined:
      Jun 14, 2011
      Messages:
      467
      Likes Received:
      2
      Trophy Points:
      18
      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 ....
       
    6. UFCFreak89

      UFCFreak89 Banned

      Joined:
      Jul 26, 2011
      Messages:
      292
      Likes Received:
      0
      Trophy Points:
      0
      donation sent i PM u transaction confirm
       
    7. darkfriend77

      darkfriend77 Member

      Joined:
      Jun 14, 2011
      Messages:
      467
      Likes Received:
      2
      Trophy Points:
      18
      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]
       
    8. UFCFreak89

      UFCFreak89 Banned

      Joined:
      Jul 26, 2011
      Messages:
      292
      Likes Received:
      0
      Trophy Points:
      0
      please check PM donation sent.
       
    9. curep4

      curep4 New Member

      Joined:
      Feb 7, 2012
      Messages:
      182
      Likes Received:
      0
      Trophy Points:
      0
      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.
       
    10. kasia

      kasia Banned

      Joined:
      Mar 9, 2012
      Messages:
      594
      Likes Received:
      1
      Trophy Points:
      0
      GilesTrinity-1.7.1.4 is up now :) Please update if you have some time :)
       
    11. UFCFreak89

      UFCFreak89 Banned

      Joined:
      Jul 26, 2011
      Messages:
      292
      Likes Received:
      0
      Trophy Points:
      0
      waiting on an email reply to my username on the SVN site
       
    12. skeetermcdiggles

      skeetermcdiggles New Member

      Joined:
      Oct 8, 2012
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      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: Dec 2, 2012
    13. thampz

      thampz Member

      Joined:
      Jan 30, 2012
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      6
      Donated, can't wait to get hold of this :p
       
    14. darkfriend77

      darkfriend77 Member

      Joined:
      Jun 14, 2011
      Messages:
      467
      Likes Received:
      2
      Trophy Points:
      18
      ... 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: Dec 2, 2012
    15. darkfriend77

      darkfriend77 Member

      Joined:
      Jun 14, 2011
      Messages:
      467
      Likes Received:
      2
      Trophy Points:
      18
      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
       
    16. barbarian6

      barbarian6 New Member

      Joined:
      Nov 28, 2012
      Messages:
      209
      Likes Received:
      0
      Trophy Points:
      0
      is it posible to use just Your pickup rules and ignore completly other scoring, using just old trinity ones?
       
    17. thampz

      thampz Member

      Joined:
      Jan 30, 2012
      Messages:
      78
      Likes Received:
      0
      Trophy Points:
      6
      How do you download the files from rioux?
       
    18. TigerX

      TigerX New Member

      Joined:
      Jan 15, 2010
      Messages:
      133
      Likes Received:
      1
      Trophy Points:
      0
      Isn't the pick up for loot decided by the plugin in the UI? in the 3 drop-down boxes?
       
    19. VALGARIS

      VALGARIS New Member

      Joined:
      Jan 15, 2010
      Messages:
      62
      Likes Received:
      0
      Trophy Points:
      0
      anyone know how to fix this. And holding CTRL while Scrolling is not helping
      items2.jpg
       
    20. drizzt001

      drizzt001 New Member

      Joined:
      Jul 26, 2012
      Messages:
      262
      Likes Received:
      0
      Trophy Points:
      0
      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:
       

    Share This Page