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

[Plugin - Dev] HBConsole - a plugin that allows you use C#/Lua directly from a plugin

This will not compile/Run as of the latest Honorbuddy Developer release. Any chance it could be fixed. It would help out allot.
 
HBConsole 1.5. includes some big changes
* new UI.
* now supports saving snippets of code.

Added the following shortcuts.


  • ClearLog() - clears the log
  • Units - returns list of all WoWUnits
  • Objects - Returns a list of all WoWObjects
  • Items - Returns a list of all WoWItems
  • GameObjects - Returns a list of all WoWGameObjects
  • DynamicObjects - Returns a list of all WoWDynamicObjects
  • Players - Returns a list of all WoWPlayers
Where's the lua box go?
 
First post updated with new bugfixe release.

Where's the lua box go?
I removed it since I didn't find it very useful. I recommend using the WoWLua wow addon if you need to test lua
 
Is there a way to turn the code made with HB Console into a plugin ?
 
why does it log everything to the hb logwindow.

i want the output in the lower hbconsole window, where compiler errors show up. ...

do i really have to mod this? i actually cant believe its intended to log in the HB window, instead of the form one
 
<sigh> It looks like one of the later HB drops broke my wonderful toy!

All of the commands return:
System.NotSupportedException: The invoked member is not supported in a dynamic assembly.​

<Chinajade shakes the broken HBConsole at Highvoltz, and he notices something has come loose, and is rattling inside>

<Chinajade pouts, and as tears start to form, Highvoltz takes the toy, and promises to fix it.>
 
Last edited:
New release:
zip.gif
HBConsole1.9.zip

  1. Added a keybind that toggles the display of GUI. Defaults to F4 but can be changed in GUI. Must have the WoW window active for keybind to work.
 
Last edited:
I didn't change anything and mine still works fine?
 
How can I get result of this in HBConsole?

Code:
ClearLog();

private TimeSpan GetSpellCooldown(string spell, int indetermValue = int.MaxValue)
        {
            //using (StyxWoW.Memory.AcquireFrame())
            {
                SpellFindResults sfr;
                if (SpellManager.FindSpell(spell, out sfr))
                    return (sfr.Override ?? sfr.Original).CooldownTimeLeft;

                if (indetermValue == int.MaxValue)
                    return TimeSpan.MaxValue;
            }
            return TimeSpan.FromSeconds(indetermValue);
        }

Log(GetSpellCooldown("Kill Command").TotalMilliseconds.ToString());

Always get this error

Code:
System.FormatException: Input string was not in a correct format.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(String format, Object[] args)
   at HighVoltz.HBConsole.Log(Color c, String text, Object[] arg)

Thank you.
 
try this :)
Code:
ClearLog();

private TimeSpan GetSpellCooldown(string spell, int indetermValue = int.MaxValue)
        {
            //using (StyxWoW.Memory.AcquireFrame())
            {
                SpellFindResults sfr;
                if (SpellManager.FindSpell(spell, out sfr))
                    return (sfr.Override ?? sfr.Original).CooldownTimeLeft;

                if (indetermValue == int.MaxValue)
                    return TimeSpan.MaxValue;
            }
            return TimeSpan.FromSeconds(indetermValue);
        }

Log(GetSpellCooldown("Kill Command").TotalMilliseconds);
 
try this :)
Code:
ClearLog();

private TimeSpan GetSpellCooldown(string spell, int indetermValue = int.MaxValue)
        {
            //using (StyxWoW.Memory.AcquireFrame())
            {
                SpellFindResults sfr;
                if (SpellManager.FindSpell(spell, out sfr))
                    return (sfr.Override ?? sfr.Original).CooldownTimeLeft;

                if (indetermValue == int.MaxValue)
                    return TimeSpan.MaxValue;
            }
            return TimeSpan.FromSeconds(indetermValue);
        }

Log(GetSpellCooldown("Kill Command").TotalMilliseconds);
Tried and still got this :S

System.FormatException: Input string was not in a correct format.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object[] args)
 
Back
Top