I created two Panels (Background, Border) for my ChatFrame1 with AddOn: Minichat.
Then I applied the Lua-Scripts form Coldfury to resize the panels when expanding/minimizing Minichat.
Everything worked fine till i did a /reload.
Now everytime after /reload or relog the 2 panels of chatframe1 are having the wrong size and I'm getting this error:
[2007/09/04 16:39:01-1-x1]: <string>:"-- Create a new ace2 addon for hooking...":10: AceHook-2.1: Bad argument #2 to `HookScript' (table expected, got nil)
FuBar-33424\libs\AceLibrary\AceLibrary.lua:133: in function <...nterface\AddOns\FuBar\libs\AceLibrary\AceLibrary.lua:86>
(tail call): ?:
AceHook-2.1-40869 (FuBar):437: in function `HookScript'
<string>:"-- Create a new ace2 addon for hooking...":10: in main chunk
<in C code>: in function `RunScript'
eePanels2-2.0\core.lua:2004: in function `ChangeScript'
eePanels2-2.0\core.lua:517: in function `CreatePanel'
eePanels2-2.0\core.lua:376: in function `InitPanels'
eePanels2-2.0\core.lua:350: in function <Interface\AddOns\eePanels2\core.lua:349>
<in C code>: in function `pcall'
AceAddon-2.0-46764 (FuBar):24: in function <...face\AddOns\FuBar\libs\AceAddon-2.0\AceAddon-2.0.lua:23>
AceAddon-2.0-46764 (FuBar):999: in function `ManualEnable'
AceAddon-2.0-46764 (FuBar):927: in function <...face\AddOns\FuBar\libs\AceAddon-2.0\AceAddon-2.0.lua:920>
<in C code>: ?
AceEvent-2.0-44693 (FuBar):262: in function `TriggerEvent'
AceEvent-2.0-44693 (FuBar):955: in function <...face\AddOns\FuBar\libs\AceEvent-2.0\AceEvent-2.0.lua:948>
---
If I just open the script and don't edit anything, just open and close it everythings fine again.
Since I am no Lua expert I'm not able to reproduce the failure with the message above.
0
Then I applied the Lua-Scripts form Coldfury to resize the panels when expanding/minimizing Minichat.
Everything worked fine till i did a /reload.
Now everytime after /reload or relog the 2 panels of chatframe1 are having the wrong size and I'm getting this error:
If I just open the script and don't edit anything, just open and close it everythings fine again.
Since I am no Lua expert I'm not able to reproduce the failure with the message above.
:(
P.S. Sorry for my bad english
0
would be great!