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

      longhornfreak New Member

      Joined:
      Jul 16, 2010
      Messages:
      70
      Likes Received:
      4
      Trophy Points:
      0
      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.
       

      Attached Files:

    2. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      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: Jun 26, 2011
    3. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      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
       
    4. longhornfreak

      longhornfreak New Member

      Joined:
      Jul 16, 2010
      Messages:
      70
      Likes Received:
      4
      Trophy Points:
      0
      are you using the latest version?
       
    5. twistedintel

      twistedintel New Member

      Joined:
      Oct 3, 2010
      Messages:
      35
      Likes Received:
      0
      Trophy Points:
      0
      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: Jun 29, 2011
    6. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      Yes, i'm using the latest Version from SVN
       
    7. longhornfreak

      longhornfreak New Member

      Joined:
      Jul 16, 2010
      Messages:
      70
      Likes Received:
      4
      Trophy Points:
      0
      ...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.
       
    8. ShortRound

      ShortRound New Member

      Joined:
      Jun 14, 2011
      Messages:
      781
      Likes Received:
      14
      Trophy Points:
      0
      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.
       
    9. Nazaruk

      Nazaruk Member

      Joined:
      Jan 15, 2010
      Messages:
      149
      Likes Received:
      1
      Trophy Points:
      18
      Latest Singular not support ability's Warrior
       
    10. Trifor

      Trifor Member

      Joined:
      Jan 11, 2011
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      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: Jul 2, 2011
    11. Zugga

      Zugga New Member

      Joined:
      Jun 6, 2010
      Messages:
      280
      Likes Received:
      2
      Trophy Points:
      0
      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
       
    12. Piwielle

      Piwielle New Member

      Joined:
      May 10, 2011
      Messages:
      97
      Likes Received:
      0
      Trophy Points:
      0
      why furrywarrior use smash???

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

      Jon310 Member

      Joined:
      Jan 15, 2010
      Messages:
      368
      Likes Received:
      8
      Trophy Points:
      18
      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.
       
    14. Piwielle

      Piwielle New Member

      Joined:
      May 10, 2011
      Messages:
      97
      Likes Received:
      0
      Trophy Points:
      0
      i cry like a baby :/
       
    15. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Maybe something todo with the 2 new flags in combat log
       
    16. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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
       
    17. talas

      talas New Member

      Joined:
      Jun 16, 2011
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      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?
       
    18. WrathofGod

      WrathofGod New Member

      Joined:
      May 24, 2011
      Messages:
      358
      Likes Received:
      0
      Trophy Points:
      0
      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: Jul 4, 2011
    19. HB3075N46

      HB3075N46 New Member

      Joined:
      May 20, 2011
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      0
      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!
       
    20. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Post a full log
       

    Share This Page