Addon Information
Works with 3.2
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:
1.2.2
Date:
11-07-2009 01:01 AM
Size:
84.43 Kb
Downloads:
13,986
Favorites:
189
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 thuogh 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 ==
Version 2.0 is in the planning stages:
* Upgrade to latest Ace 3.0 libraries.
* Move from Waterfall UI to Ace 3.0 UI.
* Tweaks to UI layout to better fit the Interface menu in WoW.
* Likely to happen during a major holiday, when there is more time for side projects.
* Possibly new features like support for guild bank and alts. But no gauruntees.

New author: CobraA1. Please report all bugs!

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

/rr

at the command line.

/rrbuy and /rrsell add items to the sell and buy lists (thanks g3gg0)

== Versioning ==

Reagent Restocker now uses a versioning system similar to many Linux programs:

First digit is major revision.
Second digit is a minor revision number, and is odd for dev versions, even for stable.
Third digit is build number. Incremented when a new revision is released, but has not changed beta/stable status.

== previous development ==
Reagent Restocker began as a project to learn about WoW addons/LUA, and evolved in to what I found to be a handy tool.

I welcome any suggestions and feedback - especially bug reports!
  Change Log - Reagent Restocker
== 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
1.2.1
84kB
CobraA1
10-21-2009 09:50 AM
1.2.0
84kB
CobraA1
10-20-2009 08:48 PM
1.1.8 beta
83kB
CobraA1
10-17-2009 02:27 AM
1.1.7 beta
82kB
CobraA1
10-14-2009 11:38 PM
1.1.6 beta
82kB
CobraA1
10-13-2009 05:44 PM
1.1.5 beta
82kB
CobraA1
10-12-2009 08:31 PM
1.1.4 beta
82kB
CobraA1
10-12-2009 06:27 PM
1.1.3 beta
82kB
CobraA1
10-12-2009 09:34 AM
1.1.2 beta
81kB
CobraA1
10-11-2009 11:28 PM
1.1.1 beta
104kB
CobraA1
10-11-2009 08:25 PM
1.1.0 beta
190kB
CobraA1
10-10-2009 11:42 PM
1.0 beta
80kB
CobraA1
10-06-2009 09:46 AM
0.9d
77kB
CobraA1
10-05-2009 10:05 PM
0.9c
78kB
CobraA1
02-26-2008 01:51 PM
  Comments - Reagent Restocker
Post A Reply Comment Options
Old Yesterday, 12:19 AM  
kschiasson
A Kobold Labourer
 
kschiasson's Avatar

Forum posts: 0
File comments: 7
Uploads: 0
exception list

I was wondering if maybe you could add an exception list to the items you sell, i like to sell all my gray items but i'm on an rp server and my rp gear is all gray so it tends to sell it if im not wearing it, thanks in advance
kschiasson is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old Yesterday, 01:04 AM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 34
Uploads: 0
Okay, been a while, but real life dictates other priorities sometimes.

I've made a change that might fix the icon issue, and I've added an option to show only a single LDB item, although it requires a UI reload.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-31-2009, 09:50 PM  
magehk
A Murloc Raider

Forum posts: 4
File comments: 18
Uploads: 0
Thx for such a great addon. Just some suggestions.....

As a mage, i put Arcane Powder, Runes of Tele/Portals in my Shopping List, it then showed 3 text-info but no icon on the LDB display bar(use Bazooka). Is there any icons for the reagents? i used to use Fubar wif Fubar_Reagentfu, it showed appropriate icons on Fubar.

It still functioning well so far, just feeling weird when i saw the icons are missing.

Thanks you for your effort, keep it up! cheers~
magehk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-22-2009, 07:43 PM  
Erbodan
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Quote:
Originally posted by CobraA1
Yeah, I figured it could be an issue for people with long lists. I'll look into reducing the amount of LDB spam in the future.
Much appreciated! Just wanted to make sure I wasn't overlooking anything stupid like a big red button that says "NO LDB" or something.

I noticed last night that my RR shopping list was showing up on MinimapButtonBag. Each item is showing up as a button on the minimap, or at least the map mod thinks so.

Last edited by Erbodan : 10-23-2009 at 08:59 AM.
Erbodan is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-22-2009, 10:35 AM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 34
Uploads: 0
Yeah, I figured it could be an issue for people with long lists. I'll look into reducing the amount of LDB spam in the future.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-21-2009, 07:44 PM  
Erbodan
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Disable LBD?

I didn't notice this until I think 1.17, but I am now seeing counts for the items on my shopping list show up on FuBar (with Broker2Fubar). When I check the drop down menus to see which fu plug-ins are running, I see a check for every shopping item individually. I don't see it, but is there an option to disable the LBD broadcast, or at least make it 1 listing? I'm sure its a helpful feature for some people, but I use RR to overstock gems to the bank on my JC, and with 18 possible gems in my bags it clutters my bar a lot, not to mention the other things on the list. Checking them off 1 at a time for every shopped item on every toon and on 2 computers gets a bit tedious. Thanks in advance for any help you can give!
Erbodan is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-21-2009, 09:57 AM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 34
Uploads: 0
Yes, there is supposed to be an icon, but it's not picking it up in all cases. I have noticed it too for some of my items, something is definitely up. Filed a bug report at curseforge.com.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-21-2009, 09:14 AM  
Codex
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 136
Uploads: 15
Is there supposed to be icons in the LDB feed?
If not, can you make some? The mage reagents arent showing up with icons, just the quanitity
Codex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-20-2009, 12:02 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 34
Uploads: 0
Wohoo! Over 1000 downloads at curse.com.

Dunno how to get good stats here, the download count and favorites are mostly leftovers from before I took over.

And since there's no major bug reports, I'll tweak it a bit more and release it as stable as soon as the servers are back up .
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-18-2009, 02:30 PM  
acapela
A Flamescale Wyrmkin
Interface Author - Click to view interfaces

Forum posts: 134
File comments: 610
Uploads: 3
Quote:
Originally posted by CobraA1
. . . and I relseased 1.1.8 beta, which required a lot of research to get right, but hopefully it solves the problems with other addons for good.
i can also confirm: 1.1.8 beta has no problems (that i can see) with Ace2 waterfall/dewdrop addons.

thanks for looking into this.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html


-----
Qui a coupé le fromage, we abstainia! Oy, Macadamia! <UUURP>
acapela is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2009, 01:05 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
No problems so far
Syrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2009, 02:52 AM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 34
Uploads: 0
. . . and I relseased 1.1.8 beta, which required a lot of research to get right, but hopefully it solves the problems with other addons for good.

So far, in my testing, this fixes the strange errors with other addons.

In a nutshell, I shoved the Waterfall library I was using into its own namespace, hiding it from the global namespace and making it only accessible as a library. This prevents the other addons from picking its functions up from the global namespace and using them.

So far, it seems to be working. But man, that was a tough fix. I had to really research and figure out exactly how LUA's environments work.

Library authors: Watch the global environment, try not to pollute it. Especially if there are several versions of the same library floating around, you never know what version the users' addons are expecting. You may even be risking name clashes with other libraries.

Addon authors: Watch your library accesses. Make sure you're not mistakenly pulling library functions from the global namespace. The library functions should be accessed by calling the library itself. If it helps, you should be able to pull library functions into the local environment.

But anyways, enough preaching. Please tell me if it works.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-15-2009, 11:31 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 34
Uploads: 0
Umm, YIKES!

. . . and sigh. I think I know what's going on.

Each addon is using its copy of Waterfall.

And each copy of waterfall is putting a bunch of stuff in the global namespace.

Normally, that's okay, because it's all the same library, all the same code.

But when my addon (which has modified code) loads its code, it puts in its own stuff, some of which is modified. So all of the other addons get that modified stuff, and stuff blows up.

Sigh - I'm gonna have to think of a different way to approach to this. I really don't want to give up drag and drop - that was many hours of code, and quite significant functionality. And not supported by Waterfall by default.

I'm reading an article on how to implement LUA namespaces, maybe that will help me to isolate my code and stay away from polluting the global namespace with modified code.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-15-2009, 06:37 PM  
Kazragore
A Murloc Raider

Forum posts: 5
File comments: 58
Uploads: 0
Yeah, I rolled back to 1.1.5, this works fine.
Kazragore is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-15-2009, 04:21 PM  
acapela
A Flamescale Wyrmkin
Interface Author - Click to view interfaces

Forum posts: 134
File comments: 610
Uploads: 3
Quote:
Originally posted by Kazragore
Error after login with 1.1.7.

Quartz Options Window doesn't work and from rr it's bugged.
yeah, something about this version of ReagentRestocker seems to be breaking Waterfall-1.0 menus. Aloft is also having this problem, as are all the "Ace2" addons that i run, which are many (at least: all that offer a Waterfall-1.0 configuration dialog). disabling ReagentRestocker (the whole addon) clears all of these problems.

strangely, Aloft's "Dewdrop" component still works (as driven by FuBar, etc, despite the fact that this also uses Waterfall-1.0; seems to be a function of how Waterfall-1.0 is driven).

i notice that Waterfall-1.0, as embedded by ReagentRestocker, apparently installs itself as "WaterfallRR-1.0". i don't know whether this could be causing some sort of conflict.

the following results from trying to open Aloft's waterfall menu (i.e. via Aloft console command "/aloft waterfall"; in this case, Waterfall-1.0 is actually installing from Baggins, the configuration dialogs for which are also "broken", in the same way, with basically identical LUA errors):

Code:
[2009/10/15 14:09:54-743-x1]: Waterfall-1.0-90130 (Baggins):287: attempt to index upvalue 'currentframe' (a nil value)
Waterfall-1.0-90130:4129: in function `Refresh'
Waterfall-1.0-90130:4256: in function `SetSelected'
Waterfall-1.0-90130:1704: in function `SetSelected'
Waterfall-1.0-90130 (Baggins):478: in function `Open'
Aloft-2.8.11.1359-enUS\AloftFu\AloftFu.lua:107: in function `OnClick'
FuBarPlugin-2.0-90009:975: in function <...oft\AloftFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:972>
FuBar-3.0.90012\FuBar.lua:1201: in function <FuBar\FuBar.lua:1199>

Locals:
self = <table> {
 linetables = <table> {}
 contents = <table> {}
 sections = <table> {}
 parent = <table> {}
 status = <table> {}
 scrollchild = <unnamed> {}
 scrollframe = <unnamed> {}
 numlines = 0
 selected = "."
 noFixScroll = true
 uid = "224EC870"
 scrollbar = <unnamed> {}
 scrollvalue = 0
 contentsFunc = <function> @ Baggins\libs\Waterfall-1.0\Waterfall-1.0.lua:286:
 frame = <unnamed> {}
 contentsArg1 = <table> {}
 sizer = <unnamed> {}
}
noupdate = nil
currentframe = <table> {
 controlcount = 0
 colorR = 0.26
 titlebar2 = <unnamed> {}
 sizer_se = <unnamed> {}
 sizer_e = <unnamed> {}
 colorB = 0.57
 colorG = 0.41
 children = <function> @ Baggins\libs\Waterfall-1.0\Waterfall-1.0.lua:391:
 closebutton = <unnamed> {}
 id = "Aloft"
 treeview = <table> {}
 titlebar = <unnamed> {}
 titletext = <unnamed> {}
 uid = "224EC4B0"
 title = <unnamed> {}
 mainpane = <table> {}
 childrenArg = <table> {}
 frame = <unnamed> {}
 lib = <table> {}
 sizer_s = <unnamed> {}
}
getArgs = <function> @ ReagentRestocker\libs\Waterfall-1.0\Waterfall-1.0.lua:141:

  ---
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html


-----
Qui a coupé le fromage, we abstainia! Oy, Macadamia! <UUURP>

Last edited by acapela : 10-15-2009 at 04:25 PM.
acapela 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 - 2009, Jelsoft Enterprises Ltd.