Thread: RealUI
View Single Post
12-02-12, 05:01 PM   #170
gsnerf
A Murloc Raider
Join Date: Aug 2012
Posts: 4
Just wanted to confirm the loot assignment bug. Here's the error message:

Code:
35x nibRealUI-7.3 r4\Modules\Loot-Beute.lua:667: Usage: GiveMasterLoot(slot, index)
<in C code>
nibRealUI-7.3 r4\Modules\Loot-Beute.lua:667: in function "OnAccept"
FrameXML\StaticPopup.lua:3897: in function "StaticPopup_OnClick"
<string>:"*:OnClick":1: in function <string>:"*:OnClick":1

Locals:
self = StaticPopup1 {
 0 = <userdata>
 hideOnEscape = 1
 inviteAccepted = 1
 itemFrame = StaticPopup1ItemFrame {}
 data = "LootWindow"
 button3 = StaticPopup1Button3 {}
 extraFrame = StaticPopup1ExtraFrame {}
 icon = StaticPopup1AlertIcon {}
 maxWidthSoFar = 320
 button2 = StaticPopup1Button2 {}
 moneyFrame = StaticPopup1MoneyFrame {}
 moneyInputFrame = StaticPopup1MoneyInputFrame {}
 text = StaticPopup1Text {}
 editBox = StaticPopup1EditBox {}
 timeleft = 0
 numButtons = 2
 maxHeightSoFar = 85.000007629395
 button1 = StaticPopup1Button1 {}
 which = "CONFIRM_LOOT_DISTRIBUTION"
}
data = "LootWindow"
I suspect self:GetText() is wrong, as the function requires an index, but gets the items name (just a guess, didn't debug into it)?