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

[Plugin] Giles Stash & Loot Rule Replacer

alright, i gave this a try with my russian client because some1 in this thread told me that itll work anyway. so my barb ended up running through town for seven hours, inventory filled, and posting this message:
/so it wont natively work with russian language. guess ill have to use the russian loot rules again (which suck so hard). damnit :S
Dont think that's caused because of russian, think that's something else. 1.8.2 coming up very soon (within the hour), give that a try and see if that solves it for you, I found an issue with DemonBuddy trying to tell my plugin that vendor A was closest, then vendor B, then vendor A - so it ran back and forth between the 2. 1.8.2 will hopefully fix the issue with people being stuck in town running a very short distance over and over between 2 vendors.

Also just double-check the "compatibility" section of post 1, and common problems - just incase it's something else obvious causing issues (but wait for 1.8.2 first ;D ).
 
People getting stuck running around at stash:
I've had 4 bots running overnight set to loot everything and salvage to see if they broke, woke up they're all running smoothly still, so look like I'll either have to get some logs or do some blind-debugging to try and replicate the issue of it running back and forth infront of the stash! Those of you getting the back&forth infront of stash - would you mind filling your backpacks with random junk (just buy off a vendor or something) and see how easily or not you can force it to happen? Just fill your backpack so it has no 2-slot-spaces free at all, and try with both setting bot to salvage and setting it to sell... click start and tell me at what point it gets stuck - does it reach the vendor then get stuck running back and forth trying to go to the portal at the end, does it to go salvage first fine then get stuck before it reaches the vendor... can you describe the order of actions as best you can so I can pin down where it's happening? Thanks!

[url]http://webchat.quakenet.org/#[/url]

Before the servers went down, I tested this, and it would only happen during the selling step, salvaging works fine.

The bot would pace back and forth (10-15 yard total move distance) just a bit away from stash.

The best way to describe the behavior is that it's similar to when a sell vendor doesn't exist (like in act2) and the bot tries to sell stuff/repair.
 
Dont think that's caused because of russian, think that's something else. 1.8.2 coming up very soon (within the hour), give that a try and see if that solves it for you, I found an issue with DemonBuddy trying to tell my plugin that vendor A was closest, then vendor B, then vendor A - so it ran back and forth between the 2. 1.8.2 will hopefully fix the issue with people being stuck in town running a very short distance over and over between 2 vendors.

Also just double-check the "compatibility" section of post 1, and common problems - just incase it's something else obvious causing issues (but wait for 1.8.2 first ;D ).

well... thx for your reply. but what could it be? its a fresh installation... things will work "fine" if i use the standard russian loot rules. but i'd like to use your program because i think its brilliant.

if i look into my look i see this posted over and over again:
[12:50:11.250 V] [ItemRules] Matched Летящая маска with rule: Legendary items!:Keep
[12:50:11.250 V] [ItemRules] Matched Кровопийственный рубец with rule: Legendary items!:Keep
[12:50:11.250 V] [ItemRules] Matched Крюки основы with rule: Legendary items!:Keep
[12:50:11.250 V] [ItemRules] Matched Высекатель потасовки with rule: Legendary items!:Keep
[12:50:11.250 V] [ItemRules] Matched Чеботы мятежа with rule: Legendary items!:Keep
[12:50:11.250 V] [ItemRules] Matched Лучина жертвы with rule: Legendary items!:Keep
[12:50:11.250 V] [ItemRules] Matched Звездные кольчужные поножи with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Внушающие страх крылья with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Держатели нашествия with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Нещадный наплеч обороны with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Искажение крови богов with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Изысканный артефакт with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Нещадный принуждатель with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Скрепы излечения with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Монархический прицел with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Черный жезл происхождения with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Охотник корней with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Победа ядра with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Странная корона with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Пик укрытия with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Рыцарский шлем спасителя with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Вершина неповиновения with rule: Legendary items!:Keep
[12:50:11.265 V] [ItemRules] Matched Губительная угроза with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Воители морока with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Брюки прозрения with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Мусорные путы with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Монархический сотрясатель with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Сверхстойкая блуза with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Отмщение милости with rule: Legendary items!:Keep
[12:50:11.281 V] [ItemRules] Matched Гурт убийцы with rule: Legendary items!:Keep
[12:50:11.671 V] Using power Axe_Operate_Gizmo clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2061435007
[12:50:24.453 D] Done vendoring.

it wont even stash the stuff it picked, the whole inventory is filled with identified rares but it seems it doesnt know what to do with it. guess ill wait for your next update!
 
well... thx for your reply. but what could it be? its a fresh installation... things will work "fine" if i use the standard russian loot rules. but i'd like to use your program because i think its brilliant.
if i look into my look i see this posted over and over again:
it wont even stash the stuff it picked, the whole inventory is filled with identified rares but it seems it doesnt know what to do with it. guess ill wait for your next update!
Those "[ItemRules]" lines are generated by DemonBuddy when matching items against your rules files. So it's a sign that either;
- The plugin isn't loaded properly (you using any reloggers/batch starters? Check compatibility section of 1st post... try load DB manually and wait for plugins to load before starting).
- You use a plugin with custom pickup code (AGB or Inrego Sarkoth, Stove Goblin hunter, again check compatibility section of 1st post)
- You have picked the option in plugin "Use Custom Pickup Loot Rules" so DemonBuddy is using loot-rules, instead of my plugin picking items (which you need to do if using the plugins mentioned above).
 
v1.8.2 Uploaded:
-- Item pickup levels now correct (61+ now loots ilvl 61, 62 and 63, not treated as 62+).
-- No longer uses "closest vendor" method which could cause running back and forth in town over and over as DB kept picking different sell-merchants.
 
alright, i just updated to 1.8.2!

plugins i am using:
-monster priority changer
-world object handler
-stash & loot rule replacer
-unstucker v2.2.

running these with the act 1 farming profile. lets see how it goes!
 
v1.8.2 Uploaded:
-- Item pickup levels now correct (61+ now loots ilvl 61, 62 and 63, not treated as 62+).
-- No longer uses "closest vendor" method which could cause running back and forth in town over and over as DB kept picking different sell-merchants.

[/QUOTE]People picking up all grey items/all items possible:
If you have AGB Sarkoth, Inrego Sarkoth, or Stove Treasure Goblin then there is your problem, check the "Compatibility" section of the 1st post for a solution (hint: It involves using custom loot-rules). Or are you using any kind of relogger/batch starter/command-line-tool to load DemonBuddy? They can cause problems, because if DemonBuddy is loaded from a command, then it starts the routine immediately without waiting for plugins to finish loading. If you don't use one of those things, then double-check you have ticked "Use Giles Filters Below", check the plugin is installed correctly (check installation instructions on post 1 follow exactly, check folder names!), see if the "StashReplacer.cfg" file in the plugin folder is being created and lists all of your settings correctly, and failing all else, please post again and tell me it's picking up whites, you've tried all these things, and then list your other plugins - I may need you to send me a logfile too! :D.[/QUOTE]

Hey man,

Thanks for the speedy fixing of vendoring items, I'm at work at the moment and I reverted back to the odd version this morning due to mine looting liturally all gray and white items.

I tried the following:

Installing plugin's again, fresh db install, crying (jokes ;P)

I run the following addons:

Giles .... EVERYTHING ;p (ie. all your addons)

Keep 63's - http://www.thebuddyforum.com/demonb...292-keep-63-ilvl-unidentified.html#post651438

Combat Profile - http://www.thebuddyforum.com/demonbuddy-forum/combat-routines/58270-belphegor-test-release.html

Combat improvement - http://www.thebuddyforum.com/demonbuddy-forum/plugins/63318-ticks-per-second.html


I will try the new version but when i get back but if you havnt changed anything to do with white/greys then Im really not sure what to do next to try and fix the problem.

Xeno!
 
Hey Giles,

I just did fresh 180 install with only your plugins : MonsterPriorityChanger, Stashreplacer 1.8.2, WorldObjectHandler. It still loots everything from white trash to rares.

here is a screen: giles.webp

and if you need a log file please explain me where to find it and i sent it to you :o)
 
Last edited:
Hey Giles,
I just did fresh 180 install with only your plugins : MonsterPriorityChanger, Stashreplacer 1.8.2, WorldObjectHandler. It still loots everything from white trash to rares.
here is a screen:View attachment 49671
and if you need a log file please explain me where to find it and i sent it to you :o)
Are you using any form of command-line launcher, restarter or relogger? Have you tried running DemonBuddy "Manually" (the normal way), waiting for plugins to load (you'll see messages in log about my stash replacer being locked & loaded as of version 1.8.2, and you can also click the plugins tab in DB and wait for them to appear there), and seen if it works ok? And have you selected "Use Giles Filters Below" in config window of stash replacer?
 
Could you list your other plugins/routine please? Or are you using any kind of relogger/batch starter/command-line-tool to load DemonBuddy? They can cause problems, because if DemonBuddy is loaded from a command, then it starts the routine immediately without waiting for plugins to finish loading.

I am running act 1 champ farm with GilesMonsterPriorityChanger,GilesWorldObjectHandler, Unstucker v2.2.0, DebuffsEvasion and of course GilesStashReplacer.... any ideas?
 
I am running act 1 champ farm with GilesMonsterPriorityChanger,GilesWorldObjectHandler, Unstucker v2.2.0, DebuffsEvasion and of course GilesStashReplacer.... any ideas?
Thank you :)
 
Are you using any form of command-line launcher, restarter or relogger? Have you tried running DemonBuddy "Manually" (the normal way), waiting for plugins to load (you'll see messages in log about my stash replacer being locked & loaded as of version 1.8.2, and you can also click the plugins tab in DB and wait for them to appear there), and seen if it works ok? And have you selected "Use Giles Filters Below" in config window of stash replacer?

No i was using Drelog from Kane, but was looting white so i decided to fresh install. I run it manually activating plugins and waiting for them to activate, and yes "Use Giles Filters Below" is ticked. I also use DB180\Lootrules\_GilesStashReplacerRules.xml
 
Last edited:
also what i noticed... it wont loot potions with russian client.

mystic health potion = "Мифическое зелье здоровья"

can i just put it into this line: if (sThisInternalName.StartsWith("healthpotion_")) return GilesItemType.HealthPotion; ?
 
No i was using Drelog from Kane, but was looting white so i decided to fresh install. I run it manually activating plugins and waiting for them to activate, and yes "Use Giles Filters Below" is ticked. I also use DB180\Lootrules\_GilesStashReplacerRules.xml

When you start demonbuddy and log in, you need to literally just wait for the plugins to load before doing anything.

If you hit "Start" it'll break them and they can't even be manually activated.
If you move to the "Plugins" tab before the load, it'll break them and they can't even be manually activated.
 
If you still get a lot after a fresh reinstall, do a single run-through champ hunting and then if you could find a way to send me the entire log that'd be great (either a .zip attachment here, a file on dropbox, a paste in a site like pastebin) - you can forum PM me if you don't want to put it here. I'd like to have a look to see if there's something particular causing your errors, and maybe I can help with them! Though I do know that for whatever reasons, some people just experience more memory-read-issues with DemonBuddy than others, and you might just be one of the unlucky ones! :(

Just did a fresh DB install, only using your plugins. Seems like I'm getting alot less GSErrors now. Previously it did like 20+ Errors each run, now it's down to 5. :)
If you still want to take a look, here is a log from one full champ farming run.
 

Attachments

I have just updated the "Compatibility" and the "Common Problems & Causes" sections of the 1st post. This will solve most people's problems. Please read them before posting about problems. :D They aren't just me telling you to reboot your PC, they really are all the causes and solutions I and other people have found so far, plus some general tips. I will post them again below just to make sure people do read through them now they are updated!

3: Compatibility:
This plugin replaces parts of DemonBuddy's item-looting behavior tree, and huge parts of DemonBuddy's town-run/vendor-run behavior tree. Any plugins with custom item pickup code, custom town-run handling etc. will likely cause problems.

Batch-Restarters/Auto-Launcher/Reloggers/Command-Line-Launchers:
Some batch restarters, auto-reloggers, and command-line launchers currently bug DemonBuddy out with large plugins, as DemonBuddy tries to run a routine the instant it loads without waiting for plugins to be loaded. If you have problems and use one of these, please try running DemonBuddy manually the normal way to see if that fixes it, and check the threads of any relogger/launcher application you use to see if they have an update or a fix for this.

Stove's Goblin Hunter, Kane's AGB Sarkoth, Inrego's Fastest Sarkoth Plugins:
These are 3 plugins I know of that use custom item-pickup code, that will interfere with mine. You can still use those plugins, but you will need loot-rules that filter out items and NOT use world object handler plugin option to ignore loot-rules. Try the loot rules here:
[url]http://www.thebuddyforum.com/demonbuddy-forum/plugins/60523-plugin-giles-stash-loot-rule-replacer-9.html#post640304[/url] (post #337 of this thread), or ask the creator of the plugin you use to offer a version without custom item pickup :)

Incubus Custom Combat Routine:
Some people using this fork of Belphegor say it causes problems because you have to start DemonBuddy instantly - which means plugins don't have time to load.

Other Plugins:
There are many plugins out there. If you have problems, please list all plugins you use. Note that many people still use "NotificationOKClicker" and "Unstucker" - these are now old, have not been updated, and can cause various problems. DemonBuddy has it's own built in notification clicker, and an unstucker (though not a very good one at the moment), and an inactivity timer (measured in minutes, on your settings tab).


4: Common Problems & Causes:
Random Problems:
First check the compatibility section above, particulaly regarding any auto-loader etc. and rule those problems out. Then please try a new, CLEAN install of DB - honestly, quite a few problems are fixed by installing a clean version of DemonBuddy in a new folder, rather than simply over-riding the old DemonBuddy folder with an update, and then installing the latest version of any plugins you use. Always try this first if you have major problems. Also, please ensure you installed it in a folder called "GilesStashReplacer", in your "Plugins" folder. NOT a folder called "GilesStashReplacer v1.8" or anything else, JUST "GilesStashReplacer". Also make sure both the .cs file and the .xaml file are within that folder.

Picking Up White Items:
If you AREN'T using a plugin with custom pickup code, and AREN'T using any form of auto-launcher for DemonBuddy, then check these things:
1: Make sure you aren't at the login-screen when you load DemonBuddy. If you are, then plugins do not load (I know, right!?!?).
2: Make sure the plugin is loaded before clicking start in DemonBuddy. Click the plugins tab - when the plugins appear, then they are loaded. DemonBuddy can sometimes take 5-10 seconds to load all plugins in. ALWAYS wait for them to load before starting. Incubus Custom Combat Routine (see compatibility section) may cause problems with this.
3: Make sure you have selected "Use Giles Filters Below" in the config window. Only select "Use Custom Pickup Loot Rules" if you are using an incompatible plugin (see above section), or are an advanced user and want your own loot-rules to be used.
4: Check the config file is being created properly - check the plugin folder and open "StashReplacer.cfg" - check it has your selected options in, and isn't a blank file.

Salvaging/Selling Legendaries:
Sadly this is a bug within DemonBuddy itself, and would happen even without any plugins - it happens because DemonBuddy sometimes fails to read Diablo 3 memory correctly for items, and gets very confused about what an item is - there is nothing my plugin can do to force DemonBuddy to read memory correctly once it does this. Launching a new D3 game, or restarting DemonBuddy, can fix a current memory-read issue, but they can crop up at random. My plugin tries to filter out and avoid as many of these issues as it can, with various failsafes and validation checks, but ultimately it can't compete with the nature of this bug - we are awaiting a DemonBuddy update to fix this permanently.
 
Last edited:
This plugin rocks now!

This message has been approved by RADONIC
 
Back
Top