What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] HB Toggle - plugin that toggles HB on/off at the press of a keybind

Here are versions 1.8 and 1.9.
Don't use them if 1.11 works for you.

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.
 
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.
 
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.

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.
 
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.
 
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.

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.
 
Spoke too soon. Works fine with Tyrael, but not with the Quest bot.

That's something at least.
 
This simply does NOT work if you have framelock enabled. (I'm using 1.09v)

Works fine without framelock.


Please Highvoltz UPDATE THIS!!
 
It won't even appear on the Plugin List!
It needs an update! It was so handy :(
 
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:
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 ;)
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.
 

Attachments

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.

Working for me. Thanks mate!
 
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.

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.
 
IStuckHandler doesn't exist any more.
If you replace "IStuckHandler" with "StuckHandler" in the source, this class will work again.
 
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
 
Back
Top