Download
(5MB)
Download
Updated: 09-15-12 10:15 AM
Pictures
File Info
Updated:09-15-12 10:15 AM
Created:10-23-10 12:37 AM
Downloads:15,539
Favorites:61
MD5:

BeautyLoot(New Layout)  Popular! (More than 5000 hits)

Version: Rebirth-MoP
by: ChrisHopeless [More]

Welcome guys. This is Beauty loot addon home page by Chirs Hopeless

Author News:
I finished adjusting the size of this addon. It is 8MB now rather than 62MB. If you find texture is missing, inform me with a picture please. This will help me fix it greatly.

Addon Features:

  • You have a loot item count title. Like Items * 8
  • You have a portrait frame to show the loot source.(It doesn't work with fishing, mining, disenchanting etc)
  • Item has a border to show it quanlity
  • Red Item border indicates this item is a quest item
  • Loot frame auto adjusts its height according to count of items shown at current loot page.
  • There is a indicator at top left of group roll frame to show boe or bop of current item.(None BOP item is considered as BOE)
  • You can move and lock the position of loot frame and group roll frames


FAQ:
How to use this addon:
Copy libRazgriz and Razgriz_BeautyLoot into your addon folder. Those two folders are in the archive file.
I like the old version however!
You still could use and download old version. It is OK. Keep remembering old version may stop updating.
Config command:
type /btl see detail.
Further customization:
open main.lua in Razgriz_BeautyLoot folder. Change anything you want.
Would you please help to customize something?
Petty. No... Everyone has its own style. Do it by yourself please.
Where are roll, greed and disenchant buttons??!!
They are abbreviated as N, G and D letters at the top right corner of roll frame. Find them at screenshot like finding coins in you carpet~~
Its appearance doesn't look like the one in the picture!!
Well, most of the time, it should be interfered by other addon. Try only load this addon and see if it works fine. If so, enable addon one by one until you get the problem. The last enabled, should be the key.

Known addon interference list and countermeasures!
1.Aurora:
Comment out or delete these codes:
Code:
-- [[ Loot ]]

		--[[if not IsAddOnLoaded("Butsu") and not IsAddOnLoaded("XLoot") then
			LootFramePortraitOverlay:Hide()
			select(3, LootFrame:GetRegions()):Hide()
			LootCloseButton:Hide()

			-- LootFrame:SetWidth(190)
			LootFrame:SetHeight(.001)
			LootFrame:SetHeight(.001)

			local reskinned = 1

			LootFrame:HookScript("OnShow", function()
				for i = reskinned, GetNumLootItems() do
					local bu = _G["LootButton"..i]
					local qu = _G["LootButton"..i.."IconQuestTexture"]
					if not bu then return end
					local _, _, _, _, _, _, _, bg, na = bu:GetRegions()

					-- LootFrame:SetHeight(100 + 37 * i)

					local LootBD = CreateFrame("Frame", nil, bu)
					LootBD:SetFrameLevel(LootFrame:GetFrameLevel()-1)
					LootBD:SetPoint("TOPLEFT", 38, -1)
					LootBD:SetPoint("BOTTOMRIGHT", bu, 170, 1)

					Aurora.CreateBD(LootBD)
					Aurora.CreateBD(bu)

					bu:SetNormalTexture("")
					bu:GetRegions():SetTexCoord(.08, .92, .08, .92)
					bu:GetRegions():SetPoint("TOPLEFT", 1, -1)
					bu:GetRegions():SetPoint("BOTTOMRIGHT", -1, 1)
					bg:Hide()
					qu:SetTexture("Interface\\AddOns\\Aurora\\quest")
					qu:SetVertexColor(1, 0, 0)
					qu:SetTexCoord(.03, .97, .03, .995)
					qu.SetTexture = Aurora.dummy
					na:SetWidth(174)

					reskinned = i + 1
				end
			end)
		end]]--
2.Skinner:
Disable loot frame reskin at skinner option frame.

16-9-2012
make it work with 5.05
20-7-2011
Size of this addon archive has been revised
19-7-2011
Add loot frame height auto adjustment.
18-7-2011
New layout shared
30-5-2011
Fix bug of scale animation
add support for my own texture lib
make it work with 4.1
30-11-2010
Fix bug of mouse tracking of loot frame
27-11-2010
Add support to indicate an item has been 'need' chosen by other
26-11-2010
Separated font for loot item and group loot item
roll time indicator
new configuration area

19-11-2010
minor update
make config options case insensitive.
fix bugs. Loot frame now correctly keep its position
add font configuration area
other minor changes
-------------------
19-11-2010
Major update.
Add codes to support console configuration.
Need bugs feed back. Show no mercy to them~
-------------------
18-11-2010
Fix the position of AchievementAleter and things like that. They are now have no relationship in position with the loot frame.
Add codes to support drag action of all GroupLootFrames
-------------------
11-17-2010
Add codes to support GroupLootFrame
Modify styles. That makes this addon much...er...more beautiful.
-------------------
30-10-2010
Add Quality Border Texture for this addon
Optional Files (0)


Post A Reply Comment Options
Unread 11-21-10, 04:16 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Originally posted by Naem
Oh man, please do some extensive work on this AddOn. I want the features you want to implement and more! Love it already!
Guy, I'm planning to buy a new PC. So.....development is delayed~~
Next update may come on Wednesday.

Still. no good ideal for roll timer reminder......

Do any of you have any suggestment?
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Last edited by ChrisHopeless : 11-21-10 at 06:54 AM.
Report comment to moderator  
Reply With Quote
Unread 11-21-10, 03:55 AM  
Naem
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
Oh man, please do some extensive work on this AddOn. I want the features you want to implement and more! Love it already!
__________________
k
Report comment to moderator  
Reply With Quote
Unread 11-20-10, 12:17 PM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by ChrisHopeless
Like to show a warning at middle of screen?

XXX has chosen 'need' for Item XXXX?
Maybe something more discreet, don't want to get spammed with warnings Maybe an indicator or sorts on the roll frame? Or default chat, maybe someone have a better idea?

I just like it for randoms and raids where it can be nice to know someone rolled need.

Edit: Not really important at a quick glance, who rolled need. It's more the fact that someone rolled need. If that makes sense.
Last edited by : 11-20-10 at 12:18 PM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-20-10, 10:08 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Originally posted by creepy_inc
Thank you for clarifying. Wonder if it would be possible to at least establish if someone rolled "Need" on an item (without looking through the chat window/list). I use "GreedBeacon" so it's hiding loot roll spam and makes a click-able link after that you can use to check individual rolls.
Like to show a warning at middle of screen?

XXX has chosen 'need' for Item XXXX?
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Report comment to moderator  
Reply With Quote
Unread 11-20-10, 09:53 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Thank you for clarifying. Wonder if it would be possible to at least establish if someone rolled "Need" on an item (without looking through the chat window/list). I use "GreedBeacon" so it's hiding loot roll spam and makes a click-able link after that you can use to check individual rolls.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-20-10, 04:00 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Originally posted by creepy_inc
You could show the numbers on the actual "roll buttons" like "greed" "disenchant" "need". I'll provide a screenshot when possible.
creepy_inc, I feel pity to tell you it is difficult for me to implement such option, because the mechanism of mine and tekloot is different.

Let me explain it more simply.

There are 5 items ready to start rolling. For mine, which only modifies the appearance of Blz Loot UI, only shows the front 4 of 5. We define them as A to D. That is item 'E' is waiting a roll loot frame when you are rolling A,B,C,or D.

In code of tekloot, it seems show all items which need to roll. That is 'E' don't need wait a free frame.

This may cause such situation:

When A -> E need to roll. A -> D are shown and have each roll frame.
some team members finish rolling 'E', whereas on your screen 'E' is still waiting an available frame.

the Addon wants to find a frame containing 'E' but finds none.
it fails to tell the frame to update number string.....

EDIT:

And, it seems that keep items into a list to save how many people rolled them and each frame when showed queries this list is a good way.
However......this list will grow bigger and bigger....

tekloot shows all item frames(more than 4) and makes team member's action update the number string.... I do think he wants to avoid above problem also....

It goes like this:
some body chooses 'need' of 'A'
tekloot finds frame containing Item 'A'
the 'need' number of that frame is added by 1 and then updated.

for mine, I have explained.
If item 'A' is waiting for free frame. member roll action of 'A' can't be counted...

No frame...No counting...
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Last edited by ChrisHopeless : 11-20-10 at 04:54 AM.
Report comment to moderator  
Reply With Quote
Unread 11-20-10, 02:57 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
You could show the numbers on the actual "roll buttons" like "greed" "disenchant" "need". I'll provide a screenshot when possible.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-20-10, 12:11 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Originally posted by creepy_inc
Any chance you could add how many people rolled "greed/need/DE" etc. like show a number on the roll button of how many chose that option?

Same option "TeksLoot" has.
That is a little bit challenging, since i have no mind of how to implement such functionality. Still, I would look into 'TeksLoot' and ask the author if i could use his code as reference.

what is disturbing is I don't know where to put such number string.

The layout is nearly fixed, so it is difficult to find proper places for other things. See that I announced to add roll count down timer, but there was no progress for the reason of "Where should i put it?"


Therefore, I would consider. If I have any inspiration, update would be made.
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 11:40 PM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Any chance you could add how many people rolled "greed/need/DE" etc. like show a number on the roll button of how many chose that option?

Same option "TeksLoot" has.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-19-10, 11:06 AM  
BeevoBWL
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 15
Uploads: 4
Chris,
All I can say is that you now have a fan for the remainder of my WoW life.
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 10:15 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Dear BeevoBWL, I did my promise~~~~~ You can change the font, including font file, size and font flag, of item name now.

Beware that font of item name of loot frame and roll frame are the same. Change one also affecting another.

I was so lazy that i didn't use different font objects~~~

If you need, what 's to do is only to change the parameter in function ModifyLootFrame (line 319) or in function ModifyGroupLootFrames(line 445)

you could change it yourself, otherwise, you could wait for another update when I implement the countdown time of roll frames.

In addtion, title of loot frame can use customized font either. Beside attributes above, you can change its color.
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Last edited by ChrisHopeless : 11-19-10 at 10:17 AM.
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 07:23 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Originally posted by creepy_inc
I have ZERO errors so far. All I did was log on and type "/btl Config" then move the frames where I wanted them, then log out and log back in to see if it changed anything. It was fine.

I do not play with "Open loot window at mouse".

I will keep testing and report if I find any errors.

EDIT: I don't personally care if it's case sensitive or not, I just wanted to mention it to you. Typing "/btl" works but not "btl config". Typing "/btl Config" does work
I see. I'm glad that it works fine. For the program I made always had various BUGs which were sometime quite hard to find.......

Any bug you have found, I will show them no mercy
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Last edited by ChrisHopeless : 11-19-10 at 07:38 AM.
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 07:13 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Xruptor thanks a lot. I get it.

sometime, I'd think, why wow didn't support C++ !!!!
I hate new API !
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Report comment to moderator  
Reply With Quote
Unread 11-19-10, 06:46 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
I have ZERO errors so far. All I did was log on and type "/btl Config" then move the frames where I wanted them, then log out and log back in to see if it changed anything. It was fine.

I do not play with "Open loot window at mouse".

I will keep testing and report if I find any errors.

EDIT: I don't personally care if it's case sensitive or not, I just wanted to mention it to you. Typing "/btl" works but not "btl config". Typing "/btl Config" does work
Last edited by : 11-19-10 at 06:49 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-19-10, 06:46 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
The easiest way to check for case-sensitive strings is to force the string into either all uppercase or all lowercase. Then match accordingly.


Code:
if string.lower(inputString) == "test" then
    'the user has inputed  TEST, test, TeSt, or any combination of the word 'test'
end
note you can also do this with uppercase

Code:
if string.upper(inputString) == "TEST" then
    'the user has inputed  TEST, test, TeSt, or any combination of the word 'test'
end
You can use this for your slash commands as well checking for lowercase slashes and responses

Here is a small example using your code.

Code:
    SlashCmdList["BeautyLoot"]=BeautyLoot_Option
    SLASH_BeautyLoot1="/btl"
    SLASH_BeautyLoot2="/beautyloot"


    if(string.lower(msg) == "lockroll") then 
        if(BeautyLootDB["LockRoll"]) then --解锁GroupLootFrames     Unlock the GroupLootFrames
            BeautyLootDB["LockRoll"] = false
            DEFAULT_CHAT_FRAME:AddMessage("|cffefe4b0".."Roll frames: |cffff7fc0Unlocked") 
        else
            BeautyLootDB["LockRoll"] = true
            DEFAULT_CHAT_FRAME:AddMessage("|cffefe4b0".."Roll frames: |cffff7fc0Locked")
        end
        local index
        for index=1,NUM_GROUP_LOOT_FRAMES do
            _G["GroupLootFrame"..index]:EnableMouse(not BeautyLootDB["LockRoll"])
            _G["ConfigFrameGroupLoot"..index]:EnableMouse(not BeautyLootDB["LockRoll"])
        end
        return;
    end

Notice I changed it to:

Code:
    SLASH_BeautyLoot1="/btl"
    SLASH_BeautyLoot2="/beautyloot"


    if(string.lower(msg) == "lockroll") then
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: