Download
(648 b)
Download
Updated: 02-06-13 03:15 AM
Pictures
File Info
Updated:02-06-13 03:15 AM
Created:08-02-10 04:07 AM
Downloads:28,806
Favorites:229
MD5:

XLoot 1.0 (Inactive)  Popular! (More than 5000 hits)

Version: 1.0_final
by: Xuerian [More]

This addon has been merged into XLoot. Please use it instead.


A customizable loot frame

Providing a large array of options to change how loot is presented, as well as allowing you to use Masque or ButtonFacade Skins, XLoot's job is to make looting more functional while still having a better form.


Options GUI available under Interface->Addons or /xloot

The 1.0 XLoot branch will eventually replace the legacy XLoot once all features have been implemented.
The major advantage to using the new version is support for Masque/ButtonFacade skins, as well as custom image-based skins instead of simply coloring the frame.

Skinning

XLoot can use any Masque skins, but skins made to fit rectangles will work better for obvious reasons.
Here's a example of Caith (A masque skin) with Frame transparency set to 0, along with the Legacy skin and a normal background:


If you find a skin that doesn't fit correctly, either tell me or go ahead and make a quick compatibility addon (See below)

About the plugins

XLoot Group/Monitor/Master require the support plugin in order to be used with this version.

I will be re-writing them as time allows to be stand-alone addons instead of plugins, which will work alongside 1.0 natively, and once that happens, they will all replace the old versions I post. I respect that some people like the old look of the frames, and I may try to make a legacy-lookalike skin.

Extending XLoot

It's easy to release skins or tweak masque skins (Or include tweaks in your skin, if you are already a masque skin author!) Skins are really just square textures of a border, like Masque skins.
To let XLoot know about your skin, use: XLootFrame:RegisterSkin(skin_name, skin_table)
To add a tweak for a Masque skin, use: XLootFrame:RegisterMasqueTweak(masque_skin_name, skin_table)
For documentation of skin_table, see the comments near the top of XLoot.lua
Please make sure you have permission to use any textures you include.

final:
Notifies users that "XLoot" should be installed instead, as this is now inactive.
This is only due to the massive fragmentation the addon has experienced over its lifetime, and to prevent more subsequent user confusion.

z27:
Add channel menu to right click of link button
Automatically resize bottom buttons

z26:
Add new skin (Smooth) as default
Add Link Button Visibility option

z25:
Add AutoLoot options for coin and quest items
(This is separate from WoW's autoloot completely and does not change it)
Option default changes (Reset to see)

z24:
Change preview items

z23:
Preview frame in options

z22:
Fix right-click not picking up loot

z21:
Minor performance update
Better compatibility with Masque skins
Proper zhTW localization

z18:
Fixed skin border size not applying
Allowed skins to supply alternate default colors (User must have default color settings for them to apply)
Adjusted color settings for "Legacy" skin
Slightly darkened loot borders when coloring by quality
Added a couple failsafes to try to catch slot errors

z17:
Mostly transparent changes involving packaging.

1.0.16a:
Fixed bug when selecting profile
Localized profile name

1.0.16-release:
**Options panel complete
**Slash commands completely changed
Add "Legacy" skin (Thanks to rikarods)
Added Profile management panel
/xloot now opens options panel
[/xloot get] lists options that can now be set via [/xloot set] for those who still wish to use slash commands
Fixed Link-to-chat "Threshold not reached" issue
Resorted options panel
Recolored large option element labels
Adjusted a lot of the labels

1.0.16-alpha:
Nearly-complete "Blizzard Options Panel" GUI to replace slash commands (Missing Profiles controls, and probably broke some slash commands)
Separated frame and row alpha settings
Added "Highlight" option for rows
Fixed bottom buttons highlighting
Added fixed-width option
Made "collapse looted slots" a option
Added XLootFrame:RegisterSkin and :RegisterMasqueTweak to allow for user made and distributed skins. See top of XLoot.lua
Lost some sanity


FFFFFUUUUUUUUUUUU:
Testing fixes is probably a good thing. The amount of people using this file and reporting this complete failure is slightly disappointing..

1.0.15:
Fix Masque integration again, fail gracefully if required version is not used.

1.0.14:
Masque/ButtonFacade fix. Requires Masque alpha at this point.

1.0.13:
4.2 fix

1.0.12:
Fixed "text" error when using /xloot skin
Reverted to 1.0.x versioning until a name change, due to curse filename conventions

1.1:
Improved help. Added /help color
Added coloring options: {frame/loot}_border (formerly frame/loot), _background, _gradient
Added skin 'hack' for PixelSkin
Added skin.border_pad, which pads the icon, item, and loot frame at the same time.
Changed skin.pad_small and skin.pad_large to skin.pad_icon and skin.pad_item
Added skin.pad_frame

1.0.10:
Sanity check for errors regarding Masque/skins
Added reasonable responses to /xloot. Help for commands is now available in-game.

1.0.9:
Can now use skins with spaces in the name (oops)
*Re-uploaded to remove .git folder

1.0.8:
Added check for variable to prevent erroring out on autoloot/addon loot.

1.0.7:
Tooltip moved to uncover icons above it
Info color option added
font_size_loot and font_size_info added

1.0.6:
4x TOC fix, minor cleanup

1.0.5:
Fixed frame_snap off defaults issue. (It was snapping to 0,0 - bottom left of the screen)

1.0.4 "I'm just going to fix this one thing and push another version..":
Another attempted fix at unpack() error
Slash commands and option profiles introduced
Frame coloring cleaned up
Bind indication fixed
Frame snapping (or not, while disabled) fixed
Skin picking changed

1.0.3:
Attempted fix unpack() expects table error

*Re-uploaded 1.0.2 to fix improper Link All settings

1.0.2:
Fixed Link All
Fixed skin_spacing_row
Per-addon ButtonFacade settings saved/respected
Quality Highlighting works (Somewhat, enable with loot_border_quality = true in XLoot.lua)
Naming as release version


1.0.1:
Added default texture (Thanks, Ferous)
Possibly fixed AceConsole error
Post A Reply Comment Options
Unread 11-18-11, 04:24 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Re: Re: ButtonFacade/Masque support broken

Latest Masque alpha works again.
Report comment to moderator  
Reply With Quote
Unread 11-10-11, 03:19 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Re: ButtonFacade/Masque support broken

Found the reason for this.

Masqe's API no longer includes a method for addons to get all active skins, so until it is added I can't do anything about it

I've requested that functionality from StormFX, the author. We'll see if it gets in. If not, I'll have to do some very nasty things with buttons..
Report comment to moderator  
Reply With Quote
Unread 11-08-11, 03:37 AM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Re: ButtonFacade/Masque support broken

Originally posted by X-buZZ
Hi Xuerian,

thank you for this great add-on. I am using it since release.
One feature I really like very much is the ButtonFacade skin support.

Unfortunately this is broken with the transition from ButtonFacade to Masque (rename, new engine, stated to be compatible with dummy add-on). Xloot does not recognize BF/Masque skins any more even with the backwards-compatible-module of it.

Can you please have a look at this?

Kind regards,
X-buZZ
I thought I addressed this when I noticed, but if you're having issues then I guess not!

Thanks for reporting, I'll check it out.
Report comment to moderator  
Reply With Quote
Unread 11-03-11, 02:48 AM  
X-buZZ
A Kobold Labourer

Forum posts: 1
File comments: 56
Uploads: 0
ButtonFacade/Masque support broken

Hi Xuerian,

thank you for this great add-on. I am using it since release.
One feature I really like very much is the ButtonFacade skin support.

Unfortunately this is broken with the transition from ButtonFacade to Masque (rename, new engine, stated to be compatible with dummy add-on). Xloot does not recognize BF/Masque skins any more even with the backwards-compatible-module of it.

Can you please have a look at this?

Kind regards,
X-buZZ
Report comment to moderator  
Reply With Quote
Unread 09-22-11, 01:03 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Originally posted by Vladinator
Just a tip, I use a speedloot mod that loots all slots as the window opens, so I don't know what I got until the bags/chat is shown, it loads quicker than the addon can show. Point is, it errored with some "nil value found" messages, I fixed them by adding 'or ""' to one line, just an idea tough. I realize it needs a moment to properly skin the frame usually.
Thanks for the tip. Could you link me to the mod as well?
Report comment to moderator  
Reply With Quote
Unread 09-21-11, 03:02 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Just a tip, I use a speedloot mod that loots all slots as the window opens, so I don't know what I got until the bags/chat is shown, it loads quicker than the addon can show. Point is, it errored with some "nil value found" messages, I fixed them by adding 'or ""' to one line, just an idea tough. I realize it needs a moment to properly skin the frame usually.
Report comment to moderator  
Reply With Quote
Unread 08-28-11, 03:21 AM  
Mapartipin
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
newname = ('%s%s|r'):format(h, itemname)

clear |c, and works fine
Report comment to moderator  
Reply With Quote
Unread 06-30-11, 05:54 PM  
snb
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Re: 4.2 Item Name/Color bug

Originally posted by Xuerian
[...] this would've meant another trial account added to the list.
Trials last forever now, FYI.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 03:30 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Re: Xloot color bug.

Originally posted by Theflamethingy
Hi, i got the code infront of the actual item name and ive seen that you can change the code on the line 536. but when i open Xloot.lua i cant find anything at line 536. Help pls....
I've posted a updated version. Use that.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 02:56 PM  
Theflamethingy
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Xloot color bug.

Hi, i got the code infront of the actual item name and ive seen that you can change the code on the line 536. but when i open Xloot.lua i cant find anything at line 536. Help pls....
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 02:06 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Re: Re: 4.2 Item Name/Color bug

Originally posted by snb
In Xloot.lua at line 536 find this:
Code:
r, g, b, h = GetItemQualityColor(quality)
-- Item name
Change to this:

Code:
r, g, b, h = GetItemQualityColor(quality)
h = "|c" .. h
-- Item name
Thanks for posting this fix! I don't have a active account right now, so this would've meant another trial account added to the list.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 03:45 AM  
snb
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: 4.2 Item Name/Color bug

Originally posted by Clavicle
Now that in 4.2 XLoot is putting the colour code in front of the item names rather than colouring the names, does anyone have a fix yet?
In Xloot.lua at line 536 find this:
Code:
r, g, b, h = GetItemQualityColor(quality)
-- Item name
Change to this:

Code:
r, g, b, h = GetItemQualityColor(quality)
h = "|c" .. h
-- Item name
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 03:21 AM  
Clavicle
A Kobold Labourer

Forum posts: 0
File comments: 63
Uploads: 0
4.2 Item Name/Color bug

Now that in 4.2 XLoot is putting the colour code in front of the item names rather than colouring the names, does anyone have a fix yet?
Report comment to moderator  
Reply With Quote
Unread 05-30-11, 06:48 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Originally posted by Ashram35
Just looking for some help changing some settings in Xloot. I'm trying to have a 1 pixel border which i was able to do by applying the BF PixelSkin. Now i want the background to have a .1 or .2 alpha and the color set to black. I used the Color Frame command to set it to Black and had to remove the gradient but whenever i change this part of the code from:

frame:SetBackdrop(backdrop)
frame:SetBackdropBorderColor(0, 0, 0)
frame:SetBackdropColor(0, 0, 0, overlay and 0 or 0.9)

to:

frame:SetBackdrop(backdrop)
frame:SetBackdropBorderColor(0, 0, 0)
frame:SetBackdropColor(0, 0, 0, 0.2)

It ends up changing the entire alpha to that number so the pixel borders are hard to see and not full black color. In the SetBackdropBorderColor I tried adding a 1 to the end ie (0, 0, 0, 1) but that didn't work. As you can see i'm very much a beginner at this and am not sure where to take it from here to get it to look how i want. I appreciate any help.
I went ahead and improved the color options, as well as adding a entry in LBF_Hacks (line 99) for PixelSkin so that it would line up.

The new color options are: frame_background, frame_border (formerly frame), frame_gradient, loot_background, loot_border, loot_gradient.

They should cover what you want to do without any modification.
Report comment to moderator  
Reply With Quote
Unread 05-29-11, 11:10 PM  
Ashram35
A Murloc Raider

Forum posts: 4
File comments: 2
Uploads: 0
Just looking for some help changing some settings in Xloot. I'm trying to have a 1 pixel border which i was able to do by applying the BF PixelSkin. Now i want the background to have a .1 or .2 alpha and the color set to black. I used the Color Frame command to set it to Black and had to remove the gradient but whenever i change this part of the code from:

frame:SetBackdrop(backdrop)
frame:SetBackdropBorderColor(0, 0, 0)
frame:SetBackdropColor(0, 0, 0, overlay and 0 or 0.9)

to:

frame:SetBackdrop(backdrop)
frame:SetBackdropBorderColor(0, 0, 0)
frame:SetBackdropColor(0, 0, 0, 0.2)

It ends up changing the entire alpha to that number so the pixel borders are hard to see and not full black color. In the SetBackdropBorderColor I tried adding a 1 to the end ie (0, 0, 0, 1) but that didn't work. As you can see i'm very much a beginner at this and am not sure where to take it from here to get it to look how i want. I appreciate any help.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: