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

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

As long as u don't write a RULE in pickup.dis for HealthPotion or Gems or other stuff then ... TrinitySetting takes care ...


but u can also write rules for that ...

Code:
[BASETYPE] == "Misc" && [TYPE] == "CraftingPage"  --> [IGNORE]
or
Code:
[BASETYPE] == "Gem" --> [IGNORE]
[/CODE]

Help me with not picking up Tome of Secrets please!

Code:
[BASETYPE] == "Misc" && [TYPE] == "????????????????????"  --> [IGNORE]

What is the type? And where can I find the whole list of values? Thanks in advance.
 
Help me with not picking up Tome of Secrets please!

Code:
[BASETYPE] == "Misc" && [TYPE] == "????????????????????"  --> [IGNORE]

What is the type? And where can I find the whole list of values? Thanks in advance.


u tryed CraftingPage?
 
I saw in config file , there is RULEPATH

Code:
 [RULEPATH] == D:\Bot\DBItemRules\

DO i have to put your rule exactly in the same place ?


nope but u can now put ur rules somewhere else so u dont have to change or override them ... C:\Rules\ ... or anywhere u want them just make sure u have the folder hard soft medium custom that u use in this path
 
Umm, ziriuz, Why not edit out the whole .dis files?
Without rules, they will default to Trinity scoring, but keeping the pickup.

It's not an elegant solution but it should work if you really want that.


this works
 
What is the difference between:
[PICKUP] > 0
and
[PICKRAD] > 0

Tested
first
[QUALITY] == "Rare" # [GF%] > 0 && [PICKUP] > 0
then second
[QUALITY] == "Rare" # [GF%] > 0 && [PICKRAD] > 0

and both worked the same. Is there something I miss?
 
Last edited:
There are 2 downloadable files. I'm guessing 0_45 is the updated item rules and 1-7-1-9 is the new trinity with the older set of rules? I replaced my Giles folder with the downloaded one and it doesn't appear in my DB anymore under plugins. It might have something to do with YAR because YAR Comms plugin disappeared as well. How does this work? I'm still in the red but as soon as I make something I will donate :)
 
There are 2 downloadable files. I'm guessing 0_45 is the updated item rules and 1-7-1-9 is the new trinity with the older set of rules? I replaced my Giles folder with the downloaded one and it doesn't appear in my DB anymore under plugins. It might have something to do with YAR because YAR Comms plugin disappeared as well. How does this work? I'm still in the red but as soon as I make something I will donate :)
I did this at first too. What happens is the trinity download is all in one file instead of being separated like the trinity you wold down load so if you try to merge it the same functions are defined twice and an error occurs which hangs the rest of the plugins from being loaded hence why YAR is missing from the list.
 
Ok thanks. Got it working. My mistake was placing 0_45 files in 1-7-1-9 Trinity. So how do I use the item rules from 0_45? Thanks in advance.
 
What is the difference between:
[PICKUP] > 0
and
[PICKRAD] > 0

Tested
first
[QUALITY] == "Rare" # [GF%] > 0 && [PICKUP] > 0
then second
[QUALITY] == "Rare" # [GF%] > 0 && [PICKRAD] > 0

and both worked the same. Is there something I miss?


PICKUP ----- ACTION to pickup an item ... should only be used in pickup.dis
example [QUALiTY] == "Rare" -> [PICKUP]

Code:
// +---------------------------------------------------------------------------+
// | _______        __   __                    
// ||   _   |.----.|  |_|__|.-----.-----.-----.
// ||       ||  __||   _|  ||  _  |     |__ --|
// ||___|___||____||____|__||_____|__|__|_____|
// |                                           
// +---------------------------------------------------------------------------+
// |
// | Actions for pickup rules:
// |  -> [PICKUP] pickup item

PICKRAD ---- ATTRIBUTpickup radius
example [QUALITY] == "Rare" # [GF%] > 0 && [PICKRAD] > 0



Code:
// +---------------------------------------------------------------------------+
// | _______ __   __         __ __           __               
// ||   _   |  |_|  |_.----.|__|  |--.--.--.|  |_.-----.-----.
// ||       |   _|   _|   _||  |  _  |  |  ||   _|  -__|__ --|
// ||___|___|____|____|__|  |__|_____|_____||____|_____|_____|
// |                                                              
// +------------------+--------------------------------------------------------+
// |    -CODE-        |  -PICKUP-     |        -Attribute-          | -Example-                                                 
// +------------------+---------------+-----------------------------+----------+			 
// |  [PICKRAD]                       | PickUpRadius                | 5
 
which item rules keep better loot the soft or hard? i went by the name at first and thought hard meant it was evaluating items more harshly and leaving you with better loot but i read a post saying that its the opposite so now im confused...
 
u might get only for example the 50m+ (or something like that) items when u go the hard way. customize the rules yourself to get the best result for your demands :).
 
u might get only for example the 50m+ (or something like that) items when u go the hard way. customize the rules yourself to get the best result for your demands :).

if ur answering to my post than idk if ur right cuz when i was using hard rules i was getting a lot of trash along with some ok items
 
if ur answering to my post than idk if ur right cuz when i was using hard rules i was getting a lot of trash along with some ok items

those hard rules represent a rule set i made maybee one month ago ... the hard rules are much more item specific ... thats why they might keep in some cases trash loot ... but overall and especially in the legendary section they should be much stronger ...

at least myself is using only hard rules ... but im woking on them .. so they will become in the coming days much better ... ^^
 
those hard rules represent a rule set i made maybee one month ago ... the hard rules are much more item specific ... thats why they might keep in some cases trash loot ... but overall and especially in the legendary section they should be much stronger ...

at least myself is using only hard rules ... but im woking on them .. so they will become in the coming days much better ... ^^
Ahh I see, ty
 
AnotherLogViewer crashing
error.webp
 
is the following correct :D ?!?!?

Code:
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [INT] > 279
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [INTVIT] > 299
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [ALLRES] > 60 && [INT] > 119
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [ALLRES] > 40 && [INT] > 199
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [ALLRES] > 40 && [INTVIT] > 149
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # True -> [TRASH]

or for example

Code:
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Vision" # [INTVIT] > 399
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Vision" # [CRIT%] > 3
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Vision" # [ALLRES] > 60 && [INT] > 200
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Vision" # True -> [TRASH]

Code:
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [DPS] > 700 && [SOCKETS] > 0
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [DPS] > 970 && [LS%] > 0
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # [DPS] > 990 && [CRITDMG%] > 90
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" # True -> [TRASH]
 
Last edited:
is the following correct :D ?!?!?

Code:
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [INT] > 279
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [INTVIT] > 299
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [ALLRES] > 60 && [INT] > 119
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [ALLRES] > 40 && [INT] > 199
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [ALLRES] > 40 && [INTVIT] > 149
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # True -> [TRASH]

Why not one line for keep rules?
Code:
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" # [INT] > 279 || [INTVIT] > 299 || ([ALLRES] > 60 && [INT] > 119) || ([ALLRES] > 40 && [INT] > 199) || ([ALLRES] > 40 && [INTVIT] > 149)
 
Sorry this has most likely been answered earlier in the thread but after searching 10 or so pages I gave up.

I only want to pick up 1H weapons and ignore ALL 2H weapons, I put the code below in the pickup file but it is still picking 2H weapons?
Code:
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Weapon" && [ONEHAND] == "true"
//ignore rule
[QUALITY] == "Rare"  && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]
[QUALITY] == "Rare"  && [TWOHAND] == "true" -> [IGNORE]

what am I doing wrong?

Also I don't want to pick up a variety of items like rare off-hands, and class specific helms. I put the following code in
Code:
[QUALITY] == "Rare"  && [TYPE] == "Mojo" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "WizardHat" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Orb" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "SpiritStone" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "VoodooMask" -> [IGNORE]

once again it is still picking this stuff up what am I doing wrong?
 
where in trinity i can see how many items per hour dropping?
 
Back
Top