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

[Plugin] Giles Stash & Loot Rule Replacer

Atm gets stuck when it goes to stash, stashes gems and tombs and when it gets to the items (all are crap) it doesn't go salvage just stands in stash.
ill get log l8r atm at work

-- edit--
gets stuck because it can't stash, it manually stashed the gems and stuff left in the inventory and then it went salvage, after it got stuck with the materials in inventory wouldnt stash.
 
At first thanks for the great plugin!
Unfortunately its the same problem here, I'm using AGB with the Demonbuddy townrun option.

Townrun starts, some gems and tomes are stashed (but not all), It starts to judge the items and continues to do so.
Code:
[10:15:37.558 V] [ItemRules] Matched Untarnished Ring of Severing with rule: Salvage Junk Jewelry:Salvage
[10:15:37.558 V] [ItemRules] Matched Potent Doom Armor of the Fortress with rule: Salvage junk weapons and armor:Salvage
[10:15:37.558 V] [ItemRules] Matched Worthy Saif of Extermination with rule: Salvage junk weapons and armor:Salvage
[10:15:37.558 V] [ItemRules] Matched Deadly Ring with rule: Salvage Junk Jewelry:Salvage
[10:15:37.558 V] [ItemRules] Matched Potent Archon Spaulders of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:37.573 V] [ItemRules] Matched Glistening Clasp with rule: Salvage junk weapons and armor:Salvage
[10:15:37.573 V] [ItemRules] Matched Worthy Warlord Gauntlets of the Fortress with rule: Sell leftover junk:Sell
[10:15:37.573 V] [ItemRules] Matched Exsanguinating Conquest Staff of Valor with rule: Salvage junk weapons and armor:Salvage
[10:15:37.573 V] [ItemRules] Matched Stalwart Aegis of Pain with rule: Salvage junk weapons and armor:Salvage
[10:15:37.573 V] [ItemRules] Matched Heavy Baldric of Hurling with rule: Salvage junk weapons and armor:Salvage
[10:15:37.589 V] [ItemRules] Matched Potent Ring with rule: Salvage Junk Jewelry:Salvage
[10:15:37.589 V] [ItemRules] Matched Undying Sanctified Quiver of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:37.589 V] [ItemRules] Matched Cruel Amulet of Omens with rule: Salvage Junk Jewelry:Salvage
[10:15:37.589 V] [ItemRules] Matched Exsanguinating Sniper Bow of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:37.605 V] [ItemRules] Matched Untarnished Aegis of Omens with rule: Salvage junk weapons and armor:Salvage
[10:15:37.605 V] [ItemRules] Matched Ransacking Armwraps with rule: Sell leftover junk:Sell
[10:15:37.605 V] [ItemRules] Matched Hermetic Archon Gauntlets of Glory with rule: Salvage junk weapons and armor:Salvage
[10:15:37.605 V] [ItemRules] Matched Champion Stonebow of Discord with rule: Salvage junk weapons and armor:Salvage
[10:15:37.620 V] [ItemRules] Matched Socketed Goedendag of Discord with rule: Salvage junk weapons and armor:Salvage
[10:15:37.620 V] [ItemRules] Matched Prosperous Archon Gauntlets of Glory with rule: Salvage junk weapons and armor:Salvage
[10:15:37.636 V] [ItemRules] Matched Socketed Heavy Cranequin of Infinity with rule: Sell leftover junk:Sell
[10:15:37.636 V] [ItemRules] Matched Grim Sovereign Staff of Smiting with rule: Salvage junk weapons and armor:Salvage
[10:15:37.652 V] [ItemRules] Matched Sheltering Ghost Sight of Valor with rule: Salvage junk weapons and armor:Salvage
[10:15:37.652 V] [ItemRules] Matched Triumphant Runic Arcus of Frost with rule: Salvage junk weapons and armor:Salvage
[10:15:37.652 V] [ItemRules] Matched Gruesome Hellion Crossbow of Conflagration with rule: Salvage junk weapons and armor:Salvage
[10:15:37.667 V] [ItemRules] Matched Socketed Saif of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:37.667 V] [ItemRules] Matched Undying Doom Armor of the Gladiator with rule: Salvage junk weapons and armor:Salvage
[10:15:37.683 V] [ItemRules] Matched Vigorous Pallium of Omens with rule: Salvage junk weapons and armor:Salvage
[10:15:43.183 V] [ItemRules] Matched Untarnished Ring of Severing with rule: Salvage Junk Jewelry:Salvage
[10:15:43.183 V] [ItemRules] Matched Potent Doom Armor of the Fortress with rule: Salvage junk weapons and armor:Salvage
[10:15:43.183 V] [ItemRules] Matched Worthy Saif of Extermination with rule: Salvage junk weapons and armor:Salvage
[10:15:43.183 V] [ItemRules] Matched Deadly Ring with rule: Salvage Junk Jewelry:Salvage
[10:15:43.198 V] [ItemRules] Matched Potent Archon Spaulders of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:43.198 V] [ItemRules] Matched Glistening Clasp with rule: Salvage junk weapons and armor:Salvage
[10:15:43.198 V] [ItemRules] Matched Worthy Warlord Gauntlets of the Fortress with rule: Sell leftover junk:Sell
[10:15:43.198 V] [ItemRules] Matched Exsanguinating Conquest Staff of Valor with rule: Salvage junk weapons and armor:Salvage
[10:15:43.198 V] [ItemRules] Matched Stalwart Aegis of Pain with rule: Salvage junk weapons and armor:Salvage
[10:15:43.214 V] [ItemRules] Matched Heavy Baldric of Hurling with rule: Salvage junk weapons and armor:Salvage
[10:15:43.214 V] [ItemRules] Matched Potent Ring with rule: Salvage Junk Jewelry:Salvage
[10:15:43.214 V] [ItemRules] Matched Undying Sanctified Quiver of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:43.214 V] [ItemRules] Matched Cruel Amulet of Omens with rule: Salvage Junk Jewelry:Salvage
[10:15:43.214 V] [ItemRules] Matched Exsanguinating Sniper Bow of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:43.230 V] [ItemRules] Matched Untarnished Aegis of Omens with rule: Salvage junk weapons and armor:Salvage
[10:15:43.230 V] [ItemRules] Matched Ransacking Armwraps with rule: Sell leftover junk:Sell
[10:15:43.230 V] [ItemRules] Matched Hermetic Archon Gauntlets of Glory with rule: Salvage junk weapons and armor:Salvage
[10:15:43.245 V] [ItemRules] Matched Champion Stonebow of Discord with rule: Salvage junk weapons and armor:Salvage
[10:15:43.245 V] [ItemRules] Matched Socketed Goedendag of Discord with rule: Salvage junk weapons and armor:Salvage
[10:15:43.245 V] [ItemRules] Matched Prosperous Archon Gauntlets of Glory with rule: Salvage junk weapons and armor:Salvage
[10:15:43.261 V] [ItemRules] Matched Socketed Heavy Cranequin of Infinity with rule: Sell leftover junk:Sell
[10:15:43.261 V] [ItemRules] Matched Grim Sovereign Staff of Smiting with rule: Salvage junk weapons and armor:Salvage
[10:15:43.277 V] [ItemRules] Matched Sheltering Ghost Sight of Valor with rule: Salvage junk weapons and armor:Salvage
[10:15:43.292 V] [ItemRules] Matched Triumphant Runic Arcus of Frost with rule: Salvage junk weapons and armor:Salvage
[10:15:43.292 V] [ItemRules] Matched Gruesome Hellion Crossbow of Conflagration with rule: Salvage junk weapons and armor:Salvage
[10:15:43.308 V] [ItemRules] Matched Socketed Saif of Assault with rule: Salvage junk weapons and armor:Salvage
[10:15:43.308 V] [ItemRules] Matched Undying Doom Armor of the Gladiator with rule: Salvage junk weapons and armor:Salvage
[10:15:43.323 V] [ItemRules] Matched Vigorous Pallium of Omens with rule: Salvage junk weapons and armor:Salvage
 
Atm gets stuck when it goes to stash, stashes gems and tombs and when it gets to the items (all are crap) it doesn't go salvage just stands in stash.
ill get log l8r atm at work

-- edit--
gets stuck because it can't stash, it manually stashed the gems and stuff left in the inventory and then it went salvage, after it got stuck with the materials in inventory wouldnt stash.

Same happening for me, since 1.4
 
Atm gets stuck when it goes to stash, stashes gems and tombs and when it gets to the items (all are crap) it doesn't go salvage just stands in stash.
ill get log l8r atm at work

-- edit--
gets stuck because it can't stash, it manually stashed the gems and stuff left in the inventory and then it went salvage, after it got stuck with the materials in inventory wouldnt stash.

same here, using 1.4, have to manually stash the gems/mats then it starts moving again
 
Hmmm, 1.4 uses the new stashing behavior tree that .180 DemonBuddy uses. Runs fine over here... I'll see if I can find out what's happening, but will need logs with diagnostic level logging!

At first thanks for the great plugin!
Unfortunately its the same problem here, I'm using AGB with the Demonbuddy townrun option.Townrun starts, some gems and tomes are stashed (but not all), It starts to judge the items and continues to do so.
Was it just an endless loop of "ItemRules" stuff? No mention of "GilesStashReplacer" in the logs anywhere? That to me looks suspiciously like the stash replacer plugin isn't "in control". Do you have a longer log available from the point the town-run started (eg when items were being identified) all the way up to the point it got stuck?

Code:
[06:44:46.515 D] [GilesStashReplacer 1.4] Stash attempt on item: 'Tome of Secrets' [Crafting_Training_Tome-19 - CraftingMaterial]. Stackable=True. TwoSlots=False
[06:44:46.750 D] Moving item args: <itemId:2023882965, ownerId:2023424064, InventorySlot:PlayerSharedStash, column:4, row:29>
[06:44:47.640 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
   at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
   at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
   at Zeta.Internals.Actors.ACD.()
   at Zeta.Internals.Actors.ACDItem.ParseItemTable()
   at GilesStashReplacer.GilesStashReplacer.GilesStashAttempt(ACDItem item)
   at GilesStashReplacer.GilesStashReplacer.HandleItemStashing(ACDItem item)
   at GilesStashReplacer.GilesStashReplacer.DealWithKeepItemProperly(Object ctx)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.Decorator..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.Decorator..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.Decorator..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.CommonBot.BotMain.()
[06:44:48.062 V] [ItemRules] Matched Glittering Hoplon of Spikes with rule: Sell leftover junk:Sell
Firstly, the other bugs you posted mean exactly what they said - you didn't have the plugin installed to the correct directory! Looks like you fixed that error though. The one above - now THAT'S an ugly looking bug that seems to be related directly to DemonBuddy. The plugin has told DemonBuddy to make sure the item stats are correct, DemonBuddy has gone to read the memory, and it's failed. This is literally just DemonBuddy being a complete spaz at reading item info :(

Yeah
1.4 is broken somehow ;-/
same here, using 1.4, have to manually stash the gems/mats then it starts moving again

Don't suppose you could give me (can forum PM if you don't want to post in "public view") Demonbuddy logs that cover the town-run routine could you? If you want to try and force it to happen and have a short log, a very simple way is;
1: Fill your backpack up. Doesn't matter if it's with items, craft materials or both. You can even hold shift and click some stacks to split the stacks up just to totally fill your backpack.
2: Stand a small way away from the stash (and away from the blacksmith!).
3: Start DemonBuddy up, make sure a loot-rules file and the plugin are enabled.
4: Click start and a town-run routine will instantly start you'll know it's working because it should run to the stash before anything else.

Get ready to click "Stop" again if you want to prevent a blacksmith visit (up to you), but if you can get it stuck doing this, then the full log-file from the time you opened DemonBuddy to the point of it getting stuck would be very useful, and should be a relatively small log (since you only just opened DemonBuddy).

Thanks!
 
Last edited:
Firstly, the other bugs you posted mean exactly what they said - you didn't have the plugin installed to the correct directory! Looks like you fixed that error though.
Thanks!

I have plugin installed in the proper directory. Let me clear it up for you.

1. start demonbuddy
2. disable GilesStashReplacer plugin
3. enable GilesStashReplacer plugin

Log:
Code:
[12:50:39.640 N] [GilesStashReplacer 1.4] Disabled! Now restoring DB's stash routine.
[12:50:40.828 N] [GilesStashReplacer 1.4] Enabled! Now replacing DB's stash routine.

Everything is completly ok in this case = plugin installed in proper directory.

Now lets do this:
1. load profile from C:\demonbuddy\Profiles directory
2. disable GilesStashReplacer plugin
3. enable GilesStashReplacer plugin

Log:
Code:
[12:53:15.531 N] Loaded profile [Act1 - Inferno] Champion-Farming 1.5.1 by 5avage
[12:53:19.828 N] [GilesStashReplacer 1.4] Disabled! Now restoring DB's stash routine.
[12:53:20.625 N] [GilesStashReplacer 1.4] Fatal Error - cannot enable plugin. Invalid path: C:\demonbuddy\Profiles\Plugins\GilesStashReplacer\
[12:53:20.625 N] [GilesStashReplacer 1.4] Please check you have installed the plugin to the correct location, and then restart DemonBuddy and re-enable the plugin.
[12:53:20.625 N] [GilesStashReplacer 1.4] Plugin should be installed to \<DemonBuddyFolder>\Plugins\GilesStashReplacer\

As you can see loading profile from profile directory messed something with the path to plugin directory. It thinks plugin should be in C:\demonbuddy\Profiles\Plugins\GilesStashReplacer\ instead of C:\demonbuddy\Plugins\GilesStashReplacer\

Same thing happens in this case:

1. load rules file
2. disable GilesStashReplacer plugin
3. enable GilesStashReplacer plugin

Log:
Code:
[12:56:41.640 N] [Items] Loaded Item Rules: Giles Stash Replacer Plugin Rules - ilvl 61+ BLUE FOR CRAFT MATS - ONLY USE WITH PLUGIN ENABLED
[12:56:45.515 N] [GilesStashReplacer 1.4] Disabled! Now restoring DB's stash routine.
[12:56:46.312 N] [GilesStashReplacer 1.4] Fatal Error - cannot enable plugin. Invalid path: C:\demonbuddy\Rules\Plugins\GilesStashReplacer\
[12:56:46.312 N] [GilesStashReplacer 1.4] Please check you have installed the plugin to the correct location, and then restart DemonBuddy and re-enable the plugin.
[12:56:46.312 N] [GilesStashReplacer 1.4] Plugin should be installed to \<DemonBuddyFolder>\Plugins\GilesStashReplacer\

Again loading rules file messed up something.

Hope this explanation is clear for you now.
 
I have plugin installed in the proper directory. Let me clear it up for you.
1. start demonbuddy
2. disable GilesStashReplacer plugin
3. enable GilesStashReplacer plugin

Yes, perfect, that makes much more sense now thanks! Could you try the attached version to see if it fixes that error please? :D
 
Last edited:
Using v1.4.1 with blue_ilvl61_PluginRules

When the bags are full, my character stands by the stash and nothing happens. He does not manage to deposit anything and eventually the log's inactivity logs him out.

Log file:
log - Pastebin.com

Edit: Works when I manually deposit the gems/essences/everything that stacks, apparently. Not sure how to fix.
 
Last edited:
Using v1.4.1 with blue_ilvl61_PluginRules
When the bags are full, my character stands by the stash and nothing happens. He does not manage to deposit anything and eventually the log's inactivity logs him out.
Log file:
log - Pastebin.com
Edit: Works when I manually deposit the gems/essences/everything that stacks, apparently. Not sure how to fix.

Hey thanks very much for the log. This gives me something to work on, hopefully I can track this bug down. It's really hard tracking down a bug that I can't make happen on any of my own bots, these log-files are all I have to go by! :D
 
Hey thanks very much for the log. This gives me something to work on, hopefully I can track this bug down. It's really hard tracking down a bug that I can't make happen on any of my own bots, these log-files are all I have to go by! :D

Naw, thank you for your work on this.

This is a log from forcing a stash run by filling the inv like so
jI9NO.webp

log2 - Pastebin.com

Iin the log, I've manually deposited the stackable items while the bot was running and included a backpack test score.

I have no protected bag slots and have Stash Potions enabled.

After depositing every possible stacklable item, the bot runs fine and had no problems depositing the savaged materials on its own (this time, but last time I had to manually deposit them as well)

Hope it helps.
 
Last edited:
It helped a lot, I think I have fixed the bug! Will update new version within the next hour or so, just going to test the fixes to make sure nothing is broken before I release it! "Yay!" (hopefully not a premature yay!) :D
 
It helped a lot, I think I have fixed the bug! Will update new version within the next hour or so, just going to test the fixes to make sure nothing is broken before I release it! "Yay!" (hopefully not a premature yay!) :D

With bated breath :)
 
v1.4.2 uploaded:
v1.4.2:
-- Fixed bug with trying to stash stackable items in certain circumstances.
v1.4.1:
-- More reliable pathing to the plugin directory. Should not cause errors about invalid directory if you load a new profile/loot-rule and then enable the plugin.

People who were having issues with it stashing stackable items, please try new version and let me know how that works for you. If you still have issues stashing, please post full diagnostic logs from the point of the bot returning to town! :)
 
Hey again Giles upgrading to .180 seemed to fix my issue with the loot rules not properly loading into DB also the test backpack scores works now on top of it so im guessing it was just my DB that was the issue testing out the new version ill be sure to let ya if i run into any issues thanks for the update keep up the good work finally testing this out im very excited :D
 
hey Giles first of all thx for the super plugin, i have 2 issues until now.
1. as u mentioned on the first page, if i'd like to use ur plugin with AGB, i have to check the "use demonbuddy townrun", but i can't find the option in AGB 7.0 config.
2. my bot just dismantled automaticly a pair of natalya shoes by the last stash townrun.... shouldn't all legendary be keeped? btw i'm using ur lv61 yellow lootrule.
 
Last edited:
Back
Top