- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,103 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
Lootcounter Lite
- 2 Likes
- World of Warcraft
- 24 Monthly Downloads
- Supports: 5.2.0
- 539 Total Downloads
- Updated 03/08/2013
- Created 01/11/2013
- 8 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU Lesser General Public License version 2.1 (LGPLv2.1)
- Newest File: 5.2.0
About Lootcounter Lite
Shows how many of an item you have in your bags when you loot.
This addon will help you while farming or questing. Every time you loot an item, it will add the total number of items you have in your bags to the loot message. That way you can easily track your progress.

The amount shown does not include items you have in your bank, because this is confusing when trying to hand in quest items. If you want to keep track of items in your bank, consider using addons like Bagnon.
Works for all items, except currency. Support for currency will probably be added later on.
------------------------------------------------------------------------
r15 | droozle | 2013-03-08 19:22:33 +0000 (Fri, 08 Mar 2013) | 1 line
Changed paths:
A /tags/5.2.0 (from /trunk:14)
Updated for patch 5.2 - no additional changes were required.
------------------------------------------------------------------------
r14 | droozle | 2013-03-08 19:21:41 +0000 (Fri, 08 Mar 2013) | 1 line
Changed paths:
M /trunk/Lootcounter_Lite.toc
Updated for patch 5.2 - no additional changes were required.
------------------------------------------------------------------------
r12 | droozle | 2013-02-11 21:49:38 +0000 (Mon, 11 Feb 2013) | 1 line
Changed paths:
M /trunk/Lootcounter_Lite.toc
M /trunk/localization.deDE.lua
M /trunk/localization.enGB.lua
M /trunk/localization.enUS.lua
M /trunk/localization.frFR.lua
A /trunk/localization.ruRU.lua
Added Russian translation. Thank you very much, Zaszh!
------------------------------------------------------------------------
r10 | droozle | 2013-02-05 19:58:54 +0000 (Tue, 05 Feb 2013) | 1 line
Changed paths:
M /trunk/Lootcounter_Lite.toc
* Changed the automatic versioning string in the table of contents.
------------------------------------------------------------------------
r9 | droozle | 2013-02-05 19:54:44 +0000 (Tue, 05 Feb 2013) | 3 lines
Changed paths:
M /trunk/Lootcounter_Lite.lua
M /trunk/Lootcounter_Lite.toc
M /trunk/localization.deDE.lua
M /trunk/localization.enGB.lua
M /trunk/localization.enUS.lua
M /trunk/localization.frFR.lua
* Fixed (or better: prevented) an error that was caused by 'line_id' being nil in some cases. The new code will no longer bug in that case, but it may lead to chat messages being processed more than once. This is not an issue we can resolve, because line_id usually is only nil if other addons don't properly return it in their chat filter system.
* Changed the loot message a bit, so it sounds less formal.
* Added automatic versioning to the table of contents.
------------------------------------------------------------------------
Top Downloads
-
- Deadly Boss Mods
- Combat, PvP, and Boss Encounters
- 1,129,948 Monthly Downloads
-
- Bagnon
- Bags & Inventory
- 498,005 Monthly Downloads
-
- Deadly Boss Mods - Burning Crusade and Vanilla mods
- Combat and Boss Encounters
- 335,742 Monthly Downloads
-
- Recount
- Combat
- 323,867 Monthly Downloads
-
- HealBot Continued
- Healer and Unit Frames
- 297,532 Monthly Downloads
Comments
Great addon, very useful, however, upon switching chat addons (I switched to Prat), Lootcounter no longer works. I disabled Prat and it works ok with the standard blizzard chat, but do you have any idea what the conflict with an addon like Prat might be?
Hey, thanks for a great addon.
Iv noticed that it seems to bug out with one of my other addons (Scrap).
Message: Lootcounter_Lite\Lootcounter_Lite-5.1.0.2.lua:77: attempt to concatenate local "line_id" (a nil value)
Time: 02/04/13 23:09:59
Count: 1
Stack: ...terface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:77: in function `filterFunc'
Interface\FrameXML\ChatFrame.lua:2959: in function `ChatFrame_MessageEventHandler'
Interface\AddOns\Scrap\Scrap.lua:321: in function `Print'
Interface\AddOns\Scrap_Merchant\Scrap_Merchant.lua:252: in function `SellJunk'
Interface\AddOns\Scrap_Merchant\Scrap_Merchant.lua:110: in function `OnMerchant'
Interface\AddOns\Scrap_Merchant\Scrap_Merchant.lua:102: in function `?'
Interface\AddOns\Scrap\Scrap.lua:77: in function <Interface\AddOns\Scrap\Scrap.lua:77>
Locals: _ = ChatFrame3 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
mouseOutTime = 1.0120000634342
originalShow = <function> defined =[C]:-1
tellTimer = 43305.951
button = CopyChatButton3 {
}
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Hide = <function> defined @Interface\FrameXML\FrameLocks.lua:119
oldAlpha = 0.24705883860588
channelList = <table> {
}
SetScript = <function> defined =[C]:-1
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
buttonSide = "right"
mouseInTime = 0
editBox = ChatFrame3EditBox {
}
Show = <function> defined @Interface\FrameXML\FrameLocks.lua:123
isLocked = 1
name = "Loot / Trade"
styled = true
originalHide = <function> defined =[C]:-1
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
event = "CHAT_MSG_MONEY"
msg = "You sold your junk for 15 81 51"
author = nil
line_id = nil
(*temporary) = <function> defined @Interface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:63
(*temporary) = "Line ID:"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'line_id' (a nil value)"
_line_id = 73
Is there anyway to fix this or am i doomed to stick to one of these two addons?
thanks again.
Hi Mitrax,
gosh, three comments on my addon and two of them about bugs. Ah well, thanks for taking the time to submit a bug report.
Could you try something for me? Open the following file:
WoW Folder > Interface > AddOns > Lootcounter_Lite > Lootcounter_Lite.lua
Comment out the two lines containing "CHAT_MSG_MONEY" (lines 187 and 207) by placing two hyphens in front of it, like so:
--ChatFrame_AddMessageEventFilter("CHAT_MSG_MONEY", LootcounterLite.Filter)
Then restart WoW or type "/console reloadui" in your chat to load the addon again. Did the problem go away? Let me know, then I can make this change permanently.
By the way, I suspect the real reason for this error is a problem with Scrap not returning the line_id of a message properly. But I'm not sure. Will try this myself tomorrow. Stay tuned.
-Droozle
Hey,
I have installed the update and ran it for over an hour and its been all fine and smooth. Thank you for the quick fix, much appreciated.
Hi,
that's what I kinda thought would happen. I've added a fix for this issue, which will prevent Lootcounter Lite from bugging if line_id is nil. This usually only happens if other addons mess with the chat message, which is why I had not encountered it myself during testing.
A minor side-effect may be that messages now sometimes appear more than once, but this should be rare and is pretty harmless.
I hope your bug is fixed now, but let me know if you still run into problems, OK? Thanks for keeping me sharp. You can safely overwrite the changes you made to Lootcounter by re-installing it, or by updating it using the Curse client.
-Droozle
Hey Droozle,
I tried what you told and it seemed to have worked. But was welcomed by another message;
Message: Lootcounter_Lite\Lootcounter_Lite-5.1.0.2.lua:77: attempt to concatenate local "line_id" (a nil value)
Time: 02/05/13 18:35:59
Count: 1
Stack: ...terface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:77: in function `filterFunc'
Interface\FrameXML\ChatFrame.lua:2959: in function `ChatFrame_MessageEventHandler'
Interface\AddOns\Bump\Bump.lua:132: in function `Print'
Interface\AddOns\Bump\Bump.lua:111: in function `PrintValues'
Interface\AddOns\Bump\Bump.lua:62: in function `ZONE_CHANGED_NEW_AREA'
Interface\AddOns\Bump\Bump.lua:39: in function `?'
Interface\AddOns\Bump\Bump.lua:29: in function <Interface\AddOns\Bump\Bump.lua:29>
Locals: _ = ChatFrame3 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
originalShow = <function> defined =[C]:-1
tellTimer = 19126.576
button = CopyChatButton3 {
}
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Hide = <function> defined @Interface\FrameXML\FrameLocks.lua:119
oldAlpha = 0.24705883860588
channelList = <table> {
}
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
buttonSide = "right"
SetScript = <function> defined =[C]:-1
editBox = ChatFrame3EditBox {
}
Show = <function> defined @Interface\FrameXML\FrameLocks.lua:123
isLocked = 1
name = "Loot / Trade"
styled = true
originalHide = <function> defined =[C]:-1
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
event = "CHAT_MSG_LOOT"
msg = "You have been awarded 40 Valor Points in Assault on Zan'vess."
author = nil
line_id = nil
(*temporary) = <function> defined @Interface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:63
(*temporary) = "Line ID:"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'line_id' (a nil value)"
_line_id = 10
=====================================================
Message: Lootcounter_Lite\Lootcounter_Lite-5.1.0.2.lua:77: attempt to concatenate local "line_id" (a nil value)
Time: 02/05/13 18:36:01
Count: 1
Stack: ...terface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:77: in function `filterFunc'
Interface\FrameXML\ChatFrame.lua:2959: in function `ChatFrame_MessageEventHandler'
Interface\AddOns\Bump\Bump.lua:132: in function `Print'
Interface\AddOns\Bump\Bump.lua:111: in function `PrintValues'
Interface\AddOns\Bump\Bump.lua:62: in function `?'
Interface\AddOns\Bump\Bump.lua:29: in function <Interface\AddOns\Bump\Bump.lua:29>
Locals: _ = ChatFrame3 {
0 = <userdata>
flashTimer = 0
isInitialized = 1
originalShow = <function> defined =[C]:-1
tellTimer = 19126.576
button = CopyChatButton3 {
}
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Hide = <function> defined @Interface\FrameXML\FrameLocks.lua:119
oldAlpha = 0.24705883860588
channelList = <table> {
}
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
buttonSide = "right"
SetScript = <function> defined =[C]:-1
editBox = ChatFrame3EditBox {
}
Show = <function> defined @Interface\FrameXML\FrameLocks.lua:123
isLocked = 1
name = "Loot / Trade"
styled = true
originalHide = <function> defined =[C]:-1
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
event = "CHAT_MSG_LOOT"
msg = "You have been awarded 40 Valor Points in Assault on Zan'vess."
author = nil
line_id = nil
(*temporary) = <function> defined @Interface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:63
(*temporary) = "Line ID:"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'line_id' (a nil value)"
_line_id = 10
Messing with bump now it seems :P
Wouldnt surprise me if there is an issue with bump itself.
Its a great addon (lootcounter lite) that iv got really fond of now and want to keep :)
Thank you for the addon :)
But I got an error, can you tell what's the problem ?
[18:23:57] Задание "Триумфальное возвращение" выполнено.
[18:23:57] Error: Original call failed after running hooks for: ChatFrame_OnEvent
...terface\AddOns\Lootcounter_Lite\Lootcounter_Lite.lua:97: invalid capture index
Call Chain:
Interface\AddOns\Stubby\Stubby.lua:381: in function <Interface\AddOns\Stubby\Stubby.lua:325>
(tail call): ?
[C]: in function `ChatFrame_OnEvent'
Interface\AddOns\VanasKoS\modules\ChatNotifier.lua:210: in function <Interface\AddOns\VanasKoS\modules\ChatNotifier.lua:167>
(tail call): ?
(tail call): ?
...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:299: in function <...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:259>
...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:326: in function <...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:314>
Thank you Zaszh, for your bug report.
It seems this is caused by a non-English client like German or Russian. The loot strings for these languages contain patterns that cause this error.
I've changed the parsing code a bit now, to filter out the unwanted patterns. When I now run the addon in German, the bug doesn't happen anymore. I am not sure if everything works now, so let me know if you run into issues, especially when receiving more than 1 of the same quest item.
-Droozle
PS: would you be willing to provide a Russian translation of the addon? If so, please see:
http://wow.curseforge.com/addons/lootcounter-lite/localization/
Hi Droozle,
Thank you so much for this addon. I used Cirk's Lootcounter for so long that I really missed the totals for tracking items.
Glad you like it :D