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

Item Rules QuickStart Guide

Hey guys how i want to add a simple loot rule but i can't make it work atm:

I want the bot to loot al yellow rings/amulets. That simple i don't care about ilvl or anything.
 
Is there any way to determine item values (shop value)? I would love to have a rule salvaging items of ilvl > 60 below a specified gold value and selling them if they are above that value.
 
Hey guys how i want to add a simple loot rule but i can't make it work atm:

I want the bot to loot al yellow rings/amulets. That simple i don't care about ilvl or anything.

<ItemRule quality="Rare4" itemBaseType="Jewelry" />

might do it

if not try

<ItemRule quality="rare4" itemBaseType="Jewelry">
<StatRules>
<Rule quality="Rare4" />
</StatRules>
</ItemRule>
 
<ItemRule quality="Rare4" itemBaseType="Jewelry" />

might do it

if not try

<ItemRule quality="rare4" itemBaseType="Jewelry">
<StatRules>
<Rule quality="Rare4" />
</StatRules>
</ItemRule>

Thanks. Gonna try it and report ;)
 
I've been searching on the initial post, and i didnt saw 'lifeonhit'..

There's such option?

And another question is.. There's any command that makes me keep all res 40 + x res(at the same item) ?
 
The "MinDamage" and "MaxDamage" stats seem to not be read from items correctly. If you have a filter requiring a "MinDamage" or "MaxDamage", then any rings, amulets, wizard orbs, witch doctor mojos will always be ignored (because their damage-bonuses are not being read).

The "two-handed" flag is not being read for many weapons - eg two-handed axes are being treated as one-handed, and only being filtered in one-handed rules.

Monk "Daibos" and barbarian "mighty" weapons are always ignored. Their base item type is read as "unknown" and so they will never match any weapon rules. (other class-specific weapons may also encounter this, and there may be certain base weapon types I haven't checked that also get read as unknown).

Most witch-doctor mojos (off-hand) are considered as itembasetype Gem, itemtype Unknown. Some mojo sub-types are considered as an Armor-Shield though. All wizard sources tested so far (the 1 orb, the 3 balls, the book, the skull) are considered to be itembasetype Gem, itemtype Unknown.

Demon Cloaks, Witch Doctor Masks, Barbarian Mighty Belts and Monk Spirit Stones have a base item type of "Unknown" and are always ignored by any filters. They need item types adding (there is already one for wizard hats, apparently).
 
Last edited:
Question for all you guru's out there:

In the following code snippit, are the statrules considered an "AND" or an "OR"?

Code:
      <ItemRule itemBaseType="Jewelry" description="Keep Jewelry">
        <StatRules>
          <!-- All Armor with min value of 100 Dex.-->
          <Rule stat="Dexterity" minValue="100" quality="Rare4" />
          <!-- All Armor with min value of 100 Int.-->
          <Rule stat="Intelligence" minValue="100" quality="Rare4" />
          <!-- All Armor with min value of 20 Gold Find.-->
          <Rule stat="GoldFind" minValue="20" quality="Rare4" />
          <!-- All Armor with min value of 20 Magic Find.-->
          <Rule stat="MagicFind" minValue="20" quality="Rare4" />
          <!-- All Armor with min value of 13% Increased Attack Speed.-->
          <Rule stat="AttackSpeedPercent" minValue="7" quality="Rare4" />
        </StatRules>
      </ItemRule>
 
Question for all you guru's out there:

In the following code snippit, are the statrules considered an "AND" or an "OR"?

Code:
      <ItemRule itemBaseType="Jewelry" description="Keep Jewelry">
        <StatRules>
          <!-- All Armor with min value of 100 Dex.-->
          <Rule stat="Dexterity" minValue="100" quality="Rare4" />
          <!-- All Armor with min value of 100 Int.-->
          <Rule stat="Intelligence" minValue="100" quality="Rare4" />
          <!-- All Armor with min value of 20 Gold Find.-->
          <Rule stat="GoldFind" minValue="20" quality="Rare4" />
          <!-- All Armor with min value of 20 Magic Find.-->
          <Rule stat="MagicFind" minValue="20" quality="Rare4" />
          <!-- All Armor with min value of 13% Increased Attack Speed.-->
          <Rule stat="AttackSpeedPercent" minValue="7" quality="Rare4" />
        </StatRules>
      </ItemRule>

I'd be inclined to say AND but i dont think anyone knows for sure
 
Question for all you guru's out there:

In the following code snippit, are the statrules considered an "AND" or an "OR"?

Code:
      <ItemRule itemBaseType="Jewelry" description="Keep Jewelry">
        <StatRules>
          <!-- All Armor with min value of 100 Dex.-->
          <Rule stat="Dexterity" minValue="100" quality="Rare4" />
          <!-- All Armor with min value of 100 Int.-->
          <Rule stat="Intelligence" minValue="100" quality="Rare4" />
          <!-- All Armor with min value of 20 Gold Find.-->
          <Rule stat="GoldFind" minValue="20" quality="Rare4" />
          <!-- All Armor with min value of 20 Magic Find.-->
          <Rule stat="MagicFind" minValue="20" quality="Rare4" />
          <!-- All Armor with min value of 13% Increased Attack Speed.-->
          <Rule stat="AttackSpeedPercent" minValue="7" quality="Rare4" />
        </StatRules>
      </ItemRule>

All rulesets are AND lists. An item has to match every <rule> entry in an <itemrule> set. Each value comparison is considered "equal to or more than >=".
 
I need only this lootrule: Loot yellow rings and amulets. I've tried some searching on forum but they don't work or they're looting other stuff. Anyone can help me?
 
Last edited:
I think the first question is, why would you want to only loot rings and amulets?

Its easily done but the question is why would you >.<'
 
This item rules seens to be ignoring plans on floor, just catch my bot now teleporting with a plan on floor and a lot of empty space on inventory =/ any1 know about this? I was looking others rules and all have the same code for plans =/
 
which one are you using, I'll have a look and see if the plans code is done right
 
Sup!

could any1 help me? I need to my itemrule forge all blues +61.. for some reason he stash some items.. ;/

<!-- Salvage Rules -->
<Category ruleType="Salvage">

<ItemRule description="Salvage Everything">
<StatRules>
<Rule quality="Magic1" stat="level" minValue="61" />
</StatRules>
</ItemRule>

whats wrong? :(

And i want to keep all rares+.. is this correct?

<StatRules>
<Rule quality="Rare4" />
</StatRules>
</ItemRule>

Thanks for the help :p
 
Hi guys,

I found some answers reading the thread.
One question, what is the attribute for block %?
Not able to find any mention.

Thanks.
 
Last edited:
Tell me please how to edit DefaultItemRules.xml that bot automatically sell rare and epic items?

not working!
<Category ruleType="Sell">
<ItemRule description="Sell Everything">
<StatRules>
<Rule quality="Rare4" />
</StatRules>
</ItemRule>
</Category>
NOT WORKING!
 
Back
Top