Thread Tools Display Modes
02-09-15, 09:24 AM   #21
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Here we go. The issue on Magtheridon was caused by the bag; fixed by accounting for item types not in the sorting list. Also added another layer of sorting by quality, so greens aren't sorted as equippable items. Used it on a full clear of Black Temple without errors.
Attached Files
File Type: lua butsu.lua (6.8 KB, 150 views)
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
02-09-15, 10:31 PM   #22
ConstanT1ne32
An Aku'mai Servant
 
ConstanT1ne32's Avatar
Join Date: Oct 2005
Posts: 34
Thanks!

Ill post if I find anything else
  Reply With Quote
02-17-15, 11:48 PM   #23
ConstanT1ne32
An Aku'mai Servant
 
ConstanT1ne32's Avatar
Join Date: Oct 2005
Posts: 34
loot from boss was not appearing at all, did appear after a few /reloadui

ps. same error pops on every time i loot.

1x Butsu\butsu-2.1.1.lua:141: attempt to index local 'color' (a nil value)
Butsu\butsu-2.1.1.lua:141: in function `?'
Butsu\butsu-2.1.1.lua:35: in function <Butsu\butsu.lua:34>

Locals:
self = Butsu {
0 = <userdata>
LOOT_CLOSED = <function> defined @Butsu\butsu.lua:220
LOOT_OPENED = <function> defined @Butsu\butsu.lua:79
LoadPosition = <function> defined @Butsu\butsu.lua:254
OPEN_MASTER_LOOT_LIST = <function> defined @Butsu\butsu.lua:230
UPDATE_MASTER_LOOT_LIST = <function> defined @Butsu\butsu.lua:235
title = <unnamed> {
}
AnchorSlots = <function> defined @Butsu\slots.lua:145
LOOT_SLOT_CLEARED = <function> defined @Butsu\butsu.lua:209
UpdateWidth = <function> defined @Butsu\slots.lua:131
SavePosition = <function> defined @Butsu\butsu.lua:245
}
event = "LOOT_OPENED"
  Reply With Quote
02-18-15, 02:47 AM   #24
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Which boss? What was the loot?
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
02-20-15, 12:06 AM   #25
ConstanT1ne32
An Aku'mai Servant
 
ConstanT1ne32's Avatar
Join Date: Oct 2005
Posts: 34
I think my loot master means on every boss and everytime. Im actually traveling so I cant check it myself until next week. I asked him to give more info when it lua pops.
  Reply With Quote
02-20-15, 09:52 PM   #26
ConstanT1ne32
An Aku'mai Servant
 
ConstanT1ne32's Avatar
Join Date: Oct 2005
Posts: 34
Yeah so its all of BRF, including trash, grey items and so on.
  Reply With Quote
02-20-15, 10:08 PM   #27
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Well, based on the error message you gave, the error is caused by something in the loot table reporting an invalid quality value (gray, common, rare, etc.) and I find it really hard to believe that every single trash mob in BRF is dropping bugged items, so it would really be helpful to know what items are actually dropping when the error occurs.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
02-21-15, 01:17 PM   #28
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 363
GetLootSlotInfo can, occasionally, return a nil quality. After closing the loot window and reopening it, the correct quality value is then returned.

A quick fix would be to replace line 140 with:
Code:
			local color = ITEM_QUALITY_COLORS[quality or -1]
  Reply With Quote
02-22-15, 11:04 PM   #29
ConstanT1ne32
An Aku'mai Servant
 
ConstanT1ne32's Avatar
Join Date: Oct 2005
Posts: 34
ill try that and get more info about error.
  Reply With Quote
03-02-15, 12:22 AM   #30
ConstanT1ne32
An Aku'mai Servant
 
ConstanT1ne32's Avatar
Join Date: Oct 2005
Posts: 34
in BRF LFR

1x Butsu\butsu-2.1.1.lua:148: attempt to compare number with nil Butsu\butsu-2.1.1.lua:148: in function `?' Butsu\butsu-2.1.1.lua:35: in function <Butsu\butsu.lua:34> [c]: in function `TurnOrActionStop' [string "turnoraction"]:4: in function <[string "turnoraction"]:1> Locals: self = Butsu { 0 = <userdata> LOOT_CLOSED = <function> defined @Butsu\butsu.lua:220 LOOT_OPENED = <function> defined @Butsu\butsu.lua:79 LoadPosition = <function> defined @Butsu\butsu.lua:254 OPEN_MASTER_LOOT_LIST = <function> defined @Butsu\butsu.lua:230 UPDATE_MASTER_LOOT_LIST = <function> defined @Butsu\butsu.lua:235 title = <unnamed> { } AnchorSlots = <function> defined @Butsu\slots.lua:145 LOOT_SLOT_CLEARED = <function> defined @Butsu\butsu.lua:209 UpdateWidth = <function> defined @Butsu\slots.lua:131 SavePosition = <function> defined @Butsu\butsu.lua:245 } event = "LOOT_OPENED"
  Reply With Quote
03-02-15, 12:33 AM   #31
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
And that error indicates the loot reported no quantity... I think maybe there's something wrong with your (or your friend's) WoW installation. Neither of those sections (comparing quantity, comparing quality) have been changed from the original Butsu code, and I've never seen any such errors in many years of using the addon.

If you can't fix your installation (open the Battle.net launcher, select WoW, click the "Options" dropdown right under the big WoW logo, select "Scan & Repair") I guess you can just band-aid it the same way Talyrius suggested band-aiding the missing quality....

Line 148:
Code:
			if(quantity and quantity > 1) then
				slot.count:SetText(quantity)
				slot.count:Show()
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » MasterLoot order


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off