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,695
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 10-24-12, 11:50 AM  
kjghostfury
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I'm not sure if I missed something in the options or what, but when I go to loot with auto loot off, I'll loot say the gold. Then the window will close and I'll have to click the mob again. Worse case was there was a chest I needed a key for, I opened the chest using up the key I had and there were 3 items to loot. (can't remember exactly what they were) But I looted the gold and the window closed leaving me without another key to open the chest. Is the loot window supposed to close like that?
Report comment to moderator  
Reply With Quote
Unread 08-31-12, 11:17 AM  
Duranom
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
It is, but in case they looked here it can/could help them for now
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 06:03 PM  
mondoz
An Aku'mai Servant

Forum posts: 31
File comments: 20
Uploads: 0
Originally Posted by Duranom
While not perfect, this fixed the issue you two described that I had as well till there is an update. (including an other one that will follow)

Open the file: Interface\AddOns\XLootGroup\Libs\LibLootEvents\LibLootEvents.lua
Isn't XLootGroup a different addon than this one?
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 03:43 PM  
Duranom
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
While not perfect, this fixed the issue you two described that I had as well till there is an update. (including an other one that will follow)

Open the file: Interface\AddOns\XLootGroup\Libs\LibLootEvents\LibLootEvents.lua

Then go to line: 57

add the following function code on an empty line:
Lua Code:
  1. --- Ensure that showLootSpam is registered with CVar
  2. local function EnsureCVarShowLootSpam()
  3.     local cVarValue = GetCVarInfo("showLootSpam")
  4.     if(cVarValue == nil) then
  5.         RegisterCVar("showLootSpam", 1)
  6.     else
  7.         SetCVar("showLootSpam", 1)
  8.     end
  9. end

After having done that go to around line 112 where you will see the following part:
Lua Code:
  1. SetCVar("showLootSpam", 1)
  2.  
  3. -- Catch latent rolls
  4. if (GetNumPartyMembers() > 0 or GetNumRaidMembers() > 0) and GetLootMethod() == 'group' then
  5.     for i=1,200 do
  6.         local time = GetLootRollTimeLeft(i)
  7.         if time > 0 then
  8.             activerolls = activerolls + 1
  9.         end
  10.     end
  11. end

Now replace that with the following part
Lua Code:
  1. EnsureCVarShowLootSpam();
  2.  
  3. -- Catch latent rolls :: 5.0.X Update GetNumSubgroupMembers() checks for bg and real ones together
  4. if (GetNumSubgroupMembers() > 0) and GetLootMethod() == 'group' then
  5.     for i=1,200 do
  6.         local time = GetLootRollTimeLeft(i)
  7.         if time > 0 then
  8.             activerolls = activerolls + 1
  9.         end
  10.     end
  11. end
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 04:47 AM  
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 1200
Uploads: 12
Re: 5.0.4 and Xloot

Originally Posted by Adam77
Hi ... ty for updating Xloot I just tryed in 5.0.4 and it's working smart

BTw i wish to ask you how to go on using Xloot Group, Master with this new version.
Do you think to get those modules inside Xloot 1.0 or should we use old plugin support?
I tried this way but i got
I'm getting this same lua error. Would love to find out how to fix it
Report comment to moderator  
Reply With Quote
Unread 08-30-12, 12:45 AM  
Adam77
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 32
Uploads: 3
5.0.4 and Xloot

Hi ... ty for updating Xloot I just tryed in 5.0.4 and it's working smart

BTw i wish to ask you how to go on using Xloot Group, Master with this new version.
Do you think to get those modules inside Xloot 1.0 or should we use old plugin support?
I tried this way but i got

Message: Couldn't find CVar named 'showLootSpam'
Time: 08/30/12 08:42:38
Count: 1
Stack: [C]: ?
[C]: in function `SetCVar'
...dOns\XLootGroup\Libs\LibLootEvents\LibLootEvents.lua:103: in main chunk

Locals: (*temporary) = "showLootSpam"
(*temporary) = 1
Report comment to moderator  
Reply With Quote
Unread 04-21-12, 02:57 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 osatox
Originally Posted by Xuerian
Originally Posted by osatox
Would it be possible to add the option to have the window grow upward, instead of down (by default)?
Would snapping to the bottom item instead of the top suffice for this?
Like an anchor of some sort? Yeah that's kinda the idea. Like, i have the loot window right above my enemy unit frames. so it would be nice for it to grow upward. Then with the built in options already it can shrink downward after loot has been grabbed.

An anchor would probably be a better idea because...at the moment, lets say a mob had 2 item drops. So the window is sized for 2 items. If I moved and adjusted it into position, lock it, then kill a mob that drops 3 or more items, the window becomes funky and exceeds the desired position.
Well, you remind me again that I don't think of all use cases for my addon =)

I would not have considered it being "Docked" against another frame. In this case, I'm not sure how I would go about it. I'll have to give it some more thought.
Report comment to moderator  
Reply With Quote
Unread 04-20-12, 07:33 PM  
osatox
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 15
Uploads: 1
Originally Posted by Xuerian
Originally Posted by osatox
Would it be possible to add the option to have the window grow upward, instead of down (by default)?
Would snapping to the bottom item instead of the top suffice for this?
Like an anchor of some sort? Yeah that's kinda the idea. Like, i have the loot window right above my enemy unit frames. so it would be nice for it to grow upward. Then with the built in options already it can shrink downward after loot has been grabbed.

An anchor would probably be a better idea because...at the moment, lets say a mob had 2 item drops. So the window is sized for 2 items. If I moved and adjusted it into position, lock it, then kill a mob that drops 3 or more items, the window becomes funky and exceeds the desired position.
Last edited by osatox : 04-20-12 at 07:36 PM.
Report comment to moderator  
Reply With Quote
Unread 04-18-12, 05:25 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 osatox
Would it be possible to add the option to have the window grow upward, instead of down (by default)?
Would snapping to the bottom item instead of the top suffice for this?
Report comment to moderator  
Reply With Quote
Unread 04-17-12, 05:46 PM  
osatox
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 15
Uploads: 1
Would it be possible to add the option to have the window grow upward, instead of down (by default)?
Report comment to moderator  
Reply With Quote
Unread 03-23-12, 11:22 PM  
digaum2003
A Deviate Faerie Dragon

Forum posts: 16
File comments: 10
Uploads: 0
Originally Posted by Xuerian
If the anchors aren't visible.. /oldxloot options -> monitor -> show anchor (or similar)

XLoot Group's beta simply uses /xlg to toggle the anchor, it's on curse under "Other Downloads" currently


Originally Posted by digaum2003
Originally Posted by Xuerian
Originally Posted by digaum2003
Thanks a lot for this addon!! Xloot was a masterpiece and I'm glad it's being developed again.
I just installed along with master and group but after setting the initial positions, I can't make the anchors for the group, master and Monitor to show up again. I can only move the main xloot, but no these ones.
If you could help me find a way to move them, I'd be really glad!

Thanks!
Love to hear that you enjoy it =)

As far as the anchors, I haven't been able to reproduce it but have simply started including this snippet on curse:
/script XLootGroup.db.profile.AnchorsAway.roll.pos.x = 600
/script XLootGroup.db.profile.AnchorsAway.roll.pos.y = 600
(then XLootMonitor.db, if you have it. Master has no anchors)

Really, that's just to reset it without removing the WTF configuration file for XLoot. Which is the easiest way. (WoW\WTF\{Account}\SavedVariables\XLoot.lua)
Thanks a lot!!! I was able to reset the position, which helps a lot already.
If you come up with a way to changing the anchor using the drag method, let me know, I'd love to be able to.
But thanks once again!!
Perfect!! That was exactly what I wanted to!!

Thank you very much!!!!!
Report comment to moderator  
Reply With Quote
Unread 03-23-12, 08:23 PM  
Xuerian
A Fallenroot Satyr
 
Xuerian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 161
Uploads: 7
If the anchors aren't visible.. /oldxloot options -> monitor -> show anchor (or similar)

XLoot Group's beta simply uses /xlg to toggle the anchor, it's on curse under "Other Downloads" currently


Originally Posted by digaum2003
Originally Posted by Xuerian
Originally Posted by digaum2003
Thanks a lot for this addon!! Xloot was a masterpiece and I'm glad it's being developed again.
I just installed along with master and group but after setting the initial positions, I can't make the anchors for the group, master and Monitor to show up again. I can only move the main xloot, but no these ones.
If you could help me find a way to move them, I'd be really glad!

Thanks!
Love to hear that you enjoy it =)

As far as the anchors, I haven't been able to reproduce it but have simply started including this snippet on curse:
/script XLootGroup.db.profile.AnchorsAway.roll.pos.x = 600
/script XLootGroup.db.profile.AnchorsAway.roll.pos.y = 600
(then XLootMonitor.db, if you have it. Master has no anchors)

Really, that's just to reset it without removing the WTF configuration file for XLoot. Which is the easiest way. (WoW\WTF\{Account}\SavedVariables\XLoot.lua)
Thanks a lot!!! I was able to reset the position, which helps a lot already.
If you come up with a way to changing the anchor using the drag method, let me know, I'd love to be able to.
But thanks once again!!
Report comment to moderator  
Reply With Quote
Unread 03-22-12, 12:41 AM  
digaum2003
A Deviate Faerie Dragon

Forum posts: 16
File comments: 10
Uploads: 0
Originally Posted by Xuerian
Originally Posted by digaum2003
Thanks a lot for this addon!! Xloot was a masterpiece and I'm glad it's being developed again.
I just installed along with master and group but after setting the initial positions, I can't make the anchors for the group, master and Monitor to show up again. I can only move the main xloot, but no these ones.
If you could help me find a way to move them, I'd be really glad!

Thanks!
Love to hear that you enjoy it =)

As far as the anchors, I haven't been able to reproduce it but have simply started including this snippet on curse:
/script XLootGroup.db.profile.AnchorsAway.roll.pos.x = 600
/script XLootGroup.db.profile.AnchorsAway.roll.pos.y = 600
(then XLootMonitor.db, if you have it. Master has no anchors)

Really, that's just to reset it without removing the WTF configuration file for XLoot. Which is the easiest way. (WoW\WTF\{Account}\SavedVariables\XLoot.lua)
Thanks a lot!!! I was able to reset the position, which helps a lot already.
If you come up with a way to changing the anchor using the drag method, let me know, I'd love to be able to.
But thanks once again!!
Report comment to moderator  
Reply With Quote
Unread 03-20-12, 12:43 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 digaum2003
Thanks a lot for this addon!! Xloot was a masterpiece and I'm glad it's being developed again.
I just installed along with master and group but after setting the initial positions, I can't make the anchors for the group, master and Monitor to show up again. I can only move the main xloot, but no these ones.
If you could help me find a way to move them, I'd be really glad!

Thanks!
Love to hear that you enjoy it =)

As far as the anchors, I haven't been able to reproduce it but have simply started including this snippet on curse:
/script XLootGroup.db.profile.AnchorsAway.roll.pos.x = 600
/script XLootGroup.db.profile.AnchorsAway.roll.pos.y = 600
(then XLootMonitor.db, if you have it. Master has no anchors)

Really, that's just to reset it without removing the WTF configuration file for XLoot. Which is the easiest way. (WoW\WTF\{Account}\SavedVariables\XLoot.lua)
Report comment to moderator  
Reply With Quote
Unread 03-12-12, 04:26 PM  
digaum2003
A Deviate Faerie Dragon

Forum posts: 16
File comments: 10
Uploads: 0
Thanks a lot for this addon!! Xloot was a masterpiece and I'm glad it's being developed again.
I just installed along with master and group but after setting the initial positions, I can't make the anchors for the group, master and Monitor to show up again. I can only move the main xloot, but no these ones.
If you could help me find a way to move them, I'd be really glad!

Thanks!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: