Download
(16 Kb)
Download
Updated: 06-28-10 03:16 PM
Pictures
File Info
Updated:06-28-10 03:16 PM
Created:12-20-08 06:28 AM
Downloads:3,096
Favorites:50
MD5:
Ranch
Version: 1.0.21
by: Sekrin [More]
Ranch is a Data Broker plugin that keeps track of the items you have collected whilst out farming/questing/grinding. It is loosely based upon Farmed by lintydruid, although I have written this addon from scratch to use Data Broker.

Data Broker Display
This plugin does not provide a display of its own, you will need to install display plugin such as Fortress, Carousel or Docking Station, amongst others.

About Ranch
Ranch keeps track of all the tradeskill items you have in your bag, sorted by type (Leather, Cloth, Gems, etc.). Unlike other similar addons, it uses Blizzard's builtin functions to obtain information about an item's type, rather than relying on a list of items.
Ranch will also shows you all the BoE items with their vendor cost and the total value of all the Junk items in your bags. With the new Vendor Price API introduced in patch 3.2, you no longer require a seperate addon for price data. You can also ask it to track other items, either permanently or just for this session.

Interface Options
Ranch now has some options integrated into Blizzard's Interface Options UI.

Commands
Ranch accepts the following commands:
  • /ranch temp <itemlink>
    Will track the item you have linked for this session only.
  • /ranch add <itemlink>
    Will track the item you have linked permanently.
  • /ranch remove <itemlink>
    Will remove the item you have linked from the list of items that are being permanently tracked.
  • /ranch track <itemlink>
    Will track the linked item. This will replace the "Ranch" text on the display with the item you have linked. If you have not linked an item, it will return the display to normal.
Version 1.0.21 - 28 June 2010
(+) Added a new option that will hide the default "Ranch" text on LDB displays if there is currently no object being tracked.
(*) Bumped toc.

Version 1.0.20 - 24 August 2009
(+) Added icon for LDB feed.

Version 1.0.19 - 5 August 2009
(+) Added new group for Gems.
(*) Removed references to GetVendorPrice and replaced them with the new Blizzard API.
(*) Updated libs.
(*) Bumped .toc for 3.2 patch.

Version 1.0.17 - 24 April 2009
(*) Corrected a bug during tooltip scanning.
(*) Bumped .toc

Version 1.0.16 - 30 March 2009
(+) Added ability to track quest giving items.
(*) Changed the code used to create the options panels slightly.
(*) Changed the display of the BoE items section so that the title does not appear if there are no items to display.

Version 1.0.15 - 29 December 2008
(+) Added Items Options panel.
(+) Added Display Items option.
(+) Added Merge Items option.
(*) Added "About" Panel.
(*) Updated TOC with extra meta-data for About Panel.
(*) Added the tekKonfig library.
(*) Misc. updates.
(*) Correct a bug where using /ranch with no options caused an error.

Version 1.0.10 - 20 December 2008
(*) Corrected folder structure.

Version 1.0.8 - 20 December 2008
(+) Initial Public Release
Archived Files (7)
File Name
Version
Size
Author
Date
1.0.20
16kB
Sekrin
08-24-09 02:29 AM
1.0.19
15kB
Sekrin
08-05-09 03:24 PM
1.0.18
15kB
Sekrin
04-24-09 01:10 AM
1.0.16
15kB
Sekrin
03-30-09 04:45 PM
1.0.15
14kB
Sekrin
12-29-08 10:14 AM
1.0.10
3kB
Sekrin
12-20-08 01:52 PM
1.0.8
3kB
Sekrin
12-20-08 06:28 AM


Post A Reply Comment Options
Unread 10-03-10, 05:10 AM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
Originally posted by Grim Notepad
i am, yes
What item were you trying to add, and were you using a link or the item's name to specify it?

Originally posted by Grim Notepad
but if i didn't shouldn't the addon either not do anything or notify me that it is missing the item argument?
Ranch already checks for the argument being missing, but as you said that you were using "/ranch add" I was just making sure.
__________________
Sekrin is offline Report comment to moderator  
Reply With Quote
Unread 10-02-10, 06:25 PM  
Grim Notepad
A Murloc Raider
 
Grim Notepad's Avatar

Forum posts: 5
File comments: 31
Uploads: 0
i am, yes

but if i didn't shouldn't the addon either not do anything or notify me that it is missing the item argument?
Grim Notepad is offline Report comment to moderator  
Reply With Quote
Unread 10-02-10, 05:38 PM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
Re: Error using /ranch add

Originally posted by Grim Notepad
i am getting the folowing error

..\AddOns\Ranch\ranch.lua line 169:
table index is nil


this occurrs when i try to use /ranch add
Are you specifying what item to add when you use "/ranch add"?
__________________
Sekrin is offline Report comment to moderator  
Reply With Quote
Unread 09-25-10, 02:15 PM  
Grim Notepad
A Murloc Raider
 
Grim Notepad's Avatar

Forum posts: 5
File comments: 31
Uploads: 0
Error using /ranch add

i am getting the folowing error

..\AddOns\Ranch\ranch.lua line 169:
table index is nil


this occurrs when i try to use /ranch add
Grim Notepad is offline Report comment to moderator  
Reply With Quote
Unread 06-28-10, 03:22 PM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
I'm still around and just to prove it, I've added your suggestion to Ranch - thanks for the suggestion!
__________________
Sekrin is offline Report comment to moderator  
Reply With Quote
Unread 06-24-10, 02:12 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Not sure if you're still around or not, but I've just been thinking for a month or so of getting around to writing ... well pretty much exactly this addon. I'm so glad you've already done it for me!

Just a question: Could there be a way for it to only display the icon on an LDB display unless I've got an item explicitly tracked? I have a ton of plugins, I don't really have room for the text "Ranch" all the time...
Jzar is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 12:49 PM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
Always glad to hear from a happy fan!
__________________
Sekrin is offline Report comment to moderator  
Reply With Quote
Unread 06-05-09, 06:33 PM  
Purity
A Deviate Faerie Dragon

Forum posts: 16
File comments: 177
Uploads: 0
I finally found this addon again. I missed it once I started trying to gather herbs for inscription. Mats are so expensive...eeek. I tried many other loot type addons and there was no substitute for this out of the box gem. Thank you.
__________________
Purity is offline Report comment to moderator  
Reply With Quote
Unread 04-24-09, 03:41 AM  
fred
A Cobalt Mageweaver

Forum posts: 208
File comments: 363
Uploads: 0
Thank you for the fix.
fred is offline Report comment to moderator  
Reply With Quote
Unread 12-28-08, 07:01 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
Re: RE: 2 Runecloth Gloves

Originally posted by Sekrin
...the only reason it should be saying you have 2 Runecloth Gloves in your bags is that you do actually have 2 Runecloth Gloves in your bags.
Before I saw your last response, I discovered that my Bagnon had one of my bags' display turned off. I don't remember doing that, but must have done it accidentally. Anyway, I turned it back on and there were the missing two gloves along with a few other items I obviously didn't know I still had.

Alrighty then! Sorry about that.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 12-28-08, 05:37 PM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
Question RE: 2 Runecloth Gloves

Every time you move your mouse over the display (which causes the tooltip to appear), Ranch scans every item in your bags from scratch. It then sorts them into the appropriate categories before building the tooltip. It has no memory of what was in the tooltip the last time you checked, so the only reason it should be saying you have 2 Runecloth Gloves in your bags is that you do actually have 2 Runecloth Gloves in your bags.

In any case, judging what you've said, these Runecloth Gloves have been present for at least 2 days now. The table I use to record the BoE items Ranch locates when scanning your bags is not preserved between game sessions, so as soon as you logout or reload your UI it has to recreate the list.

I'd recommend you have a look through your bags (perhaps turning off any bag addons that may be causing a problem)....or you can try typing the following snippet of code into your chatframe editbox:
Code:
/script DEFAULT_CHAT_FRAME:AddMessage("No of Runecloth Gloves = "..GetItemCount("Runecloth Gloves"))
This snippet will print a message telling you how many Runecloth Gloves you have in your bags to the default chat frame.

The only other thing I can think of that might be causing this problem is that whichever addon you are using to display the LDB feed is either not causing the tooltip's OnShow event to fire or it's permanently displaying the tooltip. However, if this is the case I'd still expect the problem to rectify itself once you either logout or reload your UI. If you're absolutely certain you have no gloves hiding in the bottom of one of your bags somewhere, please let me know which display addon you're using and I'll see if I can work out if there is some sort of problem between them.
__________________
Sekrin is offline Report comment to moderator  
Reply With Quote
Unread 12-28-08, 01:12 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
Originally posted by Sekrin
Items shown under the heading of "Items" are the BoE stuff you have in your inventory. They will indeed show one row per item (so if you have 3 Runecloth Gloves, you'll have 3 lines showing Runecloth Gloves in the list). Adding an option to merge items is another thing on my todo list.

None of the items on the above lists can be controlled on an item-by-item basis.
How long do listings under "Items" stay on the list? From your description, I would think they would only be listed when they are in the bags, and go away when the item is no longer in inventory. If this is true, why are two "Runecloth Gloves" still displayed under "Items"?
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 12-28-08, 04:28 AM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
Aha, those items under "Enchanting" and so forth are automatically retrieved from your bags. I'm intending on adding options to control which of those are shown and which aren't in a future release.

Items shown under the heading of "Items" are the BoE stuff you have in your inventory. They will indeed show one row per item (so if you have 3 Runecloth Gloves, you'll have 3 lines showing Runecloth Gloves in the list). Adding an option to merge items is another thing on my todo list.

None of the items on the above lists can be controlled on an item-by-item basis.

Anything that's under the heading of "Temporary" are items that have been added using the "/ranch temp [itemlink]" command. They will disappear when you logout or reload your UI.

Anything that's under the heading of "Custom" are items that have been added using the "/ranch add [itemlink]" command. They can only be removed using the "/ranch remove [itemlink]" or "/ranch removeall" commands.

I'll post an update to correct the nil error shortly and I'll update the description with this information at the same time.
__________________
Sekrin is offline Report comment to moderator  
Reply With Quote
Unread 12-27-08, 01:11 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
RE: /ranch remove

Originally posted by Sekrin
Just for reference, what item were you attempting to remove from the list, and did you have one in your bags at the time?
Runcloth Gloves, listed twice in Ranch (is that normal?) under the heading "Items". There are none in my bags. It is an item that I made in bulk recently with Tailoring. I didn't add them to Ranch... there are five or six things under "Items", and the same number of "Enchanting" listed that I did not add. Are these supposed to be automatically added and kept there even after removed from inventory? And some listed multiple times? I have since disposed of (Disenchanted) all of the gloves.

I tried /ranch remove for some other items that are listed and ARE in inventory such as Dream Dust, listed under heading "Enchanting", and some other items like Khan'aish Gloves of the Beast, listed under "Items". None of these items or materials were manually added to Ranch by me. I typed the command using both a Linkerator created link and Shift-click on the actual item. Neither the Enchanting materials nor the items were removed.

I added items to Ranch, for the first time, using /ranch add [item link]. It worked using a Linkerator created link. The added items are listed under the heading "Custom". I was also able to "/ranch remove" the added items using a Linkerator link. I can also successfully use the track command.

Are items that become accumulated under the "Items" and "Enchanting" headings, cluttering up the display, not supposed to be removable? Or am I doing it wrong?

Another thing that I noticed, I'm sure unrelated to the remove problem: when I type "/ranch" without any switch, an error pops up. Dump from BugSack:

Code:
[2008/12/27 10:45:55-1693-x1]: Ranch-1.0.10\ranch.lua:50: bad argument #1 to 'strlower' (string expected, got nil)
Ranch-1.0.10\ranch.lua:50: in function `?'
Interface\FrameXML\ChatFrame.lua:3191: in function `ChatEdit_ParseText':
Interface\FrameXML\ChatFrame.lua:2911: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:2932: in function <Interface\FrameXML\ChatFrame.lua:2931>:
<in C code>: in function `ChatEdit_OnEnterPressed'
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>

Thank you.
Last edited by Jaim Sandar : 12-27-08 at 01:23 PM.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 12-27-08, 03:58 AM  
Sekrin
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 148
File comments: 36
Uploads: 4
Re: /ranch remove

Originally posted by Jaim Sandar
I can't get it to remove anything from the permanent list using /ranch remove [linked item]. I am using GFW Linkerator to type the links... should that work?
That's odd. I just tested it again myself by shift-clicking the item to add the link to the chat edit box and it works fine for me. I don't use GFW Linkerator so it may be an issue with how that addon creates links. I'm not sure why, though - ranch doesn't use the actual link, but simply extracts the itemID from it.

I'll download Linkerator this afternoon and give it a go, see if I can see where it's throwing a wobbly.

Just for reference, what item were you attempting to remove from the list, and did you have one in your bags at the time?
__________________
Last edited by Sekrin : 12-27-08 at 03:58 AM.
Sekrin is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: