• Visit Rebornbuddy
  • CLU (Codified Likeness Utility)

    Discussion in 'Archives' started by wulf, Feb 18, 2012.

    Thread Status:
    Not open for further replies.
    1. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      Hey Wulf

      First of all, what kick ass thing you've accomplished here. Love it.

      Been using your felmaster rotations as well and jumped at the chance on this one.

      But with your recent update I've encountered a slight snag when using my bear. CLU compiles fine and works with my DK, ut when i start it on the bear i get the following:

      System.NullReferenceException: Object reference not set to an instance of an object.
      at CLU.CLU.get_PreCombat() in c:\buddy\CustomClasses\CLU\CLU.cs:line 192
      at CLU.CLU.get_PreCombatBuffBehavior() in c:\buddy\CustomClasses\CLU\CLU.cs:line 235
      at Apoc_RaidBot.Apoc_RaidBot.CreateRootBehavior() in c:\buddy\Bots\Apoc_RaidBot_BotBase_v2.cs:line 43
      at Apoc_RaidBot.Apoc_RaidBot.get_Root() in c:\buddy\Bots\Apoc_RaidBot_BotBase_v2.cs:line 23
      at Styx.Logic.BehaviorTree.TreeRoot.Start()
      at Honorbuddy.MainWindow.Start()

      This is with raidbot, im getting similar errors using lazyraider

      System.NullReferenceException: Object reference not set to an instance of an object.
      at CLU.CLU.get_PreCombat() in c:\buddy\CustomClasses\CLU\CLU.cs:line 192
      at CLU.CLU.get_RestBehavior() in c:\buddy\CustomClasses\CLU\CLU.cs:line 243
      at Styx.Bot.CustomBots.LazyRaider.CreateCombatBehavior() in c:\buddy\Bots\LazyRaider\LazyRaider.cs:line 240
      at Styx.Bot.CustomBots.LazyRaider.get_Root() in c:\buddy\Bots\LazyRaider\LazyRaider.cs:line 70
      at Styx.Logic.BehaviorTree.TreeRoot.Start()
      at Honorbuddy.MainWindow.Start()


      And finally with combatbot:

      System.NullReferenceException: Object reference not set to an instance of an object.
      at CLU.CLU.get_PreCombat() in c:\buddy\CustomClasses\CLU\CLU.cs:line 192
      at CLU.CLU.get_RestBehavior() in c:\buddy\CustomClasses\CLU\CLU.cs:line 243
      at Styx.Bot.CustomBots.CombatBot.CreateCombatBehavior() in c:\buddy\Bots\CombatBot.cs:line 125
      at Styx.Bot.CustomBots.CombatBot.get_Root() in c:\buddy\Bots\CombatBot.cs:line 42
      at Styx.Logic.BehaviorTree.TreeRoot.Start()
      at Honorbuddy.MainWindow.Start()



      Do you need more info? Let me know

      And again, kick ass work on this so far. I'm a happy camper :)
       
    2. laria

      laria Well-Known Member

      Joined:
      Jan 15, 2010
      Messages:
      5,386
      Likes Received:
      36
      Trophy Points:
      48
      2pc Tier set Bonus?: False
      4pc Tier set Bonus?: True , this is logically wrong, people that have 4 pieces have the 2 piece bonus as well^^
       
    3. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63
      Hi gniegsch, thanks for reporting. Nothing is jumping out at me as wrong, Could I suggest;-

      * Ensure you have the latest version of CLU (Currently 2.2.1)
      * Verify that you have followed all the steps listed under the 'How do I use CLU' of this post.
      * Please set "debugOn = true;" on line 113 in the CLU.cs file located in the CLU directory (This turns on the writedebug logging) without this ON problem solving your logs will be slower for me!
      * Attach a log (See How to by Kickazz006) Link http://www.thebuddyforum.com/honorbu...-log-kick.html
       
    4. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63
      haha, thanks laria that was a doh! moment. (Fixed in next release.)
       
    5. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63
      Change Log
      -------------
      * 9/3/2012 [2.2.2] Many bug fixs and improvements see below

      * 9/3/2012 [All] Lag using DK Blood Rotation and BM spec. *Fixed Needs testing*
      * 9/3/2012 [All] Possible problem with fading light button press. *RESOLVED*
      * 9/3/2012 [All] Code optimisations. *RESOLVED*
      * 9/3/2012 [Deathknight] DK Blood Rotation optimized *RESOLVED*
      * 9/3/2012 [Deathknight] Lichbourne heal implemented *RESOLVED*
      * 9/3/2012 [Paladin] Add: Hammer of Justice backup interrupt //Thanks Laria *RESOLVED*
      * 9/3/2012 [Druid] will cap combo points still and hit shred a few more times.*Fixed Needs testing*
      * 9/3/2012 [Druid] If it has 5 combo points and SR falls it will do a 5 point SR. *current theorycrafting accepts this*
      * 9/3/2012 [Druid] If it has 5 combo points and rake/mangle fall it will refresh either, leaving us combo capped. *Fixed Needs testing*
       
    6. babydragon

      babydragon New Member

      Joined:
      Aug 30, 2011
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      Would it be possible to save cooldowns for specific attacks ?

      Like save AMS for Hour of Twilight or save Icebound Fortitude for Impale and stuff like that.

      If its already in i'm sorry but just wanted to know ;)
       
    7. amputations

      amputations Active Member

      Joined:
      Jan 6, 2011
      Messages:
      2,262
      Likes Received:
      11
      Trophy Points:
      38
      Yeah, that would indeed be great. Sometimes CD's are best saved for certain phases of an encounter (such as warlord zon'ozz black phase where he takes increased damage)

      I think that would best be taken care of in a GUI that allows users to choose wether to use CDS automatically or manually. I dont know but wouldnt that be easier than insert some sort of AI in the CC that notices certain burnphases such as the black phase, or when there's alot of time left until next transition to burn down the boss?
       
    8. bennyquest

      bennyquest Community Developer

      Joined:
      Dec 6, 2010
      Messages:
      2,644
      Likes Received:
      22
      Trophy Points:
      38
      In my opionion that would clunk things up. Then again i am not a coder. If sometheing were going to be implemented just a simple macro button press could initialize your burnphase cooldowns. That wold reduce some clutter of them vs. a GUI
       
    9. amputations

      amputations Active Member

      Joined:
      Jan 6, 2011
      Messages:
      2,262
      Likes Received:
      11
      Trophy Points:
      38
      I myself manually manage my CD's and let the bot do the rotation, but if somehting's to be fully automated I think its hard to make it know when its the best time to use cds and when to save them. But then again Im not a coder :)
       
    10. laria

      laria Well-Known Member

      Joined:
      Jan 15, 2010
      Messages:
      5,386
      Likes Received:
      36
      Trophy Points:
      48
      What kind of issue was there with fading light?
       
    11. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      Well, it would appear I was a huge retard :)

      I activated the debugging and there it was:
      "[CLU] 2.2.0: Skipping Feral Druid rotation. Character is missing Mangle"

      Retardo here was in balance spec :D

      Let's go back to crediting you for a really super cool CC. I really do enjoy it Wulf
       
    12. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63
      Some null reference exemptions in a few methods were slowing or halting the processing of CLU. Once I caught those exemptions fading light worked as it should. (Tested with Protection Paladin and Blood Tank)

      haha, gniegsch excellent problem solving...and some people think logs are lame :S
      I am glad you got to the bottom of it and hope you continue to enjoy.


      Hi babydragon, I have put this on CLU's request list (on the first post).

      amputations & bennyquest raise worthy points.

      I think the macro is a good idea but I do not like two things

      • The macro (from what I've seen with felmaster) does not always work dependably.
      • The macro feels too detectable (eventually) as the macro's are stored server side.


      I wanted to avoid a GUI to keep it simple, but I can see the one click button setting for Cool downs: Manual/Automatic working well before an encounter. I guess with the GUI option, it would be very easy - if you had two or more monitors - to have a very small Cool downs: Manual/Automatic button sitting open that you could click.

      My full-scale expectation for CLU is to get the best of both worlds (Full automation of most things with specific manual actions left out). Do not laugh but I want my mother to be able to use CLU for raiding!

      Catchphrase: "CLU, So easy your mother could use it!"
       
      Last edited: Mar 9, 2012
    13. Crowley

      Crowley Member

      Joined:
      Jan 15, 2010
      Messages:
      967
      Likes Received:
      20
      Trophy Points:
      18
      This. I avoid all classes that require any kind of addon or macro.
      This is excellent so far :)
      I will get some logs for you to compare if you wish but i do more damage as Frost using your Deathstrike CC rather than CLU. 21k dps with DeathStrike on a Dummy and dropped to like 17k using CLU. No idea about the other classes %)
       
    14. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63
      Hi Crowley, CLU follows the Masterfrost rotation only. Please gear and reforge too Frost DPS | Winter of Discontent [4.3] - Elitist Jerks take advantage.
       
    15. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      please do enh shaman next :)
       
    16. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      Wulf, if you ever feel like doing am arms warrior for CLU, I have my own tweaked felmaster file you could base it on.
      I used it last night on ultraxion with 397 equipped and did 40k DPS on a 10N (and 71k on DW LFR)
       
      Last edited: Mar 10, 2012
    17. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63
      Change Log
      -------------
      * 10/3/2012 [2.2.3] Added Cooldowns GUI setting - on for automatic, off for manual control

      Ok so have been thinking about what you guys said and implemented a GUI.

      • Press the Class Config Button
      • Toggle (Tick/untick) for Automatic/Manual cooldown control.
      • You can leave the window open, or close it..it saves in realtime.

      Explanation;-
      CLU checks IsTargetWorthy(Current Target)
      1. If AutoManageCooldowns (set by the GUI) is false then do nothing.
      2. if the target.CurrentHealth < 310000 then do nothing.
      3. if the target is boss || miniBoss || trainingDummy then Pop your cooldowns

      I will list the "Cooldowns" when the CC is initialized so the user knows what to expect when AutoManageCooldowns is disabled.
       
      Last edited: Mar 10, 2012
    18. babydragon

      babydragon New Member

      Joined:
      Aug 30, 2011
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      Thanks, i'l try it out asap ;-)
       
    19. wulf

      wulf Community Developer

      Joined:
      Dec 29, 2010
      Messages:
      1,832
      Likes Received:
      128
      Trophy Points:
      63

      Hi gniegsch, Nice work. I could transfer the logic quite easily to CLU and give you credit, PM me with the New - Pastie :cool:
       
    20. gniegsch

      gniegsch New Member

      Joined:
      Dec 15, 2010
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      0
      Should be in your inbox now
       
    Thread Status:
    Not open for further replies.

    Share This Page