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

[Plugin Addon] "Item Rules" with a file based scripting language

check the log file under GilesTrinity/Log or GilesTrinity/ItemRules/Log ... if the ring is in the log_127361783 file ... u see which rule was true for this item ...

Code:
30/11/2012 10:12:18 AM: --- STARTING A NEW SESSION WITH ITEMRULESET ---
30/11/2012 10:27:25 AM: -----------------------------------------------------------------
30/11/2012 10:27:25 AM: KEEP: Ring,Rare6,Ring(61)[Ring_flippy-8959][1146967347]
30/11/2012 10:27:25 AM: Rule:[QUALITY]==Rare&&[TYPE]==Ring#[OFFSTATS]>2

This is the log file I suppose is for this ring since it's the only item that got stash so far after hrs of running DB. Not sure where I should look for the rule.
 
Can you change the rules it uses? I see that there is a soft, med, hard for varying prices of items.
 
Sorry if this has already been asked, is there a way to set certain items to always keep regardless of score? For example, I want it to always keep spectrums and horadric hamburgers regardless of what the score is.
 
Sorry if this has already been asked, is there a way to set certain items to always keep regardless of score? For example, I want it to always keep spectrums and horadric hamburgers regardless of what the score is.


u could just use a rule like

Code:
[QUALITY] = "Legendary && [NAME] == "Horadric Hamburger"

and it will keep ... regardles of giles scoring ...
 
so there is a naming issue with hamburger right now, bot doesnt detect it as something at the moment. rrrix is working on that for me. But I tried doing the rule you said but with spectrum like this

[QUALITY] = "Legendary && [NAME] == "Spectrum"

I added it to legendary.dis

But it still sells it.

edit: got it to work with some help from hti [QUALITY] == Legendary && [NAME] == Spectrum # True
 
Last edited:
Is there any plans to implement a GUI to customize the rules? That would be especially useful for computer retarded people like me, and improves user-friendlyness
 
sorry for being a noob how can i keep all the legendaries in my stash , using giles trinity 1.7.1.4 with file based script rules.
 
Haven't read through all of this thread, but there are some strange choices on legendaries in the scripts.

Most 1h weapons don't have LS% as a preferred stat, but since 1.05 lifesteal is worth a lot.
Also, helms all seem to have critdmg listed....
 
There's so much "Thing of the Deep" being kept.


just adjust this rule in legendary.dis :-)

// - Thing of the Deep --------------------------------------------------------+
// Legendary Mojo
// +(28-110)–(29-405) Damage
// +150-169 Intelligence
// +105-119 Maximum Mana (Witch Doctor Only)
// Increases Mana Regeneration by 10-11 per Second (Witch Doctor Only)
// Critical Hit Chance Increased by 8.0-8.5%
// Increases Gold and Health Pickup by 20 Yards.
// +2 Random Magic Properties
// Item Level: 62
[QUALITY] == Legendary && [NAME] == Thing of the Deep # [DMGFACTOR] > 8 || [ALLRES] > 50 || [MAXSTATVIT] > 300
 
sorry for being a noob how can i keep all the legendaries in my stash , using giles trinity 1.7.1.4 with file based script rules.

wrong thread ... i suppose u using ItemRules 2 ...

http://www.thebuddyforum.com/demonb...em-rules-2-file-based-scripting-language.html

uncomment this line in legendary.dis if ur using ItemRules2

// +---------------------------------------------------------------------------+
// | _____ _______ _______ _______ _______ _____ _______ ______ ___ ___
// | | |_| ___| __| ___| | | \| _ | __ \ | |
// | | | ___| | | ___| | -- | | <\ /
// | |_______|_______|_______|_______|__|____|_____/|___|___|___|__| |___|
// | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// +---------------------------------------------------------------------------+

// keep all legendarys items
// this is a saftey line ... as long it isn't removed it will keep all items
// specifyed by the rule ... the action of commenting it out
// will apply all following rules ... this set of rules is no where of complete
[QUALITY] == "Legendary" -> [KEEP]


for itemRules1

[QUALITY] == Legendary # True # [KEEP]

:-)
 
Haven't read through all of this thread, but there are some strange choices on legendaries in the scripts.

Most 1h weapons don't have LS% as a preferred stat, but since 1.05 lifesteal is worth a lot.
Also, helms all seem to have critdmg listed....

jep ... this rules are old ...

new rules comming soon ... with public release of ItemRules2 ... just fixed a major bug ... and moved it from alpha to beta ... so not far from public

http://www.thebuddyforum.com/demonb...em-rules-2-file-based-scripting-language.html
 
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.0061(beta):
// | - fixed the PICKUP validation ...
// | - fix selling craftingPlan
// +---------------------------------------------------------------------------+
// | 2.005(beta):
// | - better pickup identification with PICKUP & IGNORE
// | - better logging and fixed some bugs
// | - added pickup rules
// | - workaround for name bug
// | - fixed some rules
// | - added soft rules
// | - added language legendary.dis for fr, it, ru
// | - moved UnifiedTrinity CE 1.7.1.3 to 1.7.1.4
// +---------------------------------------------------------------------------+
// | 2.004(alpha):
// | - starting on implementation for pickup.dis
// | - separate pickup rules for itemtypes possible
// | - added some medium rules from tesslerc
// +---------------------------------------------------------------------------+
// | 2.003(beta):
// | - fixed bug, ... hope so 
// +---------------------------------------------------------------------------+
// | 2.0021(beta):
// | - dirty hack to loot all 58+ rare gloves fix applied
// | - added better rules for legendary 2-h weapons
// | - experimentel try on Cached Items - working stable so far
// | - rewrote some rules to be easier readable
// +---------------------------------------------------------------------------+
// | 2.001(beta):
// | - Fixed CraftingPlans
// +---------------------------------------------------------------------------+       
// | 2.00(beta):
// | - no major issues (i think)         
// | - moved UnifiedTrinity 0.44 to 0.45
// | - moved UnifiedTrinity CE 1.7.1.2 to 1.7.1.3
// | - added the converted rules to section hard
// | - added some documentation
// | - added better rules for legendary 1-h weapons
// +---------------------------------------------------------------------------+
// | 2.00(alpha):
// | - complete new scripting engine
// | - allowing much more flexibility
// | - converted all rules to 2.0 standard
// | - more information comming                                               
// +---------------------------------------------------------------------------+
// | 1.03a(fix1):
// | - Fixed selling of crafting plans
// | - added a version in repository with UnifiedTrinity v0.44                                                
// +---------------------------------------------------------------------------+
// | 1.03a(final):
// | - working on rule set ... relying on auctionhouse values
// | - better log's
// | - changed [DMGFACTOR] to include also average dmg
// | - added [OFFSTATS] and [DEFSTATS]
// | - crafting plans settings now in special.dis
// | - fixed crafting plans [TYPE] == CraftingPlan,
// |   [QUALITY] == Legendary,Rare6,Rare5,Rare4
// | - added rules for class specific one-hand weapons
// | - added rules for class specific two-hand weapons
// | - added rules for class specific helms and chest .. cloak
// +---------------------------------------------------------------------------+

STATUS: PUBLIC DOWNLOAD (since 04.12.12)


PUBLIC RELEASE : RELEASED! :p


public release contains actual beta
including rules sets from private dev.
- hard rare rules
- soft legendary rules
- common pickup rules

HAVE FUN!!!

plz report bugs and errors



CONTACT:
skype: darkfriend77
email: [email protected]
PM demonbuddypage: darkfriend77
 
I did a fresh install to this new version and it seems to be keeping just about everything.


have u set ... File Based Scripting language ..in Trinity settings.?

check the Logs in ItemRules\Log\ folder .... if the items are logged in log_173261263.txt u see which rule was matching
 
Back
Top