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

CLU (Codified Likeness Utility)

Status
Not open for further replies.
It seems as Assassination you don't use Tricks.

Added
Code:
Spells.CastSpell("Tricks of the Trade", u => Unit.BestTricksTarget, ret => true, "Tricks of the Trade"),
to the Assassination spec file and it uses it properly.

Thanks fernir, I will add and update to SVN.
 
First of all, CLU is amazing Wulf! I use it on all my toons. I do have a problem with the prot pally CC though, and I am sure there is a quick way to fix it that is probably listed in this gargantuan thread. When I am tanking, if my life gets too low, the CC bubbles. I had this happen last night, and of course I lost agro on the boss and looked like a huge noob. How would I make it so it does not bubble?

Hi sgresham, you can turn off heal/defensive in the settings. Did CLU bubble and save your life? I will take a look and make sure it only bubbles if you are at 10% and have exhausted all your cool downs...we still want to keep you alive long enough for that greater heal to hit you! Even if you have to cancel it. Some may use this feature while solo-ing as well.
 
I think today is the day to prune all useful information from this thread, create another thread with updated information on CLU and it's functionality.
 
I think today is the day to prune all useful information from this thread, create another thread with updated information on CLU and it's functionality.
Clean threads are easy on the eyes threads. Me likey.
 
wow, i just saw, that i completely failed to upload the right error message on the previous page
.
[03:49:20:992] Styx.InvalidObjectPointerException: Cannot read a descriptor on an invalid object.
at Styx.WoWInternals.WoWObjects.WoWObject.#eve[T](UInt32 field)
at Styx.WoWInternals.WoWObjects.WoWObject.#dve[T](Int32 offsetIndex)
at Styx.WoWInternals.WoWObjects.WoWUnit.GetCurrentPower(WoWPowerType type)
at Styx.WoWInternals.WoWObjects.WoWUnit.get_CurrentHealth()
at CLU.Helpers.TargetBase.UnitsFilter(TargetFilter filter)
at CLU.Helpers.TargetBase.<>c__DisplayClass3f.<FindTarget>b__3a(Object )
at TreeSharp.Action.RunAction(Object context)
at TreeSharp.Action.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Sequence.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.Decorator.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.#h.#nF.MoveNext()
at (Object )
at TreeSharp.Composite.Tick(Object context)
at Styx.Logic.BehaviorTree.TreeRoot.Tick()
 
wow, i just saw, that i completely failed to upload the right error message on the previous page
.

Hi buzzerbeater, thanks for reporting in but the entire log would be much more helpful in diagnosing this issue.
 
Change Log
-------------

* 8/7/2012 [2.7.7] Code cleanup and enable all spells for RESTORATION DRUID...doh!

Assassination now uses Tricks of the Trade.

So one should not drink and code....I commented out most of the restoration druid healing rotation during testing a few nights ago and only just noticed! Appoligies to all the resto druids out there...my bad.
 
Last edited:
Change Log
-------------

* 8/7/2012 [2.7.7] Code cleanup and enable all spells for RESTORATION DRUID...doh!

So one should not drink and code....I commented out most of the restoration druid healing rotation during testing a few nights ago and only just noticed! Appoligies to all the resto druids out there...my bad.
So, you left out anything important? Like, Nourish? :P
(Read my post a few pages back where I stated it was unusable ;))
 
So, you left out anything important? Like, Nourish? :P
(Read my post a few pages back where I stated it was unusable ;))

Yes allot was commented out, appoligies again...I read your post but didn't follow it up right away (I do that sometimes).
 
Ok now that I am running this in a raid it will only do PoM, Renew, heal, and Holy Word: Sanc. No CoH or PoH

Just tested it in a 5 man and it did aoe healing but none to speak of in a raid.


Edit: Nevermind lol
 

Attachments

Last edited:
Should it switch to the Chakra automatically?

No. It relies on the setting in the GUI. You can also bind a key and swap on the Fly.

I just noticed that it tries to use hym of hope and shadowfiend when Mana Void is out...bad!....I cannot find the debuff that is applied though. Does anyone know how I can detect this so it does not waste the mana cooldowns.
 
Ok now that I am running this in a raid it will only do PoM, Renew, heal, and Holy Word: Sanc. No CoH or PoH


I noticed that too...if you restart HB a couple of times its ok...its to do with detecting Me.PartyMemberInfos : Me.RaidMemberInfos.

It does not detect for me mostly when in Warlord Zon'ozz or Yor'sahj the Unsleeping underground area in dragon soul. Every other fight is fine just not in this area...could it have anything to do with that area bieng underground? seem to have range issues down there as well.
 
Last edited:
Lol is that fixable? It was having the issue with me during the madness encounter.
 
Last edited:
Lol is that fixable? It was having the issue with me during the madness encounter.

hmmm maybe its not specific to the encounters I mentioned..either way this is how I detect party members to heal so if nothing is returned it should try the raid wide list but doesn't seem to be working...

I am trying some new things to fix this. For anyone interested.. here is how I detect the main party members to heal.
PARTY HEALING
PHP:
private static IEnumerable<WoWPartyMember> GroupMemberInfos { get { return !Me.IsInRaid ? Me.PartyMemberInfos : Me.RaidMemberInfos; } }

       /// <summary>
        ///     List of nearby Party units to heal that pass certain criteria.
        /// </summary>
        public static IEnumerable<WoWPartyMember> PartyHealList
        {
            get
            {
                try
                {
                    return from o in GroupMemberInfos
                                where o.Location3D.Distance2DSqr(Me.Location) < 40 * 40 
                                        && o.IsOnline 
                                        && o.ToPlayer().IsAlive
                                        && !o.ToPlayer().IsGhost
                                        && o.ToPlayer().IsPlayer
                                        && o.ToPlayer() != null
                                        && !o.ToPlayer().IsFlying
                                        && !o.ToPlayer().OnTaxi
                    orderby o.Health
                    select o;
                }
                catch (NullReferenceException)
                {
                    return new List<WoWPartyMember>();
                }
            }
        }

My fallback is this to return players to heal (which works 100% of the time)...but it doesn't return party info which I need for Priest healing to work well.
RAID WIDE HEALING
PHP:
private static IEnumerable<WoWPartyMember> GroupMemberInfos { get { return !Me.IsInRaid ? Me.PartyMemberInfos : Me.RaidMemberInfos; } }

/// <summary>
        ///     List of nearby units to heal that pass certain criteria.
        /// </summary>
        public static IEnumerable<WoWUnit> HealList
        {
            get
            {
                try
                {
                    var ret = from o in ObjectManager.ObjectList
                              where o is WoWPlayer && o.Location.DistanceSqr(Me.Location) < 40 * 40
                              let p = o.ToUnit().ToPlayer()
                              where p.IsAlive && !p.IsGhost && p.IsPlayer && p.ToPlayer() != null && !p.IsFlying && !p.OnTaxi
                              orderby p.CurrentHealth
                              select p.ToUnit();
                    
                    return ret;
                }
                catch (NullReferenceException)
                {
                    return new List<WoWUnit>();
                }                 
            }
        }

So...I am trying to detect if PartyHealList.IsEmpty() or something so that if we do not return anything from PARTY HEALING we fall back to RAID WIDE HEALING which works everytime...
 
Last edited:
No. It relies on the setting in the GUI. You can also bind a key and swap on the Fly.

I just noticed that it tries to use hym of hope and shadowfiend when Mana Void is out...bad!....I cannot find the debuff that is applied though. Does anyone know how I can detect this so it does not waste the mana cooldowns.

I think the Orb is in the objectmanager. So a simple call for it or its presence should work?

Because i dont think there is a debuff, you only get your mana drained asap.
 
Ok Im not having an issue now. Nevermind, After the first platform it stopped aoehealing
 
Last edited:
No. It relies on the setting in the GUI. You can also bind a key and swap on the Fly.

I just noticed that it tries to use hym of hope and shadowfiend when Mana Void is out...bad!....I cannot find the debuff that is applied though. Does anyone know how I can detect this so it does not waste the mana cooldowns.
if I'm not mistaken the buff should be on the boss
 
Status
Not open for further replies.
Back
Top