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

Changing a Custom Class, no longer shows up

Status
Not open for further replies.

Nivvie

New Member
Joined
Apr 9, 2012
Messages
70
Reaction score
0
When when I change a custom class a little bit, will the bot no longer see it as a custom class?
 
I mean, when I edit a working .cs file, and then load up honorbuddy, it won't show up under the list of choosable classes.
 
I cannot load it up! It doesn't show in the list of CC's.
 
Sounds like you edited out an important bit, but obviously we couldn't say since we don't know what you edited out.
 
This is the original file:

Code:
//////////////////////////////////////////////////
//              Raid/Subtlety.cs                //
//      Part of MutaRaidBT by fiftypence        //
//////////////////////////////////////////////////

using System;
using CommonBehaviors.Actions;
using Styx;
using TreeSharp;
using Action = TreeSharp.Action;

namespace MutaRaidBT.Composites.Context.Raid
{
    static class Subtlety
    {
        static public Composite BuildCombatBehavior()
        {
            return new PrioritySelector(
                Helpers.Spells.ToggleAutoAttack(),

                Helpers.Spells.Cast("Redirect", ret => StyxWoW.Me.ComboPoints < StyxWoW.Me.RawComboPoints),

                new Decorator(ret => StyxWoW.Me.ComboPoints == 5 || Helpers.Spells.IsAuraActive(StyxWoW.Me, "Fury of the Destroyer"),
                    new PrioritySelector(
                        Helpers.Spells.Cast("Rupture",            ret => Helpers.Area.IsCurTargetSpecial() &&
                                                                         Helpers.Spells.IsAuraActive(StyxWoW.Me.CurrentTarget, "Find Weakness") &&
                                                                         !Helpers.Spells.IsAuraActive(StyxWoW.Me.CurrentTarget, "Rupture")),
                        Helpers.Spells.CastSelf("Slice and Dice", ret => Helpers.Spells.GetAuraTimeLeft(StyxWoW.Me, "Slice and Dice") < 3),
                        Helpers.Spells.Cast("Rupture",            ret => Helpers.Area.IsCurTargetSpecial() &&
                                                                         !Helpers.Spells.IsAuraActive(StyxWoW.Me.CurrentTarget, "Rupture")),
                        Helpers.Spells.CastSelf("Recuperate",     ret => Helpers.Spells.GetAuraTimeLeft(StyxWoW.Me, "Recuperate") < 3),
                        Helpers.Spells.Cast("Eviscerate",         ret => Helpers.Spells.IsAuraActive(StyxWoW.Me.CurrentTarget, "Find Weakness") || 
                                                                         Helpers.Spells.IsAuraActive(StyxWoW.Me, "Fury of the Destroyer") ||
                                                                         Helpers.Rogue.mCurrentEnergy >= 60 || (Helpers.Area.IsCurTargetSpecial() && 
                                                                         Helpers.Spells.GetAuraTimeLeft(StyxWoW.Me.CurrentTarget, "Rupture") < 3))
                    )
                ),

                Helpers.Spells.CastFocus("Tricks of the Trade", ret => !Helpers.Spells.IsAuraActive(StyxWoW.Me, "Tricks of the Trade") && 
                                                                       Helpers.Rogue.mCurrentEnergy < 60),

                Helpers.Spells.CastCooldown("Premeditation", ret => StyxWoW.Me.ComboPoints <= 3 && (StyxWoW.Me.HasAura("Stealth") || 
                                                                    StyxWoW.Me.HasAura("Shadow Dance") || StyxWoW.Me.HasAura("Vanish"))),

                Helpers.Specials.UseSpecialAbilities(ret => Helpers.Spells.IsAuraActive(StyxWoW.Me, "Shadow Dance") ||
                                                            Helpers.Spells.GetSpellCooldown("Shadow Dance") >= 10),

                new Decorator(ret => Helpers.Rogue.IsCooldownsUsable() && 
                                     StyxWoW.Me.ComboPoints == 0 &&
                                     Helpers.Rogue.mCurrentEnergy >= 50 &&
                                     !(Helpers.Spells.GetSpellCooldown("Premeditation") > 0),
                    new PrioritySelector(
                        new Decorator(ret => Helpers.Spells.CanCast("Shadow Dance"),
                            new Sequence(
                                Helpers.Spells.CastSelf("Shadow Dance"),
                                new WaitContinue(TimeSpan.FromSeconds(0.5), ret => false, new ActionAlwaysSucceed())
                            )
                        ),

                        new Decorator(ret => Helpers.Rogue.IsCooldownsUsable() &&
                                             !Helpers.Spells.IsAuraActive(StyxWoW.Me, "Shadow Dance") &&
                                             Helpers.Spells.GetSpellCooldown("Shadow Dance") > 0 &&
                                             Helpers.Spells.CanCast("Vanish"),
                            new Sequence(
                                Helpers.Spells.CastSelf("Vanish"),
                                new WaitContinue(TimeSpan.FromSeconds(1), ret => false, new ActionAlwaysSucceed()),
                                Helpers.Spells.CastCooldown("Premeditation"),
                                Helpers.Spells.Cast("Ambush", ret => Helpers.Rogue.IsBehindUnit(StyxWoW.Me.CurrentTarget))
                            )
                        ),

                        Helpers.Spells.CastSelf("Preparation", ret => Helpers.Rogue.IsCooldownsUsable() &&
                                                                      Helpers.Spells.GetSpellCooldown("Vanish") > 30)
                    )
                ),

                // CP Builders
                new Decorator(ret => StyxWoW.Me.ComboPoints != 5 && (StyxWoW.Me.ComboPoints < 4 ||
                                     (StyxWoW.Me.ComboPoints == 4 && (Helpers.Rogue.mCurrentEnergy >= 90 ||
                                     Helpers.Spells.GetAuraTimeLeft(StyxWoW.Me.CurrentTarget, "Rupture") < 3 ||
                                     Helpers.Spells.IsAuraActive(StyxWoW.Me, "Shadow Dance")))),
                    new PrioritySelector(
                        Helpers.Spells.Cast("Ambush",     ret => Helpers.Rogue.IsBehindUnit(StyxWoW.Me.CurrentTarget) && 
                                                                 (StyxWoW.Me.HasAura("Stealth") || StyxWoW.Me.HasAura("Vanish") || 
                                                                 StyxWoW.Me.HasAura("Shadow Dance"))),
                        Helpers.Spells.Cast("Hemorrhage", ret => Helpers.Spells.GetAuraTimeLeft(StyxWoW.Me.CurrentTarget, 89775) < 3),
                        Helpers.Spells.Cast("Backstab",   ret => Helpers.Rogue.IsBehindUnit(StyxWoW.Me.CurrentTarget)),
                        Helpers.Spells.Cast("Hemorrhage", ret => !Helpers.Rogue.IsBehindUnit(StyxWoW.Me.CurrentTarget))
                    )
                )
            );
        }

        static public Composite BuildPullBehavior()
        {
            return new Action(ret => RunStatus.Failure);
        }

        static public Composite BuildBuffBehavior()
        {
            return new Action(ret => RunStatus.Failure);
        }
    }
}

I want to stop the script from using the ability 'Rupture'.
 
@Nivvie,

If the CC was working before you "Commented out" a part of it, then it only leaves one solution... Un-comment what you have "Commented out". Or maybe you can tell us what you are trying to do and in which CC.
 
I just posted the CC. I am trying to stop the CC from using Rupture. Deleteing doesn't work, commenting it out doesn't work, nothing seems to work!
 
I just posted the CC. I am trying to stop the CC from using Rupture. Deleteing doesn't work, commenting it out doesn't work, nothing seems to work!

you can ask cc creator to help you with that too, most of the cc's coders around are really nice and helpful.
 
I'm sure someone here would be able to quickly tell me how to remove it from the CC.
 
well, thats true, cng and dagradt are really good on cc's, i guess it wont be hard for them find out wich line comment..
 
I don't have long before the raid again, can someone PLEASE help me out.
 
Status
Not open for further replies.
Back
Top