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

Item Rules QuickStart Guide

Item Rules arent working as they are supposed, I have a lvl 44 yellow weapon and log is saying

[20:16:31.773 V] [ItemRules] Matched Null Saw with rule: High DPS 1h Weapons:Keep

It has 86.9 DPS and the rule: High DPS 1h Weapons is :

Code:
<ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1h Weapons">
        <StatRules>
          <Rule stat="DPS" minValue="1000" quality="Magic1" />
          <Rule stat="DPS" minValue="900" quality="Rare4" />
        </StatRules>
</ItemRule>

Yet it is a match :s
 
Item Rules arent working as they are supposed, I have a lvl 44 yellow weapon and log is saying

[20:16:31.773 V] [ItemRules] Matched Null Saw with rule: High DPS 1h Weapons:Keep

It has 86.9 DPS and the rule: High DPS 1h Weapons is :

Code:
<ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1h Weapons">
        <StatRules>
          <Rule stat="DPS" minValue="1000" quality="Magic1" />
          <Rule stat="DPS" minValue="900" quality="Rare4" />
        </StatRules>
</ItemRule>

Yet it is a match :s

If you could test something for me, set maxValue="2000" and see if it ignores it then. It might just be a random special case with an item you have, as my 90dps 1h wep isn't being matched.
 
So what do I need to change if I wanted to sell everything period? All Blues, Yellows and Oranges?

This command wrong?

<!-- Keep rares and legendaries, regardless of stats. -->
<ItemRule ruleType="Sell" description="Rare and better items!">
<StatRules>
<Rule quality="Rare4" />
</StatRules>
</ItemRule>
 
Last edited:
If you could test something for me, set maxValue="2000" and see if it ignores it then. It might just be a random special case with an item you have, as my 90dps 1h wep isn't being matched.

I changed something on the global rules now to just stash legendaries,so wether it was stashing it because it was a rare but it was giving the wrong log, or it was bugged and it is now working fine.
 
Actually it is happening again:

Code:
[B][00:19:01.819 V] [ItemRules] Matched Hell Mind with rule: Rare armor with Intelligence:Keep[/B]
[B][00:19:01.822 V] [ItemRules] Matched Nocturnal Render with rule: Rare armor with Intelligence:Keep[/B]
[00:19:01.833 V] [ItemRules] Matched Socketed Arch Axe of Blight with rule: Sell Everything:Sell
[B][00:19:01.836 V] [ItemRules] Matched Serpent Toy with rule: Rare armor with Intelligence:Keep[/B]
[B][00:19:01.839 V] [ItemRules] Matched Living Band with rule: Rare armor with Intelligence:Keep [/B]
[B][00:19:01.843 V] [ItemRules] Matched Badlands Salvation with rule: Rare armor with Intelligence:Keep[/B]

With images of the stats maybe theres a bugged stat(the items are the right sided ones, it shows my items because I used a script that prints items automatically) :

bugged - Imgur

EDIT: uploaded the wrong ring -> http://i.imgur.com/kNmUa.png
 
Last edited:
Dear god, I have been trying for a while but I just cannot get it to work....

I just want it to sell all blue, stash anything yellow and above. I can ID and sort out through yellows on my own time.... does anyone have this sorted out or can help me change something in the item rules to get this.... I think it's selling all blues now, but not stashing yellow.
 
Dear god, I have been trying for a while but I just cannot get it to work....

I just want it to sell all blue, stash anything yellow and above. I can ID and sort out through yellows on my own time.... does anyone have this sorted out or can help me change something in the item rules to get this.... I think it's selling all blues now, but not stashing yellow.

The default itemrule does exactly what you are saying.
 
I keep everything and end up at my stash when im full... just standing there. Sigh.
 
I keep everything and end up at my stash when im full... just standing there. Sigh.

your settings for your stash are probably wrong, empty out a page in your stash and tell the bot to "protect" the other two...
 
How do i setup to keep just some item stats combinations. Like armor with str>60, vit>60 and resall>60

Code:
<ItemRule itemBaseType="Armor" description="Rare armor with Strength">
 <StatRules>
  <Rule stat="Strength" minValue="60" stat="Vitality" minValue="60" stat="ResistAll" minValue="60" quality="Rare4" />
 </StatRules>
</ItemRule>

Would this work?

or should look like this? (Thou i believe each rule is at its own here, so that the bot would keep everything that has (str OR vit OR resall)>60)

Code:
      <ItemRule itemBaseType="Armor" description="Rare armor with Strength">
        <StatRules>
          <Rule stat="Strength" minValue="60" quality="Rare4" 
          <Rule stat="Vitality" minValue="60" quality="Rare4" />
	  <Rule stat="ResistAll" minValue="60" quality="Rare4" />
        </StatRules>

Would be cool if we could achieve something like there with the little text as possible.

if item=armor then evaluate:
hasVIT>60 AND has(STR OR INT)>60 -> keep ELSE salvage/sell

Within a "Stats Rules", how are each "Rule" connect with each other? With an "OR" or an "AND"?
 
Last edited:
What is the difference between Magic1, Magic2, and Magic3? What does the number represent? Same question for rares.
And are there different levels for Legendary as well? (eg. Legendary1, Legendary2, Legendary3)

<!-- Pick up all legendary items -->
<ItemRule>
<StatRules>
<Rule quality="Legendary" />
</StatRules>
</ItemRule>

Would this change the pickup rule to pick up only legendaries?
I'm not sure what the "Rule qualities" are, because "Magic1" and "Rare4" seem pretty arbitrary to me unless defined. What's the rule quality for legendary?
 
Last edited:
How do i setup to keep just some item stats combinations. Like armor with str>60, vit>60 and resall>60

Code:
<ItemRule itemBaseType="Armor" description="Rare armor with Strength">
 <StatRules>
  <Rule stat="Strength" minValue="60" stat="Vitality" minValue="60" stat="ResistAll" minValue="60" quality="Rare4" />
 </StatRules>
</ItemRule>

Would this work?

or should look like this? (Thou i believe each rule is at its own here, so that the bot would keep everything that has (str OR vit OR resall)>60)

Code:
      <ItemRule itemBaseType="Armor" description="Rare armor with Strength">
        <StatRules>
          <Rule stat="Strength" minValue="60" quality="Rare4" 
          <Rule stat="Vitality" minValue="60" quality="Rare4" />
      <Rule stat="ResistAll" minValue="60" quality="Rare4" />
        </StatRules>

Would be cool if we could achieve something like there with the little text as possible.

if item=armor then evaluate:
hasVIT>60 AND has(STR OR INT)>60 -> keep ELSE salvage/sell

Within a "Stats Rules", how are each "Rule" connect with each other? With an "OR" or an "AND"?
Your first example is right. The rules of an item is not connected by anything, just collect them under the <Rule />
To elaborate a bit on this it would go like this:
<Rule stat="Intelligence" minValue="100" quality="Rare4" />
Where you can add as many requirements as you'd like:
<Rule stat="Intelligence" minValue="100" quality="Rare4" stat="Vitality" minValue="100"/>
And so on.
You can also use less requirements:
<Rule stat="Intelligence" minValue="100" />
Just make sure to have it within an item rule either with a name or a itemtype.
What you described is basically how it works right now. :)

What is the difference between Magic1, Magic2, and Magic3? What does the number represent? Same question for rares.
And are there different levels for Legendary as well? (eg. Legendary1, Legendary2, Legendary3)
Would this change the pickup rule to pick up only legendaries?
I'm not sure what the "Rule qualities" are, because "Magic1" and "Rare4" seem pretty arbitrary to me unless defined. What's the rule quality for legendary?
Magic1 is magic items with 1 property, magic2 with 2 properties and magic3 with 3 properties. Rare4, rare5 and rare6 goes the same. Legendary goes for itself.

The part you quoted does only allow legendaries to be picked up if you put it in the right category. I can't see if you put it under <Category ruleType="PickUp"> or something else.
 
Last edited:
There seems to be something wrong with my config. Isnt picking anything . . .

Code:
<?xml version="1.0" encoding="utf-8" ?>

<ItemRules name="Default Item Rules" useRoundedValues="true">

  <Priority priority1="Keep" priority2="Salvage" priority3="Sell" />

  <Categories>
    <Category ruleType="PickUp">
      
      <ItemRule>
        <StatRules>
          <Rule quality="Magic1" />
        </StatRules>
      </ItemRule>

      <ItemRule itemName="Gold" stack="250" />
      
      <ItemRule itemName="Page of*" stack="1" />
      <ItemRule itemName="Tome of*" stack="1" />
      
      <ItemRule itemName="*Ruby*" stack="1" />
      <ItemRule itemName="*Emerald*" stack="1" />
      <ItemRule itemName="*Topaz*" stack="1" />
      <ItemRule itemName="*Amethyst*" stack="1" />

      <ItemRule itemName="*Health Potion*" stack="1" />
    </Category>

    <Category ruleType="Keep">
      
      <ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2h Weapons">
        <StatRules>
          <Rule stat="DPS" minValue="1200" quality="Magic1" />
          <Rule stat="DPS" minValue="1100" quality="Rare4" />
        </StatRules>
      </ItemRule>

      <ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1h Weapons">
        <StatRules>
          <Rule stat="DPS" minValue="1000" quality="Magic1" />
          <Rule stat="DPS" minValue="900" quality="Rare4" />
        </StatRules>
      </ItemRule>

      <ItemRule itemBaseType="Armor" description="Rare armor">
        <StatRules>
          <Rule stat="Intelligence" minValue="120" quality="Rare4" />
	      <Rule stat="Dexterity" minValue="120" quality="Rare4" />
	      <Rule stat="Strength" minValue="50" stat="Vitality" minValue="50" stat="ResistAll" minValue="50" quality="Rare4" />
	      <Rule stat="GoldFind" minValue="15" stat="MagicFind" minValue="15" quality="Rare4" />
          <Rule stat="AttackSpeedPercent" minValue="12" quality="Rare4" />
        </StatRules>
      </ItemRule>
      
      <ItemRule itemBaseType="Jewelry" description="Rare jewelry">
        <StatRules>
          <Rule stat="Intelligence" minValue="100" quality="Rare4" />
	      <Rule stat="Vitality" minValue="100" quality="Rare4" />
	      <Rule stat="Dexterity" minValue="100" quality="Rare4" />
	      <Rule stat="Strength" minValue="100" quality="Rare4" />
          <Rule stat="Strength" minValue="40" stat="Vitality" minValue="40" stat="ResistAll" minValue="20" quality="Rare4" />
          <Rule stat="GoldFind" minValue="15" stat="MagicFind" minValue="15" quality="Rare4" />
          <Rule stat="AttackSpeedPercent" minValue="15" quality="Rare4" />
        </StatRules>
      </ItemRule>

      <ItemRule ruleType="Keep" description="Legendary">
        <StatRules>
          <Rule quality="Legendary" />
        </StatRules>
      </ItemRule>
    </Category>
    
    <Category ruleType="Salvage">
        <ItemRule description="Salvage Rares">
        <StatRules>
            <Rule quality="Rare4" />
        </StatRules>
        </ItemRule>
    </Category>

    <Category ruleType="Sell">
      <ItemRule description="Sell Everything">
        <StatRules>
          <Rule quality="Magic1" />
        </StatRules>
      </ItemRule>
    </Category>
    
  </Categories>

</ItemRules>
 
There seems to be something wrong with my config. Isnt picking anything . . .
Yup. Allow me to quote myself, this fixed exactly the same error for somebody else:
Alright time to be childish and experiment around with the settings to see what is causing it. From what I can see you have your stash pages protected, something I don't. Could you try putting it to "None"?
 
Are we getting Gold Pickup Radius as a possible stat to filter?
 
how are you actually doing to keep gems and put them in stash ?

nvm, i founded :)
 
Last edited:
Back
Top