
healthbars widget (v7) *Jan. 4 08*
Moderator: Moderators
It'd look quite strange if you had this widget turned on and still got the original health bars.
This widget disables the health bars and displays its own custom health bars when activated. It has nothing to-do with the bug that causes the default health bars to go haywire, this is a replacement not a fix. Besides, this is much better than the default ones.
This widget disables the health bars and displays its own custom health bars when activated. It has nothing to-do with the bug that causes the default health bars to go haywire, this is a replacement not a fix. Besides, this is much better than the default ones.
Its a fix too AF.. but this fix does not allways work. On big battles this widget is too slow 4 me.jK wrote:The healthbars widget has a fix, so you always see the healthbars (even if the orig. don't work) and it was my first impulse to write this widget (I only get in <20% of all matches the orig. healthbars). So it is a fix for ppl who has this problem.
ginekolog, you didn't have understand what lua is or what it can do and what not.
So it is impossible to fix a bug in the engine itself, I only can write lua code which fix the problem under lua (it is also possible to make it lua global, so all widgets use your fix). However it is impossible to fix an engine bug, I only can replace the corresponding entire feature with lua (as I did).
Also an deactivated widget is deactivated! -> it does nothing ...
This means finally: widgets can never ever bring your inbuild healthbars back.
So it is impossible to fix a bug in the engine itself, I only can write lua code which fix the problem under lua (it is also possible to make it lua global, so all widgets use your fix). However it is impossible to fix an engine bug, I only can replace the corresponding entire feature with lua (as I did).
Also an deactivated widget is deactivated! -> it does nothing ...
This means finally: widgets can never ever bring your inbuild healthbars back.
Just like the "Any Key"? - http://www.ravib.com/images/funny/anykey.jpgKDR_11k wrote:But when you press F13 it echos "Ia! Ia! Cthulu fthagn!"
Bug Report - Just crashed out of a game. Here's the last bit from the infolog:
gl.DrawFuncAtUnit: error(2) = [string "LuaUI\Widgets\unit_healthbars.lua"]:302: attempt to call global 'Type' (a nil value)
LuaUI: error = 2, DrawWorld, invalid key to 'next'
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
Awesome widget btw, looks great, and it's nice to see reload\stockpile time.
gl.DrawFuncAtUnit: error(2) = [string "LuaUI\Widgets\unit_healthbars.lua"]:302: attempt to call global 'Type' (a nil value)
LuaUI: error = 2, DrawWorld, invalid key to 'next'
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
LuaUI: error = 2, Update, [string "LuaUI/widgets.lua"]:1006: bad argument #1 to 'ipairs' (table expected, got nil)
LuaUI: error = 2, DrawWorld, [string "LuaUI/widgets.lua"]:199: attempt to get length of local 't' (a nil value)
Awesome widget btw, looks great, and it's nice to see reload\stockpile time.