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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Druid travel form in vashj'ir

lmarty

Member
Joined
May 8, 2013
Messages
143
How can I get the bot to use the druid's travel form instead of using sea turtle/seahorse or just swimming?
Is there a plugin of some sort so it is able to do this?
 
In the combat routine that comes with honorbuddy (Singular), part of the check to see if we should use travel form is if we can use our water mounts instead. So I think you would have to modify the combat routine itself. Please make a copy before you modify any files, just in case anything breaks.

You should be able to find it here:

"..\Honorbuddy\Routines\Singular\ClassSpecific\Druid\Common.cs"

The part that checks whether to use travel form looks like the below, but I have commented out the part that will check for being on a water mount.
If you change your own file to have the "//" on the same lines it should use travel form instead, or just copy and paste the below into Common.cs over the top of the same section .

Code:
public static bool AllowAquaticForm
{
    get
    {
        const int ABYSSAL_SEAHORSE = 75207;
        const int SUBDUED_SEAHORSE = 98718;
        const int SEA_TURTLE = 64731;


        if (!DruidSettings.UseAquaticForm)
            return false;


        if (!Me.IsSwimming)
            return false;


        if (Me.Shapeshift != ShapeshiftForm.Travel)
        {
            if (Me.Combat)
                return false;


            if (!SpellManager.HasSpell("Travel Form"))
                return false;


//MOUNT        MirrorTimerInfo breath = StyxWoW.Me.GetMirrorTimerInfo(MirrorTimerType.Breath);
//CHECK        if (!breath.IsVisible)
//HERE        {
//                if (Me.Mounted &&
//                    (Me.MountDisplayId == ABYSSAL_SEAHORSE || Me.MountDisplayId == SUBDUED_SEAHORSE ||
//                     Me.MountDisplayId == SEA_TURTLE))
//                    return false;
//            }


            if (!Spell.CanCastHack("Travel Form", Me))
                return false;


            Logger.WriteDebug("DruidSwimBuff: breath={0} canmount={1} mounted={2} mountdispid={3}",
                breath.IsVisible.ToYN(),
                Mount.CanMount().ToYN(),
                Me.Mounted.ToYN(),
                Me.MountDisplayId
                );
        }
        return true;
    }
}

I'm not sure if that will work for you, but give it a go. Make sure you have the use of aqua form enabled in your class config in Honorbuddy or it won't use it.
 
In the combat routine that comes with honorbuddy (Singular), part of the check to see if we should use travel form is if we can use our water mounts instead. So I think you would have to modify the combat routine itself. Please make a copy before you modify any files, just in case anything breaks.

You should be able to find it here:

"..\Honorbuddy\Routines\Singular\ClassSpecific\Druid\Common.cs"

The part that checks whether to use travel form looks like the below, but I have commented out the part that will check for being on a water mount.
If you change your own file to have the "//" on the same lines it should use travel form instead, or just copy and paste the below into Common.cs over the top of the same section .

Code:
public static bool AllowAquaticForm
{
    get
    {
        const int ABYSSAL_SEAHORSE = 75207;
        const int SUBDUED_SEAHORSE = 98718;
        const int SEA_TURTLE = 64731;


        if (!DruidSettings.UseAquaticForm)
            return false;


        if (!Me.IsSwimming)
            return false;


        if (Me.Shapeshift != ShapeshiftForm.Travel)
        {
            if (Me.Combat)
                return false;


            if (!SpellManager.HasSpell("Travel Form"))
                return false;


//MOUNT        MirrorTimerInfo breath = StyxWoW.Me.GetMirrorTimerInfo(MirrorTimerType.Breath);
//CHECK        if (!breath.IsVisible)
//HERE        {
//                if (Me.Mounted &&
//                    (Me.MountDisplayId == ABYSSAL_SEAHORSE || Me.MountDisplayId == SUBDUED_SEAHORSE ||
//                     Me.MountDisplayId == SEA_TURTLE))
//                    return false;
//            }


            if (!Spell.CanCastHack("Travel Form", Me))
                return false;


            Logger.WriteDebug("DruidSwimBuff: breath={0} canmount={1} mounted={2} mountdispid={3}",
                breath.IsVisible.ToYN(),
                Mount.CanMount().ToYN(),
                Me.Mounted.ToYN(),
                Me.MountDisplayId
                );
        }
        return true;
    }
}

I'm not sure if that will work for you, but give it a go. Make sure you have the use of aqua form enabled in your class config in Honorbuddy or it won't use it.

Thanks a lot mate :), Will try it out when I have some spare time.
 
Back
Top