Results 1 to 10 of 120
Thread: [Plugin] Giles Auto Equipper
04.07.2012, 08:04 #1
[Plugin] Giles Auto EquipperAuto Equipper v1.7.1 by GilesSmith
(v1.7.1 released: 08th August @ 17:00 BST)
Giles Auto Equipper is a plugin to help levelling up of new characters in DemonBuddy, particularly lower-level characters, by automatically equipping any items DemonBuddy loots that would be an upgrade. Will also be very useful once DB can explore random dungeons and we can run 1-60/Act1-4 routines in one go.
Be sure to edit your loot rules to let DemonBuddy pick all items of level 1+ up - it's no good having loot rules that only pick up level 60+ yellow items and then using this plugin on a brand new character!
This plugin will do nothing other than look at new items it detects in your backpack, and decide whether to equip them or not. It does nothing else - it does not interfere with looting, stashing, selling, salvaging, handling full backpacks, or anything else.
- Safety feature prevents plugin doing anything if it detects your character level is already 60 (to help prevent any "accidents" on a fully geared character), unless you set the config option to work on 60's (off by default).
- Config window to make plugin ignore armor, jewelry, weapons, or helmets, incase you have your own equipment you want to force-use.
- Checks all your items and backpack when DB first starts and equips whatever it thinks is "best in slot".
- Continues to monitor all items DB picks up to look for any possible upgrades.
- Tries to identify unidentified items on pickup, if you aren't in combat, to upgrade as soon as possible.
- Handles all character classes automatically and focuses on appropriate item types and primary stats.
- Handles rings in both slots without issue.
- Easy to alter item weightings by editing the .cs file if you don't like how Auto Equipper judges items.
- Focuses only on 1-handed weapons with an off-hander (shield/mojo/source/quiver) - except for DH's which focus on 2-handed ranged weapons with a quiver.
3: Config Window:
The config window allows you to disable the equipper from trying to upgrade specific item slots (eg if you have a helmet with a huge +exp gem in it you want to keep). You can also enable the equipper for level 60 toons - be careful that you don't have any unprotected uber items in your backpack first if you do this!
1: Download the attached zip (bottom of post).
2: Extract to your Demonbuddy directory (eg "C:/Demonbuddy/Plugins/")
3: The files "GilesEquipper.cs" and "GilesEquipper.xaml" should now both be in their own folder in your plugins folder (eg "C:/Demonbuddy/Plugins/GilesEquip/GilesEquipper.cs")
4: Start Demonbuddy, select the plugins tab, and click the check mark next to Giles Equipper to enable.
5: You can click the "Config" button after selecting the plugin in the plugin list to lock specific item-types/slots from ever being evaluated.
6: Once you start your bot, equipper will do its thing!
5: Loot Rules:
You need loot rules that will pickup pretty much everything, so that my plugin can get a chance to evaluate them and use them. I'm not officially supporting the attached loot-rules but I've uploaded them for those that can't make them (I recommend you edit them to suit your own needs). Both the attached loot-rules will pickup all items that are level 1+, and gold and health potions. They will also SELL everything level 1+ - they will not try to stash or salvage anything. This allows my plugin to pick what it wants and junk everything else. Either pick the loot-rules for picking EVERYTHING up (including greys & commons) - or the loot-rules that only pick things up that are at least blue (Magic).
Don't use these loot rules with valuable equipment on your character, as they may be vendored! Use at own risk!
6: Notes & Version History:
I have never programmed before I used DemonBuddy. DemonBuddy is my first adventure into anything more complicated than Excel spreadsheet. Criticism is welcomed but please keep it constructive, and remember I am not a DB developer nor am I being paid - I am a fellow DB user just like you!
v1.7.1: -- Updated to support new DemonBuddy. -- Updated item handling/recognition to that of latest Giles Stash Replacer (1.9.x range). -- Settings file now saved in /DemonBuddy/Settings/ folder (you will need to re-configure settings after first run since 1.7). v1.7: -- Added a config option to enable the plugin for level 60's (useful if you leave your bot on levelling from 55+ and don't mind it still finding upgrades once it hits the cap). -- Now tries to identify unidentified items in your backpack, as long as you aren't in combat at the time. v1.6.1: -- Fixed bug with loading/saving ignore helms and ignore armor settings. v1.6: -- Various minor changes/updates to item identification code. -- Now comes with a config window and saves your settings in a config file, for editing what item-types not to touch. -- Rules files attached to first post updated for those that use them. v1.5: -- Replaces DemonBuddy item identification code with Giles item identification. Now recognizes and supports all item-types including class-specific types. v1.4: -- Added life on hit scoring and weighting for items/weapons. -- Fixed bug with weapon scoring treating strength as the "primary stat" for all classes. -- Further increased default score-weight of DPS on weapons. v1.3: -- Added variables near the top of the plugin (just above stat weight values) to prevent the plugin touching certain item-types/slots. -- Increased the default score-weight of DPS on weapons slightly. v1.2: -- Added weightings for sockets on items and weapons -- Added support for characters you manually equip with two-handers, so it evaluates the two-handed weapon before deciding to remove it. v1.0: -- Initial release
You should download ONE loot-rule, and ONE zip.
The loot-rule is optional and should never be used with valuable gear on your character! - ideally, you should customize your own loot-rules.
You should always pick the newest (highest) version zip.
04.07.2012, 08:09 #2
- Join Date
Cannot download it
04.07.2012, 08:12 #3
04.07.2012, 09:23 #4
Downloads fine for me, will give it a whirl after dinner, thanks.
04.07.2012, 09:29 #5
- Join Date
now it works. perhabs bad timing ;-)
Will test it if server are available und give a response
04.07.2012, 11:55 #6
Be nice to have the option not to change weapons, leveling with a 1000dps 2 handed mace and wants to keep equipping a 150dps one hander on my monk.
04.07.2012, 12:09 #7
- Join Date
Great comments, really liking this! Super simple, really understandable code.
Will you add:
Block% for shields
Experience per kill
I've been running this for ~15 min, doing perfect so far. Perfect picks for items.
I'll let ya know how it goes overnight.
Last edited by BabySuperman; 04.07.2012 at 12:11.
04.07.2012, 16:21 #8
- Join Date
Giles, or anyone using this for that matter... Would you mind bundling in the loot rules you're using with this plug-in? Most of the loot rules others have shared seem to all be related to level 60 characters and Inferno loot.
04.07.2012, 16:53 #9
-- Added weightings for sockets on items and weapons
-- Added support for characters you manually equip with two-handers, so it evaluates the two-handed weapon before deciding to remove it.
Anyway I've now uploaded v1.2 for you, which will evaluate any two-handers you already have equipped points-wise before deciding to replace them with a one-hander. I tested it and it worked - I had a two-hander equipped with a good shield in my backpack and a poor one-hander. Ran the plugin, it did nothing... picked up a very high DPS one-hander, it replaced the two-hander with the one-hander next pulse, and then the pulse after that equipped the shield (after it replaces a two-hander with a one-hander, it force-rechecks all items already in backpack to try and find an off-hander to use now a hand is free).
Would definitely like to add exp per kill (that's a biggy for levelling up), attack speed and block %, but we'll have to wait for new versions of DB that support those things!
04.07.2012, 17:14 #10
You need loot rules that will pickup pretty much everything, so that my plugin can get a chance to evaluate them and use them. I'm not officially supporting these loot-rules but I've uploaded them for those that can't make them (I recommend you edit them to suit your own needs):
All Armor/Jewelry/Weapons ilvl 1+: Attachment 47079
All Armor/Jewelry/Weapons Blue+ ilvl 1+: Attachment 47120
That will pickup everything DB reads as an armor, jewelry, or weapon, but be careful as it will also SELL everything classed as those things. It won't try to keep, or salvage, anything (so it should never touch your stash!).
Don't use these loot rules with valuable equipment on your character, as they may be vendored!