View Single Post
03-13-12, 04:56 AM   #3
h9rst
A Murloc Raider
Join Date: Jul 2011
Posts: 8
thank you for your answer,
i have changed all local f = getglobal to local f = _G
but now i got an error.

Code:
Message: Interface\AddOns\zLatiwaUI\zLatiwaUI.lua:22: attempt to call global '_G' (a table value)
Time: 03/13/12 11:52:47
Count: 1
Stack: Interface\AddOns\zLatiwaUI\zLatiwaUI.lua:22: in function <Interface\AddOns\zLatiwaUI\zLatiwaUI.lua:21>
[C]: ?
[C]: ?
[C]: in function `New'
Interface\AddOns\Bagnon\main.lua:78: in function `CreateFrame'
Interface\AddOns\Bagnon\main.lua:110: in function `ToggleFrame'
Interface\AddOns\Bagnon\main.lua:185: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>

Locals: self = <unnamed> {
 0 = <userdata>
 HasPlayerSelector = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:743
 FRAME_MOVE_START = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:84
 FRAME_LAYER_UPDATE = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:127
 Bind = <function> defined @Interface\AddOns\Bagnon\utility\classy.lua:18
 CloseBankFrame = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:183
 PlaceItemFrame = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:711
 OPTIONS_TOGGLE_ENABLE_UPDATE = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:134
 PlaceBagFrame = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:611
 OnShow = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:161
 FRAME_SCALE_UPDATE = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:103
 GetCloseButton = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:525
 FadeInFrame = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:257
 SavePosition = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:277
 GetFramePosition = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:315
 UpdatePosition = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:310
 GetFrameID = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:865
 GetBrokerDisplay = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:784
 CreateBrokerDisplay = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:788
 PlaceSearchFrame = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:551
 GetRelativePosition = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:285
 FRAME_OPACITY_UPDATE = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:109
 UpdateScale = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:222
 RegisterMessage = <function> defined @Interface\AddOns\Bagnon\utility\classy.lua:22
 UnregisterMessage = <function> defined @Interface\AddOns\Bagnon\utility\classy.lua:30
 UpdateBackdrop = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:325
 Rescale = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:240
 GetSettings = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:869
 GetFrameScale = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:235
 PlaceCloseButton = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:529
 UpdateEvents = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:46
 Layout = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:403
 GetSearchFrame = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:547
 GetFrameBackdropBorderColor = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:338
 GetBagToggle = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:650
 HasBagToggle = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:655
 BAG_FRAME_UPDATE_SHOWN = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:134
 SetFrameLayer = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:372
 GetFrameBackdropColor = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:329
 UpdateLook = <function> defined @Interface\AddOns\Bagnon\components\frame.lua:201
 CreateMoneyFram
  Reply With Quote