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.3
Date:
11-13-2009 09:35 AM
Size:
84.56 Kb
Downloads:
14,463
Favorites:
196
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   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 ==
Work on version 2.0 is underway! Betas will be released as version 1.9.x. Planned features include:
* 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.
* 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.

/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)

== 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.2
84kB
CobraA1
11-07-2009 01:01 AM
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 10-12-2009, 06:36 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 36
Uploads: 0
Okay, I've made a first stab at the performance issue. It's largely to the LDB code. I may have to look for another event (or events) as the basis for providing the LDB updates.

Kazragore: Can you provide the complete error text, and test against 1.1.4? Thanks.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-12-2009, 03:32 PM  
Narune
A Deviate Faerie Dragon
 
Narune's Avatar

Forum posts: 17
File comments: 4
Uploads: 0
With the 20091012 update my fps drop down to 5-7 while I normally run about 60. As soon as I unload Reagent Restocker it goes back to normal. It is fine with the previous version. Just thought I'd give you a heads up.
__________________
Thank you for your time

Narune is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-12-2009, 01:42 PM  
Kazragore
A Murloc Raider

Forum posts: 5
File comments: 67
Uploads: 0
Still error after login:

[2009/10/12 19:40:53-489-x109]: ReagentRestocker-1.1.3 beta\Core.lua:1492: attempt to index field '?' (a nil value)

Locals:

---
Kazragore is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-12-2009, 12:17 PM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Quote:
Originally posted by CobraA1
Syrah: There should be a small square below those words. That's the drop target. Yes, it should already work.

I went through my addons and found that the drop target square button thingy does not show with Decursive (http://wow.curse.com/downloads/wow-a...Decursive.aspx) or Quartz (http://wow.curse.com/downloads/wow-a...ls/Quartz.aspx) enabled.

Hope that can be fixed
Syrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-12-2009, 09:10 AM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 36
Uploads: 0
Mindleglalaxy: That's normal, and it should only be showing from what's on your shopping list. Just go to Chocolate bar's configuration and disable the items you don't want to show.

Syrah: There should be a small square below those words. That's the drop target. Yes, it should already work.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-12-2009, 05:46 AM  
Syrah
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Quick question: Is the drag and drop support already in?
Asking because I see: "Drag item into drop target." but no matter where I drag my reagent it doesn't add to my shopping list.

Good to see updates to this, I have been using it for a loooong time
Syrah is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-12-2009, 05:04 AM  
Mindleglalaxy
A Murloc Raider

Forum posts: 8
File comments: 43
Uploads: 0
Exclamation Broker problem!

Hi,

Really like what you have done with this add on its great. One problem though and not sure if it is because of Chocolate Bar (my LDB Bar add on I use to display the pluggins) or something else but what is happening it is putting everything in my bags onto the Chocolate Bar and there is heaps especially since I logged first onto my AH toon and now all my bars are covered in RR Icons and quantities lol. Here is the link to the Bar add on http://wow.curse.com/downloads/wow-a...colatebar.aspx . Hope you can help me or let me know if I need to contact the other Author.

Thanks heaps

PS: En-US client playing Alliance
Mindleglalaxy is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 11:39 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 36
Uploads: 0
Kazragore: Thanks for the bug report, fixed compatibility with Broker2FuBar. 1.1.2 beta should have it fixed.

Aesop: Thanks for the feedback. The behavior you describe is essentially "correct" (it turns red every time you fall below the amount you have it maintain), but I agree it can be improved.

I've increased the saturation of the colors a bit, maybe that will help? If you'd like me to tweak it more, go ahead and tell me. Colors are easy to change.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 10:57 PM  
Aesop
A Murloc Raider

Forum posts: 9
File comments: 18
Uploads: 0
Great Job

The broker support is very well laid out, and I have a new favorite mod!

A couple of small points though. I only carry 20 of item x at any one time and it seems broker is coloring the text properly as green at the full 20 however it turns red as soon as i use one. I guess thats coming from the max number 640.

is it possible to set a threshold based on the total or one that's user defined?

Second , I don''t know if that's intended but while the green color looks great but for some reason the red is a bit washed out on a black background.

In any case thanks for the hard work, I've already switched over, and that's worth a banana!


Last edited by Aesop : 10-11-2009 at 10:59 PM.
Aesop is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 09:18 PM  
Kazragore
A Murloc Raider

Forum posts: 5
File comments: 67
Uploads: 0
Error after login:

[2009/10/12 03:13:55-481-x6]: ReagentRestocker-1.1.1 beta\Core.lua:1503: attempt to index field '?' (a nil value)
Broker2FuBar-1.0\pluginPrototype.lua:58: in function `OnFuBarEnter'
LibFuBarPlugin-3.0-90063:1319: in function <...FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1311>
FuBar-3.0.90012\FuBar.lua:1234: in function <FuBar\FuBar.lua:1231>

Locals:
self = <table> {
GetFuBarText = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:943:
IsDisabled = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1247:
CheckWidth = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:864:
data_object = <table> {}
ToggleFuBarTextColored = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:529:
ToggleFuBarIconShown = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:974:
UpdateFuBarPlugin = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:578:
ShowFuBarIcon = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1017:
GetFuBarIcon = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:850:
Hide = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:787:
enabled = true
SetFuBarIcon = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:821:
CreatePluginChildFrame = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1402:
GetPanel = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:459:
GetName = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:423:
Show = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:738:
GetFrame = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:447:
ShowFuBarText = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1094:
IsFuBarTextColored = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:519:
OpenMenu = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1491:
GetCategory = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:435:
GetDefaultPosition = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1120:
GetTitle = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:406:
CreateBasicPluginFrame = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1294:
db = <table> {}
SetPanel = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1210:
ReattachFuBarTooltip = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1181:
SetFuBarOption = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:332:
HideFuBarText = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1106:
IsFuBarMinimapAttached = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:542:
DetachFuBarTooltip = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1168:
SetFontSize = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1216:
SetFuBarText = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:918:
ToggleFuBarTooltipDetached = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1146:
UpdateFuBarTooltip = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:681:
UpdateFuBarText = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:590:
data_object_name = "RR_Leichtes Pergament"
IsFuBarTooltipDetached = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1130:
ToggleFuBarTextShown = <function> @ FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1056:
ToggleFuBarMinimapAttached
---
Kazragore is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 08:15 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 36
Uploads: 0
Umm, yikes, it shouldn't have blown up that much.

Takes a look - sigh, found the source of most of the blowup. Some backup software is adding totally unnecesary data. It will not affect the size of the loaded data, just the size of the download.

Looks like I have to clean up the .zip file and re-upload it.

Edit: The size should now be about 100kb.

Last edited by CobraA1 : 10-11-2009 at 08:36 PM.
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 07:39 PM  
Kogasu
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
So this mod has now grown from 70kb to its current 260kb. I dont particularly care for this. In terms of functionality, I dont see any difference. This mod has served me well for a long time, silently doing exactly what I need it to do. Please dont turn this into some bloated piece of crap that promises to do way more than it needs to. Simple is better.

Last edited by Kogasu : 10-12-2009 at 12:46 AM.
Kogasu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 02:28 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 36
Uploads: 0
Okay, it's been fixed with the fallback method. New in this release: LDB support. Enjoy .
CobraA1 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-11-2009, 12:00 PM  
Alisu
A Kobold Labourer
 
Alisu's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 13
Uploads: 2
I'm glad to see that you used my fix, but I have to point out I think you might have misused it a bit, although that's partially cause I explained it's working a bit loosely.

As it is the line also gives 0 if the confirmed discount is 0(duh), ie the vendor is confirmed neutral or worse (although if worse I don't think the vendoring works), still it will get subjected to the old function which might say it still gives a discount while it doesn't.

If you want to pass to the old code while no one is targeted, ie one reason for 0 I'd rather put it
local reaction = UnitReaction("target", "player")

if reaction then
return max((reaction-4) * 5, 0);
end
because the UnitReaction returns targets reaction number (in this case the vendors) or nil if no one is selected

I myself simply have the whole getMerchantDiscount have one line which is

return max(((UnitReaction("target", "player") or 0)-4)*5, 0)


sorry for the rant I just felt that in the form it is now my fix is useless as it still passes to the odd code while the discount is already cleared in case with neutrals.. just mention if you don't want me stealing in your work..
Alisu is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-10-2009, 09:53 PM  
CobraA1
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 26
File comments: 36
Uploads: 0
Good news! The next version is most certainly getting drag and drop support . There's still some graphical glitches, but the basics are working.
CobraA1 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.