Download
(126Kb)
Download
Updated: 05-24-10 02:00 PM
Pictures
File Info
Updated:05-24-10 02:00 PM
Created:unknown
Downloads:13,084
Favorites:69
MD5:

LootAlert  Popular! (More than 5000 hits)

Version: 23
by: kergoth [More]

LootAlert displays your loot (money & item) messages in a scrolling text addon (sct, fct, msbt, ..). For money, it can show in 3 formats, whichever you choose. For items, it shows how many you looted and how many you now have, in total, in your inventory. It can color the item by rarity, show an item icon, and so on. It can reformat chat loot messages to use its formatting as well, for consistency. It does not yet show party members or raid member looting.

23:
- Add ruRU translation, courtesy StingerSoft
22:
- Fix error at login seen when HideLooted is not installed
21.1:
- Fix Interface version
21:
- Add release notes for version 21
- Add support for the HideLooted addon's filtering
- Default to LibSink's prioritized default sink, rather than UIErrorsFrame
- Fix for changes in recent versions of WoW
- Update to the latest versions of the embedded libraries
- Bump .toc Version
- Fix filesystem case issues.
- Add deDE translation, courtesy DoofDilla.
20:
- Switch the gold/silver/copper global string usage for 2.4.2.
19:
- Fix the options.lua error.
18:
- Kill AceDBOptions lib, since I'm not using it.
- Kill some debug code, since I'll be handling that elsewhere.
- Code reorganization.
- Fix bug reported by mindleglalaxy.. I wasn't handling the itemlink/itemstring properly. Fixed by ensuring we always grab the suffixid, and only grab the uniqueid if it contains the bits for scaled random suffixes.
17:
- Only send chat messages to the chat frames if db.chat is disabled.
- Don't filter out all chat loot messages, only those we'll be handling (we don't want to hide other people looting stuff..).
16:
- Fix the chat message stuff to only output to frames that have item loot enabled.
15:
- Apply the quality threshold to the examples again.
- Rework the way I'm handling the chat message modification. This should fix the last of the total count problems people have been running into with the new method enabled.
- Make newmethod default again, since it should be stable now.
14:
- Don't pause while trading or at a merchant, as they generate loot events.
- Make the total count in loot messages pretend that no items have hit the bags yet as of the loot message.
Example: If you were to loot 600 ammo all at once, depending on lag, it
could have shown: +200 (600), +200 (600), +200 (600) for the 3 messages,
indicating that all 600 hit the inventory prior to getting any of the loot
messages. While accurate, this is confusing to users. With this change,
it would show: +200, +200 (400), +200 (600).
13:
- Add option to enable/disable the new method of keeping track of total item counts, disabled by default.
- Fix the chatthres option (was acting like it was always on).
- Kill the Chat option from the LibSink output options, as it's pointless.
12:
- Fix self is nil error in chat processItems function.
- Reset lootprocessed to 0 when lootchatcount changes, to try to fix this odd count problem people are seeing.
- Change default output to UIErrorsFrame, as the libsink-2.0 fallback is chatframe1, which is silly.
- Add option to apply the item quality threshold to chat loot messages.
- Disable the 'apply to chat messages' option when chat message filtering is off.
11:
- Fix the options error in the example setup code.
10:
- Fix the miscount bug which has been floating around for ages.
9:
- Don't strip off the suffixes/enchants/etc of items that have them.
8:
- Add option to modify the loot chat messages to also have LootAlert's formatting.
- Add tek's "about" panel to the config.
- Set default profile to Default, as I highly doubt anyone would need to change this per character.
- Don't create our options tables until we need them.
7:
- Add LibSink-2.0 to OptDeps.
- Hardcode some info for the examples, so they don't need to be in the item cache to work.
6:
- Add "Example Messages" to options.
- Add ability to override / disable the "Loot: " prefix.
- Reorganize the options, moving Output to its own subcategory in the interface options and grouping the formatting options together.
- Fix the behavior of the Text Color option.
5:
- Change Item Quality Threshold into a dropdown instead of a slider.
- Change the layout of the output settings so they aren't cut off in Interface Options.
- Update LibSink-2.0 to fix the bug with AceConfig-3.0 scrollAreas config.
4:
- Added Item Quality Threshold option, so you can hide greys if you want to.
- Add in game configuration in the Interface Options and via /la or /lootalert.
- Use an embedded texture for the item icon for MSBT instead of using its skill icon stuff.
- Add the missing embedded libraries.
- Update to use LibSink-2.0 for output.
3:
- Prep for in game config.
- Fixups, cleanups, and add support for 2.4 texture links.
2:
- Fix sct display.
- Kill a bit of unnecessary string mt usage, color the item loot string such that only the item name itself is colored by rarity, and color the money loot string.. and clean up a little.
- Fix a couple little bugs and change the format for a loot when you're looting 1 item, but have >0 in the inventory already.
- Add spaces between gold & silver and silver & copper, and add support for icon in sct & msbt.
- Further cleanup.
1:
- Initial release.
Optional Files (0)


Post A Reply Comment Options
Unread 03-29-08, 06:56 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Re: Re: Error Message

Originally posted by SaberHawke
I have Lib-Sink-2.0 installed as it is a dependencey of Omen. I fixed the problem by making Lib-Sink.2.0 an Optional Dependency in the TOC. Without that, Lib-Sink is not loaded until Omen is loaded.

That also explains why the addon worked even with the error as eventually Lib-Sink does get loaded just not in time for the startup of LootAlert..

BTW, thanks for the great addon, I really missed this when I changed from Parrot a while back. It is even better now that I don't have to edit the LUA to change it the way I want.
Ah! Right, my mistake, I'll update the toc. Thanks for the report and fix.
Report comment to moderator  
Reply With Quote
Unread 03-29-08, 09:26 PM  
SirQuester
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 33
Uploads: 1
LootAlert\addon.lua:241: attempt to compare nil with number
LootAlert\addon.lua:146: in function `setupExample'
LootAlert\addon.lua:158: in function `UpdateExamples'
LootAlert\addon.lua:211: in function <Interface\AddOns\LootAlert\addon.lua:203>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:316: in function `InitializeAddon'
AceAddon-3.0\AceAddon-3.0.lua:404: in function <...\AddOns\LootAlert\libs\AceAddon-3.0\AceAddon-3.0.lua:397>

Had this one on log in.
Report comment to moderator  
Reply With Quote
Unread 03-29-08, 09:55 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by SirQuester
LootAlert\addon.lua:241: attempt to compare nil with number
LootAlert\addon.lua:146: in function `setupExample'
LootAlert\addon.lua:158: in function `UpdateExamples'
LootAlert\addon.lua:211: in function <Interface\AddOns\LootAlert\addon.lua:203>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:316: in function `InitializeAddon'
AceAddon-3.0\AceAddon-3.0.lua:404: in function <...\AddOns\LootAlert\libs\AceAddon-3.0\AceAddon-3.0.lua:397>

Had this one on log in.
Try v7 when it gets approved, should fix it.
Report comment to moderator  
Reply With Quote
Unread 04-08-08, 07:47 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Hmm, now that I support reformatting the self loot messages, I find the loot messages for party/raid members to be ugly and inconsistent Maybe I should add support for reformatting those and optionally notifying for those to the sct addons as well. Opinion?
Report comment to moderator  
Reply With Quote
Unread 04-09-08, 04:47 AM  
SaberHawke
A Fallenroot Satyr
 
SaberHawke's Avatar

Forum posts: 23
File comments: 93
Uploads: 0
Counting Errors

I have noticed since last release that the counting when creating/looting items is off.

I queued up 4 Felsteel Stabalizers (http://www.wowhead.com/?item=23787). As they were being made the log showed the following.

Felsteel Stabalizer (2)
Felsteel Stabalizer (2)
Felsteel Stabalizer (4)
Felsteel Stabalizer (5)

I started with 0 and only made 4.
Report comment to moderator  
Reply With Quote
Unread 04-09-08, 10:54 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Counting Errors

Originally posted by SaberHawke
I have noticed since last release that the counting when creating/looting items is off.

I queued up 4 Felsteel Stabalizers (http://www.wowhead.com/?item=23787). As they were being made the log showed the following.

Felsteel Stabalizer (2)
Felsteel Stabalizer (2)
Felsteel Stabalizer (4)
Felsteel Stabalizer (5)

I started with 0 and only made 4.
Yeah... I know about this one. I'm honestly not sure how to solve it though. The situation is, sometimes the CHAT_MSG_LOOT event comes in before the item actually hits the bags, and sometimes after. So the use of the GetItemCount() function sometimes includes what we just looted, sometimes not. I haven't found a good way to account for this, but I'll work on it some more.

Edit: Also note that this problem has always existed with this addon and with XLootMonitor, which also shows the total count of the item. It's just more noticable since you can see the previous messages in chat
Last edited by kergoth : 04-09-08 at 11:58 AM.
Report comment to moderator  
Reply With Quote
Unread 04-10-08, 06:14 AM  
IRID1UM
A Deviate Faerie Dragon
 
IRID1UM's Avatar

Forum posts: 12
File comments: 92
Uploads: 0
I've quickly browsed through the comments and not found what I'm "reporting" below, please forgive me if it has been answered already.
My biggest problem with this addon is that it doesnt show item suffixes. I pick up "Bards Gloves of the Monkey" and the chat message is just "Bards Gloves".
Is this intended?

I've been using a special version of Lootcounter for SCT a friend wrote for me, if you want, look through the code for any hints. It has been working flawlessly, only the item count was +1 when crafting items or receiving items from quest givers.
File is at www.irid1um.com/Lootcounter.zip (case sensitive)
Cheers and thanks for the time you invest in this addon!
Last edited by IRID1UM : 04-10-08 at 06:14 AM.
Report comment to moderator  
Reply With Quote
Unread 04-10-08, 08:42 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by IRID1UM
[b]I've quickly browsed through the comments and not found what I'm "reporting" below, please forgive me if it has been answered already.
My biggest problem with this addon is that it doesnt show item suffixes. I pick up "Bards Gloves of the Monkey" and the chat message is just "Bards Gloves".
Is this intended?
I've been planning on fixing this for a while, just hadn't gotten around to it. It's the use internally of itemids.. the itemid doesn't include the suffixes, just need to operate against the full itemlinks instead.

I'll see if I can fix this today.
Report comment to moderator  
Reply With Quote
Unread 04-10-08, 08:44 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Re: Re: Counting Errors

Originally posted by kergoth
[b]Yeah... I know about this one. I'm honestly not sure how to solve it though. The situation is, sometimes the CHAT_MSG_LOOT event comes in before the item actually hits the bags, and sometimes after. So the use of the GetItemCount() function sometimes includes what we just looted, sometimes not. I haven't found a good way to account for this, but I'll work on it some more.
Argh, spent hours trying to find a good way to handle this last night. Not giving up on it, just not sure what's going on. I'll keep at it.
Report comment to moderator  
Reply With Quote
Unread 04-10-08, 01:34 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by kergoth
I've been planning on fixing this for a while, just hadn't gotten around to it. It's the use internally of itemids.. the itemid doesn't include the suffixes, just need to operate against the full itemlinks instead.

I'll see if I can fix this today.
Fixed, I'll get a release out shortly.
Report comment to moderator  
Reply With Quote
Unread 04-12-08, 01:28 AM  
IRID1UM
A Deviate Faerie Dragon
 
IRID1UM's Avatar

Forum posts: 12
File comments: 92
Uploads: 0
Thanks! Testing when my GF lets me
Cheers

Edit: seems to work
Last edited by IRID1UM : 04-12-08 at 07:42 AM.
Report comment to moderator  
Reply With Quote
Unread 04-25-08, 10:59 PM  
Xark
A Deviate Faerie Dragon

Forum posts: 14
File comments: 61
Uploads: 0
hey

using the german client, i still have problems with the number showing up for looted items... for example, looting the 6th nethercloth it says 7 in the chatmsg...
Report comment to moderator  
Reply With Quote
Unread 04-26-08, 11:03 AM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by Xark
using the german client, i still have problems with the number showing up for looted items... for example, looting the 6th nethercloth it says 7 in the chatmsg...
I explain this in some of the previous comments. The problem is blizzard's events don't come in a consistent order. Sometimes the loot event comes before the items you loot hit the inventory, sometimes after, so GetItemCount() sometimes includes what you just looted, and sometimes does not.

I have a local bit of test code that works around this by tracking everything, but I want to optimize the code a bit before I dare release it. The code got quite a bit heavier to work around the bug, sadly.
Report comment to moderator  
Reply With Quote
Unread 04-29-08, 05:27 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 7
Originally posted by kergoth
I explain this in some of the previous comments. The problem is blizzard's events don't come in a consistent order. Sometimes the loot event comes before the items you loot hit the inventory, sometimes after, so GetItemCount() sometimes includes what you just looted, and sometimes does not.

I have a local bit of test code that works around this by tracking everything, but I want to optimize the code a bit before I dare release it. The code got quite a bit heavier to work around the bug, sadly.
v10 has this fix.
Report comment to moderator  
Reply With Quote
Unread 04-29-08, 08:03 PM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 116
Uploads: 3
Just got this today, the numbers aren't accurate, even though it was stated fixed in V10, also the following error when I go to LootAlert via Interface options or /lootalert:

LootAlert\addon.lua:487:attempt to compare number with string.


There's no other options except the Output
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: