• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Druid mining plugin.

    Discussion in 'Requests' started by Mozzyman, Dec 6, 2013.

    1. Mozzyman

      Mozzyman New Member

      Joined:
      Nov 18, 2013
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Hello! I wounder if anyone got the time, skills and knowledge to make a plugin that could make the druid wait about 0,5-1sec to mount up after gathering a node. This is to avoid the "going into flying form - going out of flightform" issue that I know many besides me have.

      Regards
       
    2. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      That's funny, I never managed to reproduce the issue, usually when my toon does that kind of shit, it's because he tries to reach underground nodes... But I always thought that doing "/cancelform" 10-15y before landing would increase my NPH aswell, and It workd.

      So your problem is the toon mount/dismount while the node is fading off? (after loot)
       
    3. Mozzyman

      Mozzyman New Member

      Joined:
      Nov 18, 2013
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Already doing that part.

      Problem is, as you say, after mining the nod. It goes back to flight form but because the nod, sometimes, is still there, it unmounts and try to mine the node again.
       
    4. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Add a sleep after loot? but it'll slow the NPH, really hard... :/ or a stopwatch to prevent the bot to interact again for 3 seconds or so, would do the trick probably.
       
    5. Mozzyman

      Mozzyman New Member

      Joined:
      Nov 18, 2013
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Please inform me how I?m able to do that. If it can make my bot look more realistic I can live with the lower NPH! :)
       
    6. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Hook the LOOT_CLOSED event to amethod telling HB that it should sleep for few seconds

      The hook :

      PHP:
      Lua.AttachEvents("LOOT_CLOSED"YOUR_METHOD);
      The sleep usage :

      PHP:
      StyxWoW.Sleep(new TimeSpan(0,0,0,2)); // Change "2" by the duration in seconds
      this is the only way I can see atm, pretty tired it's 2.30 am xD but it'll probably do the trick, you can add randomness if you want to. (for the wait time)
       

    Share This Page