Bagnon

Bagnon

122M Downloads

incombat lua error

Voxxel opened this issue ยท 1 comments

commented

Encountered this error while wanted to open my offline bank panel by pressing shift+click on the bottom icon of my opened bag panel - in combat.

Message: Interface\AddOns\Bagnon\components\frame.lua:290: attempt to compare number with nil
Time: 03/14/13 23:08:18
Count: 1
Stack: Interface\AddOns\Bagnon\components\frame.lua:290: in function GetRelativePosition' Interface\AddOns\Bagnon\components\frame.lua:275: in functionSavePosition'
Interface\AddOns\Bagnon\components\frame.lua:90: in function action' Interface\AddOns\Bagnon\core\ears.lua:29: in functionSendMessage'
Interface\AddOns\Bagnon\core\classy.lua:27: in function SendMessage' Interface\AddOns\Bagnon\components\titleFrame.lua:122: in functionStopMovingFrame'
Interface\AddOns\Bagnon\components\titleFrame.lua:56: in function <Interface\AddOns\Bagnon\components\titleFrame.lua:55>
[C]: in function Hide' Interface\AddOns\Bagnon\components\frame.lua:77: in functionaction'
Interface\AddOns\Bagnon\core\ears.lua:29: in function SendMessage' Interface\AddOns\Bagnon\settings\frameSettings.lua:51: in functionSendMessage'
Interface\AddOns\Bagnon\settings\frameSettings.lua:81: in function Hide' Interface\AddOns\Bagnon\main.lua:111: in function <Interface\AddOns\Bagnon\main.lua:109> (tail call): ? Interface\AddOns\Bagnon\main.lua:59: in functionOnClick'
Interface\AddOns\Bagnon\components\brokerDisplay.lua:165: in function <Interface\AddOns\Bagnon\components\brokerDisplay.lua:162>

Locals: self = BagnonFramebank {
frameID = "bank"
searchToggle = {
}
searchFrame = {
}
bagFrame = {
}
playerSelector = {
}
closeButton = BagnonFramebankCloseButton {
}
titleFrame = {
}
fadeInfo =

{
}
optionsToggle = {
}
0 =
menuButtons =
{
}
bagToggle = {
}
}
x = nil
y = nil
scale = 0.85000002384186
h = 1204.705992174
w = 1927.5295300335
dx = nil
dy = nil
(_temporary) = 963.76476501676
(_temporary) = nil
(_temporary) = nil
(_temporary) = nil
(_temporary) = nil
(_temporary) = "attempt to compare number with nil"

commented

Added preventive check