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

Singular - A community driven All-In-One CC - It Just Plain Works - (Pt. 2)

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.
 
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.
 

Attachments

Last edited:
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!
 

Attachments

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!

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:
Use HasAuraStacks instead. (Pass 1 for the stack count)


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. :)
 
Those of you with issues with the rest behavior, update from SVN. I fixed a small bug.
 
i must be blind i know i saw it somewhere how 2 disable cc movement but now i cant seem 2 find it .;
 
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.
 

Attachments

Last edited:
I noticed my pala doesnt make use of the Divine Purpose proc.

EDIT: Found it why, replace Hand of Light with Divine Purpose.
 
anyone know the reason my feral tank keeps going into cat form?
 
anyone know the reason my feral tank keeps going into cat form?

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.
 
Back
Top