• Visit Rebornbuddy
  • [Plugin] Releaser

    Discussion in 'Uncataloged' started by Beast, Sep 28, 2013.

    1. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      I have been having problems with HB when using a CR other than singular and grinding/questing mode not releasing when my character dies. So I looked for a work around and could not find one. So I made this. Intended for AKF bot bases i.e. grind, quest, archeology, ect.

      What this does is when you die and the pop up to release comes up, this plugin will click it releasing you and then the bot runs to the corpse like it should.

      Credits go to:
      xsol for their base of the plugin from his path of frost plugin
      mat52 for their help with the lua dostring
      Corleone for the delay in pressing the button to not seems so "botish" although there are addons that release in battleground, but I added to be safe

      Simply unzip into your plugin folder and enable in honorbuddy
       

      Attached Files:

      Cisem likes this.
    2. nvmax

      nvmax Member

      Joined:
      Oct 31, 2012
      Messages:
      116
      Likes Received:
      0
      Trophy Points:
      16
      I love you!!!! LOVE YOU!!!! omfg marry me....
       
    3. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      Tomorrow I will add support for shamans to reincarnate first, then if it is on CD it will just release.
       
    4. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      But please take into account, that reincarnation in a bulk of enemies is not always a good idea, just the same as reincarnate immediately.
      Better give the player a few (random) seconds to get out of a danger zone and then let him make a choice, before Releaser continues.
       
    5. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      Ill see what I can do, it may be better off just leaving it the way it is.
       
    6. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      Updated to give a delay in release to seem more human
       
    7. icurnvs

      icurnvs Member

      Joined:
      Dec 10, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      6
      Getting a compiler error when throwing this in the plugins folder:
      \Plugins\Releaser\Releaser.cs(36,17) : error CS0103: The name 'rnd' does not exist in the current context
      Compiler Error: c:\Users\xxx\xxx\Honorbuddy\Plugins\Releaser\Releaser.cs(37,17) : error CS0103: The name 'Thread' does not exist in the current context

      I so want this to work! :)
       
    8. powa

      powa New Member

      Joined:
      Jan 17, 2012
      Messages:
      68
      Likes Received:
      0
      Trophy Points:
      0

      Edit the Releaser.cs file with windows' notepad like this:

      • At the beggining of the file add the red line :

        .....
        using System.Windows.Media;
        using System.Threading;
        .....
      • And line 35 add the red line:

        ....
        if (me.IsDead)
        {
        Random rnd= new Random();
        int Delay = rnd.Next(2000, 7000);
        Thread.Sleep(Delay);
        Lua.DoString(string.Format("RunMacroText(\"{0}\")", "/script RepopMe()"));
        }
        ....

      Should work until OP fix this :)
       
    9. icurnvs

      icurnvs Member

      Joined:
      Dec 10, 2011
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      6

      You, sir, are awesome. Thanks!
       
    10. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      Yes sorry I had a ton of exams and didn't pay attention. Thanks Corleone for spotting my error. It should work now
       
    11. skynetwork

      skynetwork Member

      Joined:
      Jan 25, 2012
      Messages:
      231
      Likes Received:
      2
      Trophy Points:
      18
      is this addon meant for releasing the spirit after dying or for coming back to life when reaching the corpse?

      i have issues with releasing after death (takes 6 minutes as the bot on its own won't click the button, no matter what class i use, even it a am using stock and freshly installed HB withouth plugins and the singular class).
       
    12. Beast

      Beast Member

      Joined:
      Apr 22, 2010
      Messages:
      618
      Likes Received:
      6
      Trophy Points:
      18
      yes this plugin will fix that
       

    Share This Page