• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Path of Frost - DK Grind Helper

    Discussion in 'Movement' started by xsol, Sep 29, 2012.

    1. xsol

      xsol Member

      Joined:
      Nov 7, 2011
      Messages:
      503
      Likes Received:
      12
      Trophy Points:
      18
      Purpose: Maintain Path of Frost :confused:
      Description: This simple plugin will maintain Path of Frost while not in combat to allow the DK to allows walk over water. I am using [N] Mining + Herb Farm in Valley of Four Winds - MASSIVE Yields :eek: and there is small section that runs across water; so, I decided I need to have Path of Frost to speed that bit up.

      Instructions: Make a folder in your HonorBuddy/Plugins folder named PathOfFrost -> make a file PathOfFrostPlugin.cs -> paste the below code into the file.
      Support: Not likely to happen, sort it out yourself; sorry, this is a real simple plugin no support should be needed. :mad:

      File:
      View attachment PathOfFrost.zip


      Code:
      using System;
      using System.Collections.Generic;
      using System.Text;
      using System.Windows.Media;
      
      using Styx;
      using Styx.Common;
      using Styx.CommonBot;
      using Styx.Plugins;
      using Styx.WoWInternals;
      using Styx.WoWInternals.WoWObjects;
      
      namespace XSOL
      {
          class PathOfFrost : HBPlugin
          {
              public override string Name { get { return "PathOfFrost"; } }
              public override string Author { get { return "xsol"; } }
              public override Version Version { get { return new Version(1, 0, 0, 0); } }
      
              public override bool WantButton { get { return true; } }
              public override string ButtonText { get { return "N/A"; } }
      
              private static LocalPlayer me = StyxWoW.Me;
      
      
              public PathOfFrost()
              {
      
              }
      
      
              public override void Pulse()
              {
                  if (!StyxWoW.IsInGame)
                  {
                      return;
                  }
      
                  if (!me.Combat)
                  {
                      if (!me.Buffs.ContainsKey("Path of Frost"))
                      {
                          SpellManager.Cast("Path of Frost");
                      }
                  }
              }
      
      
              public override void OnButtonPress()
              {
      
              }
          }
      }
      
       

      Attached Files:

      Last edited: Nov 7, 2014
      olivete and HB9491F60 like this.
    2. HB9491F60

      HB9491F60 New Member

      Joined:
      Jun 24, 2011
      Messages:
      156
      Likes Received:
      1
      Trophy Points:
      0
      +love and +rep for you :-*
       
    3. wuusaah

      wuusaah New Member

      Joined:
      Jan 17, 2012
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      could you please link your plugin?, cause i dont know how to generate a cs file. what would be very nice thx
       
    4. xsol

      xsol Member

      Joined:
      Nov 7, 2011
      Messages:
      503
      Likes Received:
      12
      Trophy Points:
      18
      make a text file and rename it to a .cs file; you will need to have show file extensions enabled

      or you could copy paste another cs file and rename that and replace the text

      but, I added a file, because I guess I am being nice today
       
      Last edited: Oct 9, 2012
    5. wuusaah

      wuusaah New Member

      Joined:
      Jan 17, 2012
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      thx a lot ^^
       
    6. Cocaine

      Cocaine Banned

      Joined:
      Aug 21, 2012
      Messages:
      709
      Likes Received:
      2
      Trophy Points:
      0
      Will be awesome when I farming mad mats on my DK.
       
    7. qztr

      qztr Active Member

      Joined:
      Mar 31, 2012
      Messages:
      1,932
      Likes Received:
      17
      Trophy Points:
      38
      Thanks for the share! Probably going fishingbot tonight :)
       
    8. kawkaw

      kawkaw New Member

      Joined:
      Feb 5, 2012
      Messages:
      55
      Likes Received:
      0
      Trophy Points:
      0
      If i simply change PathofFrost to waterwalk will that do the trick?
       
    9. xsol

      xsol Member

      Joined:
      Nov 7, 2011
      Messages:
      503
      Likes Received:
      12
      Trophy Points:
      18
      yes, that would work for shaman, but you should make a new file and edit class name and the description text etc too
       
    10. olivete

      olivete Member

      Joined:
      Jul 9, 2012
      Messages:
      305
      Likes Received:
      1
      Trophy Points:
      18
      Love this pluggin, fucking useful including when you doing bgs!!!

      Thanks ALOT bro!
       
    11. bambam922

      bambam922 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      6,071
      Likes Received:
      28
      Trophy Points:
      48
      Hmm. For me it is just spamming path of frost.
      Guess Ill have to update it myself. :(
       
    12. olivete

      olivete Member

      Joined:
      Jul 9, 2012
      Messages:
      305
      Likes Received:
      1
      Trophy Points:
      18
      I will make a double post so mabe you can see the topic.

      Using it in BGs will cause to spam Path of Frost like crazy. Is there any way to check if the buff is on and its not in combat before cast it?

      Thanks alot once more!!!
       
    13. xsol

      xsol Member

      Joined:
      Nov 7, 2011
      Messages:
      503
      Likes Received:
      12
      Trophy Points:
      18
      it already checks for combat, a dot will cause the spam, you chose to use it for something it was not developed to do

      the easiest thing would be to delay the check to eliminate "spam"
       
    14. dav777

      dav777 Member

      Joined:
      Jan 15, 2010
      Messages:
      159
      Likes Received:
      2
      Trophy Points:
      18
      Thanks for this. Much appreciated.
       
    15. akrcoceo

      akrcoceo New Member

      Joined:
      May 10, 2012
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      How would I make this work for fishing? I Found the delay check line but am unsure what to replace it with.
       
    16. Bene

      Bene New Member

      Joined:
      Nov 25, 2011
      Messages:
      167
      Likes Received:
      1
      Trophy Points:
      0
      frosty!
       
    17. jeppe64

      jeppe64 New Member

      Joined:
      Jan 15, 2010
      Messages:
      202
      Likes Received:
      1
      Trophy Points:
      0
      did you manage to fix the spamming would love a version that wouldn't spam path of frost
       
    18. kravitz

      kravitz New Member

      Joined:
      Dec 9, 2011
      Messages:
      376
      Likes Received:
      6
      Trophy Points:
      0
      broken
       
    19. xsol

      xsol Member

      Joined:
      Nov 7, 2011
      Messages:
      503
      Likes Received:
      12
      Trophy Points:
      18
      Fixed. Updated code source text and link to attachment at the top.


      View attachment 150262

      I have not fixed the pvp bug; that is as stated beyond the scope of what I made the plugin for.
       
    20. DocTalbuk

      DocTalbuk Community Developer

      Joined:
      Jan 7, 2015
      Messages:
      578
      Likes Received:
      13
      Trophy Points:
      18
      Does this still work?
       

    Share This Page