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

giles trinity plugin with custom loot rules

sarre

New Member
Joined
Nov 15, 2012
Messages
10
Reaction score
0
Soo.... I am using Gile's Trinity and I like it!
I have just made my own Loot Rules though which will keep the items with the specific stats I want and sell the rest.
I enabled Custom Loot Rules in the Gile's Trinity plugin settings and I choose my loot rules in the DB settings.

When my character reaches full bag it uses teleport and starts identifying my items. After that it goes to the stash putting in the pots but stopping there. It doesn't go sell gear or puts gear in the stash.

Am I doing something wrong in the plugin config or DB settings? Or is it something wrong with my Loot Rule?

<?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 item Types -->
<ItemRule>
<StatRules>
<Rule stat="Quality" value="Rare4" />
</StatRules>
</ItemRule>

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

<!-- Pick up all pages and tomes, blacksmithing/jewelcrafting -->

<ItemRule itemName="Book of*" />

<!--BS plans-->
<ItemRule itemName="*Plan*" />
<!--JC plans-->
<ItemRule itemName="*Design*" />


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

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

<Category ruleType="Keep">

<!-- Keep Health potions -->
<ItemRule itemName="*Health Potion*" />


<!-- Specifies Quality Items To Keep Regarding Stats -->
<ItemRule>
<StatRules>
<Rule stat="Quality" value="Legendary" />
</StatRules>
</ItemRule>

<!-- Keep all pages and tomes, blacksmithing/jewelcrafting -->

<ItemRule itemName="Book of*" />


<!--Keep BS plans-->
<ItemRule itemName="*Plan*" />
<!--Keep JC plans-->
<ItemRule itemName="*Design*" />







<!-- Keep Item 1 -->
<ItemRule itemBaseType="Armor">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="Dexterity" minValue="200" />
<Rule stat="Sockets" minValue="1" />
<Rule stat="ResistAll" minValue="60" />
<Rule stat="Strength" minValue="100" logic="Or" />
<Rule stat="Sockets" minValue="1" logic="Or" />
<Rule stat="ResistAll" minValue="50" logic="Or" />
</StatRules>
</ItemRule>

<!-- Keep Item 2 -->
<ItemRule itemBaseType="Jewelry">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="Dexterity" minValue="150" />
<Rule stat="AttackSpeedPercent" minValue="1" />
<Rule stat="ResistAll" minValue="65" />
<Rule stat="Strength" minValue="100" logic="Or" />
<Rule stat="AttackSpeedPercent" minValue="1" logic="Or" />
<Rule stat="ResistAll" minValue="50" logic="Or" />
</StatRules>
</ItemRule>

<!-- Keep Item 3 -->
<ItemRule description="1h Weapons" itemBaseType="Weapon" twoHanded="false">
<StatRules>
<Rule stat="Quality" value="Rare4" />
<Rule stat="Strength" minValue="100" />
<Rule stat="Sockets" minValue="1" />
<Rule stat="AttackSpeedPercent" minValue="1" />



</StatRules>
</ItemRule>

<!-- These are just good to have and wont be able to edit Unless Done Manualy -->

<ItemRule itemName="String of Ears" description="High DR% String of Ears">
<StatRules>
<!-- String of Ears should have at least 17% damage reduction. Any lower and its not worth a whole lot.-->
<Rule stat="DamageReductionPhysicalPercent" minValue="17" />
</StatRules>
</ItemRule>

<ItemRule itemName="Talisman of Aranoch" description="Talisman of Awesome Lowbieness" />

</Category>

<Category ruleType="Salvage">

</Category>

<Category ruleType="Sell">
<ItemRule description="Sell Everything">
<StatRules>
<Rule stat="Quality" value="Magic1" />
</StatRules>
</ItemRule>
</Category>

</Categories>

</ItemRules>

That's the Loot Rule I am using. Please help! :)
 
I've been reading that thread for quite som time now but never really understood where I should put all the files and where I should edit the script and so on.
I exchanged my giles trinity for darkfriends but that ended up in my DB crashing as soon as i started it.
 
I will make two changes, first one get out Salvage of the priority list (you don't use it):
PHP:
<Priority priority1="Keep" priority2="Sell" />
Second I will take out
PHP:
<Category ruleType="Salvage">

</Category>
DB might try to do it and since its blank it might don't know what to do.

Also take out the potions from the keep category. You will normally want your potions on your bot, not your stash... :P
 
Back
Top