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

[suggestion] leave the 2handers rar weapons on the floor

edike13

New Member
Joined
Aug 9, 2010
Messages
66
Reaction score
0
What do you think about adding an option to leave the rar & blue 2 handers ( staffs,maces,swords,hast, axes & barb weapons) alone :)
or maybe somebody could help me tweak the code to add such a thing.

Thank you !
 
You can use a custom ItemRule like this one:
PHP:
<!-- PickUp -->
<Category ruleType="PickUp">
	<!-- Pick up all 1H rare weapons with ilevel 60+ -->
	<ItemRule itemBaseType="Weapon" twoHanded="false" description="Leave 2H alone">
		<StatRules>
			<Rule stat="Level" minValue="60" />
			<Rule stat="Quality" value="Rare4" />
		</StatRules>
	</ItemRule>
	<!-- Pick up all rare armor with ilevel 60+ -->
	<ItemRule itemBaseType="Armor">
		<StatRules>
			<Rule stat="Level" minValue="60" />
			<Rule stat="Quality" value="Rare4" />
		</StatRules>
	</ItemRule>
	<!-- Pick up all rare jewelry with ilevel 60+ -->
	<ItemRule itemBaseType="Jewelry">
		<StatRules>
			<Rule stat="Level" minValue="60" />
			<Rule stat="Quality" value="Rare4" />
		</StatRules>
	</ItemRule>
</Category>
 
I would like some more custom drop pick ups with Giles also (not that it isnt great already.)

I would like to be able to set item level by item slot, instead of by item type.

For example, instead of all armor pick up at level 62...

Shield: 63
Helm: 62
Shoulder: 62
Torso: 63

And so forth, varying item level by item slot.
 
i'm a bit of a noob, but a simple option:
pickup one handers lvl 61+
pickup two handers lvl 63+

//

edited line 8195 on gilestrinity.cs
//case GilesBaseItemType.WeaponTwoHand:

does not pickup any 2h except legendaries now!

Can pickup xbows anyway
 
Last edited:
@happysticks and @fr0stebyte with my example and http://www.thebuddyforum.com/demonbuddy-forum/demonbuddy-guides/54086-item-rules-quickstart-guide.html you can do it.

Example for @happysticks:
PHP:
<ItemRule itemType="Shield">
	<StatRules>
		<Rule stat="Level" minValue="63" />
		<Rule stat="Quality" value="Rare4" />
	</StatRules>
</ItemRule>

Example for @fr0stebyte
PHP:
<ItemRule twoHanded="true">
	<StatRules>
		<Rule stat="Level" minValue="63" />
		<Rule stat="Quality" value="Rare4" />
	</StatRules>
</ItemRule>
 
You have to set Giles to use custom loot rules and create a valid itemrules and set it in DB.


Will using the custom loot rules allow for me to decide which look to PICKUP. Then handle evaluation to Giles Trininty?

If i use a custom loot rule must it include everything such as salvage, keep, sell, pickup?
 
Will using the custom loot rules allow for me to decide which look to PICKUP. Then handle evaluation to Giles Trininty?
No, when you set Giles item to advanced, all the actions are taken with the loot rules, so Trinity won't eval any item.

If i use a custom loot rule must it include everything such as salvage, keep, sell, pickup?
Yes. You can avoid salvage if you don't want to do so, but at least pickup and sell must be defined to let the bot empty your inventory once full.
 
Thanks for the reply. So custom loot rules = disable giles loot handling

why not just call the option that.... is less confusing
 
You can use a custom ItemRule like this one:
PHP:
<!-- PickUp -->
<Category ruleType="PickUp">
	<!-- Pick up all 1H rare weapons with ilevel 60+ -->
	<ItemRule itemBaseType="Weapon" twoHanded="false" description="Leave 2H alone">
		<StatRules>
			<Rule stat="Level" minValue="60" />
			<Rule stat="Quality" value="Rare4" />
		</StatRules>
	</ItemRule>
	<!-- Pick up all rare armor with ilevel 60+ -->
	<ItemRule itemBaseType="Armor">
		<StatRules>
			<Rule stat="Level" minValue="60" />
			<Rule stat="Quality" value="Rare4" />
		</StatRules>
	</ItemRule>
	<!-- Pick up all rare jewelry with ilevel 60+ -->
	<ItemRule itemBaseType="Jewelry">
		<StatRules>
			<Rule stat="Level" minValue="60" />
			<Rule stat="Quality" value="Rare4" />
		</StatRules>
	</ItemRule>
</Category>

Hey AzureusPT, I'm a bit of a newb with all this coding stuff. So could you perhaps post the instructions as to what lines those codes replace in the rules file and what options are necessary to change in order to make it work.
Thank you
 
It would be great if we could eventually get a more fine control over pickups via trinity itself (when giles is well again obviously)

for example i never want to pick up a yellow shield...ever...again

other cool ideas like auto salvage specified legendaries. ivory tower im looking at you mate, gtfo
 
Hey AzureusPT, I'm a bit of a newb with all this coding stuff. So could you perhaps post the instructions as to what lines those codes replace in the rules file and what options are necessary to change in order to make it work.
Thank you
The XML posted has to go in a xml file and load it via DB's settings. In the botton you have a box to enter or find the loot rules xml file you want to use it. This doesn't touch GilesTrinity code.
 
The XML posted has to go in a xml file and load it via DB's settings. In the botton you have a box to enter or find the loot rules xml file you want to use it. This doesn't touch GilesTrinity code.

I tried this code but it still picks up 2 handed weapons. any thoughts ?
I added some other pick up rules which work so i know it must be something with maybe this line <ItemRule itemBaseType="Weapon" twoHanded="false" description="Leave 2H alone">??
 
Back
Top