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

Item Rules QuickStart Guide

Can you guys list please all commands which are available ?
This would really help to make more detailed Lootprofiles.

Thanks anyway!
 
I have some questions

What is the number beside Magic and Rare quality (ex:Magic1, Rare4)? is that the number of stats on the item? so will Magic3, Rare3 work?

For example i have a rule stat of both Int minvalue of 100 and Str minvalue of 100 together in one ItemRule tag, does it need to satisfy both condition of 100 int and 100 str to make the condition true or just satisfy one of the 2 rules?
 
Read the thread and you will know, combining stats so far, is not possible, so that it just need to match one of the rules
 
I have some questions

What is the number beside Magic and Rare quality (ex:Magic1, Rare4)? is that the number of stats on the item? so will Magic3, Rare3 work?

For example i have a rule stat of both Int minvalue of 100 and Str minvalue of 100 together in one ItemRule tag, does it need to satisfy both condition of 100 int and 100 str to make the condition true or just satisfy one of the 2 rules?

The numbers besides Magic and Rare are part of a grading systen Blizzard introduced, it has no relation to the amount of stats you'll find on an item. It goes Magic1, Magic2, Magic3, Rare4, Rare5 and finally Rare6. So basically some Magic and Rare items will be superior to others and will be graded higher.

Here's a possible example:
Magic Sword - Magic 1
15 Dex
10 Vit

Magic Sword - Magic 3
15% IAS
175 Dex

With regards to the stat rules you mentioned, leU covered it perfectly. As it stands I don't think it is possible to filter out items with multiple stats right now. I just wish one of the Dev's would sit down and actually take a look at this.
 
If i understand everything correctly, then:
1. It is not possible to combine multi rules, right?
2. Each line is an OR, not an AND, right?

So this example means 3 rules, not 1 whole rule, right?

Code:
[SIZE=1]<ItemRule itemBaseType="Jewelry" description="Rare jewelry">
        <StatRules>
          <Rule stat="Dexterity" minValue="150" quality="Magic1" />
          <Rule stat="Intelligence" minValue="150" quality="Magic1" />
          <Rule stat="Strength" minValue="150" quality="Magic1" />
        </StatRules>
      </ItemRule>[/SIZE]
 
If i understand everything correctly, then:
1. It is not possible to combine multi rules, right?
2. Each line is an OR, not an AND, right?

So this example means 3 rules, not 1 whole rule, right?

Code:
[SIZE=1]<ItemRule itemBaseType="Jewelry" description="Rare jewelry">
        <StatRules>
          <Rule stat="Dexterity" minValue="150" quality="Magic1" />
          <Rule stat="Intelligence" minValue="150" quality="Magic1" />
          <Rule stat="Strength" minValue="150" quality="Magic1" />
        </StatRules>
      </ItemRule>[/SIZE]

Well according to Apocs earlier post it would count as one rule (the item would need all 3 to be kept) however it doesn't actually appear to work that way. Also as IeU pointed out it sorta contradicts one of the base lines you can find in the default rules that comes with the bot and you can find on first page of this thread:

Code:
      <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>

If multiple lines were consider as one rule, a Magic weapon could pass the first line but immedtialy fail the second as it isn't rare.
 
I've been looking through it, and I see that Salvage is Priority 2, yet there is no code in the file telling the bot what to salvage. I'm guessing it has to be added but I wouldn't have a clue where to start.

Basically I want it to salvage any item level 60 blues or above, but vendor all item lvl 59 or lower blues.
 
I've been looking through it, and I see that Salvage is Priority 2, yet there is no code in the file telling the bot what to salvage. I'm guessing it has to be added but I wouldn't have a clue where to start.

Basically I want it to salvage any item level 60 blues or above, but vendor all item lvl 59 or lower blues.

I did this and is working great for me.

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="160" quality="Rare4" />
					<Rule stat="Vitality" minValue="160" quality="Rare4" />
					<Rule stat="Dexterity" minValue="160" quality="Rare4" />
					<Rule stat="Strength" minValue="160" quality="Rare4" />
					<Rule stat="ResistAll" minValue="50" quality="Rare4" />
				</StatRules>
			</ItemRule>
      
			<ItemRule itemBaseType="Jewelry" description="Rare jewelry">
				<StatRules>
					<Rule stat="Intelligence" minValue="80" quality="Rare4" />
					<Rule stat="Vitality" minValue="80" quality="Rare4" />
					<Rule stat="Dexterity" minValue="80" quality="Rare4" />
					<Rule stat="Strength" minValue="80" quality="Rare4" />
					<Rule stat="ResistAll" minValue="30" quality="Rare4" />
					<Rule stat="AttackSpeedPercent" minValue="17" quality="Rare4" />
				</StatRules>
			</ItemRule>

			<ItemRule ruleType="Keep" description="Legendary">
				<StatRules>
					<Rule quality="Legendary" />
				</StatRules>
			</ItemRule>
      
		</Category>
	
		<Category ruleType="Salvage">
			<ItemRule description="Salvage level 60 gear">
				<StatRules>
					<Rule stat="Level" minValue="61" quality="Magic1" />
				</StatRules>
			</ItemRule>
		</Category>	

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

</ItemRules>
 
One question guys, i got a simple loot gold & rare + rule set, but when i was watching demonbuddy he did not pick a rare blacksmith plans. did i missed something ?

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

<ItemRules name="Default Item Rules" useRoundedValues="true">
<!-- The order in which item rules are evaluated. Typically, this is fine for almost all rule sets.
However, you may want to switch things around sometimes if you want to force-sell things that may match keep rules. -->
<Priority priority1="Keep" priority2="Salvage" priority3="Sell" />

<Categories>
<Category ruleType="PickUp">

<!-- Pick up all rare+ items -->
<ItemRule>
<StatRules>
<Rule quality="rare4" />
</StatRules>
</ItemRule>

<!-- Pick up gold, at least in stacks of 1 -->
<ItemRule itemName="Gold" stack="1" />

<!-- Pick up all pages and tomes, blacksmithing/jewelcrafting -->
<ItemRule itemName="Page of*" stack="0" />
<ItemRule itemName="Tome of*" stack="0" />

<!-- Gems -->
<ItemRule itemName="*Ruby*" stack="1" />
<ItemRule itemName="*Emerald*" stack="1" />
<ItemRule itemName="*Topaz*" stack="1" />
<ItemRule itemName="*Amethyst*" stack="1" />

<!-- Health potions -->
<ItemRule itemName="*Health Potion*" stack="0" />
</Category>

<Category ruleType="Keep">
<ItemRule ruleType="Keep" description="Rare and better!">
<StatRules>
<Rule quality="rare4" />
</StatRules>
</ItemRule>

<ItemRule itemBaseType="Misc" >
</ItemRule>
</Category>

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

</Categories>

<!-- Available Stats:

Intelligence
Strength
Vitality
Dexterity
Armor - this is the "base" armor of an item.
ArmorBonus - this is the "bonus" armor on the item. Represented in the tooltip as "+x Armor"
ArmorTotal - this is the "total" armor for the item.

// Damage % Increases - These are typically things like 3% Fire Damage - typically found on Wizard/WD items
FireDamagePercent
ColdDamagePercent
LightningDamagePercent
PoisonDamagePercent
ArcaneDamagePercent
HolyDamagePercent

MinDamage - this is the smaller of the 2 when the tooltip states "+5-10 damage" or similar.
MaxDamage - the max value of the above
DPS - weapon DPS. This is the DPS as shown in the tooltip.

GoldFind
MagicFind

// Increase modifiers
AttackSpeedPercent

// Weapon
WeaponAttacksPerSecond
WeaponMinDamage
WeaponMaxDamage

// Misc
MovementSpeed - run speed %
HealthGlobeBonus
HealthPerSecond
LifePercent
Level - item level. DOES NOT MATCH IN-GAME ITEM LEVEL REQUIREMENT!

// Resists
ResistAll
ResistArcane
ResistCold
ResistPhysical
ResistLightning
ResistFire
ResistPoison
ResistHoly

Thorns

DamageReductionPhysicalPercent
-->
</ItemRules>
 
Noticed the same.

Added this, needs testing thou:

<ItemRule itemName="Plan:*" />
 
Noticed the same.

Added this, needs testing thou:

<ItemRule itemName="Plan:*" />

I've been using somthing simliar:

Code:
      <!-- Crafting Plans -->
      <ItemRule itemName="*Design:*" stack="1" />
      <ItemRule itemName="*Plan:*" stack="1" />

Has picked up two plans in 8 hours so far doing Sarkoth/Inferno. I don't think you need the stack="1" but I added it anyway as every other misc item rule has it.
 
i have a question for apoc or somebody who can answer me:

When i want multiple stats in one item example:

Dext + vit

so i code:

<ItemRule itemBaseType="Armor" description="Dex+vit">
<StatRules>
<Rule stat="Dextery" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>
</ItemRule>


that will Keep my item (if the ruletype is keep) an item with +100 int +100 vit

then if i want to say that stores an item with +100 dex + 100 vit i should do:

<ItemRule itemBaseType="Armor" description="Int+vit">
<StatRules>
<Rule stat="Intelligence" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>

and the sentence of keep would be like this

<Category ruleType="Keep">
<ItemRule itemBaseType="Armor" description="Dex+vit">
<StatRules>
<Rule stat="Dextery" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>
</ItemRule>

<ItemRule itemBaseType="Armor" description="Int+vit">
<StatRules>
<Rule stat="Intelligence" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>

</Category>


so i would keep any item with <+100 dex AND +100 vit> Or items with <+100 Int AND +100 Vit>

Then i would like to keep any of them that has +150 Int and 10%GF so i write

<Category ruleType="Keep">
<ItemRule itemBaseType="Armor" description="Int+GF">
<StatRules>
<Rule stat="Intelligence" minValue="150" />
<Rule stat="Goldfind" minValue="10" />
</StatRules>
</ItemRule>


so now i shoud keep

<+100 dex AND +100 vit> Or items with <+100 Int AND +100 Vit> Or items with <+150 Int AND +10GF>


that?s not clear, i would like to know if that could cause problems or what.. i need more examples to do this..

thanks a lot hope an answer
 
i have a question for apoc or somebody who can answer me:

When i want multiple stats in one item example:

Dext + vit

so i code:

<ItemRule itemBaseType="Armor" description="Dex+vit">
<StatRules>
<Rule stat="Dextery" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>
</ItemRule>


that will Keep my item (if the ruletype is keep) an item with +100 int +100 vit

then if i want to say that stores an item with +100 dex + 100 vit i should do:

<ItemRule itemBaseType="Armor" description="Int+vit">
<StatRules>
<Rule stat="Intelligence" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>

and the sentence of keep would be like this

<Category ruleType="Keep">
<ItemRule itemBaseType="Armor" description="Dex+vit">
<StatRules>
<Rule stat="Dextery" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>
</ItemRule>

<ItemRule itemBaseType="Armor" description="Int+vit">
<StatRules>
<Rule stat="Intelligence" minValue="100" />
<Rule stat="Vitality" minValue="100" />
</StatRules>

</Category>


so i would keep any item with <+100 dex AND +100 vit> Or items with <+100 Int AND +100 Vit>

Then i would like to keep any of them that has +150 Int and 10%GF so i write

<Category ruleType="Keep">
<ItemRule itemBaseType="Armor" description="Int+GF">
<StatRules>
<Rule stat="Intelligence" minValue="150" />
<Rule stat="Goldfind" minValue="10" />
</StatRules>
</ItemRule>


so now i shoud keep

<+100 dex AND +100 vit> Or items with <+100 Int AND +100 Vit> Or items with <+150 Int AND +10GF>


that?s not clear, i would like to know if that could cause problems or what.. i need more examples to do this..

thanks a lot hope an answer

Just read back a couple of pages, it has been answered a few times. In short it should work that way but in practise it doesnt.
 
With regards to the non-functioning multiple filters, I found that my stash was filled with a bunch of crappy items that only had one of each desired stat. Until this is fixed, the temporary solution I've been using is to use Magic1, Magic2, Magic3, Rare4, Rare5, Rare6 as a gauge by which to judge if an item gets past the initial check before I have to look at it. Something like this:

<Rule stat="AttackSpeedPercent" minValue="14" quality="Magic2" />

will ensure that the item has at least 2 affixes, one of which being a minimum of 14IAS. This should help weed out the majority of the crap (something like only IAS or only VIT) so that you get stuff with at least 2 modifiers.
 
How to exclude from selling my Staff of Herding?
It's a staff for ponylevel. It's white. I need to keep it in inventory, no stashing and no selling.
 
Back
Top