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

[Plugin] Giles Stash & Loot Rule Replacer

Long thread and sorry if it has been asked before but I have a question about this. Lets say you get a pair of gloves with no main stat on it but it has Crit Hit chance, Crit hit damage and say ATT speed. With no main stat is the bot keeping this sort of thing or is it trashing it? Certain things like that are worth good money is why Im asking.

Well yes - that's the entire point of this plugin - to be able to dynamically assess items, rather than rely on the rigid framework of loot-rule .xml files :D So yes, if it has a great combo of stats in anything valuable, it will be kept! I really, really, really recommend you at least read the very first post describing this plugin, it'll answer your questions (I hope! If it doesn't then it means I haven't worded the first post very well and would welcome input on how to make it clearer :D).

Also, as mentioned in the first post, if you don't feel confident relying on the plugin without testing it first, then there is a "test backpack" button in the Config window of the plugin. This will allow you to put items you want to test it with into your backpack (for example, an item with no prime stats, but uber attack speed, crit hit chance and crit hit damage), and hit test - the DemonBuddy window will then display the "scores" of those items (as generated by my plugin), and whether my plugin would try to keep the item or junk the item.
 
Thanks for the quick reply, Giles and thank you for all your work. Excellent stuff.
 
v1.6 uploaded:
-- Remade entire behavior tree of the stash routine. Stash routine now runs much more smoothly, and not "laggily".
-- Replaced DemonBuddy default salvage routine with a new, cleaner, simpler behavior tree. The new salvage routine is less laggy than the default DB one, but importantly - it stashes items one at a time (or rather, at a more believable human-like pace).
-- Note: DemonBuddy vendor routine is still in-place for selling/repairing, and has it's own issues and stuck-problems. I may replace this in a future version.
 
how to make it work for demon 173? i having this error when loading the rules

System.Exception: Requested value 'FollowerSpecial' was not found. - Line: 0
at ..(PropertyInfo property, XAttribute attribute, Object instance)
at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
at ..(PropertyInfo property, XElement element, Object instance)
at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
at ..(XElement element, Type asType)
at ...(XElement ele)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ..(XElement element, PropertyInfo property)
at ..(PropertyInfo property, XElement element, Object instance)
at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
at Zeta.CommonBot.ItemManager.LoadRules(String rulePath)
at Demonbuddy.MainWindow.btnLoadRuleSet_Click(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventH!ndler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.WindowsnInput.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 
how to make it work for demon 173? i having this error when loading the rules

Upgrade to .180 :) This plugin, and the loot-rule files, has support built into it for FollowerItems - Older DemonBuddy versions do not support them, and so bug out when trying to read that item type. I use latest DB with my plugins on a number of bots at once, and it runs very well (never perfect, we do need DB updates and fixes, but it runs as well as any past versions did).

You can try to force it to run by removing these two sections from the loot-rules;
Code:
   <ItemRule itemType="FollowerSpecial" description="ilvl 60 Follower Items">
     <StatRules>
       <Rule stat="Level" minValue="60" quality="Rare4" />
     </StatRules>
   </ItemRule>
and
Code:
   <ItemRule itemType="FollowerSpecial" description="Salvage Junk Follower Items">
    <StatRules>
     <Rule stat="Level" minValue="60" quality="Magic1" />
    </StatRules>
   </ItemRule>

I haven't checked the plugin itself for compatibility with older DB, but you can give it a try if you are determined to cling on to older (unsupported) versions! :D
 
This plugins is running great. But i have one problem I am using this plugins together with db relogger. Everytime after dbrelogger restart DB+diablo3

The Stash potion box will be checked. So i will have to manually unchecked it everytime.

How can i fix this?


Thank Giles for many useful plugins that u make. I love it all

ps. sometime the kill and loot radius also change by it self
 
Last edited:
For some reason ~80% of all the gear bot stashes has either MF or GF on it. Even armor with 14% gold find and some 100 dex/int/str get stashed, which is salvage material for all intents and purposes.

Can we get an option for X%:
"weigh GF/MF when it's X% and higher; ignore MF/GF as a stat if it's lower"?
Helms would need a socket to account for any MF/GF at all, Rings and Amulets could have a multiplier.

Or it's a terrible idea and I suck.
:rolleyes:
 
Last edited:
just update Db to 1.85 and something weird happened

my toon just walk to the npc where you normally buy potion from and start to sell all of the mythic potion and then get struck


edited working normally now after re activate the plugin
 
Last edited:
just update Db to 1.85 and something weird happened
my toon just walk to the npc where you normally buy potion from and start to sell all of the mythic potion and then get struck
edited working normally now after re activate the plugin

Yes, updating DB will de-activate the plugin. As will updating the plugin to new versions. And sometimes just at random when starting DB it disables plugins for me, at times. I always check the plugin tab after loading DB, every time, to make sure the plugins I need are always ticked :D
 
v1.6 uploaded:
-- Remade entire behavior tree of the stash routine. Stash routine now runs much more smoothly, and not "laggily".
-- Replaced DemonBuddy default salvage routine with a new, cleaner, simpler behavior tree. The new salvage routine is less laggy than the default DB one, but importantly - it stashes items one at a time (or rather, at a more believable human-like pace).
-- Note: DemonBuddy vendor routine is still in-place for selling/repairing, and has it's own issues and stuck-problems. I may replace this in a future version.

you are awesome! if only you could make my DB not crash at night lol.
 
my potions got vendored after the 185 DB update with this plug in. did it break?

.185 incorrectly treats potions as items with an item level of at least 60. There is currently no way to prevent them vendoring the potions except to remove the sell section of the loot-rules altogether, or until I re-code their sell system. I'll report it in the official thread. I would recommend using v.180 for now until .185 has been tested by others more fully, as there may be other bugs like this that cause it to handle things incorrectly.
 
.185 incorrectly treats potions as items with an item level of at least 60. There is currently no way to prevent them vendoring the potions except to remove the sell section of the loot-rules altogether, or until I re-code their sell system. I'll report it in the official thread. I would recommend using v.180 for now until .185 has been tested by others more fully, as there may be other bugs like this that cause it to handle things incorrectly.

how can i revert back?
 
Can you make a plugin with just the townrun part using our own lootrule which include keep salvage and stash? Currently it will not keep -req item because the value for them is pretty low due to the item level itself. Also would be great if you could add a checking whenever the bot in town on the inventory space where is empty slot < 10 then do the townrun to stash, salvage and sell instead of waiting for DB to check on all 40 slot to be full.
 
IMPORTANT NOTE ON NEWEST DEMONBUDDY .185:

DemonBuddy .185 has accidentally removed support for the "FollowerSpecial" itemType in rules files (a new feature added in .180).

Because of this, all rules files for this plugin are currently broke in .185, and will not load. (likewise any other rules utilising the new follower item support in DB 180). This causes your bot to not pick anything up, and to try and sell potions, with the attached rules files on the first post (since they are not loading, so DB is trying to run with no rules files at all).

I advise everybody to stick to version .180 DemonBuddy for now, as this may be a sign of other item-related issues from things being "accidentally deleted from the code"... but if you cannot revert to v180 (because you didn't backup your old copy when updating, something everybody should always do when updating DB, then you can try and remove all references to the FollowerSpecial in your rules files.

I have attached 4 rules files below without any follower item support in for those unable to edit loot-rules themselves. These will work with DB .185, but won't support follower items at all.
 
Last edited:
Not sure but it is not recognizing that my stash is full and won't go to vendor. Just keeps trying to pick up an item. I reinstalled DB and was still having problems. Went back to 1.5 and the problem went away.
 
Not sure but it is not recognizing that my stash is full and won't go to vendor. Just keeps trying to pick up an item. I reinstalled DB and was still having problems. Went back to 1.5 and the problem went away.
You mean backpack, not stash. And this is a random fault in DemonBuddy. I should probably add a note to the first post as a few people encounter this and think it might be the plugin! This plugin does not affect the pickup code at all. If your problem is picking an item up to put in backpack, this is entirely DB code. This plugin only kicks in once you teleport to town and identify your items. The plugin takes over the stash part, and the salvage part, nothing else!

Demonbuddy - at random - will mis-read an item's data. It will think a 1 slot item is 2 slot, a 2 slot item is 1 slot, and sometimes fail to register the item at all. This means - entirely at random - it can think you have more space in your backpack than you actually do. And so it can get stuck forever trying to pickup an item. Restarting DB can force it to re-read the items properly. Leaving & resuming the game can too (but would mean you lost the items trying to be picked up). There is no fix for DemonBuddy failing to read Diablo 3 memory at random - we have to wait for the DB team to fix this and endure these random problems for now. (an unstucker that detects you stuck in one place for XX time and relogs you may help you out, if DB's own Inactivity time setting is not working).
 
Last edited:
v1.6.1 Score Tweak Test Available Below:
I'm not uploading this to the main-post, as I want some feedback on this one from willing testers. I've changed scores for quite a few stats, I've added various checks in that check one stat against another (eg having good prime stat & vitality, makes other stats worth more, and vice-versa). I've added in some small points bonus for "armor bonus" (think this was the only slightly-valuable stat I didn't have before - plugin now checks 24 different stats on items). And I've added a minimum-of-max-possible to every single stat for a stat to give points (for example gold and magic find at 64% - which means if they have less than 64% of the max-possible, they get only a very small score for those stats, not counting the various bonuses for being paired with prime stat/vit or eachother... this means minimum of 12 magic find/16 gold find on a typical piece of armor etc.).

My hope is to rule out some of the stuff that would sometimes get stashed when actually it only sold for max 15k, and to start pushing the average prices to at least 100k "guaranteed sale" on everything if you use the default scores (70k weapons, 15k armor, 13.5k jewelry).

So far I'm very pleased with the output - it feels strict but in a good way (I kept checking items and thinking "It wants to junk that? No way!", then checking the auction house and seeing that actually items with better stats/extra stats were going for only 20k :P)... but I'd like some feedback from people willing to test scores out, and then go on the AH and search for these items to see if it's getting the majority right. If you find a particular set of stats that is DEFINITELY worth good gold (and is ACTUALLY SELLING - and check the actual stats of other listed items to make sure they are actually similar and not loads better!) but being listed as "Trash/junk", then please post here - screenshot of the item hosted on imgur.com would be great, if not just list the item type, all the important stats, and what sort of gold price you think it'd sell for at minimum (and what score my plugin was giving it).
 
Back
Top