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

[Plugin] Giles Auto Equipper

i have a bug that drives me nuts, if you could look into it starngerthanfiction i'd very much appreciate it. The plugin equips a sword on my demon hunter at times, letting my demon hunter die. I'm not to sure why it'll try use a sword on a demon hunter for...

That is odd... Have leveled many DH's and have never noticed this happening.. Will double check the code but swords shouldn't even be evaluated for DH's....
 
@harleystcool :: Well have looked through the code and there is no reason why you would be equipping a sword... If you could give me more information such as base item type, was it 1H or 2H, Item evaluation points and equipping text, etc...



For clarification... I by no means have taken up development of this plugin.. I just find it extremely useful and have began improving it since Giles is no longer around.

I will be posting any updates I make to the plugin here for everyone...

For those who are wondering what I am working on changing here is a list:

*** Currently no ETA as not much time these days to spend on pro bono work ***

TODO:
1. Make sure it opens the inventory window prior to equipping items
a. Currently Experimental, Functionality has been implemented in the test version I am running but is causing DB and D3 to both lockup and freeze for a few seconds than the whole operation starts to run very slugish...

2. Add evaluation of 2H weapons against a 1H + Offhand
a. Currently 2H are not considered except on DH's

3. Add evaluation of Dual Wielding vs 1H + Offhand

4. Fix IdentifyItems routine
a. Bot not pausing, routine removed in last release as it is done on town runs. (Guessing the BotPause function has gone through some changes or is bugged.....)

5. Fix the CheckMerchant function
a. Almost always doesn't equip gear after purchasing, except while selling off a full inventory on a town run.
b. Buying potions on town runs (I know everyone says its not supported but if the plugin can buy gear why can't it buy potions????)
 
Last edited:
I followed the instructions to upload this and when i look in my plugins tab it doesn't show. i started my bot to quest and it still doesnt pop up? what did i do wrong?
 
@harleystcool :: Well have looked through the code and there is no reason why you would be equipping a sword... If you could give me more information such as base item type, was it 1H or 2H, Item evaluation points and equipping text, etc...



For clarification... I by no means have taken up development of this plugin.. I just find it extremely useful and have began improving it since Giles is no longer around.

I will be posting any updates I make to the plugin here for everyone...

For those who are wondering what I am working on changing here is a list:

*** Currently no ETA as not much time these days to spend on pro bono work ***

TODO:
1. Make sure it opens the inventory window prior to equipping items
a. Currently Experimental, Functionality has been implemented in the test version I am running but is causing DB and D3 to both lockup and freeze for a few seconds than the whole operation starts to run very slugish...

2. Add evaluation of 2H weapons against a 1H + Offhand
a. Currently 2H are not considered except on DH's

3. Add evaluation of Dual Wielding vs 1H + Offhand

4. Fix IdentifyItems routine
a. Bot not pausing, routine removed in last release as it is done on town runs. (Guessing the BotPause function has gone through some changes or is bugged.....)

5. Fix the CheckMerchant function
a. Almost always doesn't equip gear after purchasing, except while selling off a full inventory on a town run.
b. Buying potions on town runs (I know everyone says its not supported but if the plugin can buy gear why can't it buy potions????)

thanks strangerthanfiction, it happened twice only but seemed to stop, maybe it was an old trinity or something. Your buy equipment from merchants were very useful and your right about buying potions, that'll be a great fuction
 
@harley - I actually found what was causing it do what it did and it has been fixed... Should never happen again...



******** CHANGE LOG **********
Version 1.7.4.2 -
- Now opens the Inventory Window prior to equipping/identifying items
- Fixed item identifcation
- Fixed CheckMerchant Function, now pauses the bot while Vendoring to check for upgrades (Still Experimental IMO, Needs more testing)
Version 1.7.4.1 -
- Added CheckMerchant back in as a configurable option. (Disabled by Default)
- Reworked the GilesEquipper.xaml file to be more dynamic
Version 1.7.4 -
- Included changed made by rrrix to stop buying/selling of equipment at vendors.
- Made a few improvements to the code to streamline some if/return statements.
- Moved GilesEquipper.cfg from \Settings\GilesEquipper.cfg to \Settings\[BATTLETAG]\GilesEquipper.cfg
Version 1.7.3 -
- Changed Slot Ignore Code from Grouped Slots to Indivdualized Slots and updated the XAML UI.
- Inlcluded item identification fixes by rrrix
******************************
 

Attachments

Last edited:
opens inventory to id items then spams message more items to id , inventory wont close , have to restart game to reset it
 
Sorry it was late so I didn't get a change to delete 1.7.4.2 and reload 1.7.4.3... After about 2 hours of testing I thought it was working well but than I found under certain situations it didn't work as intended.. Will probably have to re-work the entire routine...

Since the Item Identification was broken and not working in previous releases I moved it to a configurable option (Disabled by default)...

When disabled all item identification will only occur on town runs...


Will upload 1.7.4.3 when I get back to my computer later...


In the meantime if you want to use 1.7.4.2

Find the below code around line# 1675 and delete it...

Code:
if (GetUnidentifiedItems().Count() > 0)
{
	Log("DEBUG:: Need to identify items...");
	// This needs to be looked at.... Doesn't pause to allow for indentifing items?? Items ident just fine on town runs though...
	//Logging.Write("[GilesEquipper] Pausing bot while we identify items");
	BotMain.PauseWhile(identifyItems, 0, GetBotPauseTimeSpan());
}
 
I have a fix for identification. Working on making it so it won't identify if being attacked. will post soon.
 
@harley - I actually found what was causing it do what it did and it has been fixed... Should never happen again...



******** CHANGE LOG **********
Version 1.7.4.2 -
- Now opens the Inventory Window prior to equipping/identifying items
- Fixed item identifcation
- Fixed CheckMerchant Function, now pauses the bot while Vendoring to check for upgrades (Still Experimental IMO, Needs more testing)
Version 1.7.4.1 -
- Added CheckMerchant back in as a configurable option. (Disabled by Default)
- Reworked the GilesEquipper.xaml file to be more dynamic
Version 1.7.4 -
- Included changed made by rrrix to stop buying/selling of equipment at vendors.
- Made a few improvements to the code to streamline some if/return statements.
- Moved GilesEquipper.cfg from \Settings\GilesEquipper.cfg to \Settings\[BATTLETAG]\GilesEquipper.cfg
Version 1.7.3 -
- Changed Slot Ignore Code from Grouped Slots to Indivdualized Slots and updated the XAML UI.
- Inlcluded item identification fixes by rrrix
******************************
awesome work strangerthanfiction, my demon hunters kept dying sometimes and thats prob why, they ended up equiping swords! anyways thanks and keep up the good work
 
my bot doesn't pick up items. do i need "file based rules" instead of "demonbuddy rules" in trinity settings? (+ your "Giles Rules no common" from page 1 enabled in the bot settings)
 
.... If you chose GilesPlugin as your combat routine make sure GilesTrinity is enabled under plugins...
 
Here you go lady's... 3 bots spent 4 hours testing on each.. Everything ran smoothly from what I saw...


******** CHANGE LOG **********
Version 1.7.4.5 -
- Bug fix: Should no longer close Inventory window while interacting with a vendor.
- Bug fix: DB freeze when multiple CheckMerchants fired on the same vendor.
- CheckMerchant now works, default adjusted to enabled.
- Identifing items now works properly thanks to rrrix, default adjusted to enabled.
Version 1.7.4.4 -
- Implemented rrrix's identification fix.
Version 1.7.4.3 -
- Moved Item Identification to a configurable option. (Still Experimental IMO, Needs more testing)
Version 1.7.4.2 -
- Now opens the Inventory Window prior to equipping/identifying items
- Fixed item identifcation
- Fixed CheckMerchant Function, now pauses the bot while Vendoring to check for upgrades (Still Experimental IMO, Needs more testing)
Version 1.7.4.1 -
- Added CheckMerchant back in as a configurable option. (Disabled by Default)
- Reworked the GilesEquipper.xaml file to be more dynamic
Version 1.7.4 -
- Included changed made by rrrix to stop buying/selling of equipment at vendors.
- Made a few improvements to the code to streamline some if/return statements.
- Moved GilesEquipper.cfg from \Settings\GilesEquipper.cfg to \Settings\[BATTLETAG]\GilesEquipper.cfg
Version 1.7.3 -
- Changed Slot Ignore Code from Grouped Slots to Indivdualized Slots and updated the XAML UI.
- Inlcluded item identification fixes by rrrix
******************************
 

Attachments

Here you go lady's... 3 bots spent 4 hours testing on each.. Everything ran smoothly from what I saw...


******** CHANGE LOG **********
Version 1.7.4.5 -
- Bug fix: Should no longer close Inventory window while interacting with a vendor.
- Bug fix: DB freeze when multiple CheckMerchants fired on the same vendor.
- CheckMerchant now works, default adjusted to enabled.
- Identifing items now works properly thanks to rrrix, default adjusted to enabled.
Version 1.7.4.4 -
- Implemented rrrix's identification fix.
Version 1.7.4.3 -
- Moved Item Identification to a configurable option. (Still Experimental IMO, Needs more testing)
Version 1.7.4.2 -
- Now opens the Inventory Window prior to equipping/identifying items
- Fixed item identifcation
- Fixed CheckMerchant Function, now pauses the bot while Vendoring to check for upgrades (Still Experimental IMO, Needs more testing)
Version 1.7.4.1 -
- Added CheckMerchant back in as a configurable option. (Disabled by Default)
- Reworked the GilesEquipper.xaml file to be more dynamic
Version 1.7.4 -
- Included changed made by rrrix to stop buying/selling of equipment at vendors.
- Made a few improvements to the code to streamline some if/return statements.
- Moved GilesEquipper.cfg from \Settings\GilesEquipper.cfg to \Settings\[BATTLETAG]\GilesEquipper.cfg
Version 1.7.3 -
- Changed Slot Ignore Code from Grouped Slots to Indivdualized Slots and updated the XAML UI.
- Inlcluded item identification fixes by rrrix
******************************


Does this version upgrades the off-hand? i've noticed my guys are just ignoring the off-hand slot even though is not checked to be ignored or anything, besides this everything works like a charm.
 
Alrighty should have all of the kinks worked out of the CheckMerchant method....

Also long awaited and requested O_O.... The plugin now buys potions... That's right it buys potions O_O .. Lol

@RRRIX, Could you adjust the bundled trinity's TownRun.cs to use the other Merchant on A1, the 1 to the left of the stash... The miner doesn't sell pots.. >_<


P.S. You can also lock all the gear slots but leave CheckMerchant, BuyPotions, and Disable60 alone and it will only buy potions.. Usefull for your level 60's that need you to load up on pots.. Have done limited testing on my monk with this and it went well


Hoping to have 1.7.5 out in the next few weeks... (If there are no other break/fixes left on 1.7.4)

What to look forward to:
- Trying to get it to use gear from the stash and re-stash gear that came from stash... You can probably figure out how that would be usefull...



Here is the changelog as always....

******** CHANGE LOG **********
Version 1.7.4.6 -
- Script will now fill up on the strongest available potion on a TownRun, if the vendor has the goods
- Max Item Stacks for Potion Types:
- Minor : 10
- Lesser : 15
- Health : 25
- Greater : 35
- Heroic : 50
- Resplendent : 50
- Mythic : 99
- Will not purchase potions if gold is less than 1,000
- Fixed: CheckMerchant would endlessly pause bot with no light at the end of the tunnel
 

Attachments

Last edited:
Does this version upgrades the off-hand? i've noticed my guys are just ignoring the off-hand slot even though is not checked to be ignored or anything, besides this everything works like a charm.

Plugin currently doesn't DW, pretty much looks for shields for offhand.. If its not upgrading your shields than I would need more info and a log file...
 
Ugh, the second I think there are no more bugs another 1 shows up....

By the way have now run it on 3 lvl 60's for a day and they never had less than 99 potions following a TownRun :D (See attached screenshot for preferences for PotsOnly)

******** CHANGE LOG **********
Version 1.7.4.7 -
- Bug Fix: Wasn't saving Weapon and Bracers ignore preferences
******************************
 

Attachments

  • GilesEquipper_v1.7.4.7.zip
    GilesEquipper_v1.7.4.7.zip
    16.4 KB · Views: 194
  • Lvl60-IgnorePrefs_PotsOnly.webp
    Lvl60-IgnorePrefs_PotsOnly.webp
    10.7 KB · Views: 211
Last edited:
Awesome, the potions thingy was just discussed in another topic and is already in the plugin! Don't know if its coincidence but either way, thumbs up big time! :D
 
Last edited:
with autoequiper, is there a way to make it so it equips new armor, beside slots where cains armor set is?

My options are either all armors or no armor
 
Last edited:
Back
Top