• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] HB Toggle - plugin that toggles HB on/off at the press of a keybind

    Discussion in 'Uncataloged' started by highvoltz, Aug 12, 2012.

    1. Xanathos

      Xanathos Active Member

      Joined:
      Jul 25, 2010
      Messages:
      1,030
      Likes Received:
      6
      Trophy Points:
      38
      For both 1.8 and 1.9 it will pause the bot once. After that it won't restart and won't actually Stop/shutdown correctly. So they are unusable.

      We really need Highvoltz (or someone) to update the plugin correctly.

      EDIT: I'll be even more then happy to throw money at the problem to get it fixed.
       
    2. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      1.9 works perfectly here.

      Try not to use a weird special key combo for pause.
      Take a normal key, i.e. "F" (who needs /follow ?) for pause/stop.
       
    3. Xanathos

      Xanathos Active Member

      Joined:
      Jul 25, 2010
      Messages:
      1,030
      Likes Received:
      6
      Trophy Points:
      38
      No weird special key combo. Even using F it will pause and not restart. The older plugins throw exceptions on initial load (but do load) so I'm sure that is part of it.
       
    4. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      What kind of exception?
      Do you have a log file?

      You may also try to delete the Settings\HBToggle folder and let it be rebuild.
      Also make sure, the key is not defined in WoW key settings.
       
    5. Xanathos

      Xanathos Active Member

      Joined:
      Jul 25, 2010
      Messages:
      1,030
      Likes Received:
      6
      Trophy Points:
      38
      Here's the exception:

      [15:09:19.578 D] System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
      at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
      at System.Collections.Generic.List`1.Enumerator.MoveNext()
      at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
      at HighVoltz.HBToggle.HBTogglePlugin.ThreadLoop() in c:\HB\Plugins\HBToggle 1.9\HB_Toggle.cs:line 175

      I had tried everything except for deleting the Settings\HBtoggle folder and that seemed to do the trick. So even tho it still throws that error, 1.9 is working just fine now. Thank you very much.

      I think that's going to be the thing for anyone that's having problems. They need to delete that folder (and clear out compiled assemblies to just be safe). Thank you VERY much.
       
    6. Xanathos

      Xanathos Active Member

      Joined:
      Jul 25, 2010
      Messages:
      1,030
      Likes Received:
      6
      Trophy Points:
      38
      Spoke too soon. Works fine with Tyrael, but not with the Quest bot.

      That's something at least.
       
    7. Farah

      Farah New Member

      Joined:
      Dec 25, 2013
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      0
      This simply does NOT work if you have framelock enabled. (I'm using 1.09v)

      Works fine without framelock.


      Please Highvoltz UPDATE THIS!!
       
    8. Xanathos

      Xanathos Active Member

      Joined:
      Jul 25, 2010
      Messages:
      1,030
      Likes Received:
      6
      Trophy Points:
      38
      Any news on an update to this?
       
    9. fantasydreaming

      fantasydreaming Member

      Joined:
      Feb 2, 2013
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      16
      Checking up to see if this needs an update
       
    10. Dr Jackall

      Dr Jackall New Member

      Joined:
      Jul 25, 2012
      Messages:
      118
      Likes Received:
      0
      Trophy Points:
      0
      It doesn't work anymore!
       
    11. Darlan

      Darlan New Member

      Joined:
      Jun 21, 2013
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      0
      It won't even appear on the Plugin List!
      It needs an update! It was so handy :(
       
    12. Signal7

      Signal7 New Member

      Joined:
      Sep 27, 2010
      Messages:
      268
      Likes Received:
      7
      Trophy Points:
      0
      Miss this Plugin :(
       
    13. raygo

      raygo New Member

      Joined:
      Oct 18, 2014
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      waiting for the new one
       
    14. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      A short workaround until it is completely fixed:

      a. Open .../Plugins/HBToggle/HB_Toggle.cs with a text editor, i.e. Notepad.
      b. Search for "public override void Initialize()" and replace it with "public override void OnEnable()"
      c. Search for "public override void Dispose()" and replace it with "public override void OnDisable()"

      Save HB_Toggle.cs now (be careful not to save it with .txt extender!).
      Should work now, at least show up in the Plugins list.
      Can't test it at the moment, because I actually have no active WOW account.
      HTH ;)
       
      Last edited: Oct 26, 2014
    15. Darlan

      Darlan New Member

      Joined:
      Jun 21, 2013
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      0
      This didn't work, but I did something that made it work.
      I actually commented (adding // to the beggining of the lines) the following lines from HB_Toggle.cs (the ones that threw errors):

      94 //private static readonly IStuckHandler OriginalUnstuckHandler = Navigator.NavigationProvider.StuckHandler;
      ...
      98 // public class NoUnstuck : IStuckHandler
      99 //{
      100 // public bool IsStuck()
      101 // {
      102 // return false;
      103 // }
      104 //
      105 // public void Reset() {}
      106 // public void Unstick() {}
      107 //}
      ...
      273 //Navigator.NavigationProvider.StuckHandler = new NoUnstuck();
      281 //Navigator.NavigationProvider.StuckHandler = OriginalUnstuckHandler;


      So that class was the one. Now it works fine for me. I'm attatching the file here anyway.
       

      Attached Files:

    16. Signal7

      Signal7 New Member

      Joined:
      Sep 27, 2010
      Messages:
      268
      Likes Received:
      7
      Trophy Points:
      0
      Working for me. Thanks mate!
       
    17. joerhino

      joerhino New Member

      Joined:
      Dec 10, 2012
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      0
      Thank you tons!
       
    18. DDogKy

      DDogKy New Member

      Joined:
      May 31, 2013
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      1
      Darlan, thank you very much! This work for me as well. I would like to point out that if you make a backup of the existing CS before saving Darlan's updated one. Rename it to .bak or .csold (anything but .cs) to prevent recompile errors.
       
    19. Corleone

      Corleone Well-Known Member

      Joined:
      May 24, 2013
      Messages:
      2,255
      Likes Received:
      28
      Trophy Points:
      48
      IStuckHandler doesn't exist any more.
      If you replace "IStuckHandler" with "StuckHandler" in the source, this class will work again.
       
    20. TaipanQLD

      TaipanQLD New Member

      Joined:
      May 14, 2010
      Messages:
      25
      Likes Received:
      1
      Trophy Points:
      3
      Doesnt work for me

      Code:
      Compiler Error: e:\Games\Honorbuddy 2.5.12136.758\Plugins\HBToggle\HB_Toggle.cs(174,24) : error CS0115: 'HighVoltz.HBToggle.HBTogglePlugin.Dispose()': no suitable method found to override
       

    Share This Page