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

What am I doing wrong? (Own made loot profile related)

adage

New Member
Joined
Nov 19, 2012
Messages
5
Reaction score
0
so anytime i try to use the loot profile I made it dosnt pick up anything or even load to the screen, it just stays on the previously used one.

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

<ItemRules name="Lewtz" useRoundedValues="true">
  <Priority priority1="Keep" priority2="Salvage" priority3="Sell" />

  <Categories>
    <Category ruleType="PickUp">
	
      <ItemRule description="Rare Items iLvl 60+ and All Legendaries">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
          <Rule stat="Level" minValue="60" logic="Or" />
          <Rule stat="Quality" value="Legendary" logic="Or" />
        </StatRules>
      </ItemRule>
	  
      <ItemRule itemName="Gold">
		<StatRules>
		  <Rule stacks="700" />
		</StatRules>
	  </ItemRule>
      
      <ItemRule itemName="Tome of*" />
      <ItemRule itemName="*Ruby*" />
      <ItemRule itemName="*Emerald*" />
      <ItemRule itemName="*Topaz*" />
      <ItemRule itemName="*Amethyst*" />
      <ItemRule itemName="*Health Potion*" />
    </Category>

    <Category ruleType="Keep">
	
	  <!2H WEAPONS/>
		  
      <ItemRule itemBaseType="Weapon" twoHanded="true" description="DPS+Stat2H">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="DPS" minValue="1000" />
		  <Rule stat="CritDamagePercent" minValue="140" />
		  <Rule stat="Sockets" minValue="1" />
		  <Rule stat="LifeSteal" minValue="4" />
		  <Rule stat="Intelligence" minValue="400" logic="Or" />
		  <Rule stat="Strength" minValue="400" logic="Or" />
		  <Rule stat="Dexterity" minValue="400" logic="Or" />
		  <Rule stat="Vitality" minValue="400" logic="Or" />
		  <Rule stat="LifeOnHit" minValue="1300" logic="Or" />
        </StatRules>
      </ItemRule>
	  
	  <!1H WEAPONS/>

      <ItemRule itemBaseType="Weapon" oneHanded="true" description="Barb/Monk Offhand">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="DPS" minValue="600" />
		  <Rule stat="CritDamagePercent" minValue="70" />
		  <Rule stat="LifeSteal" minValue="2" />
		  <Rule stat="Sockets" minValue="1" />
        </StatRules>
      </ItemRule>

	  <ItemRule itemBaseType="Weapon" oneHanded="true" description="Barb/Monk Mainhand">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="DPS" minValue="1000" />
		  <Rule stat="CritDamagePercent" minValue="70" />
		  <Rule stat="Sockets" minValue="1" />
        </StatRules>
      </ItemRule>
      
	  <!AMULETS/>
	  
      <ItemRule itemBaseType="Amulet" description="MF">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="MagicFind" minValue="40" />
        </StatRules>
      </ItemRule>    
	  
      <ItemRule itemBaseType="Amulet" description="GF">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="GoldFind" minValue="45" />		  
        </StatRules>
      </ItemRule>
	  
	  <ItemRule itemBaseType="Amulet" description="Trif">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="CritDamagePercent" value="1" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
	  <ItemRule itemBaseType="Amulet" description="Ehh">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="ResistAll" value="60" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
	  <!RINGS/>
	  
	  <ItemRule itemBaseType="Ring" description="MF">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="MagicFind" minValue="20" />
        </StatRules>
      </ItemRule>    
	  
      <ItemRule itemBaseType="Ring" description="GF">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="GoldFind" minValue="20" />		  
        </StatRules>
      </ItemRule>
	  
	  <ItemRule itemBaseType="Ring" description="Trif">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="CritDamagePercent" value="1" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
	  <ItemRule itemBaseType="Ring" description="Ehh">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="ResistAll" value="60" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
	  <!GLOVES/>
	  
	  <ItemRule itemBaseType="Gloves" description="SomeGloves">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="ResistAll" value="60" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
	  <ItemRule itemBaseType="Gloves" description="Ehh">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="CritDamagePercent" value="1" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
	  <ItemRule itemBaseType="Gloves" description="SomeMoreGloves">
        <StatRules>
          <Rule stat="Quality" value="Rare4" />
		  <Rule stat="CritPercent" value="1" />
		  <Rule stat="ArmorBonus" value="60" />
		  <Rule stat="AttackSpeedPercent" value="1" />
        </StatRules>
      </ItemRule>
	  
    </Category>

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

^ is what I wrote, dosnt seem to be any different than anything else i've been running other than my own stats and such... =/ Am I saving it as the wrong format? (.xml) am I missing something? =(
 
First of all... WTF are these?
Code:
<!2H WEAPONS/>
<!1H WEAPONS/>
...
In XML comments are with <!-- Insert comment here -->

You can simplify the gold tag with the following:
<ItemRule itemName="Gold" stack="700" />

<ItemRule itemBaseType="Weapon" oneHanded="true" description="Barb/Monk Offhand"> should be twoHanded="false"

<ItemRule itemBaseType="Amulet" description="GF"> should be itemBaseType="Jewelry" or itemType="Amulet" whatever you want to use...

<Rule stat="AttackSpeedPercent" value="1" /> and many more tags, should be minValue="1". Use value for Quality (Rare4, Legendary) and minValue for numbers.

<Rule quality="Rare4" /> (on the sell Category) should be <Rule stat="Quality" value="Rare4" />

And also I would take out Salvage from the Piorities, since its not used:
<Priority priority1="Keep" priority2="Salvage" priority3="Sell" /> should be <Priority priority1="Keep" priority2="Sell" />

As for the rest, you're mainly using itemBaseType when you should be using itemType...
 
yepp, thanks for the help, this isnt completed yet and I do have plans on keeping salvaging in, i went over it after posted and fixed a lot of it by comparing to other loot profiles.
my problem is the xml file wont even load into DB and im not too sure why, I would understand if it was loading in and just wasnt looting properly but the fact that its not is confusing to me.
 
my problem is the xml file wont even load into DB and im not too sure why, I would understand if it was loading in and just wasnt looting properly but the fact that its not is confusing to me.
Go to DB Settings tab, set log to diagnostic and try to load your item loot rules file. If the file has errors, it will be displayed in DB's log (or at least the cause which isn't loading properly).
 
derp, thanks a ton fixed my errors and its loading properly now ^.^ cheers
 
Back
Top