Reagent Counter

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

Simple addon that count special items whenever a bag update occours.

Was formerly intended to autobuy reagents, now its almost useless, i just need it to restock water on mana-classes
It warns you when u are low with alert and sound (only when u are in capital city, like after raid) and auto restock em at vendor.

For each item-type there are two numbers.
The first is the amount of items needed in order for the addon to spam. Below that number u wil hear a beep and visual alert that you are low on that kind of item.
The second number is the optimal number of items, which the addon will try to buy when u are low and opening a vendor.

You can set these numbers in the blizzard addon config window.

The "Always buy" option lets you choose if u want addon to purchase every time u visit a vendor, or only when u are below the alarm threshold.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of papsol papsol Feb 26, 2009 at 17:25 UTC - 0 likes

    i do not believe there is a way to purchase less the x20 symbol of kings (or similiar stacks) when the vendor doesn't offer a smaller stack size. It's just a limitation we have to live with. The code change I made simply removed your looping and instead set the amount to buy option to that of what the loop size was previously. This works out with the symbol of kings too (main is a paladin as well). On a side note, if maintaining the exact number is a necessity for you, the only option i would see here is to destroy the odd number of SoKs on the player prior to running the buying routine.

    my email address is [email protected] if you wanna send me a message there, I'd be more than happy to send you the copy of the code I have so you can look at it.

    There was another change I made, that i neglected to outline and makes this addon even more useful. I disabled the checks that made the buy routine only active if you were below the min setting. This means, if I have 17 of 20 corpse dust and my min is 10, when i visit a vendor that sells them, it will still purchase the 3 missing. Though the notification of low on reagents still doesnt kick in til i'm below the min setting. (as well as the tracking change). I find this to be the most useful change as I frequently visit reagent vendors before going below the min.

  • Avatar of eviloz eviloz Feb 22, 2009 at 13:02 UTC - 0 likes

    hmm tracking poisons. i didnt knew tehre is one., will add that too :)

  • Avatar of eviloz eviloz Feb 21, 2009 at 13:25 UTC - 0 likes

    in 1.20 alpha release i did most of the changes you say here, with some little differences.

    rogue: did a special rogue table, player just choose the poison type, addon deals with the proper rank.

    buying multiple: the code i did at first was working like yours, but it fails badly when the vendor sells more than one at a time - like paladins sok (vendor sells 20 at a time) i didnt found a way to do the shift-click action u perform in game to buy less than 20

    if your code is working well, in this case lets get in touch, my main is a pala, and i love have exactly 400 kings, not 399 :P

    btw, how can i send u a message with this curse thing? lol

  • Avatar of papsol papsol Feb 12, 2009 at 18:26 UTC - 0 likes

    I've made some changes to this addon that might interest you.

    1) Added Death Knight Support
    2) Added Rogue Poisons Support (includes tracking poisons instead reagents)
    3) Updated the npc purchase code to buy the necessary stack size instead of always purchasing 1 stack at a time. (i.e. it'll by x12 instead of looping 12 times to buy 1 stack each loop)
    4) Updated in-game config code to only show the settings for the current applicable level(s). (Necessary for rogue support as the rogue reagent array is very large)
    5) Updated internal code to support a maximum of 6 reagents to monitor. (previously only support 4)

    The in-game config still doesn't appear to be saving though. I was curious if you were interested in this update.



Date created
Oct 28, 2008
Last update
Sep 23, 2012
Development stage
  • deDE
  • enUS
  • ruRU
GNU General Public License version 2 (GPLv2)
Recent files
  • R: 1.45 for 5.0.5 Sep 23, 2012
  • R: 1.44 for 4.3.0 Jan 02, 2012
  • R: 1.43 for 4.0.3a Jan 13, 2011
  • R: 1.42 for 4.0.3a Jan 10, 2011
  • R: 1.41 for 4.0.1 Oct 27, 2010