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

[Plugin] GearSwap

I was just thinking that this plugin is actually so damn good that you could almost turn it into its own independent program... I'm know computer genius so I have no idea how hard such a task would be, but if you could do it correctly - then I think it would become more popular than demon buddy itself.

Or else once this plugin is perfected it should become mandatory and come with every demon buddy D/L, and they should pay you some of the royalties.

Good luck man, I check this forum every day to see the new updates, GODSPEED borderjs!
Still working on getting the best setup for manual playing. I have created a blank combat routine that still has some glitches to work out. I think final setup would be Blank combat routine + blank profile should allow for plugins to run without glitches! Keep an eye out for this.
 
SVN Revision 14
  • Added new status Chest - Triggers whenever you are within 30 yards of a lootable object,
  • Harrington Waistguard supported - Will equip belt when Chest is triggered. Will stay equipped as long as you have the buff (since it will go away otherwise).
 
SVN Revision 15
  • Minor bug fix that could possibly have cause swapping of gear out of priority order or gear not swapping at times at all.
 
Can you please add Andariel's Visage for Elites? It doesn't have elite dmg, but it has a hell of a lot of elemental dmg, more than the set helm I'm currently using.
 
Is it possible to check for Out of Combat "ooc" and if so use Warzechian Guards? (Bracers that give you speed boost) Because my AOE on demon hunter would give a great speed boost.
 
Can you please add Andariel's Visage for Elites? It doesn't have elite dmg, but it has a hell of a lot of elemental dmg, more than the set helm I'm currently using.


I don't quite get the logic here... *equips a shitty helm - swaps out to a better helm when your fighting elites - then switches back to a shitty helm >_>??* Surely you should just wear the better helm all the time??

P.S - LOVING THE HARRINGTON PATCH!
 
I don't quite get the logic here... *equips a shitty helm - swaps out to a better helm when your fighting elites - then switches back to a shitty helm >_>??* Surely you should just wear the better helm all the time??

P.S - LOVING THE HARRINGTON PATCH!

I sorta agree with this in regards to Andariel's. Why would you not wear that one all the time? And if you really want to add Andariels to elites you just need to open functions.cs and just add it with the other gear items. It is pretty easy you just need to dump your SNO which can be done through the config menu.
 
Quin,
I was working with Rrrix a lot this past week and we have finally came up with a blank combat routine:

Blank Combat Routine. If you use this in combination with the blank profile I will post on my main post you will be able to run it manually without any of those crazy buggy behavior! I am going to run some tests tonight to ensure it works flawlessly.
 
Quin,
I was working with Rrrix a lot this past week and we have finally came up with a blank combat routine:

Blank Combat Routine. If you use this in combination with the blank profile I will post on my main post you will be able to run it manually without any of those crazy buggy behavior! I am going to run some tests tonight to ensure it works flawlessly.

Going to test it the second I get home from work! Super excited man!@#
 
Going to test it the second I get home from work! Super excited man!@#

I have been running it for a few rifts now. Works awesome, Blank combat routine + blank profile + gearswap = profit!
 
GearSwap Extreme

Dear DB forumers, i proudly present to you

GearSwap Extreme

What is GearSwap Extreme?
Added the ability to swap gears before casting a skill

Why do i need that?
Swap in full elemental set before casting an elemental skill or equip legendary with skill modification (e.g. Wand of Woh) before casting a skill, or both!

What is required for this to work?
Trinity. Also you need to edit Trinity -> Combat -> Abilities -> CombatBase.cs

Code:
        public static bool CanCast(SNOPower power, CanCastFlags flags = CanCastFlags.All)
        {
            bool hasPower = Hotbar.Contains(power);
            if (!hasPower)
                return false;

            // Skip this or Barb, Crusader, WD
            if (Player.ActorClass == ActorClass.Wizard || Player.ActorClass == ActorClass.DemonHunter || Player.ActorClass == ActorClass.Monk)
            {
                bool timer = flags.HasFlag(CanCastFlags.NoTimer) || SNOPowerUseTimer(power);

                if (!timer)
                    return false;
            }

            bool powerManager = flags.HasFlag(CanCastFlags.NoPowerManager) || PowerManager.CanCast(power);

            if (!powerManager)
                return false;

[COLOR="#FF0000"]            // Add the following lines
            if (!GearSwap.gearSwap.hasGear(power.ToString()))
                return false;[/COLOR]

            return true;
        }

How do i configure it?
Step 1: Run DemonBuddy and enable GearSwapExtreme, this is generate Managed.txt and Priority.txt file in DemonBuddy->Settings->GearSwapExtreme->[PlayerName#BattleTag]
Step 2:
Close DemonBuddy and edit the Priority.txt file to add in your skill name.
The skill name needs to be a qualified name that can be found in Trinity -> Configuration -> TVars.cs.
A qualified skill name will be Wizard_MagicMissile
Step 3: Run DemonBuddy again and load up GearSwap Extreme config. You will see three list box. Your skill will appear in the Condition List

GearSwap.webp

Step 4: To assign a gear to your skill, you will need to click Capture to get your equipped gear, it is recommended that the bot is stopped before doing so
Step 5: Click on the skill in the Condition List and click on gear(s) in the Current List then click Add, this will send the gear to the Managed List. Click Save if you're happy with the gears in the Managed List

Optional But Recommended:
Sometimes GearSwap Extreme doesn't swap back your default gear when it swaps between skill gear and environment condition gear, to make sure it always swaps back to your default gear when there are no conditions present, you can add your current equipped set to the managed gear list as Default condition. Also make sure Default is set to the lowest priority.

Step 6 [Optional]: Open up GearSwap Extreme configuration and then click Capture, then click Add All As Default Gear, this will add all your currently equipped gear into the Managed List as default gear, click Save if you're happy with it.


You can change your default gear by clicking Clear Default Gear and then Add All As Default Gear then Save to refresh your default gear

Please also note that skill condition priority works the same as other priorities. So let's say if Wizard_ExplosiveBlast is set below Elite and when an elite is present GearSwap Extreme will not swap in your Wizard_ExplosiveBlast gear to cast it.

I hope i gave out enough information for you to make it work and happy swapping! If you like my modification feel free to buy me a new computer! :D

View attachment GearSwapExtreme_v1.0.zip

To borderjs: Thank you so much for your great work, i really learned alot from what you've done and hope you'll consider adding my modification into your main trunk. If you do, sorry for my messy code and also this modification is done on top of your revision as of last saturday 10th May 2014.
 
Dear DB forumers, i proudly present to you

GearSwap Extreme

What is GearSwap Extreme?
Added the ability to swap gears before casting a skill

I like the idea of what you have done here. The only thing that scares me about adding this functionality is that is seems very complicated for a basic user to accomplish. Because of this I believe we need to keep the GearSwap plugin that can work with almost 0 interaction. I think a better solution would be to make gearSwapExtreme a seperate plugin that requires GearSwap to function. That way if I add statuses and other gear and features you do not have to recompile your entire code to keep with the updates. Right now your version doesn't include the latest bug fix or Harrington Waistguard for example.

The Bug Fix may fix the issue you speak of in regards to not equipping your original gear as that is exactly what I aimed to accomplish.

Lets talk about it on IRC next time you can. I noticed you sent me messages but were gone before I got home to reply.
 
Agree, its too complicated and probably requires alot more backpack spaces than what we usually carry now. Besides, who carries multiple set of elemental gear of different elements, assuming thats what the plugin does.
 
Yeah i agree, its currently too complicated for a basic user to set it up, but ill improve that in the future, and yeah i though of putting it in a separate module but some functionality rewrites your fundamental functions, will virtual and override method help in that case?
 
Yeah i agree, its currently too complicated for a basic user to set it up, but ill improve that in the future, and yeah i though of putting it in a separate module but some functionality rewrites your fundamental functions, will virtual and override method help in that case?

We should chat about it in IRC! Take it offline from here.
 
Sorry im at work now, but ill definitely get on irc the next chance i get
 
Agree, its too complicated and probably requires alot more backpack spaces than what we usually carry now. Besides, who carries multiple set of elemental gear of different elements, assuming thats what the plugin does.

The main reason i write this is to swap in legs with skill modifier, elemental is optional and i dont know whether it works or not, ie. is bonus elemental damage calculated on cast or on hit
 
Is it possible to create a condition that if you are low on primary resource or near a health globe it will swap to reapers wrap? The idea is because there are some other bracers out there that have stats better for dps and it would be good to be able to swap to.

One example is Strongarm Bracers. On knockback you get 22% more dmg which is huge. If you have main attacks that knockback you could use this as your main bracers and swap to reapers wrap when picking up globes or low on resources.
 
Last edited:
For obvious reasons, all us Hardcore heros - don't really wanna die...

Idea:

Addition to "Low HP" (rogar's huge stone)

Whilst you have the "Cheated death" debuff, it keeps the "Low HP" parameter active (even whilst at 100%hp) until your cheat death is off cooldown again.

Reasoning: If your cheat death has proc'd then usually its because you're in a risky situation and its only going to get worse as your last line of defence has just been blown out of the water - this ensures maximum survivability whilst you're at your most vulnerable.
As a monk, My HP fluctuates ALOT, and quite often when your cheat death is on CD (35% extra healing) your HP will quickly heal to full, but this does not mean you're safe, and it switches back to a SoJ - then you get dropped back to down to 50% and it takes a second or two to switch back to RHS (not good!).

Conclusion: Maybe this could be an optional? like a tick box, for people who aren't concerned about being dead. But imo, Less deaths = Faster farming, and happy HC players!

Plz lemmi know what you guys think!!!
 
Last edited:
Back
Top