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,724
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 09-29-10, 02:51 PM  
blitzseed
A Kobold Labourer

Forum posts: 0
File comments: 70
Uploads: 0
hello, just have a quick question is there a way to have the link loot to link out to more then 1 channel? great addon btw
Report comment to moderator  
Reply With Quote
Unread 09-29-10, 09:31 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 blitzseed
hello, just have a quick question is there a way to have the link loot to link out to more then 1 channel? great addon btw
Nope (Not yet, anyway), but line 711 is where you'd look for it, should just be able to add another sendmessage with the channel you want
Report comment to moderator  
Reply With Quote
Unread 10-01-10, 07:42 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 829
Uploads: 56
Cataclysm Beta
Function signature change in build 13117 (or at least that's the build I noticed it on)

from
Code:
local texture, item, quantity, quality, locked = GetLootSlotInfo(slot)
to
Code:
local texture, item, quantity, quality, locked, isQuestItem, questId, isActive = GetLootSlotInfo(slot)
Also there's now checks in the default lootframe code for LootSlotIsCurrency(slot) (new function).

I'm getting some errors that may or may not be related to the above
<snipped> I'll edit the errors out as soon as you got them
Last edited by Dridzt : 10-03-10 at 04:48 PM.
Report comment to moderator  
Reply With Quote
Unread 10-03-10, 03:01 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 Dridzt
Cataclysm Beta
Function signature change in build 13117 (or at least that's the build I noticed it on)

from
Code:
local texture, item, quantity, quality, locked = GetLootSlotInfo(slot)
to
Code:
local texture, item, quantity, quality, locked, isQuestItem, questId, isActive = GetLootSlotInfo(slot)
Also there's now checks in the default lootframe code for LootSlotIsCurrency(slot) (new function).

I'm getting some errors that may or may not be related to the above

So they change parts of the loot api that don't need changed, but STILL don't change loot events. *sigh*

Well, thanks for the heads up, I'll need to update my beta client over iffy internet, haven't for a while.
Report comment to moderator  
Reply With Quote
Unread 10-08-10, 12:27 AM  
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view AddOns

Forum posts: 313
File comments: 41
Uploads: 2
I believe this was from an instance run with loot set on FFA. Myself and another looted a mob at almost the same time. They got the loot and I got a blank loot window.

Code:
1x XLoot1.0-1.0.4\XLoot.lua:678: attempt to perform arithmetic on upvalue 'row_height' (a nil value)
XLoot1.0-1.0.4\XLoot.lua:764: in function <XLoot1.0\XLoot.lua:764>

Locals:
_ = XLootFrame {
 0 = <userdata>
}
e = "LOOT_SLOT_CLEARED"
events = <table> {
 LOOT_SLOT_CLEARED = <function> @ XLoot1.0\XLoot.lua:665:
 LOOT_OPENED = <function> @ XLoot1.0\XLoot.lua:654:
 LOOT_CLOSED = <function> @ XLoot1.0\XLoot.lua:643:
}
Code:
1x XLoot1.0-1.0.4\XLoot.lua:282: Usage: LootSlotIsItem(slot)
XLoot1.0-1.0.4\XLoot.lua:282: in function <XLoot1.0\XLoot.lua:281>

Locals:
self = XLootButton2 {
 0 = <userdata>
 SetHighlightColor = <function> @ XLoot1.0\XLoot.lua:203:
 SetTex = <function> @ XLoot1.0\XLoot.lua:360:
 text_info = <unnamed> {}
 SetTexts = <function> @ XLoot1.0\XLoot.lua:353:
 frame_item = <unnamed> {}
 borders = <table> {}
 texture_item = <unnamed> {}
 SetHighlights = <function> @ XLoot1.0\XLoot.lua:369:
 text_name = XLootButton2Text {}
 SetBorderColor = <function> @ XLoot1.0\XLoot.lua:364:
 text_quantity = <unnamed> {}
 SetGradientColor = <function> @ XLoot1.0\XLoot.lua:199:
 highlight = <unnamed> {}
 OffsetText = <function> @ XLoot1.0\XLoot.lua:374:
 gradient = <unnamed> {}
 text_bind = <unnamed> {}
 SetSkinColor = <function> @ XLoot1.0\XLoot.lua:191:
}

edit: do you have a project page somewhere to submit tickets? I didn't see this version of xloot on wowace.
Last edited by brotherhobbes : 10-08-10 at 12:35 AM.
Report comment to moderator  
Reply With Quote
Unread 10-08-10, 10:42 AM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Originally posted by brotherhobbes
I believe this was from an instance run with loot set on FFA. Myself and another looted a mob at almost the same time. They got the loot and I got a blank loot window.

edit: do you have a project page somewhere to submit tickets? I didn't see this version of xloot on wowace.
I'll have to try to figure out how to catch that case. That implies that a loot slot is attempting to clear before it should exist, but it should definitely throw a error before that line if that is the case.

And no, since this has nothing to do with Ace, it's only here and on Curse(Forge). There are tickets on curse, but for the moment I prefer it just be handled in comments.
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 07:27 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 829
Uploads: 56
taint

Code:
10/12 16:20:42.784  Execution tainted by XLoot1.0 while reading XLootButton1Text - Interface\FrameXML\LootFrame.lua:233 LootButton_OnClick()
10/12 16:20:42.784      Interface\AddOns\XLoot1.0\XLoot.lua:431
10/12 16:20:42.784  An action was blocked in combat because of taint from XLoot1.0 - LootSlot()
10/12 16:20:42.784      Interface\FrameXML\LootFrame.lua:235 LootButton_OnClick()
10/12 16:20:42.784      Interface\AddOns\XLoot1.0\XLoot.lua:431
From looting in combat. (with only coin in lootframe I believe)

Also as to my previously posted errors.
They only happen from what I can tell for fringe cases like brotherhobbles described (2 people looting simultaneously)
OR if you use any auto-loot addon.
It looks like calling LootSlot() on a lootframe with only coin (out of combat to prevent taint) prevents the lootframe from showing at all and this creates problems for XLoot.
Calling it on a lootframe with coin + something messes up the rows as well; the lootbutton with coin also does not get drawn.
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 08:33 AM  
Spectrezh
Priestess of the Moon
 
Spectrezh's Avatar
Premium Member

Forum posts: 8
File comments: 46
Uploads: 0
sorry if I sound like a noob but for 4.0.1, should we use the release version 1.0 that supports the 4.0 patch or the Cataclysm version?
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 09:55 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 829
Uploads: 56
Originally posted by Spectrezh
sorry if I sound like a noob but for 4.0.1, should we use the release version 1.0 that supports the 4.0 patch or the Cataclysm version?
I'm pretty sure it's the same file.
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 03:51 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
Re: taint

Originally posted by Dridzt
Code:
10/12 16:20:42.784  Execution tainted by XLoot1.0 while reading XLootButton1Text - Interface\FrameXML\LootFrame.lua:233 LootButton_OnClick()
10/12 16:20:42.784      Interface\AddOns\XLoot1.0\XLoot.lua:431
10/12 16:20:42.784  An action was blocked in combat because of taint from XLoot1.0 - LootSlot()
10/12 16:20:42.784      Interface\FrameXML\LootFrame.lua:235 LootButton_OnClick()
10/12 16:20:42.784      Interface\AddOns\XLoot1.0\XLoot.lua:431
From looting in combat. (with only coin in lootframe I believe)

Also as to my previously posted errors.
They only happen from what I can tell for fringe cases like brotherhobbles described (2 people looting simultaneously)
OR if you use any auto-loot addon.
It looks like calling LootSlot() on a lootframe with only coin (out of combat to prevent taint) prevents the lootframe from showing at all and this creates problems for XLoot.
Calling it on a lootframe with coin + something messes up the rows as well; the lootbutton with coin also does not get drawn.
So not only aren't they doing events, they're mucking with LootSlot() again?

Ah well. Thanks for narrowing it down for me, I'll work on it. If you feel especially frisky, see if you can compare it to another loot frame, to see if it's me or WoW. (butsu is the only one I'm aware of, aside from the Ace3 fork...)

And yes, the cata version IS this version.
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 05:54 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 829
Uploads: 56
What do you mean 'again'

It's been like that for months and current beta build still has the same problem:

http://forums.worldofwarcraft.com/th...091&sid=2000#0

(that's my bug report on beta forum and I've also submitted it through the in-game feedback tool a couple weeks back)
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 06:46 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 Dridzt
What do you mean 'again'

It's been like that for months and current beta build still has the same problem:

http://forums.worldofwarcraft.com/th...091&sid=2000#0

(that's my bug report on beta forum and I've also submitted it through the in-game feedback tool a couple weeks back)
<Shakefist at blizzard>
Well, I'm not going to bother with it for right now then. It was a pain in the ass when it happened in 3.0(?), and I don't even remember what I did to get around it.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 03:53 AM  
Anemonae
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Any chance of making the border colors the same as the item rarity like it used to be before xloot 1.0? Really miss that along with the X close button in the top right.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:32 AM  
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 990
File comments: 383
Uploads: 3
pretty sure it was xloot pre 1.0 that made it so i saw no loot frame at all? if i have autolooting on it used to not even show me a loot frame. now im back to it showing up for a split second.
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 12:57 PM  
TzuArath
A Murloc Raider

Forum posts: 4
File comments: 9
Uploads: 0
Plugins

are the plugins comming back? one thing I loved about xloot was that I could just autoloot and then see what I looted in the monitor window. I know I can look at the chat window, but its so lame
And not to mention the xloot rolls, instead of the big chunky ones that are now yours were so sexy!
Great work tho, keep it up
Last edited by TzuArath : 10-13-10 at 12:58 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: