Download
(14Kb)
Download
Updated: 08-15-09 08:08 PM
Pictures
File Info
Updated:08-15-09 08:08 PM
Created:unknown
Downloads:7,967
Favorites:84
MD5:

Cirk's Lootcounter  Popular! (More than 5000 hits)

Version: 3.2.0
by: Cirk [More]

Lootcounter is a relatively small addon that aims to do two simple things - it tells you how many of something you have when you loot more of them, and it keeps track of the items you have on each character so that you can search for items through a small set of slash commands.


Lootcounter's slash commands
Lootcounter supports the following options:

/lootcounter on enables Lootcounter for the current character (the default).
/lootcounter off disables Lootcounter for the current character.
/lootcounter ui on tells Lootcounter to show loot messages and counts in the middle of your screen, a bit like they would show for quest items.
/lootcounter ui off tells Lootcounter to only show loot messages and counts in the usual chat window (the default).
/lootcounter compact tells Lootcounter to try and compact any stacks of items you have (doesn't move stacks that are already complete though).
/lootcounter show [searchterm] shows you a list of all your items (on you, and in the bank) that match the search term and their total counts in the default chat window. The search term can be part of an item name, an item type, or even an item link.
/lootcounter showbank [searchterm] does the same thing as /lootcounter show but only shows matches in your bank.
/lootcounter showbag [searchterm] does the same thing as /lootcounter show but only shows matches in your current bags or inventory.
/lootcounter showalt <charactername> [searchterm] does the same thing as /lootcounter show but for the named alternate character.
/lootcounter showall <searchterm> does the same thing as /lootcounter show but searches through all your characters at once.
/lootcounter reset [charactername] resets the stored data for either your current, or the named character.
/lootcounter resetall resets the stored data for all your characters.
/lootcounter data on turns on storing of information for the current character (which is the default).
/lootcounter data on turns off the storing of information for the current character - you might want to do this if you use another addon that provides a similar feature.
/lootcounter status shows Lootcounter's status.
You can also just use /lc for these slash commands, unless you have Ybe's LootCount addon enabled, in which case Lootcounter will play nice and not register itself for the /lootcount or /lc slash commands (since those are what LootCount uses).


Lootvalue integration
If you are using Cirk's Lootvalue, Lootcounter can provide count information for items directly to Lootvalue, so you can see them in your mouseover tooltips, without having to use lootcounter's slash commands.


Enjoy!
-- Cirk of Doomhammer

3.2.0
  • Removed chat frame announcement on login (not needed any more)
  • Changed version to 3.2.0.
3.1.0
  • Fix for a bug where lootcounter couldn't count bags if they weren't equipped.
  • Added an entry for Blizzard's interface options screen that shows a list of the slash commands.
  • Changed version to 3.1.0.
3.0.2
  • Fix issue that arises when logging in on a newly created character or after reinstalling WoW due to client messages arriving in unexpected order.
  • Changed version string to v3.0.2.
3.0.1
  • Fixed a bug where Lootcounter was comparing items with the player levels included (so it wouldn't see the same item on two different characters as being the same if the character's levels were different).
  • Added support for the new currency change, that moved Badges of Justice and BG tokens out of your bags and into the new currency screen.
  • Changed version string to v3.0.1.
3.0.0
  • Changed version string to v3.0.0.
  • Added the ability for Lootcounter to save each characters items for referencing from other characters.
  • Lootcounter now counts your keys and equipped items as well.
  • Added search capabilities to Lootcounter (using the show, showall, showbags, or showbank options).
  • Provides a hook for Lootvalue to automatically show counts of items on each character in the tooltip.
  • Various changes for version 3.0 compatibility.
Post A Reply Comment Options
Unread 11-25-10, 02:12 PM  
Krytharn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Fixed version available

Hey guys,

I have managed to fix the bug. I have uploaded the addon to this website (thanks bebob for the information), as soon as it gets accepted I will post the link here.

Edit: here it is:
http://www.wowinterface.com/downloads/fileinfo.php?id=18864

In the meantime, you can download it from my own server using the link below (which is the same as the link I originally posted here):
http://www.cowlumbus.nl/files/Lootcounter.zip

I will keep an eye on the forums and messages here, so let me know if you still have problems with the addon.

Kind regards,

Kry
Last edited by Krytharn : 11-25-10 at 04:19 PM.
Report comment to moderator  
Reply With Quote
Unread 11-14-10, 02:04 PM  
bebob
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
@ Krytharn
I would suggest doing something like this guy:
http://www.wowinterface.com/download...FanUpdate.html

As i'm not that great at coding myself I have been searching for another addon that shows the totals in chat and I found LootAlert. It had the same problem as Lootcounter but by editing two lua files as you did with Lootcounter I as able to get it working again and it looks like it work fine. I posted how to fix in the comments over there.
Report comment to moderator  
Reply With Quote
Unread 11-14-10, 11:08 AM  
Krytharn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Okay, I noticed that bug, too. Will see if I can fix it but I can't promise anything at the moment, since I am rather busy at the moment (honestly).

@bebob: good suggestion, if only I knew how to upload the fix as a fan update. I see the "optional files" tab at the Badapples page, but there is no such tab on the Lootcounter page, nor do I see any information how to add it. If you have any info about it, let me know.
Report comment to moderator  
Reply With Quote
Unread 11-12-10, 11:57 AM  
bebob
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
Like Hacklez I noticed that the count start over when creating or looting when the stack is full. Although when you buy stuff there seems to be no problem.

maybe you could just use GetItemcount to replace some stuff but I couldn't get it to work. I hope Cirk is still around. I use this addon since vanilla and Its really nice for gathering and buying stuff.
Report comment to moderator  
Reply With Quote
Unread 10-25-10, 03:10 AM  
bebob
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
Krytharn,

Thanks for fixing, but why don't you upload it here as a fan update like other people have done for Cirk's Badapples?
Personally I don't like downloading addons from other places then wowinterface, wowui and curse.
And not everyone reads the comments.
Last edited by bebob : 11-11-10 at 02:27 PM.
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 02:51 PM  
Hacklez
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I seem to have encountered a possible bug with latest release, it restarts counting again every time I start a new stack, ie if I smelt 21 ore, it will count until 20, then on completion of smelting of 21st ore count is 1
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 02:11 AM  
Krytharn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
I encountered the same bug as Twidget today, so I fixed that one as well. Download link is still the same:
http://www.cowlumbus.nl/files/Lootcounter.zip

Apologies for not finding this bug earlier.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 06:50 AM  
bebob
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
I have been using this addon for so long to see the total amount of looted items. Thank you Krytharn for fixing and telling the rest of us.
Last edited by bebob : 10-14-10 at 07:13 AM.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 06:49 AM  
Krytharn
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
I have fixed the bug(s) myself to make the addon compatible with 4.0.1. The bug was caused by a change in the itemString: in Cataclysm there is a 10th itemID for reforging.

You can download a ZIP with the 4.0.1 compatible addon here:
http://www.cowlumbus.nl/files/Lootcounter.zip

I liked this addon so much that I could not wait for Cirk to fix this himself
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 06:30 AM  
Twidget
An Aku'mai Servant
 
Twidget's Avatar

Forum posts: 33
File comments: 401
Uploads: 0
Date: 2010-10-13 08:12:04
ID: 14
Error occured in: Global
Count: 8
Message: ..\AddOns\Lootcounter\Lootcounter.lua line 486:
attempt to compare string with number
Debug:
[C]: ?
Lootcounter\Lootcounter.lua:486: ScanCurrency()
Lootcounter\Lootcounter.lua:1306:
Lootcounter\Lootcounter.lua:1295
AddOns:
Report comment to moderator  
Reply With Quote
Unread 05-11-10, 01:15 PM  
Gsusnme
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 199
Uploads: 1
Originally posted by scamish76
i was getting the same error, and i tried to find the solution and i think i may have come across it. From another mod by Cirk "cirks badapples", a user named Cosmic Cleric had a solution posted. It seemed to have worked for me

go to line 1643 and find this:

if (string.sub(uncolored, 1, 1) == "/") then
line:SetMultilineIndent(16);
else
line:SetMultilineIndent(0);
end

change lines to the following:

if (string.sub(uncolored, 1, 1) == "/") then
line:SetWordWrap(true);
else
line:SetWordWrap(false);
end
That worked fine for me, no more errors from Lootcounter! Thanks!
Report comment to moderator  
Reply With Quote
Unread 12-21-09, 11:32 AM  
scamish76
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
i was getting the same error, and i tried to find the solution and i think i may have come across it. From another mod by Cirk "cirks badapples", a user named Cosmic Cleric had a solution posted. It seemed to have worked for me

go to line 1643 and find this:

if (string.sub(uncolored, 1, 1) == "/") then
line:SetMultilineIndent(16);
else
line:SetMultilineIndent(0);
end

change lines to the following:

if (string.sub(uncolored, 1, 1) == "/") then
line:SetWordWrap(true);
else
line:SetWordWrap(false);
end
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 12-16-09, 03:57 PM  
kittykatmax
A Fallenroot Satyr
 
kittykatmax's Avatar

Forum posts: 21
File comments: 227
Uploads: 0
Same error, could you please update? Thanks so much for a great addon.
Report comment to moderator  
Reply With Quote
Unread 12-16-09, 10:59 AM  
BJRubino
A Defias Bandit

Forum posts: 3
File comments: 64
Uploads: 0
LUA Error

Hi,
Same error here:

.../Lootcounter.lua line 1644: attempt to call method 'SetMultilineIndent' (a nil value)

BJR
Report comment to moderator  
Reply With Quote
Unread 12-13-09, 06:49 AM  
Kazragore
A Deviate Faerie Dragon

Forum posts: 14
File comments: 118
Uploads: 0
Same here. Pls update. It's my last error message since 3.3.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: