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

Need a quick hand figuring out broken loot rules please.....

Rimmuk

New Member
Joined
Feb 20, 2012
Messages
11
Reaction score
0
I have taken a bunch of loot rule code from various authors to pieces together customized rules that I am looking for. Below is a list of my rules (including the code) and what currently works and does not work. Any quick help on looking at my code and pointing out why it's broke and what the fix is would be greatly appreciated as this is my first attempt to try and piece together code.


What I want to keep are:

all level 61+ rare armor and off hands (works)
all level 61+ rare 1 handed weapons ( works)
all level 63 2 handed weapons (broke - picks up level 61+)
all legendary and set items (currently broke - I watched the bot pass by a bul kathos ring (ilvl 59)
all rings and amulets regardless of level (works)
all plans, design, rings, tomes, potions and flawless square emeralds (works)
all magic items with magicfind criteria as follows: armor = 20, rings = 13, amulet = 33, shields = 20 (works but picks up all MF items regardless of minValue)
all magic items with goldfind criteria as follows: armor = 20, rings = 15, amulet = 25, shields = 17 (works but picks up all G items regardless of minValue)

all magic 1h weapons with 900+ dps (works)
all magic 2h weapons with 1200+ dps (boke - picks up 900+ dps 2 handers)

Can anybody see why legendaries are not picked up, why the minValue for GF and MF are not working, and why the 2 handers are being looted at a minValue of 900 instead of 1200?

I am most concerned about the ledendaries.

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

<ItemRules name="Test Loot Rules" useRoundedValues="true">

  <Priority priority1="Keep"/>

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

     <!-- Pick up all rare4+ ilvl60 items -->
		<ItemRule itemBaseTpe="Armor" description="Rare Armor">
			<StatRules>
				<Rule quality="Rare4" stat="level" minValue="61" />
			</StatRules>
		</ItemRule>
 
      
    <!-- Pick up rare jewelry regardless of stats or level. -->    
		<ItemRule itemBaseType="Jewelry" description="Rare jewelry">
			<StatRules>
				<Rule quality="Rare4"/>
			</StatRules>
		</ItemRule>
		
	<!-- Rare Weapons 1H weapons-->
		<ItemRule itemBaseType="Weapon" twoHanded="false" description="Rare Weapons">
			<StatRules>
				<Rule quality="Rare4" stat="level" minValue="61" />
			</StatRules>
		</ItemRule>
      
<!-- Rare Weapons 2h weapons-->
		<ItemRule itemBaseType="Weapon" twoHanded="true" description="Rare Weapons">
			<StatRules>
				<Rule quality="Rare4" stat="level" minValue="63" />
			</StatRules>
		</ItemRule>


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

<ItemRule itembaseType="Weapon" twoHanded="false" description="High DPS">

	<StatRules>

		<Rule stat="DPS" minValue="900" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Weapon" twoHanded="true" description="High DPS">

	<StatRules>

		<Rule stat="DPS" minValue="1200" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Amulet" description="MF Ammy">

	<StatRules>

		<Rule stat="MagicFind" minValue="33" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Amulet" description="GF Ammy">

	<StatRules>

		<Rule stat="GoldFind" minValue="25" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Ring" description="MF Ring">

	<StatRules>

		<Rule stat="MagicFind" minValue="13" quality="Magic1" />
	</StatRules>

</ItemRule>

<ItemRule itembaseType="Ring" description="GF Ring">

	<StatRules>

		<Rule stat="GoldFind" minValue="15" quality="Magic1" />
	</StatRules>

</ItemRule>

<ItemRule itembaseType="Shield" twoHanded="false" description="MF Shield">

	<StatRules>

		<Rule stat="MagicFind" minValue="20" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Shield" twoHanded="false" description="GF Shield">

	<StatRules>

		<Rule stat="GoldFind" minValue="17" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Armor" description="MF Armor">

	<StatRules>

		<Rule stat="MagicFind" minValue="20" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Armor" description="GF Armor">

	<StatRules>

		<Rule stat="GoldFind" minValue="20" quality="Magic1" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Shield" twoHanded="false" description="ilvl62 Rare">

	<StatRules>

		<Rule stat="Level" minValue="61" quality="Rare4" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Orb" twoHanded="false" description="ilvl62 Rare">

	<StatRules>

		<Rule stat="Level" minValue="61" quality="Rare4" />

	</StatRules>

</ItemRule>

<ItemRule itembaseType="Mojo" twoHanded="false" description="ilvl62 Rare">

	<StatRules>

		<Rule stat="Level" minValue="61" quality="Rare4" />

	</StatRules>

</ItemRule>



<!-- Pick up designs and plans, blacksmithing/jewelcrafting -->
<ItemRule itemName="*Plan:*" stack="1" />
<ItemRule itemName="*Design:*" stack="1" />
<ItemRule itemName="Tome of Secrets" stack="1" />
<ItemRule itemName="Mythic Health Potion" stack="1" />
<ItemRule itemName="Flawless Square Emerald" stack="1" />

    </Category>

    <Category ruleType="Keep">

      <!-- Keep legendaries, regardless of stats. -->
      <ItemRule ruleType="Keep" description="Legendary items!">
        <StatRules>
          <Rule quality="Magic1" />
        </StatRules>
      </ItemRule>
      
    </Category>

  </Categories>

</ItemRules>
 
bump for this, having similar problems with my loot rules

testing your lootrules now for you, if i have the same problems

edit: legendarys working for me, kept dropping a lvl 56 legendary when i ran the bot, he always ran back and picked it up
will report back with weapons

what could be the reason why the bot ran past a legendary is if youre using giles worldobjecthandler it will fuck over ur lootrules

everytime i turn it on the bot starts ignoring tomes of secret or health pots, as soon as i turn it off he starts looting them all again

edit2: your 1h weapons are not working for me, however i also set it to minvalue 63 just as you did with your 2hs, mine also picks up lvl 61 1handers

my strong guess why your 2h arent working either because the bot simply cant use "minvalue63" it has to be below 63 to work imo
 
Last edited:
Back
Top