Download
(87 Kb)
Download
Updated: 08-16-14 12:15 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Updated:08-16-14 12:15 PM
Created:unknown
Downloads:28,999
Favorites:317
MD5:
5.4
Livestock  Popular! (More than 5000 hits)
Version: 1.9.9
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 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 (47)
File Name
Version
Size
Author
Date
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 12-02-12, 07:38 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2365
Uploads: 6
Originally Posted by Steil
What happens is instead of stealthing the pet is summoned and stealth is on cd.
Was always this way. Hit stealth before you dismount or even hit the ground.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 12-02-12, 02:44 AM  
Steil
A Cliff Giant
 
Steil's Avatar

Forum posts: 77
File comments: 48
Uploads: 0
Had some time to mess around on my rogue, to replicate follow these steps:
summon ground bound pet (not a flyer as it won't despawn).
mount flier.
fly up and pet despawns
land.
Hit stealth.

What happens is instead of stealthing the pet is summoned and stealth is on cd. The addon used to block this? Just wondering if Blizzard changed something so it can not be blocked.
Steil is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 10:16 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Originally Posted by AnrDaemon
I mean, instead of checkg for existence of a method, you could check for existence of a table. It's a bit faster, I solved my issues that way.
But the root issue I suppose is index mismatch. You're addressing one-button-too many, than what actually exist.
The person who helped fix it was having the error in the middle of menus, not at the end. It was also random between menu builds (or logins). And if you look at the SetText call it was already checking to see if the table was present, but still throwing an error. I can't explain what's going on. Got to be some weird timing issue inside the engine or the lua parser. Similar to the taintLog causing function calls to fail randomly.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 05:30 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2365
Uploads: 6
Originally Posted by Kharthus
Originally Posted by AnrDaemon
Speaking of one change.
lua Code:
  1. -                 if _G["Livestock"..token.."Menu"..currentMenu.."Button"..i] then
  2. +                   if _G["Livestock"..token.."Menu"..currentMenu.."Button"..i].SetWidth ~= nil then
I don't think, you need to check for existing SetWidth, or compare it against nil.
SetWidth (and GetWidth) method may only be missing, if the table itself is missing. And if it is missing, it'll return nil and the chek will fail naturally without additional comparison.
I thought the same thing, but people were still having problems and this seemed to fix it. I have never seen any of the SetWidth errors on my system so it was nearly impossible to troubleshoot.

It would fail randomly in the middle of creating the different menus. Made no sense at all.
I mean, instead of checkg for existence of a method, you could check for existence of a table. It's a bit faster, I solved my issues that way.
But the root issue I suppose is index mismatch. You're addressing one-button-too many, than what actually exist.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 02:35 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Originally Posted by Steil
Ah. kk. Is there a dismiss pet type macro or function that's usable?
You can try this:

/run C_PetJournal.SummonPetByGUID(C_PetJournal.GetSummonedPetGUID())
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 02:05 PM  
Steil
A Cliff Giant
 
Steil's Avatar

Forum posts: 77
File comments: 48
Uploads: 0
Originally Posted by Kharthus
Originally Posted by Steil
class. Going from mounted to stealth for rogue or from flying cat to prowl (as in fly in low enough that there would be no drop damage switch to cat and prowl before hitting the ground.)
Are you in combat? I just tried it on my rogue and it works as expected.
I'll try to replicate it again when i get time.

Originally Posted by Kharthus
Originally Posted by Steil
from trying to switch pets in combat.
You can't summon pets in combat from an addon. Not really sure how to fix that.
Ah. kk. Is there a dismiss pet type macro or function that's usable?
Steil is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 12:50 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Originally Posted by Steil
class. Going from mounted to stealth for rogue or from flying cat to prowl (as in fly in low enough that there would be no drop damage switch to cat and prowl before hitting the ground.)
Are you in combat? I just tried it on my rogue and it works as expected.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 11:42 AM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Originally Posted by Steil
from trying to switch pets in combat.
You can't summon pets in combat from an addon. Not really sure how to fix that.
Last edited by Kharthus : 11-30-12 at 11:49 AM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-30-12, 11:29 AM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Originally Posted by AnrDaemon
Speaking of one change.
lua Code:
  1. -                 if _G["Livestock"..token.."Menu"..currentMenu.."Button"..i] then
  2. +                   if _G["Livestock"..token.."Menu"..currentMenu.."Button"..i].SetWidth ~= nil then
I don't think, you need to check for existing SetWidth, or compare it against nil.
SetWidth (and GetWidth) method may only be missing, if the table itself is missing. And if it is missing, it'll return nil and the chek will fail naturally without additional comparison.
I thought the same thing, but people were still having problems and this seemed to fix it. I have never seen any of the SetWidth errors on my system so it was nearly impossible to troubleshoot.

It would fail randomly in the middle of creating the different menus. Made no sense at all.
Last edited by Kharthus : 11-30-12 at 11:32 AM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 10:20 PM  
Steil
A Cliff Giant
 
Steil's Avatar

Forum posts: 77
File comments: 48
Uploads: 0
Originally Posted by AnrDaemon
Originally Posted by Steil
In addition something's broken about the not summoning pets while in stealth.
Class stealth or quest stealth?
class. Going from mounted to stealth for rogue or from flying cat to prowl (as in fly in low enough that there would be no drop damage switch to cat and prowl before hitting the ground.)
Steil is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 08:38 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2365
Uploads: 6
Originally Posted by Steil
In addition something's broken about the not summoning pets while in stealth.
Class stealth or quest stealth?
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 02:07 PM  
Steil
A Cliff Giant
 
Steil's Avatar

Forum posts: 77
File comments: 48
Uploads: 0
1x [ADDON_ACTION_BLOCKED] AddOn "Livestock" tried to call the protected function "SummonPetByGUID()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
Livestock\Livestock-1.8.0.lua:1542: in function "PickCritter"
[string "if GetMouseButtonClicked() == "RightButton"ChatFrame.lua:2158: in function "?"
FrameXML\ChatFrame.lua:4388: in function <FrameXML\ChatFrame.lua:4334>
<in C code>
FrameXML\ChatFrame.lua:4082: in function "ChatEdit_SendText"
FrameXML\ChatFrame.lua:2747: in function <FrameXML\ChatFrame.lua:2740>
<in C code>
FrameXML\SecureTemplates.lua:379: in function "handler"
FrameXML\SecureTemplates.lua:560: in function <FrameXML\SecureTemplates.lua:508>

from trying to switch pets in combat.

In addition something's broken about the not summoning pets while in stealth.
Steil is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 04:34 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2365
Uploads: 6
Speaking of one change.
lua Code:
  1. -                 if _G["Livestock"..token.."Menu"..currentMenu.."Button"..i] then
  2. +                   if _G["Livestock"..token.."Menu"..currentMenu.."Button"..i].SetWidth ~= nil then
I don't think, you need to check for existing SetWidth, or compare it against nil.
SetWidth (and GetWidth) method may only be missing, if the table itself is missing. And if it is missing, it'll return nil and the chek will fail naturally without additional comparison.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 11-28-12, 09:38 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Re: Aspect of the cheetah/pack

Originally Posted by capcanuk
I suspect that the problem with Smartmount not casting Aspect of the Pack correctly, is because of the removal of Aspect of the Fox.
I think I broke it in 1.6.8, but no one noticed. Oops.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 11-28-12, 10:27 AM  
capcanuk
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Aspect of the cheetah/pack

I suspect that the problem with Smartmount not casting Aspect of the Pack correctly, is because of the removal of Aspect of the Fox.
capcanuk is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: