Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(87 Kb)
Download
Updated: 10-19-14 05:45 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-19-14 05:45 PM
Created:unknown
Downloads:29,274
Favorites:318
MD5:
6.0.2
Livestock  Updated this week!  Popular! (More than 5000 hits)
Version: 2.2.0
by: Kharthus [More]
Livestock: For all your companion needs
Now that your pets and mounts don't take up space in your bags, Livestock lets you manage them intelligently. This addon sorts your companions into land mounts, flying mounts, and vanity pets. Then, with the push of a button, you can randomly summon any of the three, or designate a favorite pet to have out on command.

You can also have Livestock always keep a pet by your side, and have it dismiss your vanity pet when you are in PVP battle and it would give away your position.

You can even tell Livestock to put you on a random land or flying mount depending on whether the area you're in lets you fly or not. Underwater or in combat, Livestock can also be configured to cast certain spells relating to travel, such as Path of Frost or Ghost Wolf.

New to version 1.2 and above, you can designate certain pets or mounts to be called in certain zones or subzones. Ride in style on a Frostwolf Howler while in Alterac Valley, and then switch to your favorite color of Mechanostrider while in Ironforge. Livestock will let you make sure that you have your good luck pet out whenever you're in Ulduar or Trial of the Crusader.
You can summon critters, land mounts, and flying mounts in various ways. See the ReadMe file for more information.
Localization Help:
Livestock currently only works for the enUS, deDE, eES, ruRU, and frFR clients. (The client is only localized completely for the enUS client, and assistance in localizing is always appreciated!) If you are on another client, Livestock will load but will show all English strings. If you are willing to help localize the addon for your language, please let me know - you'd only need to provide some simple translations and I'd do the rest. You can reach me through the Private Message system available here.
Slash Commands:
There are currently eight slash commands for the addon. View the ReadMe file for a more in-depth explanation. /livestock and /ls both work for commands.
  • Use "/livestock" to bring up the main menu bar.
  • Use "/livestock reset" to move the four Livestock Buttons back to their default positions.
  • Use "/livestock scale <scale>" to change the size of the Livestock Buttons.
  • Use "/livestock prefs" as a shortcut to access the preferences, described in the ReadMe.
  • Use "/livestock redo" to force Livestock to reset to default. Useful for squashing buggy behavior at the cost of having to reset your settings.
  • Use "/livestock [zone/subzone]" to designate a pet or mount for your current zone or subzone. For more information, check the ReadMe.
  • Use "/livestock [mount/nomount/pet/nopet]" to add/remove pets and mounts from the random summon list. Uses your active summon.
  • Use "/livestock debug" - Prints out useful debugging information that can assist the developers in solving problems. Use the command again to turn off the debugging output.


Livestock Options and Preferences:
You can find the options for Livestock in the Addons tab of the Blizzard Interface options menu. The "Livestock" tab has the major options, while options for pets, Smart Mounting, and zone/subzone preferences are in sub-menus. You can read more about the preferences in the ReadMe file.
Bug Reports and Feature Requests
If you find unexpected behavior in Livestock, especially in locales other than enUS, please check the FAQ first to see if it has been addressed and if there is a possible fix.
Please report any bugs you find with Livestock -- or feature requests you'd like to see -- using the "Report Bugs" or "Feature Request" button underneath the Download button, up and to the right. I appreciate your feedback and support.
If you are reporting a bug, the following information is helpful: Any error messages that you saw, where you were (if you can give coordinates, that's excellent), what you were trying to do, what your menus looked like, and what class you play.
Thanks!
Well-deserved credit goes to the following people:
  • Khanthal (Uldum), for the original idea and being our MT so often!
  • A BIG thank you to Sbo (UI and Macros forum, Live) who helped me figure out what was the issue with Dalaran and Wintergrasp as well as suggesting the way to get around it.
  • Grimgear (UI and Macros forum, Live) for helping troubleshoot a bug, pointing me to keybindings, and suggesting rotation speed. Also for pointing out how best to adjust my GUI to compensate for localization.
  • Lunessa (UI and Macros forum, Live) for pointing me to Blizzard's instructions on creating panels in the Interface menu.
  • Xelron (UI and Macros forum, Live) for helping construct debug messages to get more information and indirectly convincing me to make my own dropdowns.
  • Ro (UI and Macros forum, Beta) for the 3D model viewer idea. Ro also originally suggested making my own custom dropdowns, which I thought was beyond me!
  • Elloria and Tgulics (WoWInterface) for helping spread the word and test the addon in its early stages and for suggesting highlighting the buttons when they're clicked.
  • The MVPs (UI and Macros forum) for providing the resources needed to accomplish this one as well as stepping in and answering my questions from time to time. Special thanks to Alestane and Iriel for helping me with secure handlers.
  • kdkunde (WoWInterface) for helping translate this mod into German so far!
  • Vastilia (WoWInterface) and Yorgl (Curse) for helping translate into French!
  • madbit (WoWInterface) for the Spanish translation.
  • simply (Curse) for the Russian localization.
  • Certainly not least, Brenkite (Uldum) for being my personal troubleshooter and moral support.
Version 2.2.0

- Fixed dragging pets into the Zone/Subzone screen
- Disabled dragging mounts into the Zone/Subzone screen (use the command line)
- Better handling of the new flying mounts in land menu setting
- Moonkins now remain in moonkin form when mounting

Version 2.1.0

- Hide mounts from the opposite faction

Version 2.0.5

- Fixed flying dismounts for non-druids

Version 2.0.4

- New Option: Include flying mounts in land menu
- More druid fixes

Version 2.0.3

- Fixed Death Knights and Paladins
- Additional fixes for Druids

Version 2.0.2

- Support Flight Form when using Glyph of the Stag

Version 2.0.1

- Fixed error on non-hunters

Version 2.0.0

- Support for patch 6.0.2
- Fixed some issues with druid forms
- Low level druids will use cat form until they learn travel form
- Aspect of the Hawk removed (can cancel AotC/AotP when mounting)

Version 1.9.9

- Fixed Outlands flying mounts

Version 1.9.8

- random() changed to fastrandom() for 5.4.2 patch

Version 1.9.7

- TOC update for patch 5.4

Version 1.9.6

- TOC update for patch 5.3
- Now uses flying mounts underwater (instead of land)

Version 1.9.5

- Performance improvements

Version 1.9.4

- Two new options for Aspect of the Hawk
- New option: New mounts are disabled by default

Version 1.9.3

- Fixed Aspect of the Pack in groups

Version 1.9.2

- Updates for patch 5.2

Version 1.9.1

- Fixed flying detection code for Outlands
- Slight update to the new scrolling code
- Added /ls as a shortcut for /livestock

Version 1.9.0

- Added Azure Water Strider option
- Added Zen Flight option
- Added scrollable mount/pet lists
- Fixed code that detects flying skill level and area
- Cleanup Abyssal Seahorse code
- Cleanup localizations
- Removed Crusader Aura

Version 1.8.0

- Updates for patch 5.1
- Another fix for SetWidth errors
- Fixed Aspect of the Pack

- Change log up to this version removed from hosting site and archived in Change Log.txt
Optional Files (0)


Archived Files (55)
File Name
Version
Size
Author
Date
2.1.0
87kB
Kharthus
10-18-14 07:21 PM
2.0.5
86kB
Kharthus
10-17-14 03:24 PM
2.0.4
86kB
Kharthus
10-17-14 01:22 PM
2.0.3
86kB
Kharthus
10-16-14 01:28 AM
2.0.2
86kB
Kharthus
10-15-14 10:42 PM
2.0.1
86kB
Kharthus
10-15-14 12:27 AM
2.0.0
86kB
Kharthus
10-14-14 10:56 PM
1.9.9
87kB
Kharthus
08-16-14 12:15 PM
1.9.8
87kB
Kharthus
12-12-13 09:30 PM
1.9.7
86kB
Kharthus
09-30-13 04:00 AM
1.9.6
86kB
Kharthus
06-15-13 01:57 PM
1.9.5
86kB
Kharthus
03-24-13 07:20 PM
1.9.4
86kB
Kharthus
03-19-13 08:23 PM
1.9.3
86kB
Kharthus
03-19-13 06:18 PM
1.9.2
86kB
Kharthus
03-05-13 08:09 PM
1.9.1
86kB
Kharthus
03-04-13 11:51 PM
1.9.0
86kB
Kharthus
03-03-13 06:46 PM
1.8.0
89kB
Kharthus
11-28-12 10:16 PM
1.7.12
89kB
Kharthus
11-12-12 07:35 PM
1.7.11
89kB
Kharthus
11-10-12 01:24 PM
1.7.10
89kB
Kharthus
11-05-12 10:11 PM
1.7.9
89kB
Kharthus
11-05-12 08:32 PM
1.7.8
89kB
Kharthus
11-02-12 11:59 AM
1.7.7
89kB
Kharthus
10-29-12 02:19 AM
1.7.6
89kB
Kharthus
10-28-12 09:37 PM
1.7.5
89kB
Kharthus
10-28-12 08:24 PM
1.7.4
89kB
Kharthus
10-22-12 10:32 PM
1.7.3
89kB
Kharthus
10-22-12 12:09 AM
1.7.2
89kB
Kharthus
10-21-12 03:31 PM
1.7.1
88kB
Kharthus
10-20-12 02:25 PM
1.7.0
88kB
Kharthus
10-19-12 04:08 PM
1.6.9
88kB
Kharthus
10-07-12 09:26 PM
1.6.8
88kB
Kharthus
10-05-12 03:25 PM
1.6.7
87kB
Kharthus
09-25-12 08:06 PM
1.6.6
87kB
Kharthus
09-21-12 06:53 PM
1.6.5
87kB
Kharthus
09-11-12 01:28 AM
1.6.4
87kB
Kharthus
09-02-12 01:07 PM
1.6.3
86kB
Kharthus
09-02-12 10:26 AM
1.6.2
86kB
Kharthus
09-01-12 09:57 AM
1.6.1
86kB
Kharthus
08-31-12 07:53 PM
1.6.0
86kB
Kharthus
08-27-12 10:49 PM
1.5.4
85kB
Kharthus
01-09-12 09:19 PM
1.5.3
84kB
Kharthus
12-16-11 02:31 PM
1.2.2
81kB
Kharthus
01-05-10 11:59 PM
1.2.1
80kB
Recompense
11-11-09 06:55 AM
1.2
78kB
Recompense
10-20-09 09:49 PM
1.1.8
76kB
Recompense
10-19-09 01:20 PM
1.1.7
76kB
Recompense
08-12-09 08:07 PM
1.1.6
83kB
Recompense
02-26-09 02:59 PM
1.1.5
80kB
Recompense
01-08-09 03:13 AM
1.1.4
76kB
Recompense
12-16-08 04:24 PM
1.1.3
76kB
Recompense
12-07-08 04:33 PM
1.1.2
76kB
Recompense
11-30-08 11:49 PM
1.1.1
76kB
Recompense
11-23-08 05:19 PM
1.1
75kB
Recompense
11-15-08 06:37 AM


Post A Reply Comment Options
Unread 10-20-08, 11:06 PM  
Mikhael of Doomhammer
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
I poked around a bit thonight, trying to add the summon on move forward behavior...no luck

I had the hooksecurefunc("MoveForwardStart",... bit, but it kept giving me an error about Livestock being an nil value in the OnUpdate frame. Too tired right now to poke it more
Mikhael of Doomhammer is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 12:21 AM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Mikhael of Doomhammer
I poked around a bit thonight, trying to add the summon on move forward behavior...no luck

I had the hooksecurefunc("MoveForwardStart",... bit, but it kept giving me an error about Livestock being an nil value in the OnUpdate frame. Too tired right now to poke it more
You can't hook movement functions, so that's not a route to explore.

The Livestock being a nil value in OnUpdate means something's not initializing properly. Make sure you're using the latest version - 1.0.5.2 you may have happened to get 1.0.5.1 when I uploaded it for around 20 minutes, before I discovered that I had a typo which caused this initialization issue.
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 06:30 PM  
Mikhael of Doomhammer
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Oh, it works fine once I comment out my mucking about.

I was playing around with the hooksecurefunc bit cause that's how the other addon does it...it works for them

However, I'm still rather a noob when it comes to addon writing - I can fix em, and glue together bits of other stuff, mostly successfully...but I don't know how everything works yet :P
Mikhael of Doomhammer is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 07:53 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Mikhael of Doomhammer
Oh, it works fine once I comment out my mucking about.

I was playing around with the hooksecurefunc bit cause that's how the other addon does it...it works for them

However, I'm still rather a noob when it comes to addon writing - I can fix em, and glue together bits of other stuff, mostly successfully...but I don't know how everything works yet :P
That's... odd! I thought that Blizzard disallowed hooking movement functions! They did that a long time ago.

They probably meant hooking secure functions, and summoning a companion isn't secure.

Anyway, if you look in the addon's comments, you should see a list of functions. Livestock.PickCritter() is my function that summons a random critter, so if you want to mess around, that'd be the function to hook.

I won't say more in case you want to work it out on your own
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 08:20 PM  
Mikhael of Doomhammer
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
The way the secure func hooks work is that whatever you add is called after the blizz function does its thing...so you can't mess with their code, just do stuff at the sameish time.
Mikhael of Doomhammer is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 10:18 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Mikhael of Doomhammer
The way the secure func hooks work is that whatever you add is called after the blizz function does its thing...so you can't mess with their code, just do stuff at the sameish time.
Oh, I know how that works, but if you check out http://www.worldofwarcraft.com/patch...patch1p10.html you'll see under User Interface that "[a]ddons and macros may not call or hook functions that initiate movement. "

That's why I was surprised when you said this works!

That being said, I probably won't make this a feature in Livestock - unless they take summoning a pet off the GCD, I'd hate for someone (myself included!) to be at a battle disadvantage, even for a short time, because their cooldown was used by Livestock.
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 10:41 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
After eating a LOT of frameXML errors lately i looked in the logs and Livestock is one of the addons trigegring them.

This is what the lines in log/frameXML says abut it


10/21 23:03:11.218 ** Loading table of contents Interface\AddOns\Livestock\Livestock.toc
10/21 23:03:11.218 ++ Loading file Interface\AddOns\Livestock\Livestock.xml
10/21 23:03:11.218 No "x" or "y" attributes in element: Offset
10/21 23:03:11.218 No "x" or "y" attributes in element: Offset
10/21 23:03:11.218 No "x" or "y" attributes in element: Size
10/21 23:03:11.218 No "x" or "y" attributes in element: Offset


Have no idea what it means, but ill toss it in here and maybe someone else understands it.
Kerecha is offline Report comment to moderator  
Reply With Quote
Unread 10-21-08, 10:47 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Kerecha
After eating a LOT of frameXML errors lately i looked in the logs and Livestock is one of the addons trigegring them.

This is what the lines in log/frameXML says abut it


10/21 23:03:11.218 ** Loading table of contents Interface\AddOns\Livestock\Livestock.toc
10/21 23:03:11.218 ++ Loading file Interface\AddOns\Livestock\Livestock.xml
10/21 23:03:11.218 No "x" or "y" attributes in element: Offset
10/21 23:03:11.218 No "x" or "y" attributes in element: Offset
10/21 23:03:11.218 No "x" or "y" attributes in element: Size
10/21 23:03:11.218 No "x" or "y" attributes in element: Offset


Have no idea what it means, but ill toss it in here and maybe someone else understands it.
Thanks for the report, Kerecha. I appreciate it. Edit: The reason why they were there there is because I had offsets of 0 and didn't explicitly declare them.

Edit: OK, I poked through the XML and made some small adjustments. It looks like that fixed it, so you shouldn't see those in the log when I next update the mod. Just to be clear again, though, those messages in FrameXML aren't errors. If you're seeing a red error message in game about FrameXML, it is referring to the FrameXML folder (which you can't normally see in the WoW folder) which contains game code. Basically, it means an addon is misbehaving with the 3.0.2 code.

A bug control mod like Swatter can help you narrow down which one, but I'm pretty confident it's not Livestock. I started making this addon with 3.0.2 so I know it's behaving with the code changes.
Last edited by Recompense : 10-22-08 at 02:26 AM.
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 11:27 AM  
Tinuviel
A Defias Bandit
 
Tinuviel's Avatar

Forum posts: 3
File comments: 211
Uploads: 0
I have a suggestion for a feature, a la MiniPets addon.

Do you think there could be some kind of popup warning when you switch zones/dismount/whatever where your pet would disappear, to remind you to resummon a random pet?

Obviously, this wouldn't have an effect on the mount portion, but it would be nice.
Tinuviel is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:05 PM  
Mikhael of Doomhammer
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 1
Well, I got the summon on move forward working...finally

Main problem was that the function for the secure hook needed an end...blah.
I restricted the summon on move forward to not work in combat, mounted, or stealthed.

Would you like me to post the changes somewhere?

Just tested 1.0.5.3 - does not detect [Magic Broom]
Last edited by Mikhael of Doomhammer : 10-22-08 at 05:11 PM.
Mikhael of Doomhammer is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:12 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Mikhael of Doomhammer
Well, I got the summon on move forward working...finally

Main problem was that the function for the secure hook needed an end...blah.
I restricted the summon on move forward to not work in combat, mounted, or stealthed.

Would you like me to post the changes somewhere?
Mikhael, that sounds great! Feel free to PM me the code. I will probably add another restriction via a toggle in the preferences so that you would have to select this functionality to be on rather than have it happen all the time.

Edit: It's not working with the broom because the broom isn't a mount, it's an item. It never goes into your list of known mounts, so Livestock doesn't know it's there.
Last edited by Recompense : 10-22-08 at 05:52 PM.
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:13 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Tinuviel
I have a suggestion for a feature, a la MiniPets addon.

Do you think there could be some kind of popup warning when you switch zones/dismount/whatever where your pet would disappear, to remind you to resummon a random pet?

Obviously, this wouldn't have an effect on the mount portion, but it would be nice.
Hi Tinuviel, Mikhael's post above you is something that I'll probably be incorporating into the next released version. It would be something that automatically makes you summon a pet if you don't have one out and you're not in combat, stealthed, or mounted.
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:49 PM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
Originally posted by Recompense
Thanks for the report, Kerecha. I appreciate it. Edit: The reason why they were there there is because I had offsets of 0 and didn't explicitly declare them.

Edit: OK, I poked through the XML and made some small adjustments. It looks like that fixed it, so you shouldn't see those in the log when I next update the mod. Just to be clear again, though, those messages in FrameXML aren't errors. If you're seeing a red error message in game about FrameXML, it is referring to the FrameXML folder (which you can't normally see in the WoW folder) which contains game code. Basically, it means an addon is misbehaving with the 3.0.2 code.

A bug control mod like Swatter can help you narrow down which one, but I'm pretty confident it's not Livestock. I started making this addon with 3.0.2 so I know it's behaving with the code changes.
Ucing tekerr cos bugsack is acting up (and dun seem to wanna play along eith LDB) and its only tellinge me theres FrameXML errors, but i can't seem to locate where from, was told to look in the log so i did and just posted what i found under each addon

Hoping that someone with a clue would know what to do with it .
Kerecha is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:53 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Originally posted by Kerecha
Ucing tekerr cos bugsack is acting up (and dun seem to wanna play along eith LDB) and its only tellinge me theres FrameXML errors, but i can't seem to locate where from, was told to look in the log so i did and just posted what i found under each addon

Hoping that someone with a clue would know what to do with it .
Well, in this case, they're harmless They also should be gone in the latest version, if you feel better about not having them there.
Recompense is offline Report comment to moderator  
Reply With Quote
Unread 10-24-08, 07:43 AM  
Movarrin
Premium Member
Premium Member

Forum posts: 12
File comments: 81
Uploads: 0
Originally posted by Recompense
Well, in this case, they're harmless They also should be gone in the latest version, if you feel better about not having them there.
For whatever reason, this release breaks autosummon when rezzing or zoning. I even did a uninstall, fresh install and still had the same problem.

I reverted to Livestock_1_0_5_3 and autosummon works fine.
Movarrin is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: