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

[Plugin] Giles Stash & Loot Rule Replacer

Something in db needs to be fixed ASAP! each time there is an update i need to do a full clean install of DB in-order for it to load your stash plugin properly automatically.
anyway i just found this is in my keep log:
Code:
27/07/2012 21:35:05:
====================
Armor - Chest 'Cindercoat'. Score = 2142
  Vitality=51. Life %=4
Offhand - Shield 'Centurion'. Score = 8088
  Vitality=65. Sockets=1
They are legendaries ;) I left scoring in for them because I find it quite funny seeing what terrible scores some legendaries get :P

Giles,
Is there anyway to query the sell-to-merchant value of an item in your inventory? If so, then I was wondering if there might be a feature which allows you to set a threshold like 900g in which anything under that value is salvaged while anything over that value is sold to the vendor. The items deemed valuable enough to stash would be unaffected.
Not as far as I've seen, no, but I might have overlooked a stat somewhere - but I really don't think there is currently (I wouldn't put my life on it though, if anyone has spotted this variable, let me know ;) ).
 
These get stashed on 1.6.4, worth only ~10k

Armor - Gloves 'Defiant Armor'. Score = 16824
Intelligence=105. Vitality=82. Attack Speed %=6. +Highest Single Resist=33
 
Still getting problems after several re-installs of the whole DB.
all other plugins are working fine, it even keeps legendaries un-id in the inventory so nothing totally fucked up..
just all mats in the inventory, nothing saved to logs, plugin is checked as ON in the plugin tab.

im running with batch relogger, thing is it doesn't work like AGB or DBRelogger (gawdz) but it just runs DB with a command line - equal to opening DB with a shortcut.

from log file:

Code:
[00:18:35.450 D] There are 6 plugins.
[00:18:44.466 N] [Items] Loaded Item Rules: Giles Stash Replacer Plugin Rules - ilvl 61+ BLUE FOR CRAFT MATS - ONLY USE WITH PLUGIN ENABLED
[00:18:52.284 N] [Unstucker v2.2.0] Enabled.
[00:18:52.850 N] [GilesWorldObjectHandler 1.3.1] ENABLED: Giles World Object Handler is now in effect!
[00:18:53.302 N] [GilesStashReplacer 1.6.4] Enabled! Now replacing DB's stash routine.
[00:18:53.758 N] [GilesMonsterPriorityChanger 1.4.3] ENABLED: Giles monster priority changer now in effect!
[00:18:54.230 N] [DebuffsEvasion 0.4] Loading config.
[00:18:54.231 N] [DebuffsEvasion 0.4] DebuffsEvasion enabled.
[00:19:04.365 N] Current bot set to Order Bot
[00:19:04.365 N] Loaded profile [Act1 - Inferno] Champion-Hunting 1.8.1 by 5avage and Radonic

sent you the log.. looks weird as shit
 
Last edited:
sent you the log.. looks weird as shit
I'll take a look at the logs when I finish going through 4 bots with 3 pages each full of items tweaking scores even further for next test version ;)

Until then though - I want to try and rule out something altogether - can you try running DB "normally/manually" and see if it works fine? I want to see if DB bugs out when being loaded from command-line rather than "direct"? Just want to rule this out as a possible cause of problems or not, if you could please! :D
 
I'll take a look at the logs when I finish going through 4 bots with 3 pages each full of items tweaking scores even further for next test version ;)

Until then though - I want to try and rule out something altogether - can you try running DB "normally/manually" and see if it works fine? I want to see if DB bugs out when being loaded from command-line rather than "direct"? Just want to rule this out as a possible cause of problems or not, if you could please! :D

Sure ill give it a test.
sent you another log btw this time the salvaging is with diagnostic logging if it helps.

---- EDIT -----

Well... gj Giles, the problem is with the command line start.
ran this manually, filled stash with crap with a few slots empty to let it run for real.
picked up 2 items and did normal stash run as it should do, all mats and items in stash.

question is what can we do about this :\

----- EDIT 2 -----

Tried with DRelog (kane_49) - works properly.
 
Last edited:
Well... gj Giles, the problem is with the command line start.
ran this manually, filled stash with crap with a few slots empty to let it run for real.
picked up 2 items and did normal stash run as it should do, all mats and items in stash.
question is what can we do about this :\
Tried with DRelog (kane_49) - works properly.

I'm really glad we've discovered that command-line DB is causing bugs. It would explain the various bugs people have had with my other plugins too when using these DemonBuddy restarters/auto-runners, which I've never had myself.

teivovo, creator of "DB_Run: Command-line based Anti-Crash and Relogger" messaged me today and I've sent him what little info I know on this, he knows far more about command-line DemonBuddy and dos-stuff than I do though, so with this info HOPEFULLY teivovo will either be able to find a solution for this, or at least track down the exact issue so we can raise a support thread to the DB creators to fix it. Fingers-crossed. I'm just really glad we have at least found the problem isn't DIRECTLY with the plugin itself (I'm not ruling out the possibility that teivovo finds there is a better way for me to get my plugin's "current folder path" in my code that might also fix this problem when run from command-line, if he does find a solution for me I'll update it all!).

Update On These Random Issues:
It seems that running DemonBuddy from command-line, causes DemonBuddy to start running a routine BEFORE all plugins have finished loading - this has most problems with more complex plugins like mine, or plugins that load data-files/config-windows. We will need to wait for a fix from DemonBuddy if you want to use any Db reloggers/reloaders/restarters that use command-line - DemonBuddy either needs a delay after loading and before starting a routine, or a forced-safety check to not allow the bot to be started until all plugins have been compiled and loaded fully.
 
Last edited:
v1.6.5 Test Version:

Note: There is a new .xaml file to update too, alongside the main file, as I have added a "defaults" button to the config window to restore default scores.

Yet more fine-tuning of scores, narrowing down all the many weird wonderful and varied ways in which items were getting high scores for particular stat-combos but not actually being worth much. This is possibly/probably the final test version before the next full release - I imagine the new version of DemonBuddy will be out within the next 48 hours at most, and I'll release this plus any final score tweaks, fixed loot-rules, and anything else necessary to match the latest DB when that happens.

Until then - same as before - please let this run for a while (or do a load of manual backpack tests if you want). Once you've let it run for some hours, or an evening, go through both the stash and the new "junk" logs (the junk logs get made for each item salvaged, not sold, as I haven't over-written DB's sell code yet), and see if you can pick out any items that you believe either definitely should have been kept, or definitely should have been trashed (borderline cases will always be "iffy"). Be sure to check AH equivalent listings first, check the only things listed don't actually have a lot more stats/higher stats than what you input before jumping to the conclusion that what is listed is worth the same as what you are searching for, and then let me know the items, slots, stats, score the plugin gave, and rough AH value (if it's one to keep). Same as people already have been doing! Thanks :D

(BTW: Don't forget to use the rule files on post #337 of this thread with the test versions please, and use Db .180 or .185, the latest two versions)

Important note to people that use any DemonBuddy command-line loaders, eg batch-restarters
DemonBuddy currently starts running a routine before all plugins have been loaded into memory if loaded from command-line. This can cause random problems, bugs, and outright failures from any complex plugins that take more than a millisecond to load or plugins that need to load from external data-files (config files & windows). Please avoid using any command-line DemonBuddy launchers if you have many plugins or are using any of my plugins, until DemonBuddy updates to either allow a forced-delay in command-line before starting, or has safety checks to ensure all plugins are compiled and loaded before it can start a routine.
 
Last edited:
Hi Giles! i confirmed DBRelogger who aparently doesnt use commandline launch ISNT working, it does not load your plugin correctly and salvages everything!
 
Had a problem...came home and my character was trying to pick up same item over and over with full backpack. Looking at the logs this went on for the last 30 minutes.

The log file is huge, is there something specific you want to see from it?

Restarted everything and he went to do the normal sort/stash/sell/salvage behaviour
 
Had a problem...came home and my character was trying to pick up same item over and over with full backpack. Looking at the logs this went on for the last 30 minutes.

The log file is huge, is there something specific you want to see from it?

Restarted everything and he went to do the normal sort/stash/sell/salvage behaviour

1.6.4 btw
 
I have a problem with the plugin disenchanting the legendaries I find.
Yesterday I saw the bot pickup a legendary, went to watch the series "Rome", came back and saw a Fiery material in the backpack.
Today when I woke up I found out that I had no items in the stash, even though it had been running for 7 hours, but I had gotten yet another Fiery essence.

I am using DB v1.0.729.180, GilesMonsterPriorityChanger 1.4, GilesStashReplacer 1.6, GilesWorldObjectHandler 1.3.1 and NotificationOKClick Plugin, Yellow_Ilvl 61_pluginrules and using the profile "[Act1 - Inferno] Champion-Hunting 1.8.1 by 5avage and Radonic". I have the stasher set to Weapons 64200, Armor 13000, Jewelry 11400, so I find it really strange that nothing has gotten through over the course of 7-10 hours.
But the dissenchanting of the legendaries is my main concern, since I have yet to get a set item / legendary in 3-4 days.


Edit: Oh, and the legendary sword was an ilvl 61 item.
 
Last edited:
Had a problem...came home and my character was trying to pick up same item over and over with full backpack. Looking at the logs this went on for the last 30 minutes.
The log file is huge, is there something specific you want to see from it?
Restarted everything and he went to do the normal sort/stash/sell/salvage behaviour
Hi, this plugin is nothing to do with pickup. This is a bug within DemonBuddy itself and happens at random - nothing you can do about it, would happen even without any plugins in use and just a basic routine. We're all awaiting a new DB version which is meant to fix this item mis-reading problem :)

I have a problem with the plugin disenchanting the legendaries I find.
Yesterday I saw the bot pickup a legendary, went to watch the series "Rome", came back and saw a Fiery material in the backpack.
Today when I woke up I found out that I had no items in the stash, even though it had been running for 7 hours, but I had gotten yet another Fiery essence.
Edit: Oh, and the legendary sword was an ilvl 61 item.

Remember you can get fiery brimstone from normal item salvaging. BUT there are issues with DemonBuddy reading Diablo 3 memory and getting item information wrong (as above). I've noticed this especially with mis-reading item quality, see this post here about a little experiment I ran with a legendary item myself tracking this DB bug down;
[url]http://www.thebuddyforum.com/demonbuddy-forum/plugins/60523-plugin-giles-stash-loot-rule-replacer-7.html#post634660[/url] (post #272 of this thread)
 
Can you make it stash ALL Legendaries regardless of stats ?
Testing 1.65 now.
G
It does stash anything that is a legendary regardless of stats, it really does - but read the experiment I took linked in the post above (or click) - when I tracked the issue down DemonBuddy would not return ANYTHING on the item. The quality was listed as blue, the name was the name of another item which can sometimes come from your backpack, an equipped item, or even an item on sale in a nearby vendor. The stats were all blank. Even the internalname was listed wrong. There was no way at all for the plugin to detect it was a legendary, as DemonBuddy had everything about the item wrong (obviously it's memory pointer screwed up and was pointing at another item or a random block of memory). The only way to tell it was a legendary is by looking at Diablo 3 yourself with your own eyes - DB nor my plugin could do anything. We just really need DemonBuddy to fix this issue.
 
Hi, this plugin is nothing to do with pickup. This is a bug within DemonBuddy itself and happens at random - nothing you can do about it, would happen even without any plugins in use and just a basic routine. We're all awaiting a new DB version which is meant to fix this item mis-reading problem :)

Ok cool thanks! Lots of stuff db needs to update eh? Some of these db updates will be awesome when everything is working, esp random dungeons (imagine a act1 clear profile)


Idea: Sometimes I am finished a run with say half a backpack full. I would really love your cool program to do its town run code ie sort/stash/sell/salv etc. What do you think about a button in the config page that manually triggers the the town run code? This might help you too for testing.
 
Ok cool thanks! Lots of stuff db needs to update eh? Some of these db updates will be awesome when everything is working, esp random dungeons (imagine a act1 clear profile)
Idea: Sometimes I am finished a run with say half a backpack full. I would really love your cool program to do its town run code ie sort/stash/sell/salv etc. What do you think about a button in the config page that manually triggers the the town run code? This might help you too for testing.
Testing wise I just cheat and fill my backpack to full with items, then click start - and it'll immediately do the town-run and run to stash and I can watch it in action (and usually quickly hit "stop" before it salvages so I can manually check what it wants to salvage before it does it). Good reliable way to see the plugin is working! But profile wise, I think this needs to be down to the routine developers - and DB needs to add a "do townrun" command routine developers can slot in at various points in their profiles if they want. I don't see the point of it myself though, can sometimes do 3 or 4 runs of the act 1 inferno routine before it gets a full backpack, sometimes longer with bad luck, no point doing the town-run every loop!
 
Some questionable results with 1.6.4 (I know the version is not current, but still might be useful, so I'll post it =):
Voodoo mask 108 int 4% crit hit chance Light res 48 - kept, but worth around nothing =)
ring 71 dex 9% life - kept, worth nothing
chest 153 str 130 dex 360 armor - kept, worth at the very best 50-60k =)
Voodoo mask 73 str 23 fire res 20 gold find 4.5 crit - kept, worth nothing
helm 73 dex 66 vit 307 armor 4 crit - kept, worth nothing
2 hand sword 1306 DPS - worth around 100k, but probably won't sell anyway, probably should up the non_stats_dps to keep.
1h voodoo knife 842 dps 10 mana reg 86 crit dmg - around 200-300k if you look at ah, but these stats on a voodoo knife are rather useless, so I would think noone will buy this ever.
legs 91 dex +2 sock 13 MF 60 int 23 physRes - kept, worth nothing with 2 dex gems in it.

more:
ring 63 str + 1 sock 6% AS 92 LoH - kept, worth 50k max
shoulders 161 str 27 poisonRes 10% life 80 armor - kept, worth nothing
bow 834 DPS 52 crit dmg 1socket - kept, worth at very best 50k
bow 839 DPS 102 dex 300 vit 44 crit dmg - kept but noone will buy a bow for 300 vita, as a 100/100/40 bow it is worth around 50k max.
 
Last edited:
Also had a quick question about lootrules.
Using your lootrules modified for my needs, they look something like this:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<ItemRules name="Giles Stash Replacer Plugin Rules - ilvl 61+ YELLOW - ONLY USE WITH PLUGIN ENABLED" useRoundedValues="false">

 <Priority priority1="Sell" />

 <Categories>

  <!-- Pickup rules are still IMPORTANT with my plugin! -->
  <!-- They should focus purely on quality and item levels BUT NO OTHER STATS to help avoid DB bugs -->
  <Category ruleType="PickUp">
    <ItemRule itemName="Mythic Health Potion" stack="1" />
    <ItemRule itemName="Flawless Square Emerald" stack="1" />
   <ItemRule itemName="Flawless Square Amethyst" stack="1" />
   <ItemRule itemName="Flawless Square Ruby" stack="1" />
   <ItemRule itemName="Flawless Square Topaz" stack="1" />
   <ItemRule itemName="Tome of*" stack="1" />
   <ItemRule itemName="Gold" stack="50" />
   <ItemRule itemName="*Plan:*" stack="1" />
   <ItemRule itemName="*Design:*" stack="1" />
   <ItemRule description="Any rare item ilvl 61+">
     <StatRules>
       <Rule stat="Level" minValue="61" quality="Rare4" />
     </StatRules>
   </ItemRule>
   <!-- All blues 63 -->
   <ItemRule description="Any blue item ilvl 63+">
     <StatRules>
       <Rule stat="Level" minValue="63" quality="Magic1" />
     </StatRules>
   </ItemRule>
   <ItemRule itemBaseType="Jewelry" description="Jewelry ilvl 59+">
     <StatRules>
       <Rule stat="Level" minValue="59" quality="Rare4" />
     </StatRules>
   </ItemRule>
   <!-- All Legendary or Set items -->
   <ItemRule description="Any set or legendary">
    <StatRules>
     <Rule quality="Legendary" />
    </StatRules>
   </ItemRule>
  </Category>

  <!-- Sell category shouldn't be needed, but there to tidy up any junk that didn't make the salvage due to DB bugs -->
  <Category ruleType="Sell">
   <ItemRule description="Sell leftover junk">
     <StatRules>
       <Rule stat="Level" minValue="1" />
     </StatRules>
   </ItemRule>
  </Category>

 </Categories>

</ItemRules>
2 problems:
1) Always had this problem, the gold stack size doesn't actually work. It still goes for 300+ gold only.
2) With 1.6.5 it ignores the tomes, With 1.6.4 i used the full name "Tome of secrets", now I keep trying to make him recognize tomes, but he jujst won't pick em up.
 
agb with db townrun triggers infinite loot bug, any quick solutions?
 
Also had a quick question about lootrules.
Using your lootrules modified for my needs, they look something like this:
1) Always had this problem, the gold stack size doesn't actually work. It still goes for 300+ gold only.
2) With 1.6.5 it ignores the tomes, With 1.6.4 i used the full name "Tome of secrets", now I keep trying to make him recognize tomes, but he jujst won't pick em up.

1) World Object Handler ;) It has a config option for minimum gold stack size to pickup. DemonBuddy itself doesn't actually support gold-stack sizes. World Object handler lets you control it though. It defaults to 300. Check the config window for that plugin.
2) Make sure the item rule for tomes is; <ItemRule itemName="Tome of*" stack="1" /> or just try with the loot-rules I provided and see if they work, to rule out your own custom-loot-rules being buggy rather than 1.6.5 of the plugin being buggy.


agb with db townrun triggers infinite loot bug, any quick solutions?

DB item pickup is a bit buggy/rubbish atm. I'm currently working on an item pickup replacement routine as part of the next version of stash replacer, but also a new feature that'll work in conjunction with a new feature of my world object replacer to allow me to do away with item rules altogether and have the plugin control everything from pickup to backpack full checking to town-run to stashing to salvaging. Watch this space!
 
Back
Top