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
Updated:09-01-12 11:23 AM
Created:unknown
Downloads:54,399
Favorites:638
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 06-05-10, 08:40 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
Originally posted by haste
It's due to your local modifications. Next time reproduce the problem without them.
oh im sorry didnt see that .. srry
alimjocox is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 08:38 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally posted by alimjocox
Code:
 LOOT_CLOSED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:275
when trying to open the options panel (for the first time)
It's due to your local modifications. Next time reproduce the problem without them.
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 08:10 PM  
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 96
File comments: 68
Uploads: 2
Code:
Message: Interface\AddOns\Butsu\config.lua:34: attempt to call method 'LoadPosition' (a nil value)
Time: 06/06/10 12:09:22
Count: 1
Stack: Interface\AddOns\Butsu\config.lua:34: in function <Interface\AddOns\Butsu\config.lua:6>
Interface\AddOns\Butsu\config.lua:47: in function <Interface\AddOns\Butsu\config.lua:46>
[C]: in function `Show'
Interface\FrameXML\InterfaceOptionsFrame.lua:28: in function `InterfaceOptionsList_DisplayPanel'
Interface\FrameXML\InterfaceOptionsFrame.lua:46: in function `InterfaceOptionsListButton_OnClick'
[string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>

Locals: self = Butsu {
 LOOT_CLOSED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:275
 LOOT_OPENED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:178
 0 = <userdata>
 slots = <table> {
 }
 UPDATE_MASTER_LOOT_LIST = <function> defined @Interface\AddOns\alUI\elements\loot.lua:288
 title = <unnamed> {
 }
 AnchorSlots = <function> defined @Interface\AddOns\Butsu\slots.lua:130
 LOOT_SLOT_CLEARED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:269
 UpdateWidth = <function> defined @Interface\AddOns\Butsu\slots.lua:118
 OPEN_MASTER_LOOT_LIST = <function> defined @Interface\AddOns\alUI\elements\loot.lua:284
}
db = <table> {
}
(*temporary) = nil
(*temporary) = Butsu {
 LOOT_CLOSED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:275
 LOOT_OPENED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:178
 0 = <userdata>
 slots = <table> {
 }
 UPDATE_MASTER_LOOT_LIST = <function> defined @Interface\AddOns\alUI\elements\loot.lua:288
 title = <unnamed> {
 }
 AnchorSlots = <function> defined @Interface\AddOns\Butsu\slots.lua:130
 LOOT_SLOT_CLEARED = <function> defined @Interface\AddOns\alUI\elements\loot.lua:269
 UpdateWidth = <function> defined @Interface\AddOns\Butsu\slots.lua:118
 OPEN_MASTER_LOOT_LIST = <function> defined @Interface\AddOns\alUI\elements\loot.lua:284
}
(*temporary) = "attempt to call method 'LoadPosition' (a nil value)"
_NS = <table> {
 db = <table> {
 }
 L = <table> {
 }
 slots = <table> {
 }
 CreateSlot = <function> defined @Interface\AddOns\Butsu\slots.lua:55
}
when trying to open the options panel (for the first time)
Last edited by alimjocox : 06-05-10 at 08:15 PM.
alimjocox is offline Report comment to moderator  
Reply With Quote
Unread 06-05-10, 06:12 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally posted by Wella
So you're adding an in-game configuration panel? If so, I'd say you should add a couple more basic options, like changing the font/size/flags/whatever and the background & border textures/colours/etc. Those things would make this addon even greater.
Right now you can only change font size. I might add optional support for polling fonts from shared media, but that will have to be later. Changing the font flags would be added at the same time, as they share pretty much all the code.

Borders and backgrounds is really something that just makes me think: meh. It's really border line obscure to start changing those. Maybe it gets done after the fonts, but maybe not.

Colors: The only thing I've thought about is coloring the money text based on content. Right now it's gray regardless of how much gold there is.

---

Just a little info about 2.0 that was uploaded now. It currently lacks toggling of collapse and coloring of the money slot. It also doesn't have a preview option, but it does update the frame on the fly if it's open. It's something that will be added, but I thought it would be better to just push this update now.
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 06-04-10, 04:19 AM  
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view AddOns

Forum posts: 322
File comments: 72
Uploads: 1
So you're adding an in-game configuration panel? If so, I'd say you should add a couple more basic options, like changing the font/size/flags/whatever and the background & border textures/colours/etc. Those things would make this addon even greater.
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
Wella is offline Report comment to moderator  
Reply With Quote
Unread 06-02-10, 02:51 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Just a heads up. I won't be able to complete it today. Currently about 1/3 of the changes are completed. I'll hopefully have time to finish the rest after work tomorrow.

Main options that are being added are:
- Ability to change the font size for: item name, item count and title.
- Change the icon size.
- Collapsing of empty frames (those that appear after you've looted a item).
- Control over frame scale.
- Persistent saving of positions in a scale/resolution independent format.

If there's anything missing let me know, and I can push that in as long as I have time before July arrives.
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 08:37 PM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 399
Uploads: 1
Originally posted by haste
I'll see if I can push out something before Wednesday to solve changes such as that from within the game. If you don't want to wait for that I'd suggest reading up on :SetFont() over at wowprogramming or wowwiki.
I can wait, patience is a virtue and thanks much!
Politig is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 02:28 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally posted by Politig
The main thing I wanted to do was increase the font size. If you can tell me how to do that, that would be great too
I'll see if I can push out something before Wednesday to solve changes such as that from within the game. If you don't want to wait for that I'd suggest reading up on :SetFont() over at wowprogramming or wowwiki.
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 01:53 PM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 399
Uploads: 1
The main thing I wanted to do was increase the font size. If you can tell me how to do that, that would be great too
Politig is offline Report comment to moderator  
Reply With Quote
Unread 05-29-10, 08:23 AM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally posted by Politig
How do you increase the scaling of the loot window?
Right now the only way would be to edit the source.
Code:
diff --git a/loot.lua b/loot.lua
index 8c6e1af..bc173b7 100644
--- a/loot.lua
+++ b/loot.lua
@@ -35,6 +35,7 @@ local L = {
 }
 
 local addon = CreateFrame("Button", "Butsu")
+addon:SetScale(1.0)
 local title = addon:CreateFontString(nil, "OVERLAY")
 
 local print = function(a) ChatFrame1:AddMessage("|cff33ff99Butsu:|r "..a) end
Change the 1.0 to 1.5 to get 150% size increase. I'll see if I can pick up Butsu where I left it and push out a new release "soon".
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 05-29-10, 07:12 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 399
Uploads: 1
How do you increase the scaling of the loot window?
Politig is offline Report comment to moderator  
Reply With Quote
Unread 05-01-10, 03:00 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally posted by Xul
i think it only fixed it because another addon was setting it to 1, so in the case your addon starts it will tell other addon to F off basically lol.
No, it's most likely a pure coincidence. CVars don't work that way.
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 05-01-10, 02:56 PM  
Xul
A Kobold Labourer
 
Xul's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 14
Uploads: 1
i think it only fixed it because another addon was setting it to 1, so in the case your addon starts it will tell other addon to F off basically lol.
Last edited by Xul : 05-01-10 at 02:56 PM.
Xul is offline Report comment to moderator  
Reply With Quote
Unread 05-01-10, 01:22 PM  
haste
Featured Artist
 
haste's Avatar
Featured Addon Author

Forum posts: 982
File comments: 387
Uploads: 26
Originally posted by Xul
i fixed it by adding this line in your code
lootUnderMouse = 0
That makes no sense at all, as Butsu _never_ checks for a global named lootUnderMouse.

Originally posted by Xul

i think another addon is overriding the default ui in this case.
Probably, because it works as it should here.
__________________
「貴方は1人じゃないよ」
haste is offline Report comment to moderator  
Reply With Quote
Unread 05-01-10, 12:52 PM  
Xul
A Kobold Labourer
 
Xul's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 14
Uploads: 1
it returns 0.

i fixed it by adding this line in your code
lootUnderMouse = 0

i think another addon is overriding the default ui in this case.
Last edited by Xul : 05-01-10 at 12:57 PM.
Xul 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.