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

[Plugin] Giles Stash & Loot Rule Replacer

Sure Giles! tell me please what changes i need to do on #337 rules and ill upload it (plz remember im noob around :D)
 
What version of the plugin & DemonBuddy are you using? And have you definitely set the config to pickup ilvl 61+ yellow weapons? (just making sure! :P). DB does struggle a bit recognizing hand xbows more than any other item for whatever reasons, but my plugin should recognize them without any issues!

Moving up to v1.9.4 w/ #204 worked like a charm, It's recognizing hand xbows and picking them up now.
 
This is amazing you rock.
How long did it take you to learn how to do this?

Thanks very much, always glad to see people enjoying my work! :D

The VERY first version, which just replaced stashing only and did basic scoring of items to stash or ignore (nothing else was replaced, DB still did EVERYTHING else, only stashing was mine) took me probably two weeks to have anything working at all from scratch - and a lot of playing around, looking at other plugins etc. - but DEFINITELY needed Visual Studio 2010 and add demonbuddy.exe as a "reference" to the project, so you could use object browser and see all the functions etc. available within DemonBuddy (and check your code is valid easily without having to just keep trying to load it in DB!). Very useful - especially using "ReSharper" and "Reflector", two very useful VS addons. I also kicked Kane a lot in IRC (the developer of the DRelogger tool and AGB Sarkoth stuff), and he kept giving me absolutely vital pointers to where abouts I should look to get me started - probably would have took 3-4 more weeks extra just to do first version without him pointing me in the right directions :D Definitely recommend that anyone wanting to try their hand at this, even if you've never coded before, just have a simple idea in your head you want to achieve, dive right into the deepend, and with some patience, a lot of googling, and bucketloads of trial & error, you'll soon be making plugins!
 
First of all, thanks for your amazing work Giles.

I've been using your plugin from the beginning, but I am having some problem with latest version of DB and your plugin.
It works well at the beginning, but it starts picking up everything at some point. When that happens and when the inventory is full,
it opens portal and goes to town. After that it stands there for awhile, and then goes back into portal. Then it starts doing same thing again and again.

Also it stashes rubies and all when it was setup to pick up emeralds only.

In addition, it picks up everything if I have white items (or items which don't have item levels in setting I guess) in the inventory.
To solve above issue, I have to manually clean my inventory.

Please note that I have read first page. I did clean installation and also did multiple checking with settings and all.

View attachment 2012-08-10 04.03.zip
 
Hey again Giles, just noticed that the plugin is discarding items with combined pickup-radius and goldfind unless there are other stats on them. Whenever you can, you should remove the weight of the primarystat on those two affix and add a special case for GF+rad, since that combo is worth a lot =) Using this ugly hack for now ;)
Code:
if ((iHadPICKUPRADIUS / iThisItemsMaxStats[PICKUPRADIUS] > 0.1) && (iHadGOLDFIND / iThisItemsMaxStats[GOLDFIND] > 0.65))
        iTotalPoints += (((iThisItemsMaxPoints[PICKUPRADIUS] + iThisItemsMaxPoints[GOLDFIND]) / 2) * 4);
 
Hey again Giles, just noticed that the plugin is discarding items with combined pickup-radius and goldfind unless there are other stats on them. Whenever you can, you should remove the weight of the primarystat on those two affix and add a special case for GF+rad, since that combo is worth a lot =) Using this ugly hack for now ;)

Next version has a few points tweaks (largely aimed at shields but a few nudges elsewhere), but definitely I had let gold radius slip to one side combo-wise with GF - I'll give it a bit of a boost if combined with gold - perhaps at 70% of max radius and 50% max GF or something for an item slot, get a "bonus score" (I'll look at actual values later). Thanks for the tip! Also I'm going to be nudging the default score values for armor up to 16,000 (up from 15,000) and jewelry up to 14,000 (up from 13,500) - just because those borderline cases are getting worse as the AH gets "harder". Shields have got a much improved scoring based on blocking (with intelligence-based shields not caring about their block%, and very high block%'s giving a large bonus), and hopefully will do something for the new Arcane-On-Hit/Spirit-Regen/various resource-based stats that were added to the newest DB to help filter those class-specific items a bit better!
 
First of all, thanks for your amazing work Giles.
I've been using your plugin from the beginning, but I am having some problem with latest version of DB and your plugin.
It works well at the beginning, but it starts picking up everything at some point. When that happens and when the inventory is full,
it opens portal and goes to town. After that it stands there for awhile, and then goes back into portal. Then it starts doing same thing again and again.

Picking up whites etc. - assuming you've definitely configured it correctly - is a sign that either the plugin isn't running, or there's some compatibility issues. Looking at your logs, I see these lines;
[19:04:21.177 N] [AntiIdle] All plugins are compiled
[19:04:21.178 N] [AntiIdle] Enabling: AntiIdle v1.3
[19:04:21.178 N] [AntiIdle] Enabling: GilesStashReplacer 1.9.4
[19:04:21.178 N] [AntiIdle] Enabling: GilesWorldObjectHandler 1.5.2

A sign that something is "Interfering" with the way DemonBuddy handles plugins - a bad sign already! What is the "AntiIdle" plugin? Have you tried disabling it? Can you list all of your plugins?

I also notice that a quick search for "GSDebug" in the entire logfile returns *NO* results. "GSDebug" texts are log lines that go in when Stash Replacer is doing a town-run, and it generates a few of them when town-running (reporting the town-run starting... reporting stash routine starting/ending... reporting sell routine starting/ending etc.). This is a clear sign that the plugin is not running at all, especially when these lines appear;
[19:05:55.455 D] Done vendoring.
Which shows it *WAS* town-running - but it was not my town-run running (since no "GSDebug" lines appear confirming my plugin is doing the town-run routine) - so this is evidence that stash replacer is not running/loaded properly (usually because of a conflict with another "unfriendly" plugin).
 
Picking up whites etc. - assuming you've definitely configured it correctly - is a sign that either the plugin isn't running, or there's some compatibility issues. Looking at your logs, I see these lines;
[19:04:21.177 N] [AntiIdle] All plugins are compiled
[19:04:21.178 N] [AntiIdle] Enabling: AntiIdle v1.3
[19:04:21.178 N] [AntiIdle] Enabling: GilesStashReplacer 1.9.4
[19:04:21.178 N] [AntiIdle] Enabling: GilesWorldObjectHandler 1.5.2

A sign that something is "Interfering" with the way DemonBuddy handles plugins - a bad sign already! What is the "AntiIdle" plugin? Have you tried disabling it? Can you list all of your plugins?

I also notice that a quick search for "GSDebug" in the entire logfile returns *NO* results. "GSDebug" texts are log lines that go in when Stash Replacer is doing a town-run, and it generates a few of them when town-running (reporting the town-run starting... reporting stash routine starting/ending... reporting sell routine starting/ending etc.). This is a clear sign that the plugin is not running at all, especially when these lines appear;
[19:05:55.455 D] Done vendoring.
Which shows it *WAS* town-running - but it was not my town-run running (since no "GSDebug" lines appear confirming my plugin is doing the town-run routine) - so this is evidence that stash replacer is not running/loaded properly (usually because of a conflict with another "unfriendly" plugin).

AntiIdle and your plugins are all I use at the moment. I am using antiidle because of notification click (to close network disconnect message box).
I know DB has its own notification click function implemented, but it doesn't close network disconnect message box, but antiidle does.
I also tried notificationok... plugin and it didn't work neither.

I will let it run without antiidle plugin and let you know.

Thanks for your support.
 
Yes ;) (I plan to do it, but I'm just a one-man-band with a lot of things I work on with all the plugins, not to mention have my own botting to do, and my own life to live, but I'm trying to put in as much as I can for the sake of t3h awesome!). But yeah, I expect I'll get around to integrating a simple "keep all ilvl 63 unid" within the next version or two!
No disrespect meant. ;)

Thanks much!
 
AntiIdle and your plugins are all I use at the moment. I am using antiidle because of notification click (to close network disconnect message box).
I know DB has its own notification click function implemented, but it doesn't close network disconnect message box, but antiidle does.
I also tried notificationok... plugin and it didn't work neither.

I will let it run without antiidle plugin and let you know.

Thanks for your support.


Before testing, I removed AntiIdle plugin and removed compiledassmblies folder.
I couldn't watch whole process, but I checked one or two times that it was working fine. (not picking up things it shouldn't)
About 30 minutes later, I checked if it was working okay and found it was doing the same thing with junk items filled in inventory.

Please also note that ItemStats.log was empty.

======
Total tracking time: 0h 34m 24s

===== Item DROP Statistics =====


===== Item PICKUP Statistics =====
===== End Of Report =====


StashReplacer.cfg
==
JewelryPoints=13500
ArmorPoints=15000
WeaponPoints=70000
Salvage=true
Filters=true
Emerald=true
Amethyst=false
Topaz=false
Ruby=false
Tomes=true
Plans=true
Followers=true
Potions=2
ilvlWB=63
ilvlWY=62
ilvlAB=0
ilvlAY=61
ilvlJB=59
ilvlJY=54


GilesWorldObjects.cfg
===
ShrineIgnore=none
ContainerRange=5
DestructibleRange=7
MinimumGold=300
DisableLootRules=True
IgnoreCorpses=True
 

Attachments

Just wondering but is it possible to implement that it picks up rings and amulets even blue ones,because having high mf or gf on those items is really valued, they sell for about 1 mil + on AH if its max GF OR MF.

Dunno if that is also implemented on your stash and loot replacer, Like having gf and pick up radius even with shitty stats can net you items worth 500k-1 million +. Should I really trust the replacer that its point system is really reliable? Can you show a formula for it on first page so I can read it please .thanks.
 
Just wondering but is it possible to implement that it picks up rings and amulets even blue ones,because having high mf or gf on those items is really valued, they sell for about 1 mil + on AH if its max GF OR MF.

Dunno if that is also implemented on your stash and loot replacer, Like having gf and pick up radius even with shitty stats can net you items worth 500k-1 million +. Should I really trust the replacer that its point system is really reliable? Can you show a formula for it on first page so I can read it please .thanks.

Recently sold 2 rings, one with 17 MF, the other with 18 GF (no other stats on both of them). GilesStashReplacer stashed em, so I think we're good on that front.
 
Hey, just stopping by to thank you for all your work, you are awesome !
I love the way that you standardize your OP, in order for us to be able to glance quickly at each of them and read about the next update you did, and when did you release it, it makes tracking all the update to do so much easier !

Keep up the awesome work :-).
 
GilesSmith, Can you make build of plugin in which if "salvage" is checked than bot will sell inferno items with cost high than 900gold instead of salvaging :) cost of reagent is dropped signifantly. it's better to sell such blues and yellows with cost 1k-2.5k+
 
GilesSmith, Can you make build of plugin in which if "salvage" is checked than bot will sell inferno items with cost high than 900gold instead of salvaging :) cost of reagent is dropped signifantly. it's better to sell such blues and yellows with cost 1k-2.5k+

Earlier in the thread Giles said:
Wanted to but not currently possible with the item data DemonBuddy provides :( So just adding that new "Salvage or Sell" option which will either sell everything or salvage everything (well actually, it'll only salvage things that give inferno mats, but you know what I mean :P). I'm personally going to have mine on "Sell" instead of Salvage once I've finished the new version, since craft mats are so low-priced. Going to disable picking up craft tomes too, and only pickup emeralds (at least they still sell for a bit!). Market is really dropping out on a lot of things lately!
 
Last edited:
giles just started act 2 inferno farming and its getting stuck on town runs.



Uploaded with ImageShack.us

LOG

running rads act 2 farming profile,
newest db fresh install,
your plugins and db enhancments are only plugins im using.

only does it if selling or when it has to go repair.
 
Back
Top