Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(7 Kb)
Download
Updated: 09-01-12 11:23 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:09-01-12 11:23 AM
Created:unknown
Downloads:54,246
Favorites:644
MD5:
Butsu  Popular! (More than 5000 hits)
Version: 2.1.1
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.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)


Archived Files (5)
File Name
Version
Size
Author
Date
2.1.0
7kB
haste
01-14-12 03:18 PM
2.0.2
7kB
haste
08-01-11 11:28 AM
2.0.1
7kB
haste
06-06-10 10:02 AM
2.0
7kB
haste
06-05-10 06:02 PM
1.10
4kB
haste
12-10-08 07:03 AM


Post A Reply Comment Options
Unread 12-16-13, 06:06 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
Uploads: 0
Code:
16x Butsu\butsu-2.1.1.lua:158: attempt to perform arithmetic on local 'x' (a nil value)
Butsu\butsu-2.1.1.lua:158: in function `LoadPosition'
Butsu\config.lua:34: in function <Butsu\config.lua:6>
[C]: in function `Show'
Butsu\butsu-2.1.1.lua:10: in function `?'
Butsu\butsu-2.1.1.lua:6: in function <Butsu\butsu.lua:5>

Locals:
self = Butsu {
 0 = <userdata>
 LOOT_CLOSED = <function> defined @Butsu\butsu.lua:119
 LOOT_OPENED = <function> defined @Butsu\butsu.lua:9
 LoadPosition = <function> defined @Butsu\butsu.lua:153
 OPEN_MASTER_LOOT_LIST = <function> defined @Butsu\butsu.lua:129
 UPDATE_MASTER_LOOT_LIST = <function> defined @Butsu\butsu.lua:134
 title = <unnamed> {
 }
 AnchorSlots = <function> defined @Butsu\slots.lua:145
 LOOT_SLOT_CLEARED = <function> defined @Butsu\butsu.lua:111
 UpdateWidth = <function> defined @Butsu\slots.lua:131
 SavePosition = <function> defined @Butsu\butsu.lua:144
}
db = <table> {
 framePosition = "TOPLEFTUIParent1023647"
}
_NS = <table> {
 db = <table> {
 }
 L = <table> {
 }
 slots = <table> {
 }
 CreateSlot = <function> defined @Butsu\slots.lua:61
}
This has been happening since the latest patch, popped up when i tried opening a blingtron 4000 gift package.
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator  
Reply With Quote
Unread 09-22-13, 04:16 AM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally Posted by bravejohn
hello! How can I make loot window not to open on mouse position? I have disabled from Blizzard interface but it seems that Butsu has its own option What lua file should I edit and what I am looking for?

thank you

EDIT: sorry, it is working now, it seems it needed a reloadui...I can also move it and positioning it with alt wherever I want exactly what I was looking for
If you have the UI option enabled, then it should "just work". It might stop moving it to the cursor if you later on move it that UI session tho', I'm not completely certain tbh.

Edit: Hah, fooled by WoWI telling me someone asked a related question, then deleted their post before I checked.
__________________
「貴方は1人じゃないよ」
Last edited by haste : 09-22-13 at 04:17 AM.
haste is offline Report comment to moderator  
Reply With Quote
Unread 06-06-13, 08:09 AM  
bravejohn
A Deviate Faerie Dragon

Forum posts: 15
File comments: 89
Uploads: 0
hello! How can I make loot window not to open on mouse position? I have disabled from Blizzard interface but it seems that Butsu has its own option What lua file should I edit and what I am looking for?

thank you

EDIT: sorry, it is working now, it seems it needed a reloadui...I can also move it and positioning it with alt wherever I want exactly what I was looking for
Last edited by bravejohn : 06-06-13 at 08:13 AM.
bravejohn is offline Report comment to moderator  
Reply With Quote
Unread 03-19-13, 03:14 AM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Wasn't that fixed with 2.1.1?
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 03-18-13, 01:46 PM  
Kyrgune
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 49
Uploads: 1
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.
This worked perfectly for me, thankyou.
Kyrgune is offline Report comment to moderator  
Reply With Quote
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.
Vodkaholic is offline 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: 191
Uploads: 0
Ahhh ty so much for this.
zohar101 is offline 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: 175
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.
Sec is offline 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
Vodkaholic is offline 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
Linkszwodrei is offline 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!
Vodkaholic is offline 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: 34
File comments: 29
Uploads: 1
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('')('')
Firedancer is offline 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.
Vodkaholic is offline 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: 36
when I loot now the window doesn't show up.
__________________
Elloria is offline Report comment to moderator  
Reply With Quote
Unread 07-15-12, 12:09 PM  
daf
A Kobold Labourer

Forum posts: 1
File comments: 34
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...
daf is offline 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.