Jump to content

Shaman Ghost Wolf between mobs


Lixion

Recommended Posts

I've did a search and looked around on the forums, but no one gives a truly detailed statement on how to setup ghost wolf between mobs.

I'd like to set it at maybe a timer or if a mob not in XYZ coord/distance use ghost wolf to travel to next mob. I'd like to also have if repairing/selling items ghost wolf until in combat kill mob and re-ghost wolf back to town.

I've searched for a while with no real luck. If someone can help me or PM me I would greatly appreciate it.

 

Thank you,

 

Link to comment
Share on other sites

As this is a feature of my paid fightclass, I will give you the code but I will NOT tell you how to implement it. If you aren't proficient enough in C# to put this to use, I'm sorry.

MovementEvents.OnMovementPulse += LongGhostWolfHandler;
MovementEvents.OnMoveToPulse += GhostWolfHandler;

private void GhostWolfHandler(Vector3 point, CancelEventArgs cancelable)
{
  if (point.DistanceTo(Me.Position) >= wManagerSetting.CurrentSetting.MountDistance)
  {
    UseGhostWolf();
  }
}

private void LongGhostWolfHandler(List<Vector3> points, CancelEventArgs cancelable)
{
  if (points.Select(p => p.DistanceTo(Me.Position)).Aggregate(0f, (p1, p2) => p1 + p2) >= wManagerSetting.CurrentSetting.MountDistance)
  {
    UseGhostWolf();
  }
}

private void UseGhostWolf()
    {
        if (string.IsNullOrWhiteSpace(wManagerSetting.CurrentSetting.GroundMountName) && !new Regeneration().NeedToRun && (Me.HaveBuff("Lightning Shield") || Me.HaveBuff("Water Shield")) && !Me.HaveBuff("Ghost Wolf") && EnhancerSetting.CurrentSetting.GhostWolf && !Me.InCombat)
        {
          	MovementManager.StopMoveTo(false, 1000);
            SpellManager.CastSpellByNameLUA("Ghost Wolf");
            Thread.Sleep(Usefuls.Latency);
            Usefuls.WaitIsCasting();
        }
    }

 

Link to comment
Share on other sites

  • 2 weeks later...

After reading this, I purchased your paid Enh Sham fight class, yet I still have issues with ghost wolf. 

The bot will cast ghost wolf, run for a short period of time, then enter human form. It does this repeatedly until out of mana. 

I downloaded Ghosty, changed my latency, yet still have this issue. 

 

Any insight would be greatly appreciated. I purchased your fight class exclusively for ghost wolf travel. 

 

 

Link to comment
Share on other sites

Keep in mind, this only works for my TBC fightclass - vanilla does NOT have this feature. PM me on Discord with your order id, I'll send you the latest version that shouldn't leave Ghost Wolf - I'm unsure if I had updated it already.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

15:48:47.549 - [Looting] Loot Swamp Jaguar
15:48:49.391 - [Fight] Player Attack Swamp Jaguar (lvl 37)
[N] 15:48:49.521 - [Path-Finding] FindPath from -10416,12 ; -2925,284 ; 23,44668 ; "None" to -10346,56 ; -2828,333 ; 24,11827 ; "None" (Azeroth)
[N] 15:48:49.587 - [Path-Finding] Path Count: 3 (119,343y, 66ms)
15:48:49.610 - [Mount] Mounting ground mount Ghost Wolf
15:48:58.374 - [Mount] Dismount
15:49:02.085 - [Mount] Dismount
15:49:02.751 - [Mount] Dismount
[N] 15:49:03.173 - [MovementManager] Think we are stuck
[N] 15:49:03.173 - [MovementManager] Trying something funny, hang on
[D] 15:49:03.186 - [MovementManager] Avoid wall: StrafeLeft
15:49:03.436 - [Mount] Dismount
15:49:04.086 - [Mount] Dismount
15:49:04.736 - [Mount] Dismount
[N] 15:49:05.095 - [MovementManager] Think we are stuck
[N] 15:49:05.095 - [MovementManager] Trying something funny, hang on
15:49:05.389 - [Mount] Dismount
15:49:06.041 - [Mount] Dismount
[N] 15:49:06.122 - [MovementManager] Think we are stuck
[N] 15:49:06.122 - [MovementManager] Trying something funny, hang on
15:49:06.122 - [Mount] Dismount
15:49:06.688 - [Mount] Dismount
15:49:07.324 - [Mount] Dismount
15:49:08.007 - [Mount] Dismount
15:49:08.658 - [Mount] Dismount
15:49:09.377 - [Mount] Dismount
15:49:10.043 - [Mount] Dismount
15:49:10.710 - [Mount] Dismount
15:49:11.381 - [Mount] Dismount
15:49:12.028 - [Mount] Dismount
15:49:12.696 - [Mount] Dismount
15:49:13.380 - [Mount] Dismount
15:49:14.040 - [Mount] Dismount
15:49:14.733 - [Mount] Dismount
15:49:15.397 - [Mount] Dismount
[N] 15:49:15.717 - [MovementManager] Think we are stuck
[N] 15:49:15.717 - [MovementManager] Trying something funny, hang on
[D] 15:49:15.749 - [MovementManager] Avoid wall: StrafeLeft
15:49:16.080 - [Mount] Dismount
15:49:16.763 - [Mount] Dismount
15:49:17.428 - [Mount] Dismount
15:49:18.082 - [Mount] Dismount
15:49:18.795 - [Mount] Dismount
15:49:19.486 - [Mount] Dismount
15:49:20.174 - [Mount] Dismount
15:49:20.839 - [Mount] Dismount
15:49:21.548 - [Mount] Dismount
15:49:22.262 - [Mount] Dismount
15:49:22.982 - [Mount] Dismount
15:49:23.666 - [Mount] Dismount
15:49:24.327 - [Mount] Dismount
15:49:24.991 - [Mount] Dismount
15:49:25.667 - [Mount] Dismount
15:49:26.344 - [Mount] Dismount
15:49:27.053 - [Mount] Dismount
[D] 15:49:27.723 - [Fight] Fight stopped
15:49:28.181 - [Resurrect] Player dead

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...