• Visit Rebornbuddy
  • Empty Routine? Like "Do Nothing Combat Routine"?

    Discussion in 'Requests & Discussion' started by StarWash, Aug 9, 2016.

    1. StarWash

      StarWash Member

      Joined:
      Oct 6, 2014
      Messages:
      300
      Likes Received:
      0
      Trophy Points:
      16
    2. winifix

      winifix Member

      Joined:
      Dec 25, 2011
      Messages:
      164
      Likes Received:
      16
      Trophy Points:
      18
      PHP:
      using System.Threading.Tasks;
      using CommonBehaviors.Actions;
      using Styx;
      using Styx.Common;
      using Styx.CommonBot;
      using Styx.CommonBot.Coroutines;
      using Styx.CommonBot.Routines;
      using Styx.TreeSharp;
      using Styx.WoWInternals.WoWObjects;
      using System.Windows.Media;
      using System.Collections.Generic;
      using Styx.WoWInternals;
      using System.Linq;

      namespace 
      DoNothing
      {
          public class 
      DoNothing CombatRoutine
          
      {
              public 
      override WoWClass Class { get { return StyxWoW.Me.Specialization == WoWSpec.PaladinRetribution WoWClass.Paladin WoWClass.None; } }
              public 
      override string Name get { return "DoNothing - Professional Nose Picking by [WiNiFiX]"; } }

              public 
      override Composite CombatBehavior get { return new ActionRunCoroutine(ctx => CombatCoroutine()); } }
              public 
      override Composite PreCombatBuffBehavior get { return new ActionRunCoroutine(ctx => PreCombatCoroutine()); } }

              
      #region Behaviors
              
      private static async Task<boolPreCombatCoroutine()
              {
                  
      // Pick my nose and do nothing
              
      }    
          }
      }  
       
    3. winifix

      winifix Member

      Joined:
      Dec 25, 2011
      Messages:
      164
      Likes Received:
      16
      Trophy Points:
      18
      Its a pleasure.
       
    4. deazed

      deazed New Member

      Joined:
      Apr 10, 2014
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0

      Hey!

      How do I use it? I put it in Nothing.cs

      and it doesnt work!

      Compiler Error: C:\Users\Itay\Documents\Honorbuddy\Routines\Nothing\Main.cs(31,3) : error CS1038: #endregion directive expected
       
    5. johnd

      johnd Member

      Joined:
      Jun 11, 2012
      Messages:
      217
      Likes Received:
      2
      Trophy Points:
      18
      blank.cs(17,18) : error CS0534: 'DoNothing' does not implement inherited abstract member 'CombatRoutine.SupportedCapabilities.get'
       
      Last edited: Oct 7, 2016
    6. Orphane

      Orphane New Member

      Joined:
      Jun 11, 2012
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      anyone get this working?
       

    Share This Page