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

Dogmeat's Unified Combat Routines v0.1 - Final

dogmeat

New Member
Joined
Aug 4, 2013
Messages
305
Reaction score
1
Hey guys,

As promised, I finally decided to upload my unified set of routines. I played all 5 chars with all popular builds like

Barb:
- HoTA,
- WW,
- HoTA WW Hybrid,
- Weapon Throw (especially Dreadbomb, also named corpse barb by some)

DH:
- Trapsin
- Cluster Arrow
- Perma Gloom
(I played with both manticore and calamity)

Monk:
- Sweeping wind
- Nirvana
- Trigen combination strike (wonderful on paper, bad in practice, but my modified routines support this no matter what) - modified from tesslerc to work correcly
- Exploding palm abuse (from tesslerc)

Witchdoctor:
- Zombiebear
- Bat
- 0 dog

Wizard:
- CM
- Archon
- CM Meteor
- CM Blizzard

... and many other variants.

As I switched frequently between builds and character, I need a combat routine that is capable to run them all efficiently without having to use another demonbuddy folder, copy and paste files, and other things along that line. So I have tweaked the original Trinity combat routine for months to come up with this, changing codes, criteria for execution, avoidance, priorities of different powers...

You will love this, no matter which char you play (bot with). These routines were coded when I still played softcore, but still, I hated deaths, so you will find that not only your chars performs better, they will also die much less. There are about a hundred of changes big and small I've made to the files, not all are documented but you can check the files and compare to the original version to see what they are if you want to, the code is open sourced.

This is ver 0.1 but also the final version, since back then I couldn't implement dual-gen barb (both bash-punish and frenzy-maniac at the same time) into the new barb routine shipped with Trinity 1.7.3.3, so I modified the code from Trinity 1.7.2.x instead and made it such that it works with 1.7.3.3.

Installation:
Code:
- Extract
- Copy all files into your Demonbuddy Folder 
- Delete Barbarian.cs in Trinity/Combat/Abilities/

http://www.thebuddyforum.com/demonb...ified-combat-book-v0-2-alpha.html#post1256127

Old versions:
Click to download <-- v0.1 final

Please leave feedback so that I could polish the code a little bit further, especially those who would encounter errors, if there could be such a thing. Future releases will be based on the routine set from Trinity 1.7.3.3 onwards for better compatibility (and less files).



Lastly, if you like my work, please support me by way of donation however little, I play (work) fulltime on Diablo 3, researching, tweaking, writing, playing the AH, I don't do anything else for a living, so any support is truly cherished. Thank you! :)
 
I noticed there were more files included with the .zip file so I replaced all of them into their respective directories. Although, in the \settings folder (in the zip) there is a 'Trinity.xml' file. I did a search for 'Trinity.xml' and it did not find it? Note, I downloaded the latest Trinity 1.7.3.3 and have not run it yet using DemonBuddy. Is 'Trinity.xml' created after "first-run"? Should I run Trinity without your tweaks first then replace the files from the 'dogmeat' folder?

This is the errors I received when "not run" the first time...

[06:28:43.401 N] Compiler Error: ...\Demonbuddy 1.0.1445.315\Plugins\Trinity\Helpers\ObservableDictionary.cs(645,56) : warning CS0693: Type parameter 'TKey' has the same name as the type parameter from outer type 'Trinity.Helpers.ObservableDictionary<TKey,TValue>'
[06:28:43.401 N] Compiler Error: ...\Demonbuddy 1.0.1445.315\Plugins\Trinity\Helpers\ObservableDictionary.cs(681,34) : warning CS0693: Type parameter 'TKey' has the same name as the type parameter from outer type 'Trinity.Helpers.ObservableDictionary<TKey,TValue>'
[06:28:43.401 N] Compiler Error: ...\Demonbuddy 1.0.1445.315\Plugins\Trinity\Helpers\ObservableDictionary.cs(681,40) : warning CS0693: Type parameter 'TValue' has the same name as the type parameter from outer type 'Trinity.Helpers.ObservableDictionary<TKey,TValue>'
[06:28:43.401 N] Compiler Error: ...\Demonbuddy 1.0.1445.315\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs(18,37) : error CS0111: Type 'Trinity.Trinity' already defines a member called 'GetBarbarianPower' with the same parameter types
[06:28:43.401 N] Compiler Error: ...\Demonbuddy 1.0.1445.315\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs(439,29) : error CS0111: Type 'Trinity.Trinity' already defines a member called 'BarbHasNoPrimary' with the same parameter types
[06:28:43.401 N] Compiler Error: ...\Demonbuddy 1.0.1445.315\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs(446,37) : error CS0111: Type 'Trinity.Trinity' already defines a member called 'GetBarbarianDestroyPower' with the same parameter types
 
I noticed there were more files included with the .zip file so I replaced all of them into their respective directories. Although, in the \settings folder (in the zip) there is a 'Trinity.xml' file. I did a search for 'Trinity.xml' and it did not find it? Note, I downloaded the latest Trinity 1.7.3.3 and have not run it yet using DemonBuddy. Is 'Trinity.xml' created after "first-run"? Should I run Trinity without your tweaks first then replace the files from the 'dogmeat' folder?

This is the errors I received when "not run" the first time...

Yes. If you got a fresh copy of Demonbuddy, you gotta run it first so that it would create folders and config files. Next, copy original Trinity into the /Plugins folder, run Demonbuddy again and enable Trinity. Finally, copy my files on top of Trinity and rerun Demonbuddy again, you should be good to go. :)
 
Alright, I guess I am still doing something wrong going from a fresh version of Demonbuddy:

Yes. If you got a fresh copy of Demonbuddy, you gotta run it first so that it would create folders and config files. Next, copy original Trinity into the /Plugins folder, run Demonbuddy again and enable Trinity

[17:38:17.136 N] Demonbuddy v1.0.1445.315 started
[17:38:19.978 N] Logging in...
[17:38:20.965 N] Attached to Diablo III with pid: 7728
[17:38:20.968 N] Flashing window
[17:38:23.434 N] [Trinity] Combat routine is not installed or is not latest version, installing! // VERSION 1.1.3a
[17:39:34.055 N] [Trinity] ENABLED: Trinity v1.7.3.3 now in action!

At this point, it makes the directories & files like you said and complies correctly (ie. CompliedAssemblies has the files.).
Settings folder has the "GlobalSettings.xml" and my battle-tag Profile directory (w/CharacterSettings.xml).
Routines folder has Trinity folder with Trinity.cs.
In the Plugins submenu, I can config and save settings. This puts the Trinity.xml file into my battle-tag directory.
I close DB again and restart. - no compiler problems.

Finally, copy my files on top of Trinity and rerun Demonbuddy again, you should be good to go.

I closed DB before copying files into Trinity folders.

..\Plugins\Trinity\Cache\RefreshDiaObject.cs
..\Plugins\Trinity\Cache\RefreshDiaObjects.cs

..\Plugins\Trinity\Combat\AbilitySelector.cs
..\Plugins\Trinity\Combat\TargetCheck.cs

..\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs
..\Plugins\Trinity\Combat\Abilities\CombatBase.cs
..\Plugins\Trinity\Combat\Abilities\DemonHunter.cs
..\Plugins\Trinity\Combat\Abilities\Monk.cs
..\Plugins\Trinity\Combat\Abilities\WitchDoctor.cs
..\Plugins\Trinity\Combat\Abilities\Wizard.cs
NOTE: In the original Trinity directory there is a 'Barbarian.cs' file. There is none in your dogmeat zip. - is this important??

..\Plugins\Trinity\Configuration\Constants.cs
..\Plugins\Trinity\Configuration\DataDictionary.cs
..\Plugins\Trinity\Configuration\Dictionaries.xml
..\Plugins\Trinity\Configuration\Dictionaries.xsd
..\Plugins\Trinity\Configuration\Enums.cs
..\Plugins\Trinity\Configuration\TVar.cs
..\Plugins\Trinity\Configuration\TVars.cs
..\Plugins\Trinity\Configuration\Variables.cs

..\Settings\[battle-tag-folder]\Trinity.xml

After replacing ALL the files, I still get the compiler errors:

[18:05:23.280 N] Compiler Error: ..\Plugins\Trinity\Helpers\ObservableDictionary.cs(645,56) : warning CS0693: Type parameter 'TKey' has the same name as the type parameter from outer type 'Trinity.Helpers.ObservableDictionary<TKey,TValue>'
[18:05:23.280 N] Compiler Error: ..\Plugins\Trinity\Helpers\ObservableDictionary.cs(681,34) : warning CS0693: Type parameter 'TKey' has the same name as the type parameter from outer type 'Trinity.Helpers.ObservableDictionary<TKey,TValue>'
[18:05:23.280 N] Compiler Error: ..\Plugins\Trinity\Helpers\ObservableDictionary.cs(681,40) : warning CS0693: Type parameter 'TValue' has the same name as the type parameter from outer type 'Trinity.Helpers.ObservableDictionary<TKey,TValue>'
[18:05:23.280 N] Compiler Error: ..\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs(18,37) : error CS0111: Type 'Trinity.Trinity' already defines a member called 'GetBarbarianPower' with the same parameter types
[18:05:23.280 N] Compiler Error: ..\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs(439,29) : error CS0111: Type 'Trinity.Trinity' already defines a member called 'BarbHasNoPrimary' with the same parameter types
[18:05:23.280 N] Compiler Error: ..\Plugins\Trinity\Combat\Abilities\BarbarianCombat.cs(446,37) : error CS0111: Type 'Trinity.Trinity' already defines a member called 'GetBarbarianDestroyPower' with the same parameter types

WHAT am I doing wrong? - Help please
 
Very. You have to delete Babarian.cs otherwise it will not work.
 
Tried Trigen but bot only used deadly reach :(


and antoher question:

there was a weaponswap plugin for "snapshot monk" - did they fix the snapshot? - if not pls reanimate this addon it was the SHIT for monk :)
 
Can you please attach your zip to this thread? I'm unable to download it through your link.
 
Finally got the files. :)

Dogmeat - perhaps you can review the new code I've added in 1.7.3.3, particularly the Trinity variables. You can distribute your own TVars.xml should you choose to, there's no personally identifiable information there, and that's the easiest way to share many of these old hard coded variables, so users won't experience compilation errors.

Some changes can't be controlled through TVar's where the logic of an actual power needs to be modified, but most of the threshold values for combat are in there currently for Barbarians.

You can also re-order combat priority simply by moving the order of which a "CanUse*" power is checked, e.g. moving it up or down in the order.

I plan on converting all the other combat classes to use the new structure and TVar's instead of hard coded variables, including the global combat handler, cache system, avoidance/kiting and other system parameters as well.

Contributions are always welcome on the 'official' trinity code base. http://www.thebuddyforum.com/demonb...y/93532-trinity-developers-read-me-first.html

cheers,

rrrix
 
Dear rrrix, it is my intention to develope future versions based on the latest Trinity and follow its logic, such as using TVars.xml. It was only because I was not acquainted with the new barb files back then that I utilized the previous version. Cheers!
 
Tried Trigen but bot only used deadly reach :(


and antoher question:

there was a weaponswap plugin for "snapshot monk" - did they fix the snapshot? - if not pls reanimate this addon it was the SHIT for monk :)

You're not the only person who reported this. Which is strange because I have no problem running trigen on my machine, I promise I will look into this very soon.
 
Hats off to dogmeat!!!
Here is what I tested so far as for my Wiz! cuts like a knife thru butter! so bow down!!! :D

For my Monk Fist of Thunder not using it.. Deadly Reach with Foresight is the only one the bot is using.. The WotHF not using as well..
 
If you were to swap in the inna reach (weapon), or for that matter any item that gave you the 4 piece bonus, and you have 3 pieces already would that give you the reduced spirit cost of sweeping winds? Then swap back in your main equipment. Meaning you can use winds much cheaper.
 
I feel like 0dogs Witch Doctor needs to spam dogs/sacrifice faster or more..

It stops mid way through a pack and takes a few hits, then continues to go.

Is there a way to do like..

If surrounding mobs > 3
spam the shit out of 0dogs
 
ey guy any 1 can say me what bulid is best for WD, i dont have gear to make coldown 0 dogs,i have just normal zunimasa set + skorn wth LS, plz reply here or pm me what bulid i can use cuz now my wd at DB making just 16kk exp/h :/
 
Back
Top