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)

The buff I used was correct, would you be willing to help me out on any sort of instant messanger? PM me your username if you can please.
 

Attachments

  • Untitled.webp
    Untitled.webp
    5.8 KB · Views: 31
The buff I used was correct, would you be willing to help me out on any sort of instant messanger? PM me your username if you can please.

That has no time left, and this shouldnt be the case, dump all of them out of combat and then all in combat and post both and we'll work it out; pm'd you too

Edit:
Found the issues, seems something in spellmanager is confusing http://www.wowhead.com/spell=19434 and http://www.wowhead.com/spell=82928
Below is a temp fix :) thanks to longhornfreak for testing :)

Code:
                new Decorator(ret => StyxWoW.Me.ActiveAuras.ContainsKey("Fire!") && StyxWoW.Me.ActiveAuras["Fire!"].TimeLeft.Seconds >= 1,
                    new Action(ret =>
                        {Lua.DoString("RunMacroText(\"/cast Aimed Shot\")");
                        Logger.Write("Fire! Aimed Shot");})),
                Spell.Cast("Aimed Shot", ret => StyxWoW.Me.CurrentTarget.HealthPercent >= 80),
 
Last edited:
Hi,

could the Spell Vanish from Rogues be configurable to use / or not to use?
It makes no sense to vanish from mobs when low healt and thean attack 1 second later again, without going to a safespot und reg some life. The toon dies everytime.
So please
- change the way Vanish is used (after vanishing go to safespot and regenerate life) or
- let the user choose if to use Vanish in the way it is atm or to deactivate Vanish
 
Hi,

could the Spell Vanish from Rogues be configurable to use / or not to use?
It makes no sense to vanish from mobs when low healt and thean attack 1 second later again, without going to a safespot und reg some life. The toon dies everytime.
So please
- change the way Vanish is used (after vanishing go to safespot and regenerate life) or
- let the user choose if to use Vanish in the way it is atm or to deactivate Vanish

are you using the latest version?
 
PHP:
//Flash of Light
                    new Decorator(
                        ret => !StyxWoW.Me.IsInRaid && !StyxWoW.Me.IsInParty && StyxWoW.Me.HealthPercent < 45 && StyxWoW.Me.ManaPercent >= 31,
                        new PrioritySelector(
                            Spell.Cast("Flash of Light", ret => !StyxWoW.Me.IsCasting)
                            )),
                // Zealotry Routine
The above code works wonders when added above the Zealotry routine in Retribution.cs of the paladin-specific code.

I was getting aggravated that my paladin would not use holy light, or flash of light, but just jumps to lay on hands if its down on health and had no holy power, resulting in me dying later with no holy power, but full mana... My solution? Cast a heal... This makes sure that you are not in a raid or party, so that we won't try and do a raid-healers job for them...
 
Last edited:
Yes, i'm using the latest Version from SVN

...Honorbuddy\CustomClasses\Singular\Settings\RogueSettings
Code:
#region Revision Info

// This file is part of Singular - A community driven Honorbuddy CC
// $Author: raphus $
// $Date: 2011-05-25 00:38:16 -0500 (Wed, 25 May 2011) $
// $HeadURL: http://svn.apocdev.com/singular/trunk/Singular/Settings/RogueSettings.cs $
// $LastChangedBy: raphus $
// $LastChangedDate: 2011-05-25 00:38:16 -0500 (Wed, 25 May 2011) $
// $LastChangedRevision: 329 $
// $Revision: 329 $

#endregion

using System.ComponentModel;
using Singular.ClassSpecific.Rogue;
using Styx.Helpers;

using DefaultValue = Styx.Helpers.DefaultValueAttribute;

namespace Singular.Settings
{
    internal class RogueSettings : Styx.Helpers.Settings
    {
        public RogueSettings()
            : base(SingularSettings.SettingsPath + "_Rogue.xml")
        {
        }

        [Setting]
        [DefaultValue(PoisonType.Instant)]
        [Category("Common")]
        [DisplayName("Main Hand Poison")]
        [Description("Main Hand Poison")]
        public PoisonType MHPoison { get; set; }

        [Setting]
        [DefaultValue(PoisonType.Instant)]
        [Category("Common")]
        [DisplayName("Off Hand Poison")]
        [Description("Off Hand Poison")]
        public PoisonType OHPoison { get; set; }

        [Setting]
        [DefaultValue(false)]
        [Category("Common")]
        [DisplayName("Vanish")]
        [Description("Use Vanish.")]
        public bool UseVanish { get; set; }
    }
}

...Honorbuddy\CustomClasses\Singular\ClassSpecific\Rogue\Common

Code:
using System.Linq;
using System.Threading;
using CommonBehaviors.Actions;
using Singular.Dynamics;
using Singular.Helpers;
using Singular.Managers;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using TreeSharp;
using Action = TreeSharp.Action;

namespace Singular.ClassSpecific.Rogue
{
    public class Common
    {
        [Class(WoWClass.Rogue)]
        [Spec(TalentSpec.CombatRogue)]
        [Spec(TalentSpec.AssasinationRogue)]
        [Spec(TalentSpec.SubtletyRogue)]
        [Spec(TalentSpec.Lowbie)]
        [Behavior(BehaviorType.PreCombatBuffs)]
        [Context(WoWContext.All)]
        public static Composite CreateRoguePreCombatBuffs()
        {
            return new PrioritySelector(
                CreateApplyPoisons(),
                Spell.BuffSelf("Recuperate", ret => StyxWoW.Me.RawComboPoints > 0 && StyxWoW.Me.HealthPercent < 80)
                );
        }

        [Class(WoWClass.Rogue)]
        [Spec(TalentSpec.CombatRogue)]
        [Spec(TalentSpec.AssasinationRogue)]
        [Spec(TalentSpec.SubtletyRogue)]
        [Spec(TalentSpec.Lowbie)]
        [Behavior(BehaviorType.CombatBuffs)]
        [Context(WoWContext.All)]
        public static Composite CreateRogueCombatBuffs()
        {
            return new PrioritySelector(
                Item.CreateUsePotionAndHealthstone(30, 0),
                Spell.BuffSelf("Vanish", ret => SingularSettings.Instance.Rogue.UseVansih && StyxWoW.Me.HealthPercent < 20 && Unit.NearbyUnfriendlyUnits.Count(u => u.Aggro) > 0)
                );
        }

        [Class(WoWClass.Rogue)]
        [Spec(TalentSpec.CombatRogue)]
        [Spec(TalentSpec.AssasinationRogue)]
        [Spec(TalentSpec.SubtletyRogue)]
        [Spec(TalentSpec.Lowbie)]
        [Behavior(BehaviorType.Rest)]
        [Context(WoWContext.All)]
        public static Composite CreateRogueRest()
        {
            return new PrioritySelector(
                Spell.BuffSelf("Stealth", ret => StyxWoW.Me.HasAura("Food")),
                Rest.CreateDefaultRestBehaviour()
                );
        }

        public static Composite CreateApplyPoisons()
        {
            return new PrioritySelector(
                new Decorator(
                    ret => Poisons.MainHandNeedsPoison && Poisons.MainHandPoison != null,
                    new Sequence(
                        new Action(ret => Logger.Write(string.Format("Applying {0} to main hand", Poisons.MainHandPoison.Name))),
                        new Action(ret => Navigator.PlayerMover.MoveStop()),
                        new Action(ret => StyxWoW.SleepForLagDuration()),
                        new Action(ret => Poisons.MainHandPoison.UseContainerItem()),
                        new Action(ret => StyxWoW.SleepForLagDuration()),
                        new Action(ret => Lua.DoString("UseInventoryItem(16)")),
                        new Action(ret => StyxWoW.SleepForLagDuration()),
                        new WaitContinue(10, ret => !StyxWoW.Me.IsCasting, new ActionAlwaysSucceed()),
                        new Action(ret => Thread.Sleep(1000)))),
                new Decorator(
                    ret => Poisons.OffHandNeedsPoison && Poisons.OffHandPoison != null,
                    new Sequence(
                        new Action(ret => Logger.Write(string.Format("Applying {0} to off hand", Poisons.OffHandPoison.Name))),
                        new Action(ret => Navigator.PlayerMover.MoveStop()),
                        new Action(ret => StyxWoW.SleepForLagDuration()),
                        new Action(ret => Poisons.OffHandPoison.UseContainerItem()),
                        new Action(ret => StyxWoW.SleepForLagDuration()),
                        new Action(ret => Lua.DoString("UseInventoryItem(17)")),
                        new Action(ret => StyxWoW.SleepForLagDuration()),
                        new WaitContinue(10, ret => !StyxWoW.Me.IsCasting, new ActionAlwaysSucceed()),
                        new Action(ret => Thread.Sleep(1000))))
                );
        }

        public static Composite CreateRogueBlindOnAddBehavior()
        {
            return new PrioritySelector(
                    ctx => Unit.NearbyUnfriendlyUnits.FirstOrDefault(u =>
                            u.IsTargetingMeOrPet && u != StyxWoW.Me.CurrentTarget),
                    new Decorator(
                        ret => ret != null,
                        Spell.Buff("Blind", ret => (WoWUnit)ret, ret => Unit.NearbyUnfriendlyUnits.Count(u => u.Aggro) > 1)));
        }
    }
}

hope that works, i think it should. If it does you should be able to have the option in your settings to use vanish or not use it.
 
Using a fresh download of HB to bot archeology. What's happened to the afflock attack pattern? Bane of Agony, Corruption and Shadow Bolt spam only, maybe a Shadowflame. No Haunt. No Unstable Affiction. No Drain Life (if health is low). No Infernal for the ohshitimsurroundedhelpmenow moments (actually, i don't think that was ever in there).

Now the bot struggles with mobs four levels lower than itself. Something is seriously wrong here.
 
Latest Singular not support ability's Warrior

Think what he's trying to say here is that Warriors are only doing white damage and a few other abilities (Heroic Throw, Heroic Leap, Inner Rage).
Also not sure if it's just me but every single time I try and SVN Singular I always get compile errors and end up having to revert to the version released with the latest HB.

Code:
Could not compile CC from E:\Downloads\Games\World of Warcraft\HB\CustomClasses\Singular SVN!
File: SingularRoutine.cs Line: 205 Error: The best overloaded method match for 'Singular.CompositeBuilder.GetComposite(object, Styx.Combat.CombatRoutine.WoWClass, Singular.TalentSpec, Singular.BehaviorType, Singular.WoWContext)' has some invalid arguments
File: SingularRoutine.cs Line: 205 Error: Argument '2': cannot convert from 'Singular.Managers.TalentSpec' to 'Styx.Combat.CombatRoutine.WoWClass'
File: SingularRoutine.cs Line: 205 Error: Argument '3': cannot convert from 'Singular.BehaviorType' to 'Singular.TalentSpec'
File: SingularRoutine.cs Line: 205 Error: Argument '4': cannot convert from 'Singular.WoWContext' to 'Singular.BehaviorType'
File: SingularRoutine.cs Line: 205 Error: Argument '5': cannot convert from 'out int' to 'Singular.WoWContext'
File: CompositeBuilder.cs Line: 74 Error: 'Singular.TalentSpec' does not contain a definition for 'Any'
File: Poisons.cs Line: 51 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 53 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 55 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 58 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 60 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 74 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 76 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 78 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 81 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 83 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Common.cs Line: 31 Error: Cannot convert lambda expression to type 'TreeSharp.Composite' because it is not a delegate type
File: Common.cs Line: 31 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 40 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 42 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 43 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 44 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 38 Error: Cannot convert lambda expression to type 'TreeSharp.Composite' because it is not a delegate type
File: Common.cs Line: 38 Error: Operator '!=' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 51 Error: Operator '!=' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 61 Error: Operator '!=' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 62 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 67 Error: Cannot convert lambda expression to type 'TreeSharp.Composite' because it is not a delegate type
File: Common.cs Line: 68 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 92 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 95 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 98 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 98 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'

EDIT: Nevermind looks like the compiling is just due to the fact that you have to use the v1 stuff for HB 4991.
Does that mean that the latest trunk (after the re-write) is for the older version of HB?
 
Last edited:
What is going on with shadow priests? It wont drink, It wont eat. It doesnt use shadow form. Heals itself at like 40% health till its out of mana and dies 99% of the time.
???????
I would just go use another cc but after new hb there seems not to be an alternative
 
why furrywarrior use smash???

how can I change it so that it is only used when it procs
 
why furrywarrior use smash???

how can I change it so that it is only used when it procs

It's a bug that just started. I've tried several ways to get it to not cast unless the proc is up, but I haven't been able to get it to function properly.
 
It's a bug that just started. I've tried several ways to get it to not cast unless the proc is up, but I haven't been able to get it to function properly.

Maybe something todo with the 2 new flags in combat log
 
i've having various issues with this CC

I'm using Priest....

Half the time it doesn't drink, yes I have drinks - drink @ 60
When it gets into combat and the in combat target is not targetting me, it spins in circles and moves around like an idiot
The rotation on the priest (below 40 atm) is very generic and still likes to use wand when it can be using Mind Flay
Class specific has no option to enable / disable mind flay, mind sear, and various other important spells
 
On an older version my ret paladin used to buff himself with kings and seal of thruth, but in the new version, singular only buffs kings.
Any way to fix this?
 
My ret paladin tries to attack the person it's following. Constantly...

It also does this one step thing when it can't figure out where somene is to either attack or follow and after you rez. Imagine pressing the forward button for a second then letting go and doing that over and over about 10 times.

It also likes to run into walls continuously like it doesn't know how to navigate. Definitely has navigation issues in AV.

But this is does better damage than the fpsware one for me :)
 
Last edited:
Chose Singular $Revision: 254 $ as your combat class!

[Singular] Starting Singular v0.1.0.0

[Singular] ERROR: Could not add combat log event filter! - Performance may be horrible, and things may not work properly!

[Singular] Determining talent spec.

[Singular] Current spec is Frost Mage

[Singular] Using CreateFrostMageCombat for Frost Mage - Combat (Priority: 0)

[Singular] Using CreateFrostMagePull for Frost Mage - Pull (Priority: 0)

[Singular] Using default rest behavior.

[Singular] Using CreateMageBuffs for Frost Mage - PreCombatBuffs (Priority: 0)

[Singular] Behaviors created!
 
Chose Singular $Revision: 254 $ as your combat class!

[Singular] Starting Singular v0.1.0.0

[Singular] ERROR: Could not add combat log event filter! - Performance may be horrible, and things may not work properly!

[Singular] Determining talent spec.

[Singular] Current spec is Frost Mage

[Singular] Using CreateFrostMageCombat for Frost Mage - Combat (Priority: 0)

[Singular] Using CreateFrostMagePull for Frost Mage - Pull (Priority: 0)

[Singular] Using default rest behavior.

[Singular] Using CreateMageBuffs for Frost Mage - PreCombatBuffs (Priority: 0)

[Singular] Behaviors created!

Post a full log
 
Back
Top