Addon Information
Works with 3.3
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
CobraA1's Portal Bug Reports Feature Requests
Author:
Version:
2.1.0
Date:
03-18-2010 07:37 PM
Size:
168.73 Kb
Downloads:
19,330
Favorites:
229
MD5:
Pictures
Click to enlarge
Adding an item to the Shopping List
Click to enlarge
Adding an item to the Selling List
Click to enlarge
Adjusting the stock quantity of an item
Reagent Restocker   Updated less than 3 days ago!   Popular! (More than 5000 hits)
== Overview ==
Reagent Restocker is a simple addon for automatically purchasing items, selling unwanted items, and repairing.

Unlike many other similar addons, Reagent Restocker supports drag and drop and has a full GUI for editing buy/sell lists. Even though it may be more useful to some classes than others, Reagent Restocker works for all classes.

This addon is of particular use to:

* classes that use multiple reagents (Mages, Druids, etc.),
* characters that like to have a stock of vials, flux, etc. on hand,
* characters that always like to keep stocked on items like potions in their bank,
* characters that do a lot of farming.
* anybody who wants to keep a constant supply of some item buyable from a vendor.

== News ==
2.0 is out! Changes:

* Waterfall stopped being supported, and didn't support features like Blizzard's addon tab. Moved to Ace3.
* New, more WoW-like look and feel, thanks to Ace3.
* New LDB option: Can use LDB text instead of LDB labels. Useful if your LDB plugin doens't support labels.
* LDB support now defuaults to a single icon. You can still set it to track individual items in the options.
* Lots of code changes under the hood to make future changes easier.

Please report all bugs!

== Usage ==
To start using Reagent Restocker, type

/rr

at the command line.

/rrstock and /reagentrestocker also work. If you are using Raid Roll, Regeant Restocker will not use /rr.

/rrbuy and /rrsell add items to the sell and buy lists (thanks g3gg0)
  Change Log - Reagent Restocker
== v2.1.0 ==
* No news is good news. I'm pretty much assuming the "low reagent warning" bug is fixed now.
* Fixed crash when quantity wasn't set.
* New list: Exceptions. This lists prevents the automatic selling from selling certain items.
* Some functions made available in a public API.
* This was a pretty big change to the code (in order to make more lists possible), and a lot could be buggy, so I'm gonna increment the middle number in the version.

== v2.0.10 ==
* More tweaks to the low reagent warning. Note that it only warns when items become low while using them, it doesn't warn of low items when entering a city or anything like that.
* I just got a big DUH moment - the warning was deeply nested in a "for" statement, making it conditional on things it shouldn't be conditional on! Fixed. Hopefully, this fixes 99% of the weirdness of the low reagent warning.

== v2.0.9 ==
* Fixed an unintended crash when dragging and dropping an item onto the text field. Probably in there as a previous experiment to add drag and drop?
* As a result of fixing the bug, you can now drag and drop items on the text field to add them to the list. Note that it may not be reliable.
* Added a bit of new debugging code - puts more information in crash messages.

== v2.0.8 ==
* Another attempt to fix low reagent warning.

== v2.0.7 ==
* Tried to fix reagent warning not appearing at all.
* Disabled debugging (did I leave that on? oops!)

Explanation of the bug I'm tracking down: It seems that when WoW first loads, the inventory will act as if there's nothing in it. Therefore, if I check for low reagents right away when RR loads, it will detect them as low and give the player a warning. In 2.0.6, I've been telling it to ignore them until a certain event happens which seems to tell me when the inventory is available again. Alas, the event I chose doesn't always happen, so I've added another event in an attempt to make the detection more reliable.

Alas, there is no documented "correct" event to check for this, so it's largely a shot in the dark. I'm hoping this is the last I see of this bug, but no complete guarantees. Please report it if it happens again.

== v2.0.6 ==
* Fixed database bug that could cause crashes.
* Fixed bug that inappropriately warned reagents were low after a loading screen.

== v2.0.5 ==
* Why yes, if I compare it to nil, I want to know if it's nil.
* Get rid of some debugging messages that were just causing errors.
* Added delay before checking for low items in an attempt to avoid a bug.

== v2.0.4 ==
* Fixed a bug where a debug message was being displayed inappropriately.
* Added option to disable low reagent warnings.
* Attempted to fix warning that something is low when it isn't.

== v2.0.3 ==
* Fixed a bug when loading the database.
* Started some code for a new feature.

== v2.0.2 ==
* Added bug reporting link to About page.
* Fixed bug where the merchant refused to take the item, but still counted as being sold, resulting in inaccurate selling profit.
* Added warning when item drops below an amount set by the user. Compatible with Mik's Scrolling Battle Text.

== v2.0.1 ==
* Raid Roll detection improved.
* Apparently, the old way of just detecting the slash command conflict stopped working. Thankfully, the Raid Roll author added a way to detect that it's been loaded.
* Added "About" section.

== v2.0.0 ==
* Library and code cleanup - removed unneeded stuff, should make download smaller .
* 2.0 is released!
* Waterfall is no more. Ace3 is now the primary driver of the UI.
* Fixed bug where bank itself wasn't included when stocking to/from bank.

== v1.9.11 beta ==
* Turned off debug flag.
* Various bug fixes
* To prevent people with large lists from having an explosion of LDB items, it now defaults to only a single item.
* LDB: Now loads icon for items when a new LDB object created, rather than loading the icon later - fixes bug with some plugins.
* Added option to use text instead of labels - some LDB plugins don't support labels.
* Closed all bugs. Unfortunately, one I wasn't able to reproduce . If it happens again, the workaround is to just visit the vendor again. Please record any errors - sometimes the error will appear in a chat message.
* Start tracking Reagent Restocker version in database - may help if I want to change how the database works in the future.
* If nothing major is reported, this is likely to be the last beta.

== v1.9.10 beta ==
* Fix UI bugs.
* Well, as far as I know it's stable. Barring any new major bug reports, it'll go to stable, which will be released as 2.0.

== v1.9.9 beta ==
* Made sliders act more like they do in the 1.2.x code.
* Fixed typing in the numbers in the sliders.
* Erased some debug prints. Debug printing still turned on for the beta testing, though.

== v1.9.8 beta ==
* Fixed checkmarks not working. Placed something in the wrong argument for a function.

== v1.9.7 beta ==
* Fixed checkmarks not working. Hopefully this time they're really fixed.

== v1.9.6 beta ==
* Fixed checkmarks not working.

== v1.9.5 beta ==
* Yes, updates are rolling in rapidly . . .
* More bug fixes. Testing on my main now.

== v1.2.4 and v1.9.4 beta ==
* Fixed loading bug when Ace3 is loaded and LDB is absent.
* Minor bug fixes.

== v1.9.3 beta ==
* Major bug fix: Now loads database properly.
* Now sliders go their full length.
* UI tweaks.
* Disappearing window fixed.
* Other various minor bugfixes

== v1.9.2 beta ==
* Released as beta! Please test, please report bugs!
* **Finally** got everything I wanted to get working, working.
* Integrates with WoW's addons tab in the interface menu.
* Updated toc to current patch version.
* It's been a long, hard road, I hope it's worth it. Finally, I can get back to playing the game and fixing minor bugs.
* I accept donations, go to the website and find the donate button.

== v1.9.1 alpha ==
* VERY EARLY ALPHA/BETA - VERY UNFINISHED AT THIS POINT!!
* Various bug fixes, working on reducing name clashes.

== v1.9.0 alpha ==
* VERY EARLY ALPHA/BETA - VERY UNFINISHED AT THIS POINT!!
* Moved to Ace3 libraries.
* Known bug: Frame intended to be inside Blizzard's UI appears underneath it.

== v1.2.3 ==
* Fixed case where, when Raid Roll loaded after Reagent Restocker, it would wipe all three slash commands.
* Not really Raid Roll's fault, it just appears that when you register slash commands as a group, overriding one wipes the others in the group. Solution was to register "/rr" separately.

== v1.2.2 ==
* Attempt to fix some icons not showing up.
* Added option to use a single LDB object instead of one per item.

== v1.2.1 ==
* Detect Raid Roll, and do not override its slash command if it has set one.
* Added /rrstock to the slash commands. Same as /rr.
* Remember, you can always use /reagentrestocker to open reagent restocker.

== v1.2.0 ==
* Minor graphical adjustments.
* No more crashes reported, only minor graphical complaints, so releasing as stable!

== v1.1.8 beta ==
* Waterfall was acting up, so I jailed it.
* In other words, it runs in its own environment now and doesn't pollute the global namespace.
* Hopefully this should be the final fix for incompatibilities with other addons.

== v1.1.7 beta ==
* If you come to a fork in the road, take it. Or, in this case, if you modify a library, fork it.

== v1.1.6 beta ==
* With a new day for a fresh set of eyes - a some "if" statements and "function" closures in my code were closing in weird places. May have been responsible for flaky behavior and performance issues. Fixed.

== v1.1.5 beta ==
* More LDB fixes.

== v1.1.4 beta ==
* Bug/performance fixes.

== v1.1.3 beta ==
* Minor UI and LDB bug fixes.

== v1.1.2 beta ==
* Fix Broker2FuBar compatibility.
* Add some text to LDB feed.
* Increase intensity of colors at user request.

== v1.1.1 beta ==
* LDB support added.
* Increased visibility of resize handles.
* Fixed a fix.

== v1.1.0 beta ==

* Give Cheeken credit in TOC.
* Hopefully fix vendor discount bug.
* Versioning set to be more Linux-like. This is still a beta release, so odd second number.
* Drag and drop support now added! Easier, and more reliable since no dependency on the name.
* Rquired modifications to the Waterfall library. Consider the library branched . . .
* Wider area for longer description viewing. May adjust more in the future.
* Formatting of news and changelog adjusted to be more Wiki-like.

== v1.0 beta ==

* Added MIT license to code.
* (gonna publish to curse.com)
* Added /rrbuy and /rrsell to add items to the sell and buy lists (thanks g3gg0).
* Per the advice of rerunx5, replaced LibStub with Ace 3.0 LibStub.
* Updated Waterfall library.
* Updated Ace 2 libraries.
* Updated TOC.

== v0.9d ==

* First change with new author (CobraA1).
* Increased maximum shopping quantities; should allow players to fill some of the more specialized bags.
* Changelog and news now included as text files in the addon.
* Note that I have not updated the interface version yet - I want to make sure most of the known bugs are fixed first.

== v0.9 ==

* Improved interface (thanks to the excellent Waterfall library)
* Added ability to turn overstocking on and off
* Fixed problem finding items with hyphens (-) in them


== v0.8 ==

* This update will delete your settings, but it will also work with the 2.3.2 update
* Improved bag-movement "AI"
* Improved reporting
* Cleaned things up a bit; should be less prone to bugs


== v0.7 ==

* Improved bank logic
* Multiple bug fixes


== v0.6 ==
The Bad News: Due to a significant code rewrite, v0.6 will reset your settings. You will have to re-enter them.

The Good News: Reagent Restocker now has limited bank support. Enable the appropriate options and Shopping List items will be pulled from or deposited into your bank. Also a few other handy features were added, such as auto-population of the Selling List.
  Optional Files - Reagent Restocker
Sorry, there are currently no optional files available.
  Archived Versions - Reagent Restocker
File Name
Version
Size
Author
Date
2.0.10
165kB
CobraA1
03-07-2010 01:26 PM
2.0.9
165kB
CobraA1
03-05-2010 04:50 PM
2.0.8
165kB
CobraA1
02-27-2010 11:40 PM
2.0.7
165kB
CobraA1
02-22-2010 06:59 AM
2.0.6
164kB
CobraA1
02-20-2010 11:42 PM
2.0.5
164kB
CobraA1
02-18-2010 10:45 PM
2.0.4
164kB
CobraA1
02-17-2010 07:42 AM
2.0.3
163kB
CobraA1
02-15-2010 05:48 PM
2.0.2
163kB
CobraA1
02-14-2010 08:21 PM
2.0.1
162kB
CobraA1
01-18-2010 11:30 AM
2.0.0
162kB
CobraA1
01-13-2010 08:40 AM
1.2.4
85kB
CobraA1
01-01-2010 11:20 AM
1.2.3
85kB
CobraA1
12-18-2009 10:37 PM
1.2.2
84kB
CobraA1
11-07-2009 12:01 AM
1.2.1
84kB
CobraA1
10-21-2009 08:50 AM
1.2.0
84kB
CobraA1
10-20-2009 07:48 PM
1.1.8 beta
83kB
CobraA1
10-17-2009 01:27 AM
1.1.7 beta
82kB
CobraA1
10-14-2009 10:38 PM
1.1.6 beta
82kB
CobraA1
10-13-2009 04:44 PM
1.1.5 beta
82kB
CobraA1
10-12-2009 07:31 PM
1.1.4 beta
82kB
CobraA1
10-12-2009 05:27 PM
1.1.3 beta
82kB
CobraA1
10-12-2009 08:34 AM
1.1.2 beta
81kB
CobraA1
10-11-2009 10:28 PM
1.1.1 beta
104kB
CobraA1
10-11-2009 07:25 PM
1.1.0 beta
190kB
CobraA1
10-10-2009 10:42 PM
1.0 beta
80kB
CobraA1
10-06-2009 08:46 AM
0.9d
77kB
CobraA1
10-05-2009 09:05 PM
0.9c
78kB
CobraA1
02-26-2008 12:51 PM
  Comments - Reagent Restocker
Post A Reply Comment Options
Old 03-07-2010, 01:25 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
Just had a big DUH moment - I had put the warning code in the LDB code, which prevented it from showing the warning if you weren't using multiple LDB feeds. Fixed. Also upped the wait to 2 seconds before starting to check for low reagents to further prevent false positives.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-05-2010, 11:57 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
Quote:
Only few problems i have with it atm is that i have 9 toons and having to turn on the Quiet mode for every toon to get rid of the spam is rather annoying, so is there any chance of an update to set Quiet mode on by default?
Once set, it should be saved for the current character. I don't really have any plans for changing that right now. Perhaps in the future I might think of redesigning the UI to better handle settings that might make sense globally, but no promises.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-03-2010, 02:43 PM  
Codex
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 177
Uploads: 16
Quote:
Originally posted by CobraA1
How close is it to being low when you cast the spell?
Its at like 99 or 98 or 95 or so out of a stack of 100.. so not very at all

Last edited by Codex : 03-03-2010 at 02:43 PM.
Codex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-03-2010, 12:20 PM  
8489
A Defias Bandit
 
8489's Avatar

Forum posts: 2
File comments: 37
Uploads: 0
Nice addon,
Only few problems i have with it atm is that i have 9 toons and having to turn on the Quiet mode for every toon to get rid of the spam is rather annoying, so is there any chance of an update to set Quiet mode on by default?

Also there needs to be an option to seperate the Quiet mode and the "Purchased <Item>" as i like to now what the addons buying for me but nothing else as using Quiet mode turns off the Purchased notification
8489 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-03-2010, 07:27 AM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
How close is it to being low when you cast the spell?
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2010, 10:41 PM  
Codex
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 177
Uploads: 16
It pops up when I zone sometimes, and when i cast brilliance sometimes

and the text is green on ninjapanel for me

Last edited by Codex : 03-02-2010 at 10:41 PM.
Codex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2010, 02:09 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
I actually meant the LDB text, not the warning text, sorry if that wasn't clear. The warning text itself does not change color. Is it popping up at the right time?
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2010, 01:32 PM  
Codex
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 177
Uploads: 16
I just cast dalaran brilliance and it popped up in white saying its low
Codex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-01-2010, 03:26 PM  
Codex
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 177
Uploads: 16
The colors are white i believe, and so far, the pattern is when im zoning after porting

Ill put it through some testing with this new version
Codex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2010, 11:40 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
Sent out another update to try to fix it.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-24-2010, 09:05 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
Say codex - if you could find a pattern, any pattern, to the bug you're having, that would be great.

What would also help a lot is if you could tell me if the text coloring is working correctly? If the text coloring is working, then perhaps I could tie it the color changes, and maybe that would be more reliable.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-23-2010, 10:02 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
This is one tough bug . I'll keep looking at it, though.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-23-2010, 01:00 PM  
Codex
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 177
Uploads: 16
Its still telling me my reagents are low when they are not, and not it even sometimes randomly does it even if i dont zone somewhere
Codex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-20-2010, 11:49 PM  
CobraA1
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 31
File comments: 65
Uploads: 1
2.0.6 is on its way out, see if that resolves it. Should fix Codex's issue as well.

. . . and FYI, you only need to report the bug at one location. I watch both WoW Interface and Curse equally.

Last edited by CobraA1 : 02-20-2010 at 11:50 PM.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-20-2010, 06:47 AM  
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar

Forum posts: 160
File comments: 83
Uploads: 1
[2010/02/20 06:31:39-236-x1]: ReagentRestocker-2.0.5\Core.lua:457: bad argument #1 to 'lower' (string expected, got table)
ReagentRestocker-2.0.5\Core.lua:457: in function <Interface\AddOns\ReagentRestocker\Core.lua:455>
ReagentRestocker-2.0.5\Core.lua:516: in function `discoverItemID'
ReagentRestocker-2.0.5\Core.lua:612: in function `addToList'
ReagentRestocker-2.0.5\Core.lua:561: in function `addItemToShoppingList'
ReagentRestocker-2.0.5\UI.lua:265: in function <Interface\AddOns\ReagentRestocker\UI.lua:265>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0-30 (AckisRecipeList):326: in function `Fire'
...ist\libs\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:86: in function <...ist\libs\AceGUI-3.0\widgets\AceGUIWidget-EditBox.lua:83>:

--
ffxiedyn is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.