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,285
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 12-10-12, 10:41 PM  
Duman
A Murloc Raider

Forum posts: 4
File comments: 26
Uploads: 0
Re: Re: Re: Re: Max CRITTER is 80

Originally Posted by Kharthus
The game wasn't responding correctly to requests about your pets, hence all the nil entries.
Ahh, yeah -- that sounds highly plausible. Probably a bit of lag from an initial login after not having logged that character in for a while, or something along those lines?

Thanks for checking...
Duman is offline Report comment to moderator  
Reply With Quote
Unread 12-10-12, 07:29 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
Re: Re: Re: Max CRITTER is 80

I think I have an idea what happened. The game wasn't responding correctly to requests about your pets, hence all the nil entries. Because of this it had no way to filter the duplicates out. There are sometimes issues during initial login like this, but they seem very rare. I'll probably turn off those error messages in a future release since they were really meant to help me track down some issues.

Everything should work after that, especially if the Livestock menu is being populated correctly.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 12-09-12, 11:52 PM  
Duman
A Murloc Raider

Forum posts: 4
File comments: 26
Uploads: 0
Re: Re: Max CRITTER is 80

Originally Posted by Kharthus
How many pets do you have? Does this happen only on login, or also when you open the Livestock menu? Do you have other Pet Journal addons running?
According to the "Mounts and Pets" page, I have 124 (which is the max number I see in the debug output).

I only ever see this upon login.

When opening the Livestock menu, it does not spit it out again. (The livestock menu only displays 80 critters in the menu)

Looking at my pet list, it's 124 long, but there are lots of dupes (probably 80 unique, if I had to guess)

Some weird issue w/ having the same pets multiple times?

(I'm not running any other pet-related addons)


Hmm... I've just been testing this some more, and now I can't seem to get it to spew the debug output any more (wtf?) It did it just 5 min ago on initial login, but now it's not doing it any more (even after completely exiting the game and re-launching it).

Hrm. Anything else I should check, assuming it happens again? Weird...
Duman is offline Report comment to moderator  
Reply With Quote
Unread 12-09-12, 06:46 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
Re: Max CRITTER is 80

Originally Posted by Duman
Upon login, I get a spew of these errors:

Code:
[...]
[10:21:38] Error for CRITTER 99 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 100 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 101 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 102 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 103 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 108 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 110 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 111 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 112 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 114 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 117 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[...]
It goes up to 124 (so far that I've seen), and starts lower (started at 60)...

Need more info?
How many pets do you have? Does this happen only on login, or also when you open the Livestock menu? Do you have other Pet Journal addons running?
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 12-08-12, 12:29 PM  
Duman
A Murloc Raider

Forum posts: 4
File comments: 26
Uploads: 0
Max CRITTER is 80

Upon login, I get a spew of these errors:

Code:
[...]
[10:21:38] Error for CRITTER 99 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 100 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 101 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 102 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 103 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 108 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 110 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 111 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 112 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 114 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[10:21:38] Error for CRITTER 117 at menu build, ID: nil, name: nil, spellID: nil
[10:21:38] Max CRITTER is 80
[...]
It goes up to 124 (so far that I've seen), and starts lower (started at 60)...

Need more info?
Last edited by Duman : 12-09-12 at 12:02 AM.
Duman is offline Report comment to moderator  
Reply With Quote
Unread 12-05-12, 04:45 PM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2385
Uploads: 6
Ok, now, I'm convinced, that this is Blizzard bug, until someone disprove it.
Lua Code:
  1. local menubutton = _G["Livestock"..token.."Menu"..currentMenu.."Button"..button] or CreateFrame("Button", "Livestock"..token.."Menu"..currentMenu.."Button"..button, menuframe, "LivestockMenuButtonTemplate") -- create or reference the button, with the appropriate name and number
  2.             menubutton:Show()
Trows an error for absent menubutton.Show ...
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Unread 12-02-12, 11:48 AM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 238
Uploads: 6
That's a Blizzard bug. You can't even stealth while flying with a ground pet because it will pull you out of stealth to re-summon the pet. Livestock isn't doing that. The normal Livestock auto-summon code while stealthed still works fine. Please file a bug about this. There is no way to go from mounted to stealth currently if you have a ground pet out. Not nice at all.

Looks like it was reported during beta and not fixed. Please bug them some more.
Last edited by Kharthus : 12-02-12 at 11:53 AM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Unread 12-02-12, 11:25 AM  
Steil
A Cliff Giant
 
Steil's Avatar

Forum posts: 77
File comments: 49
Uploads: 0
Looking into past comments. (10-18-08) (v1.0.5-1.0.6) Recompense had coded something to keep pets from breaking stealth or prowl, while keeping the autosummon 'on forward motion'. Which did work until recently.

This may be outdated now as summoning appears to be handled by the default ui instead of the addon? From what I see in livestock patch notes. Stealth code was removed. But also in 5.1 there was changes to summoning pets that i'm guessing broke the code?(when going across crz's the pet is summoned while flying (which despawns if ground type and summoner is flying))

What I don't want to do is go to the forums requesting that Blizzard should make something part of the default ui via [bug] or [suggestion] and have them say that they didn't change the possibility for an addon to not summon a pet if [stealth] exists.
Steil is offline Report comment to moderator  
Reply With Quote
Unread 12-02-12, 07:38 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2385
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: 49
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: 238
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: 2385
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: 238
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: 49
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: 238
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
Post A Reply



Category Jump: