Farmhand
Description
Farmhand adds dynamic buttons on the screen while you are at Sunsong Ranch.
The buttons allow quick access to the Plow, Shovel, Bug Spray and Watering Can if they are in your inventory. If you do not have a given item, there will be no button for it. Also adds buttons for seeds that are in your inventory. You can even sell unwanted seeds at a vendor without having to open your bags.
When you leave Halfhill, any tools remaining in your inventory will be dropped. You can pick them up again at the farm. (You can disable this feature.)
A special Crop Scanner tool will let you quickly find any plants you've overlooked that need special attention. (Very hand for the hard-to see Smothered and Runty plants.)
To move the buttons, hold SHIFT and drag a button with the left mouse button.
In the Interface Options panel, you can turn on/off tool dropping, turn on/off chat messages and sounds, turn on/off the portal shard buttons and control whether Farmhand automatically hides itself during combat.
I recommend using Masque (optional) to make your buttons pretty.
Localization
Farmhand has translations for all game-supported locales, but if you see a bad translation please visit the localization page and correct it. Then let me know so I can repackage the addon to pick up the changes.
Thanks to all the translators!
Translator Credits
Thanks as well to the Farmhand users who've made great suggestions:
TaraNTino
adore33
Sentinelum
Just trying out FarmHand 1.5b3 and on first entering the world I'm getting the following. This is with a character who happens to be in Stormwind. This error goes away on a UI reload - is the code in Farmhand_CreateMiscToolOptions() being called too early on ?
@JCinDE
I grabbed the Seed Bag data in hopes of seeing it included in a future update. You will notice the IDs between Milly and Merchant are different. I grabbed one of each Magebulb bag to compare them. They are slightly different and as such both sets should be included.
I tested one of the bags by adding 95451 to Data.lua (FH.Seeds section). The item appeared in the Farmhand tool and I was able to successfully use it.
-- These IDs come from Milly Greenfield
95437, --Bag of Jade Squash Seeds
95436, --Bag of Juicycrunch Carrot Seeds
95438, --Bag of Mogu Pumpkin Seeds
95439, --Bag of Pink Turnip Seeds
95440, --Bag of Red Blossom Leek Seeds
95441, --Bag of Scallion Seeds
95442, --Bag of Striped Melon Seeds
95443, --Bag of White Turnip Seeds
95444, --Bag of Witchberry Seeds
95434, --Bag of Green Cabbage Seeds
95446, --Bag of Songbell Seeds
95448, --Bag of Snakeroot Seeds
95450, --Bag of Enigma Seeds
95452, --Bag of Magebulb Seeds
95456, --Bag of Windshear Cactus Seeds
95458, --Bag of Raptorleaf Seeds
-- These IDs come from Merchant Greenfield
89848, --Bag of Jade Squash Seeds
84782, --Bag of Juicycrunch Carrot Seeds
85153, --Bag of Mogu Pumpkin Seeds
85162, --Bag of Pink Turnip Seeds
85158, --Bag of Red Blossom Leek Seeds
84783, --Bag of Scallion Seeds
89849, --Bag of Striped Melon Seeds
85163, --Bag of White Turnip Seeds
89847, --Bag of Witchberry Seeds
80809, --Bag of Green Cabbage Seeds
95445, --Bag of Songbell Seeds
95447, --Bag of Snakeroot Seeds
95449, --Bag of Enigma Seeds
95451, --Bag of Magebulb Seeds
95454, --Bag of Windshear Cactus Seeds
95457, --Bag of Raptorleaf Seeds
I have just seen, that it works on my Warlok....what can i do to get it to work on my main?
Same thing as yesterday just with a different error.
1x Farmhand-v1.5b3\Frames.lua:246: attempt to concatenate a nil value
Farmhand-v1.5b3\Frames.lua:246: in function "Func"
Farmhand\Farmhand-v1.5b3.lua:638: in function "Farmhand_RunAfterCombat"
Farmhand-v1.5b3\Frames.lua:93: in function <Farmhand\Frames.lua:89>
Locals:
Func = <func> @Farmhand\Frames.lua:242
Args = nil
FH = <table> {
CropStates = <table> {}
Seeds = <table> {}
VeggiesBySeed = <table> {}
Portals = <table> {}
PostCombatQueue = <table> {}
MiscTools = <table> {}
Tools = <table> {}
L = <table> {}
SeedBags = <table> {}
SeedsBySeedBag = <table> {}
}
With 1.5b3:
Date: 2013-03-09 20:08:34
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Farmhand\Frames.lua line 246:
attempt to concatenate a nil value
Debug:
Farmhand\Frames.lua:246: Func()
Farmhand\Farmhand.lua:638: Farmhand_RunAfterCombat()
Farmhand\Frames.lua:93:
Farmhand\Frames.lua:89
Locals:
LastTool = nil
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = 86425
}
(for control) = 1
_ = 1
v = 86425
ToolName = nil
ToolLink = nil
_ = nil
_ = nil
_ = nil
_ = nil
_ = nil
_ = nil
_ = nil
ToolIcon = nil
(*temporary) = ""
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate a nil value"
FH = <table> {
CropStates = <table> {
}
Seeds = <table> {
}
VeggiesBySeed = <table> {
}
Portals = <table> {
}
PostCombatQueue = <table> {
}
MiscTools = <table> {
}
Tools = <table> {
}
L = <table> {
}
SeedBags = <table> {
}
SeedsBySeedBag = <table> {
}
}
f = FarmhandMiscToolsOption {
0 = <userdata>
}
get the same error today with the latest version of Farmhand-v1.5b3 :(
Thanks for the bug reports. v1.5b3 is up.
And i getting the following on entering the world with Farmhand-v1.5b2
Date: 2013-03-09 14:08:51 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\Farmhand\Frames.lua line 250: attempt to concatenate a nil value Debug: Farmhand\Frames.lua:250: Func() Farmhand\Farmhand.lua:633: Farmhand_RunAfterCombat() Farmhand\Frames.lua:97: Farmhand\Frames.lua:93 Locals: LastTool = nil (for generator) = <function> defined =[C]:-1 (for state) = <table> { 1 = 86425 } (for control) = 1 _ = 1 v = 86425 ToolName = nil ToolLink = nil _ = nil _ = nil _ = nil _ = nil _ = nil _ = nil _ = nil ToolIcon = nil (*temporary) = "" (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to concatenate a nil value" FH = <table> { CropStates = <table> { } Seeds = <table> { } VeggiesBySeed = <table> { } Portals = <table> { } PostCombatQueue = <table> { } MiscTools = <table> { } Tools = <table> { } L = <table> { } SeedBags = <table> { } SeedsBySeedBag = <table> { } } f = FarmhandMiscToolsOption { 0 = <userdata> }
Hello, i get this Error, when entering the Farm.
50x Farmhand\Farmhand-v1.5b2.lua:513: attempt to call method "Update" (a nil value)
Farmhand\Farmhand-v1.5b2.lua:513: in function "Farmhand_Update"
Farmhand\Farmhand-v1.5b2.lua:252: in function "Func"
Farmhand\Farmhand-v1.5b2.lua:633: in function "Farmhand_RunAfterCombat"
Farmhand-v1.5b2\Frames.lua:107: in function <Farmhand\Frames.lua:93>
Locals:
Zone = "Tal der Vier Winde"
SubZone = "Gehöft Sonnensang"
InSunsong = true
InMarket = false
InHalfhill = true
LeavingHalfhill = false
EnteringSunsong = true
LeavingSunsong = false
EnteringMarket = false
LeavingMarket = false
L = <table> {
InfestedCropNames = "Befallene"
BurstingCropNames = "Pralle"
Bags = "Taschen"
Guild Bank = "Gilden Bank"
WildCropNames = "Wilde"
On Hand = "Im Besitz"
ParchedCropNames = "Ausgetrocknete"
Show Optional Miscellaneous Tools = "Optional diverse Tools anzeigen"
Scan your farm for crops or soil that need attention. = "Scanne die Farm nach Boden und Pflanzen die Pflege benötigen."
Leaving Halfhill. = "Halbhügel verlassen."
WigglingCropNames = "Zuckende"
Dropping = "Entferne"
Below Normal Tooltip = "Unter dem Normalen Hinweistext"
Mail = "Post"
Crop Scanner found: = "Pflanzen-Scanner entdeckt:"
Lock tools to prevent them being dropped when you leave the farm. = "Verschließe die Werkzeuge um ein entfernen zu verhindern, wenn du den Bauernhof verlässt."
AlluringCropNames = "Verlockende"
Stubborn Weed = "Hartnäckiges Kraut"
Hide Farmhand entirely during combat. = "Blende Farmhand während eines Kampfes vollständig aus."
AH = "AH"
Crop Scanner finished. = "Pflanzen-Scanner beendet."
Show crop scanner findings in the chat window. = "Zeige die Pflanzen Scanner ergebnisse im Chatfenster"
SmotheredCropNames = "Bedeckte"
RuntyCropNames = "Verkümmerte"
Right of Normal Tooltip = "Rechts vom Normalen Hinweistext"
Bank = "Bank"
Tools are Locked. = "Die Geräte sind gesperrt."
Tilled Soil = "Gepflügtes Erdreich"
Sunsong Ranch = "Gehöft Sonnensang"
Crop Scanner = "Pflanzen-Scanner"
TangledCropNames = "Verwucherte"
Occupied Soil = "Beanspruchter Boden"
Produces = "Produziert"
Show special tooltip for vegetable seeds in merchant window. = "Zeige den speziellen Hinweistext für Gemüsesaatgut im Händlerfenster."
Halfhill = "Halbhügel"
The Halfhill Market = "Der Halbhügelmarkt"
Some crops need attention! = "Die Pflanzen brauchen Aufmerksamkeit!"
Show Portal Shard icons below the tools buttons. = "Zeige Portalsplitter Symbole unterhalb der Werkzeugleiste"
Unstable Portal Shard = "Instabiler Portalsplitter"
Play sounds when crop scanner finishes. = "Spiele einen Ton ab wenn der Pflanzen Scan beendet ist."
The crops are looking good! = "Die Pflanzen sehen gut aus!"
In Bank = "Auf der Bank"
}
FH = <table> {
CropStates = <table> {}
Seeds = <table> {}
VeggiesBySeed = <table> {}
InSunsong = false
Portals = <table> {}
InMarket = false
InHalfhill = true
PostCombatQueue = <table> {}
MiscTools = <table> {}
Tools = <table> {}
L = <table> {}
SeedBags = <table> {}
SeedsBySeedBag = <table> {}
}
Getting the following on entering the world w/ the current beta (1.5b1)
Should be fixed now in v1.5b2
The original one I posted is indeed fixed in 1.5b2
However I'm now getting the following error - this only occurs if you enter the world at Sunsong ranch; if you enter the world at the Lazy Turnip the addon works as you'd expect.
One of my must have addons. Thanks for writing and maintaining this.
Beta version v1.5b1 is available. There are just a few new strings for translation, but they're not critical.
Seeds Bags are in.
Optional Misc Tools (currently just the School Bell and Hearthstone) are in
Optional DataStore stock tips is in
Side note: Those seed bags. They seemed like such a good idea until I started using them and realized they just make the bag space problem worse.
The one good thing about the seed bags is the ability to plant four plots at once quickly. If you target it correctly. It's possible to miss a plot with the AoE targetting!
The downside is that the charges on the bags aren't divisible by four - so you end up starting a new planting set with only two charges on the bags. Most annoying!
FYI: The update will be finished soon.
So far I have the seed bags working. It wasn't just a matter of adding them to the data.lua because they have charges. I have the seed bags showing the stock tips in the merchant window. And I think I have support for miscellaneous tools like the school bell.
Lastly I'm working on optional integration with Altoholic to display guild bank and alt data in the stock tips.
I'll get it packaged as a beta and pushed out later today.
added Spanish LA (esMX) translations, hope you can include on the next update.
Thank you for a great addon !
Love this addon, only thing I think I can add is w/ the addition of "bags of * seeds", it would be nice if you could add buttons for these for quicker planting!
Thanks,
Pat
Yes the seed bags will be in the next update.
Will you be adding support for the new seed bags? I love this addon and I wouldn't want to farm without it.