- Joined
- Feb 27, 2011
- Messages
- 5,383
- Reaction score
- 388
Where's the lua box go?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
I removed it since I didn't find it very useful. I recommend using the WoWLua wow addon if you need to test luaWhere's the lua box go?
New release:HBConsole1.9.zip![]()
- 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.
New release:HBConsole1.9.zip![]()
- 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.
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());
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)
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 :Stry 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);
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)