• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Singular - A community driven All-In-One CC - It Just Plain Works - (Pt. 2)

    Discussion in 'Archives' started by Xanathos, Apr 19, 2011.

    1. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Sorry folks, been quite sick lately and not had a lot of energy to get much done. I'm feeling better, and hopefully will start getting some things finished up and done with.

      I do apologize for the delays in updates, etc.
       
    2. Fraak

      Fraak New Member

      Joined:
      Mar 24, 2011
      Messages:
      32
      Likes Received:
      1
      Trophy Points:
      0
      No worries.

      Ive been testing it with my new druid and (see attachment for the profile) it is working quite well. Except for the (imho bug) in Spell.cs (see patch).

      Both Common and FeralCat should go into ClassSpecific\Druid\


      Edit: Forgot to mention this I only tested this with leveling so its a grinding profile not instance or pvp.

      Edit2: Oh and for some reason the interrupt and rest is not working maybe anybody else can shed some light on this.

      Rest code:
      Code:
      [Spec(TalentSpec.FeralDruid)]
      [Class(WoWClass.Druid)]
      [Behavior(BehaviorType.Rest)]
      [Priority(500)]
      [Context(WoWContext.All)]
      public static Composite CreateDruidRest()
      {
          return new PrioritySelector(
              new Action( delegate 
                          {
                              Logging.Write(Color.Orange, "[Singular] Druid REST");
                          }),
              Spell.Cast("Regrowth", ret => StyxWoW.Me, ret => StyxWoW.Me.HealthPercent < 75),
              Rest.CreateDefaultRestBehaviour()
              );
      }
      
      It is still saying its using the default rest behavior dont know why.

      Interrupt code:
      Code:
      // Interupt
      Spell.Cast("Skull Bash (Cat)",
                  ret =>
                  StyxWoW.Me.CurrentTarget.IsCasting || StyxWoW.Me.CurrentTarget.ChanneledCastingSpellId != 0),
      
      Note that the profile is based on fpsware's druid profile so no hard thinking has been done on my part.
       

      Attached Files:

      Last edited: May 22, 2011
    3. handnavi

      handnavi Well-Known Member Buddy Store Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,489
      Likes Received:
      59
      Trophy Points:
      48
      Hi Apoc,

      i have a big problem with the "HasAura" function, i hope you can help me.

      I'm actually writing a Retribution.cc but i cant get the check for the Aura "The Art of Work" to work. :)

      If i use
      Code:
      Spell.Buff("Exorcism", ret => Unit.HasAura(StyxWoW.Me,"The Art of War"))
      then my Paladin always uses Exorcism. If the proc isn't there, i can find in the logfile the following:

      Code:
      [Singular-DEBUG] Looking for aura: The Art of War
      Code:
      [Singular-DEBUG] Aura name: The Art of War - 0
      But of course, it should not be listed there.

      If it procs, and Singular looks for another Aura (for example Divine Purpose) i get the following:
      Code:
      [Singular-DEBUG] Looking for aura: Divine Purpose
      Code:
      [Singular-DEBUG] Aura name: The Art of War - 1
      And immediately the check for The Art of War ends up with:

      Code:
      [Singular-DEBUG] Looking for aura: The Art of War
      Code:
      [Singular-DEBUG] Aura name: The Art of War - 0
      Can you fix this issue? :)


      Btw.: Checking for all other auras (Divine Purpose, Blessing of Kings etc..) works like a charm. Maybe its because The Art of War is also a talent?


      Also i noticed, that i cant get the rest behaviour to work. Is it just me? :)

      Thanks alot!
       

      Attached Files:

    4. froggystyle

      froggystyle New Member

      Joined:
      Jan 8, 2011
      Messages:
      305
      Likes Received:
      0
      Trophy Points:
      0
      knew something was wrong hope ya feel better apoc
       
    5. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Use HasAuraStacks instead. (Pass 1 for the stack count)

      @froggystyle;

      Code:
                      // IsCasting has been fixed a few releases ago to also check for channeled spells. Skull Bash is also not provided in the custom wrappers for the spell manager
                      // So use it by ID
                      Spell.Cast(80965 /*"Skull Bash (Cat)"*/, ret => StyxWoW.Me.CurrentTarget.IsCasting),
       
      Last edited: May 22, 2011
    6. handnavi

      handnavi Well-Known Member Buddy Store Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,489
      Likes Received:
      59
      Trophy Points:
      48

      Mhh, you mean
      Code:
      Spell.Buff("Exorcism", ret => Unit.HasAura(StyxWoW.Me,"The Art of War",1))
      
      ?
      That doesnt work for "The Art of War" :)
      If it procs, and Singular searches for the Aura i still get:
      Code:
      [Singular-DEBUG] Aura name: The Art of War - 0
      
      On the other side, if it procs, and Singular searches for another aura,
      it will be listed with
      Code:
      [Singular-DEBUG] Aura name: The Art of War - 1
      in the debug Log.

      Maybe im too stupid, but i guess there must be a bug somewhere. :)
       
    7. Fraak

      Fraak New Member

      Joined:
      Mar 24, 2011
      Messages:
      32
      Likes Received:
      1
      Trophy Points:
      0
      Nope got the same issue.
       
    8. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Those of you with issues with the rest behavior, update from SVN. I fixed a small bug.
       
    9. handnavi

      handnavi Well-Known Member Buddy Store Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,489
      Likes Received:
      59
      Trophy Points:
      48
      Thanks alot!
      You have a solution for my problem with "The Art of War" too? :)
       
    10. froggystyle

      froggystyle New Member

      Joined:
      Jan 8, 2011
      Messages:
      305
      Likes Received:
      0
      Trophy Points:
      0
      i must be blind i know i saw it somewhere how 2 disable cc movement but now i cant seem 2 find it .;
       
    11. protopally

      protopally Member

      Joined:
      Jan 15, 2010
      Messages:
      391
      Likes Received:
      8
      Trophy Points:
      18
      handnavi could you post your reti please mate :)
       
    12. froggystyle

      froggystyle New Member

      Joined:
      Jan 8, 2011
      Messages:
      305
      Likes Received:
      0
      Trophy Points:
      0
      feral cat cc ..isnt useing shred at all doesnt build up hardly any cp's
       
    13. Jon310

      Jon310 Member

      Joined:
      Jan 15, 2010
      Messages:
      368
      Likes Received:
      8
      Trophy Points:
      18
      I found a bug in Item.UseEquippedItem(),

      When using this on my warrior with engineering the cc works fine, however on my warrior without engineering the cc will not execute any code past the Item.UseEquippedItem(9), in the combat portion of the cc.

      [Singular] Using item: Dirty Rotten Gloves there is no enchant on the gloves.

      Log attached.

      Edit: This worked fine in Singular v1, however I have never seen it work in Singular v2.
       

      Attached Files:

      Last edited: May 23, 2011
    14. tozededao

      tozededao Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,225
      Likes Received:
      5
      Trophy Points:
      38
      I noticed my pala doesnt make use of the Divine Purpose proc.

      EDIT: Found it why, replace Hand of Light with Divine Purpose.
       
    15. handnavi

      handnavi Well-Known Member Buddy Store Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,489
      Likes Received:
      59
      Trophy Points:
      48
      Here you go:

      Note:

      Art of War not working (No exorcism at all)
      No rotation for undead / demons.


      @Apoc:
      Is there a check like "CurrentTargetIsUndeadOrDemon" ? :)
       

      Attached Files:

    16. theatristformallyknownasG

      theatristformallyknownasG Active Member

      Joined:
      Jan 16, 2010
      Messages:
      3,041
      Likes Received:
      8
      Trophy Points:
      38
      double pretty please :)

      G
       
    17. xio8up

      xio8up New Member

      Joined:
      Feb 25, 2010
      Messages:
      501
      Likes Received:
      0
      Trophy Points:
      0
      Would like to see a good resto druid for raids :D
       
    18. handnavi

      handnavi Well-Known Member Buddy Store Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,489
      Likes Received:
      59
      Trophy Points:
      48
    19. Goldz

      Goldz New Member

      Joined:
      Dec 16, 2010
      Messages:
      206
      Likes Received:
      2
      Trophy Points:
      0
      anyone know the reason my feral tank keeps going into cat form?
       
    20. Fraak

      Fraak New Member

      Joined:
      Mar 24, 2011
      Messages:
      32
      Likes Received:
      1
      Trophy Points:
      0
      Could be beacuse you started bot while not in an instance then singular loads the non instance context behaviors. When you finally get into an instance singular does not reload behaviors as far as I know of.
      So the solution would be wait for until you are in an instance then start your bot after that you'll be fine.
       

    Share This Page