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

[Plugin] - Ultimate Combat Helper

Phelon

Well-Known Member
Joined
Jan 15, 2010
Messages
2,591
Reaction score
140
Ultimate Combat Helper
"The Intelligent Combat Plugin"


Standard: Version 1.2
Updated for 5.4

Helpful Links:

Installation: (Remove old Folder if downloading new Revision.)
1. Create a folder in your Plugin Directory.

2. Copy and paste all files into that folder.

3. YOU WILL NEED TO DELETE YOUR OLD SETTINGS FILE TO GET THE NEW FEATURES TO WORK
4. Download .NET Framework 4.5 from Official Microsoft Download Center
5. Profit.

SVN:
1. How to Use a SVN
2. Download TortoiseSVN
3. How to Auto Update SVN


Report a Problem:
1. How to Attach a Log
2. How to Post for Help


General Honorbuddy Help
1. Honorbuddy For Dummies

Description:
I have developed a override plugin that tries to handle everything in combat that Custom Classes won't. There is no GUI in the free version, there is an easy to use settings file though!

Free Features:

Works with Most Bot Bases:
- It has been tested with Dungeonbuddy, Questing, Mixed Mode, Grindbot

Improved Priority Targeting:
- Targets Lowest Health Mobs or Elite First

Multi-Pull:
- Pulls multiple mobs based on User Settings.
- User sets Pull Spells and Range
- Ability to wait on spell cast to move to next target.


Movement:
- Ability to Move out of any AoE or Spell. (Works great for Zandalari Warbringers and Timeless Isle)
- Users can add their own Avoidance spells to the list.
- Strafing when engaged in PvP.
(Use with Melee Only)

Interrupt Logic:
- Customize Interrupt Spell List
- Ability to Interrupt non Target Casters

Looting in Combat
- Ability to loot in combat when certain amount of mobs are dead.



Revision Notes:
Code:
[FONT=book antiqua]Version 1.0[/FONT]
[FONT=book antiqua]Initial Release[/FONT]
[FONT=book antiqua]Version 1.1[/FONT]
[FONT=book antiqua]- Fixed Issue with Avoidance Spells not loading.[/FONT]
[FONT=book antiqua]Version 1.2[/FONT]
[FONT=book antiqua]- Fixed Issue with Targeting causing null exceptions.[/FONT][FONT=book antiqua]
[/FONT]



Latest Revision:

Code:
[FONT=book antiqua]Version 1.3[/FONT]
[FONT=book antiqua]- Add try catch to remove null reference from predicates in Enumerable return.[/FONT][FONT=book antiqua]
[/FONT]


Copyright:
Copyright 2014 - Phelon
This file is part of Ultimate
Combat Helper.


Ultimate
Combat Helper is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.


Ultimate Combat Helper is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


You should have received a copy of the GNU General Public License
along with Ultimate
Combat Helper. If not, see <http://www.gnu.org/licenses/>
 
Last edited:
Explanation of XML Tags for Spell Avoidance:

NpcId:

? The Id of the Unit


SpellID:
? The Spell Id of the spell that cast by the Unit


SpellType:
? AoE
o This is an AoE around the mob to keep a safe distance.

? Cone
o This is a cone attack from the mob in a certain direction.

? Ground
o This must be coupled with a AuraId

? Interrupt
o Set this if it is a spell can be interrupted
? None


AuraID:
? The Aura ID of the effect on the Ground or Unit


AuraType: (Not Fully Implemented)
? Self
o Checks for Aura on Player

? Target
o Checks for Aura on Unit

? None


Range:
? How far the Spell cast by the Unit reaches.


Radius:
? The Radius of the Spell

EXAMPLE:
Code:
  <Spell>
    <!-- Oath of Guardianship -->
    <NpcId>72892</NpcId>
    <SpellId>147682</SpellId>
    <SpellType>Interrupt</SpellType>
    <AuraId>0</AuraId>
    <AuraType>Target</AuraType>
    <Range>25</Range>
    <Radius>60</Radius>
  </Spell>
 
How to Add to the Spell Avoidance List:
1) Go to WoWHead.com

2) Look up the Creature with the effect you want to dodge. ie.. Zandalari Warbringer
a. Example: Ordon Oathguard - NPC - World of Warcraft

3) Add the npc= number to the NpcId
a. Example: <NpcId>72892</NpcId>

4) Click on Abilities and locate the one you want to add.
a. Example: Crac kling Blow

5) Add the spell= number to the SpellId
a. Exampe: <SpellId>138044</SpellId>

Unfortunately it seems they did some changes to the WoWhead website. You used to be able to get the rest pretty easily. The Range is now the Radius but none of the other information is there. You will have to determine what kind of SpellType it is on your own. Thankfully they did leave in the Aura Type if it is buff for the NPC. Like Defensive Shields Aura is 414, that is still there

EXAMPLE:
Code:
  <!-- Ordon Oathguard -->
  <Spell>
    <!-- *****ing Blow -->
    <NpcId>72892</NpcId>
    <SpellId>147674</SpellId>
    <SpellType>Cone</SpellType>
    <AuraId>0</AuraId>
    <AuraType>None</AuraType>
    <Range>20</Range>
    <Radius>75</Radius>
  </Spell>
 
  <Spell>
    <!-- Defensive Shield -->
    <NpcId>72892</NpcId>
    <SpellId>147689</SpellId>
    <SpellType>Cone</SpellType>
    <AuraId>414</AuraId><!-- not sure if correct -->
    <AuraType>Target</AuraType>
    <Range>15</Range>
    <Radius>90</Radius>
  </Spell>
 
  <Spell>
    <!-- Oath of Guardianship -->
    <NpcId>72892</NpcId>
    <SpellId>147682</SpellId>
    <SpellType>Interrupt</SpellType>
    <AuraId>0</AuraId>
    <AuraType>Target</AuraType>
    <Range>25</Range>
    <Radius>60</Radius>
  </Spell>
 
Getting this Error

[19:33:49.511 N] [Singular] Casting Fist of Justice on Gritjaw Basilisk.EB27 @ 0.7% at 3.6 yds
[19:33:49.606 D] Plugin * Ultimate Combat Helper * threw an exception in 'Pulse'! Exception:
[19:33:49.607 D] System.NullReferenceException: Object reference not set to an instance of an object.
at UltimateCombatHelper.Handlers.CombatInterrupt.InterruptCheck() in f:\***\Plugins\Ultimate Combat Helper\Handlers\CombatInterrupt.cs:line 18
at UltimateCombatHelper.UltimateCombatHelper.Pulse() in f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs:line 132
at Styx.Plugins.PluginWrapper.Pulse()
[19:33:49.865 D] Plugin * Ultimate Combat Helper * threw an exception in 'Pulse'! Exception:
[19:33:49.865 D] System.NullReferenceException: Object reference not set to an instance of an object.
at UltimateCombatHelper.Handlers.CombatInterrupt.InterruptCheck() in f:\***\Plugins\Ultimate Combat Helper\Handlers\CombatInterrupt.cs:line 18
at UltimateCombatHelper.UltimateCombatHelper.Pulse() in f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs:line 132
at Styx.Plugins.PluginWrapper.Pulse()
 
Getting this Error

I will take a look at it tomorrow. This is what you get when you hack a GUI out of projects. =)

Edit: Should be fixed although it is untested and I am headed to bed. If it doesn't work, post and I will fix it in the morning when I have a chance to check. I just did a quick and dirty fix that should work.
 
Now i get compile errors

[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(226,37) : error CS0246: Der Typ- oder Namespacename 'ArrayList' konnte nicht gefunden werden. (Fehlt eine Using-Direktive oder ein Assemblyverweis?)
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(230,32) : error CS0103: Der Name 'Utilities' ist im aktuellen Kontext nicht vorhanden.
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(230,77) : error CS0103: Der Name 'DirectoryLocator' ist im aktuellen Kontext nicht vorhanden.
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(231,17) : error CS0246: Der Typ- oder Namespacename 'IEnumerable' konnte nicht gefunden werden. (Fehlt eine Using-Direktive oder ein Assemblyverweis?)
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(231,45) : error CS0103: Der Name 'Directory' ist im aktuellen Kontext nicht vorhanden.
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(232,17) : error CS0103: Der Name 'Logging' ist im aktuellen Kontext nicht vorhanden.
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(259,17) : error CS0103: Der Name 'dgv_AvoidSpells' ist im aktuellen Kontext nicht vorhanden.
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(260,17) : error CS0103: Der Name 'dgv_AvoidSpells' ist im aktuellen Kontext nicht vorhanden.
[08:06:13.782 N] Compiler Error: f:\***\Plugins\Ultimate Combat Helper\UltimateCombatHelper.cs(264,17) : error CS0103: Der Name 'Logging' ist im aktuellen Kontext nicht vorhanden.
 
Now getting this ...
[16:48:28.968 N] Compiler Error: f:\***\Plugins\UltimateMovement\Helpers\TargetFilters.cs(30,25) : error CS0103: Der Name 'foundMe' ist im aktuellen Kontext nicht vorhanden.
[16:48:28.968 N] Compiler Error: f:\***\Plugins\UltimateMovement\Helpers\TargetFilters.cs(36,25) : error CS0103: Der Name 'SingularSettings' ist im aktuellen Kontext nicht vorhanden.
[16:48:28.968 N] Compiler Error: f:\***\Plugins\UltimateMovement\Helpers\TargetFilters.cs(53,17) : error CS0103: Der Name 'MovementManager' ist im aktuellen Kontext nicht vorhanden.
[16:48:28.968 N] Compiler Error: f:\***\Plugins\UltimateMovement\Helpers\TargetFilters.cs(56,35) : error CS0103: Der Name 'SingularSettings' ist im aktuellen Kontext nicht vorhanden.
[16:48:28.968 N] Compiler Error: f:\***\Plugins\UltimateMovement\Helpers\TargetFilters.cs(56,82) : error CS0103: Der Name 'SingularSettings' ist im aktuellen Kontext nicht vorhanden.
[16:48:28.968 N] Compiler Error: f:\***\Plugins\UltimateMovement\Helpers\TargetFilters.cs(157,25) : error CS0103: Der Name 'tanks' ist im aktuellen Kontext nicht vorhanden.
 
Now getting this ...

Did you do a clean install? Delete the 2 files in the Helpers folder. The ones Called AssemblyLoader and TargetFilters. Delete both of those and it will work fine. Or just delete the folder entirely and redownload the plugin.
 
will retry, but i always delete complete folders of Plugin if there is an update and there is no SVN Update function.

But will try again and give feedback
 
ok, now it loads and its possible to start. But getting this, when my Rogue is infight

[20:24:50.264 N] [Ultimate Combat] - DEBUG] System.NullReferenceException: Object reference not set to an instance of an object.
at UltimateCombatHelper.Handlers.CombatTarget.<get_ViableTargets>b__2(WoWUnit p) in f:\***\Plugins\Ultimate Combat Helper\Handlers\CombatTarget.cs:line 47
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at UltimateCombatHelper.Handlers.CombatTarget.Target() in f:\***\Plugins\Ultimate Combat Helper\Handlers\CombatTarget.cs:line 197
[20:24:51.214 D] Changed POI to: Type: Kill, Name: Sra'thik Mutilator
[20:24:51.300 N] [Ultimate Combat] - DEBUG] System.NullReferenceException: Object reference not set to an instance of an object.
 
ok, now it loads and its possible to start. But getting this, when my Rogue is infight

Found it.. had an orderby at the end of a enumerator. Thanks the the logs.
 
Fresh installation of the new HB Version, fresh installation of your Plugin... getting this...

[11:35:06.806 N] [Ultimate Combat] - DEBUG] System.NullReferenceException: Object reference not set to an instance of an object.
at UltimateCombatHelper.Handlers.CombatTarget.<get_ViableTargets>b__2(WoWUnit p) in f:\TNS\001-Honorbuddy-CAVA\Plugins\UltimateMovement\Handlers\CombatTarget.cs:line 47
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at UltimateCombatHelper.Handlers.CombatTarget.Target() in f:\TNS\001-Honorbuddy-CAVA\Plugins\UltimateMovement\Handlers\CombatTarget.cs:line 195
 
Fresh installation of the new HB Version, fresh installation of your Plugin... getting this...

I used a timeless Isle profile for this and it seems to be working like a champ. I put a try / catch on the return so it shouldnt spit errors anymore.

This is what happens when you hack apart an already working Plugin and try to make it forum usable.. Sigh.
 
Maybe it doesnt work with Questing Bot. Im trying to use it while lvling and Singular to look more normal but still getting this with my Balance Druid
[07:42:31.282 D] (Singular) CanCast[Typhoon]: still on cooldown for 15633 ms
[07:42:31.289 D] (Singular) CanCast[Starsurge]: still on cooldown for 7297 ms
[07:42:31.215 N] (Singular) .... h=90.5%/m=91.4%, form:Moonkin, eclps=Solar, towards=Lunar, eclps#=0, mushcnt=0, th=53.7%/tm=53.7%, dist=3.7, face=True, loss=True, sfire=7971, mfire=9607
[07:42:31.292 N] [Singular] Casting Wrath on Valkyrion Aspirant.8786 @ 53.7% at 3.7 yds
[07:42:31.510 N] [Ultimate Combat] - DEBUG] System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at UltimateCombatHelper.Handlers.CombatTarget.Target() in f:\***\Plugins\UltimateMovement\Handlers\CombatTarget.cs:line 214
 
Maybe it doesnt work with Questing Bot. Im trying to use it while lvling and Singular to look more normal but still getting this with my Balance Druid
Does it work with grindbot or grindbuddy for your druid? If it does.. I think I might know the answer and should be an easy fix.
 
Does it work with grindbot or grindbuddy for your druid? If it does.. I think I might know the answer and should be an easy fix.

Have to test. Give me a little bit, have to look for a lvl90 druid on my accounts. this one is questing in northend.
 
with my Rogue and Grindbot it seems to work, at least no Errors in the log. But dont avoid some ground effects. maybe its the free version.
 
with my Rogue and Grindbot it seems to work, at least no Errors in the log. But dont avoid some ground effects. maybe its the free version.

You need to manually add the ground stuff to the spells as listed in the first 3 posts. This will make him move out of stuff.

If it works with Grindbot.. I can fix it for the rest of it. I think I know what might cause it, I will fix it later today to make it work with other bot bases too.
 
cane someone help me set up this for a dk when i run it he twitches some somties clicking buttons to early
 
Back
Top