This addon works as-is on the PTR v0.2.0.
Description
Automatically buy stacks of reagents.
Having Issues or have a Suggestion?
- Please don't use the comments to post trouble tickets or suggestions. Instead post a ticket on CurseForge. Thanks.
- From this point on, I will not be fixing, adding, or replying to problems or suggestions posted in the comments.
Slash Commands
- /stocker reset all
- Empty both bins.
- /stocker reset trash
- Empty the trash bin.
- /stocker reset bucket
- Empty the bucket bin.
- /stocker stack #
- Tell Stocker to build to this many stacks. New in v200812030034.
Item Clicks
- Ctrl-Right-Click
- Add items to the auto buy bucket (adding the same item again will remove it).
- Move all items of the same name to the bank (does not and will not work in reverse).
- Add all items of the same name to the attachments of the send mail frame.
- Alt-Right-Click
- Add items to the auto sell trash bucket (adding the same item again will remove it).
- Move all items of the same name to the bank (does not and will not work in reverse).
- Add all items of the same name to the attachments of the send mail frame.
Notes
- Gray (junk) items are sold automatically when visiting a vendor.
- Drop items on the buttons to the right of the merchant frame to add them to that bucket. The Backpack is the bucket and the dagger is the trash (I might change that eventually).
- Stocker unlocks the merchant frame so you can move it around (position is not saved as the client restores its default placement when MERCHANT_SHOW fires).
Known Issues
- Cannot set build-to number for individual items, yet. I might figure out a way to do that later. New in v200812030034.
-
When you have 0 of an item in the bucket, Stocker will only buy 1 (or whatever the merchant's stack size is) until the next time MERCHANT_SHOW fires. I can't seem to figure out why; the code buys it once and tries to let the rest of the purchasing function run, but it doesn't for some reason.
Donate
------------------------------------------------------------------------
r15 | egingell | 2009-01-26 09:07:51 +0000 (Mon, 26 Jan 2009) | 1 line
Changed paths:
A /tags/v200901260207 (from /trunk:14)
Tagging as v200901260207
------------------------------------------------------------------------
r14 | egingell | 2009-01-26 09:07:21 +0000 (Mon, 26 Jan 2009) | 1 line
Changed paths:
M /trunk/StockerButtonTemplate.xml
M /trunk/script.lua
-- Changed SetScript to HookScript (probably meaningless)
------------------------------------------------------------------------
r12 | egingell | 2008-12-18 08:33:36 +0000 (Thu, 18 Dec 2008) | 1 line
Changed paths:
M /trunk/StockerButtonTemplate.xml
-- Changed "this" to "self".
------------------------------------------------------------------------
r10 | egingell | 2008-12-03 08:25:36 +0000 (Wed, 03 Dec 2008) | 2 lines
Changed paths:
M /trunk/StockerButtonTemplate.xml
M /trunk/script.lua
-- Fixed "arithmetic on nil value" error.
-- Fixed (maybe) bug that only buys 1 item when none of that item are in the player's inventory.
------------------------------------------------------------------------
r8 | egingell | 2008-12-03 07:34:00 +0000 (Wed, 03 Dec 2008) | 3 lines
Changed paths:
M /trunk/Stocker.toc
M /trunk/StockerButtonTemplate.xml
M /trunk/script.lua
-- Changed from my hand written table.empty() function to Blizzard's built-in table.wipe() function.
-- Added support for building to multiple stacks.
-- You will have to restart WoW when updating to this version since I added a new SavedVariable.
------------------------------------------------------------------------
r7 | egingell | 2008-10-18 13:20:42 +0000 (Sat, 18 Oct 2008) | 1 line
Changed paths:
M /trunk/script.lua
-- Modified Click fix.
------------------------------------------------------------------------
r6 | egingell | 2008-10-18 12:18:46 +0000 (Sat, 18 Oct 2008) | 1 line
Changed paths:
M /trunk/script.lua
-- Stocker now sells grays for you.
------------------------------------------------------------------------
r2 | egingell | 2008-10-13 09:15:58 +0000 (Mon, 13 Oct 2008) | 1 line
Changed paths:
A /trunk/Stocker.toc
A /trunk/StockerButtonTemplate.xml
A /trunk/script.lua
------------------------------------------------------------------------
r1 | root | 2008-10-13 09:15:00 +0000 (Mon, 13 Oct 2008) | 1 line
Changed paths:
A /branches
A /tags
A /trunk
"stocker/mainline: Initial Import"
------------------------------------------------------------------------
Installation Guide
- Exit "World of Warcraft" completely
- Download the mod you want to install
- Make a folder on your desktop called "My Mods"
- Save the .zip/.rar files to this folder.
- If, when you try to download the file, it automatically "opens" it... you need to RIGHT click on the link and "save as..." or "Save Target As".
- Extract the file - commonly known as 'unzipping'
Do this ONE FILE AT A TIME!
- Windows
- Windows XP has a built in ZIP extractor. Double click on the file to open it, inside should be the file or folders needed. Copy these outside to the "My Mods" folder.
- WinRAR: Right click the file, select "Extract Here"
- WinZip: You MUST make sure the option to "Use Folder Names" is CHECKED or it will just extract the files and not make the proper folders how the Authors designed
- Mac Users
- StuffitExpander: Double click the archive to extract it to a folder in the current directory.
- Verify your WoW Installation Path
That is where you are running WoW from and THAT is where you need to install your mods.
- Move to the Addon folder
- Open your World of Warcraft folder. (default is C:\Program Files\World of Warcraft\)
- Go into the "Interface" folder.
- Go into the "AddOns" folder.
- In a new window, open the "My Mods" folder.
- The "My Mods" folder should have the "Addonname" folder in it.
- Move the "Addonname" folder into the "AddOns" folder
- Start World of Warcraft
- Make sure AddOns are installed
- Log in
- At the Character Select screen, look in lower left corner for the "addons" button.
- If button is there: make sure all the mods you installed are listed and make sure "load out of date addons" is checked.
- If the button is NOT there: means you did not install the addons properly. Look at the above screenshots. Try repeating the steps or getting someone who knows more about computers than you do to help.
Translations
When you download a mod, please be sure that the mod is compatible with your translation of wow. Some mods only work on the US versions, while some only work on some of the various European versions. These variations are called "Localizations".
TOC Numbers (Out of Date Mods)
When Blizzard patches WoW, they change the Interface number. This means that all mods will be "out of date" unless or until the author releases a new version for that interface. Some people go into the .toc files and update the numbers themselves, but this is STRONGLY advised against as it will cause problems locating possible incompatibilities addons. When you log into WoW after a patch, you DO NOT have to delete your interface directory. All you have to do is simply tell WoW to ignore the interface numbers and load all the mods anyway. All you have to do is, while at the "character select" screen, look in the lower left corner and click on the "addons" button. A window will pop up listing all your installed mods.
If you look in the upper left corner of that window there should be a box that says "Load Out of Date AddOns". You want to CHECK this box. Now simply go into WoW normally and all your mods should load. As of the 1.9 patch, you will have to do this after EVERY patch/update that Blizzard posts! If you encounter any problems with a mod after a patch, please be sure to let the author of the mod know so they can fix it.
See also: About "Out Of Date AddOns"
Mac Support
WoW addons are not platformed based. As such, they can be used on either Mac or PC. You can extract both .zip and .rar files on a Mac using StuffitExpander.
Directory Structure
World of Warcraft
|_ Interface
|_AddOns
|_*AddonName*
|_ *AddonName*.toc
|_ *AddonName*.xml
|_ *AddonName*.lua
|_ (possibly others as well)...