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

Salvage/sell rules not working?

cha0sbg

Member
Joined
Jun 13, 2012
Messages
32
Reaction score
0
Hey guys i'm using the following script

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

<ItemRules name="Default Item Rules" useRoundedValues="true">
  <!-- Zoinx Loot/Sell/Keep - Sarkoth Inferno Farming -->
  <Priority priority1="Keep" priority2="Salvage" priority3="Sell" />


  <Categories>
    <Category ruleType="PickUp">
 
      <!-- Pick up all magic+ items -->
      <ItemRule>
        <StatRules>
          <Rule quality="Magic1" />
        </StatRules>
      </ItemRule>

      <!-- Pick up gold, at least in stacks of 100 -->
      <ItemRule itemName="Gold" stack="50" />
      
      <!-- Pick up all pages and tomes, blacksmithing/jewelcrafting -->
      <ItemRule itemName="Page of*" stack="1" />
      <ItemRule itemName="Tome of*" stack="1" />
      
      <!-- 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="1" />
	  
	  <!-- Pick up designs and plans, blacksmithing/jewelcrafting --> 
      <ItemRule itemName="Plan:*" stack="1" /> 
      <ItemRule itemName="Design:*" stack="1" />
	  
    </Category> 
	

    <Category ruleType="Keep">
	
	  <!-- Keep designs and plans, blacksmithing/jewelcrafting --> 
      <ItemRule itemName="Plan:*" /> 
      <ItemRule itemName="Design:*" />
	  
	  <ItemRule>
		<StatRules>
			<!-- Keep all Legendaries -->
			<ItemRule quality="Legendary" />
		</StatRules>
	  </ItemRule>
	  
      <ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2H Weapons">
        <StatRules>
          <!-- Magic Weapons should have at least 1200 DPS -->
          <Rule stat="DPS" minValue="1100" quality="Magic2" />
          <!-- Rare weapons should have at least 1100 considering they provide extra stats most of the time. -->
          <Rule stat="DPS" minValue="1000" quality="Rare4" />
        </StatRules>
      </ItemRule>

      <ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1H Weapons">
        <StatRules>
		  <!-- Magic Weapons should have at least 900 DPS -->
          <Rule stat="DPS" minValue="900" quality="Magic2" />
		  <!-- Rare weapons should have at least 800 considering they provide extra stats most of the time. -->
          <Rule stat="DPS" minValue="800" quality="Rare4" />
        </StatRules>
      </ItemRule>

	  	<!-- All Armor with min value of 100 Int/Dex.-->
      <ItemRule itemBaseType="Armor" description="Keep Armor">
        <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="14" quality="Rare4" />
        </StatRules>
      </ItemRule>
	  
	  	<!-- All Armor with min value of 100 Int/Dex.-->
      <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="14" quality="Rare4" />
        </StatRules>
      </ItemRule>
      
    </Category>
	
	
	<Category ruleType="Salvage">
		<!-- Salvage all items at level 60 -->
		<ItemRule description="Salvage Level 60 Gear">
			<StatRules>
				<Rule stat="Level" minValue="61" quality="Magic1" />
			</StatRules>
		</ItemRule>
	</Category>
 
	
    <Category ruleType="Sell"> 
	  <!--Sells everything else --> 
      <ItemRule description="Sell Everything"> 
        <StatRules>  
          <Rule quality="Rare4" /> 
	 <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
            
            Sockets
   -->
</ItemRules>



It salvages only 60 items but doesn't sell and the bot keeps getting stuck going in and out of the portal, any suggestions ?
 
I'm having the same problem. If this rule had working vendor 59 or lower item it would be perfect.
 
There is no problem with the rule as far as i can tell but ...
 
Back
Top