Download
(7Kb)
Download
Updated: 10-15-20 01:04 PM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-15-20 01:04 PM
Created:unknown
Downloads:61,555
Favorites:623
MD5:

Butsu  Popular! (More than 5000 hits)

Version: 2.1.3
by: haste [More]

Butsu is a small replacement for the default loot frame. It supports showing more than four items, and has a slick look.

You can move the frame by holding down <Alt> and clicking on the title.

Note: Unstable versions located at: here.

Changes from 2.1.2
- Bump TOC version to 9.0.1
- Update to work correctly on 9.0.1.

Changes from 2.1.1
- Bump TOC version to 8.0.1
- Update to work correctly on 8.0.1.

Changes from 2.1.0
- Bump TOC version to 5.0.4.
- Update to work correctly on 5.0.4.

Changes from 2.0.2
- Bump TOC version to 4.3.
- Display the quest bang for items that start a new quest.
- Color the background and text yellow for quest items.

Changes from 2.0.1
- Improved the UI to look slightly less bad on 4.2.
- Bumped TOC version to 4.2.
- Don't attempt to display slot information before the server has finished sending us all the information.
- Prevent the frame from having excessive width.

Changes from 2.0
- Master loot drop-down now appears at the correct position.

Changes from 1.10
- Empty frames are no collapsed.
- Some minor options added for font size and frame scale.
- License changed to MIIT (was NewBSD, so pretty much no difference except wording).
- Frame position will no longer reset if you log in with the add-on disabled.

Changes from 1.9
- Master loot works yet again.

Changes from 1.8
- Fix CursorUpdate errors.

Changes from 1.7
- Master loot should work properly again.

Changes from 1.6
- Now works with WoTLK.

Changes from 1.5
- Fixed a typo which possibly prevented master looting from working.

Changes from 1.4
- Snap to mouse updated to work in 2.4
- TOC bumped to 2.4.

Changes from 1.3
- <Esc> now has the same behavior as the default loot frame. This fixes the issue with containers acting oddly.

Changes from 1.2
- Changed frame strata to HIGH and enabled toplevel. Should prevent it from hiding behind every other frame.

Changes from 1.1
- Fixed display of empty corpses.

Changes from 1.0
- Fixed the snap to mouse code. It will no longer float far above the mouse.
- Item name now inherits the GameFontWhite instead of using STANDARD_TEXT_FONT locked to 10 in size.
- Moved locales into loot.lua.
Optional Files (0)


Post A Reply Comment Options
Unread 09-02-12, 10:18 AM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
Originally Posted by Sec
In trying to update the code, following Linkszwodrei's instructions:

1) Open butsu.lua and locate line #47 which should read
Code:
if(LootSlotIsCoin(i)) then
2) Replace line #47 with the following:
Code:
if(GetLootSlotType(i) == LOOT_SLOT_MONEY) then
3) Save file.

4) Open slots.lua and locate line #9 which should read
Code:
if(LootSlotIsItem(slot)) then
5) Replace line # 9 with the following:
Code:
if(GetLootSlotType(slot) == LOOT_SLOT_ITEM) then
6) Save file.

7) Ensure Butsu is selected in the AddOns menu to load out of date AddOns or alternatively, update the TOC file.

I hope this helps.
Odd my line 47 in butsu.lua is

Code:
				local slotType = GetLootSlotType(i)
And this is a clean unedited download of this mod.
Report comment to moderator  
Reply With Quote
Unread 09-01-12, 07:23 AM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 188
Uploads: 0
Ahhh ty so much for this.
Report comment to moderator  
Reply With Quote
Unread 09-01-12, 07:00 AM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
In trying to update the code, following Linkszwodrei's instructions:

1) Open butsu.lua and locate line #47 which should read
Code:
if(LootSlotIsCoin(i)) then
2) Replace line #47 with the following:
Code:
if(GetLootSlotType(i) == LOOT_SLOT_MONEY) then
3) Save file.

4) Open slots.lua and locate line #9 which should read
Code:
if(LootSlotIsItem(slot)) then
5) Replace line # 9 with the following:
Code:
if(GetLootSlotType(slot) == LOOT_SLOT_ITEM) then
6) Save file.

7) Ensure Butsu is selected in the AddOns menu to load out of date AddOns or alternatively, update the TOC file.

I hope this helps.
Last edited by Sec : 09-01-12 at 07:00 AM.
Report comment to moderator  
Reply With Quote
Unread 08-31-12, 05:48 AM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
Originally Posted by Linkszwodrei
He was on a good way :P

Try replacing Line 46 on butsu.lua with:
if(GetLootSlotType(i) == LOOT_SLOT_MONEY) then

And Line 9 on slots.lua with:
if(GetLootSlotType(slot) == LOOT_SLOT_ITEM) then

Should be working fine. At least it does for me :P
Line 46 is blank and you said replace?
line 9 in slots has
if(LootSlotIsItem(slot)) then
on it
Report comment to moderator  
Reply With Quote
Unread 08-31-12, 03:54 AM  
Linkszwodrei
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
He was on a good way :P

Try replacing Line 46 on butsu.lua with:
if(GetLootSlotType(i) == LOOT_SLOT_MONEY) then

And Line 9 on slots.lua with:
if(GetLootSlotType(slot) == LOOT_SLOT_ITEM) then

Should be working fine. At least it does for me :P
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 02:36 PM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
Originally Posted by Firedancer
It seems to work for me if I edit a couple API calls that got changed.

butsu.lua: Replace LootSlotIsCoin(i) with GetLootSlotType(i) == 2
slots.lua: Replace LootSlotIsItem(slot) with GetLootSlotType(slot) == 1

YMMV. I only tested it briefly killing some low level critters that didn't drop much more than junk/common items.
Just tryed that and it didn't work for me, Thanks for trying tho!
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 02:08 PM  
Firedancer
An Aku'mai Servant
 
Firedancer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 59
Uploads: 2
It seems to work for me if I edit a couple API calls that got changed.

butsu.lua: Replace LootSlotIsCoin(i) with GetLootSlotType(i) == 2
slots.lua: Replace LootSlotIsItem(slot) with GetLootSlotType(slot) == 1

YMMV. I only tested it briefly killing some low level critters that didn't drop much more than junk/common items.
__________________
(\ /)
( . .) <( if you say 'plz' because it's shorter than 'please' then I'll say 'no' because it's shorter than 'yes' )
c('')('')
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 09:04 AM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
Originally Posted by Elloria
when I loot now the window doesn't show up.
Aye same here due to new patch.
Report comment to moderator  
Reply With Quote
Unread 08-29-12, 07:32 PM  
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view AddOns

Forum posts: 358
File comments: 268
Uploads: 8
when I loot now the window doesn't show up.
__________________
Report comment to moderator  
Reply With Quote
Unread 07-15-12, 12:09 PM  
daf
A Kobold Labourer

Forum posts: 1
File comments: 38
Uploads: 0
Been updating my UI for mops and so far the errors butsu gave me were due to in 5.0.1 LootSlotIsCoin() and LootSlotIsItem() being removed and replaced by the single GetLootSlotType function. Figured you might want to know when you do the official update...
Report comment to moderator  
Reply With Quote
Unread 01-30-12, 03:33 PM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
Perfect, thanks much!
__________________
Report comment to moderator  
Reply With Quote
Unread 01-30-12, 03:00 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 1027
File comments: 392
Uploads: 17
Originally Posted by Kendian
Hiyas, great addon, I love it. Could I talk you into telling me where to insert a custom font string? For the slots, I mean, Ive managed to change title, but slots are confounding me >.<
Edit: For personal use only, of course~
Slots are created by:
slots.lua:function _NS.CreateSlot(id)

Updated by:
butsu.lua:function Butsu:LOOT_OPENED(event, autoloot)
butsu.lua:function Butsu:LOOT_SLOT_CLEARED(event, slot)
__________________
「貴方は1人じゃないよ」
Report comment to moderator  
Reply With Quote
Unread 01-30-12, 02:41 PM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
Hiyas, great addon, I love it. Could I talk you into telling me where to insert a custom font string? For the slots, I mean, Ive managed to change title, but slots are confounding me >.<
Edit: For personal use only, of course~
__________________
Report comment to moderator  
Reply With Quote
Unread 01-14-12, 05:18 PM  
Cidrei
A Fallenroot Satyr
 
Cidrei's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 114
Uploads: 17
I've seen people request a close button before, and since I had to re-add it for the new version, I thought I'd post my solution here.

Sticking the following block of code in layout.lua after the first do..end block will create a white X in the upper right corner of Butsu, opposite the name of the looted object like so, which will close the loot frame when clicked.

Code:
-- Close button
do
	local close = CreateFrame("Button", nil, Butsu)
	close.text = close:CreateFontString(nil, "OVERLAY", "GameFontWhite")
	close.text:SetFont(GameTooltipHeaderText:GetFont(), 14, 'OUTLINE')
	close.text:SetText("X")
	close.text:SetAllPoints(close)
	close:SetWidth(19)
	close:SetHeight(14)
	close:SetPoint("BOTTOMRIGHT", Butsu, "TOPRIGHT", -3, 0)
	close:SetScript("OnClick", function() CloseLoot() end)
end
Report comment to moderator  
Reply With Quote
Unread 01-14-12, 03:20 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 1027
File comments: 392
Uploads: 17
Originally Posted by Koreos
I love it!

I have a request: A way to quickly link in chat (guild/raid/party) the loot. This is a function that XLoot has that is great for small raiding guilds, and I would love to have it in Butsu.
Sorry for the slow response. Completely forgot about your request.

I would sadly have to say that I find this to be outside the scope of Butsu. I wouldn't be surprised if there already is another add-on which does exactly this through a slash command or similar however.
__________________
「貴方は1人じゃないよ」
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.