Download
(90Kb)
Download
Updated: 01-12-24 09:54 AM
Pictures
File Info
Compatibility:
Guardians of the Dream (10.2.0)
Fractures in Time (10.1.5)
Embers of Neltharion (10.1.0)
Updated:01-12-24 09:54 AM
Created:unknown
Downloads:65,522
Favorites:312
MD5:

Livestock  Popular! (More than 5000 hits)

Version: 3.4.1
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/party]" to designate a pet or mount for your current zone, subzone or party. 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 3.4.1

- Quick fix for Worgen Druids and Running Wild
- No support for Dragon Isles Pathfinder at this time

Version 3.4.0

- TOC update for patch 10.1.5
- Added new mount types

Version 3.3.9

- Fix for ADDON_ACTION_BLOCKED

Version 3.3.8

- Removed Battle for Azeroth Pathfinder from BFA flying requirements

Version 3.3.7

- Fixed Otto and Ottuk mounts

Version 3.3.6

- TOC update for patch 10.1.0
- Addon compartment support
- Buttons and macros once again work like they did before 10.0
- *** Please recreate any macros to avoid issues ***

Version 3.3.5

- Updates for patch 10.0.7
- Reworked logic to choose dragonriding in the Dragon Isles.

Version 3.3.4

- TOC update for patch 10.0.5

Version 3.3.3

- Moved dragonriding mounts into their own menu.

Version 3.3.2

- Minor Druid logic updates.

Version 3.3.1

- Enabled dragonriding in The Nokhud Offensive.

Version 3.3.0

- Attempt to prevent dragonriding inside instances.

Version 3.2.9

- Fixed dragonriding from water surface.

Version 3.2.8

- Fixed item link parsing for zone/subzone/party commands.

Version 3.2.7

- Initial dragonriding support.

Version 3.2.6

- Fixed cat form, ghost wolf, etc.

Version 3.2.5

- Updates for patch 10.0.2

Version 3.2.4

- Another fix for dismounting issues

Version 3.2.3

- Fixed Livestock Menu button in Options

Version 3.2.2

- Fixed Smart Mount keybind issue

Version 3.2.1

- Keybindings are visible in the Options menu

Version 3.2.0

- Updates for patch 10.0.0

Version 3.1.5

- TOC update for patch 9.2.5

Version 3.1.4

- Minor chat text change when adding/removing critters and mounts

Version 3.1.3

- Added Unsuccessful Prototype Fleetpod

Version 3.1.2

- Minor database cleanup for mounts that were disabled during the upgrade

Version 3.1.1

- Fixed random summons of selected land mounts

Version 3.1.0

- Major database update
- Should allow easier support for future combo mounts like Deepstar Aurelid
- Please verify enable/disable of specific mounts was ported properly

Version 3.0.0

- Added Deepstar Aurelid

Version 2.9.9

- TOC update for patch 9.2

Version 2.9.8

- TOC update for patch 9.1.5

Version 2.9.7

- Removed 'out of combat' restrictions on Levitate and Slowfall

Version 2.9.6

- Enabled flying mounts in Shadowlands

Version 2.9.5

- TOC update for patch 9.1

Version 2.9.4

- TOC update for patch 9.0.5
- Fix for Kua'fon not being marked as flyable

Version 2.9.3

- TOC update for patch 9.0.2

Version 2.9.2

- Forced flying mounts in Draenor and Broken Isles due to Blizzard bug with IsFlyableArea()

Version 2.9.1

- Fixes for flying detection due to pre-patch

Version 2.9.0

- Updates to support Shadowlands Pre-Patch

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


Archived Files (34)
File Name
Version
Size
Author
Date
3.4.0
90kB
Kharthus
07-17-23 08:22 PM
3.3.9
90kB
Kharthus
06-01-23 08:41 AM
3.3.8
90kB
Kharthus
05-18-23 07:20 PM
3.3.7
90kB
Kharthus
05-08-23 01:08 PM
3.3.6
90kB
Kharthus
05-07-23 11:59 AM
3.3.5
90kB
Kharthus
03-26-23 02:24 PM
3.3.4
90kB
Kharthus
02-24-23 01:00 PM
3.3.3
90kB
Kharthus
12-16-22 12:38 PM
3.3.2
89kB
Kharthus
12-10-22 12:37 PM
3.3.1
89kB
Kharthus
12-03-22 09:35 PM
3.3.0
89kB
Kharthus
12-03-22 04:33 PM
3.2.9
89kB
Kharthus
12-03-22 01:15 PM
3.2.8
89kB
Kharthus
12-02-22 03:26 AM
3.2.7
89kB
Kharthus
12-02-22 02:34 AM
3.2.6
89kB
Kharthus
11-22-22 10:23 AM
3.2.5
89kB
Kharthus
11-15-22 08:32 PM
3.2.4
89kB
Kharthus
11-08-22 05:46 PM
3.2.3
89kB
Kharthus
11-05-22 09:06 AM
3.2.2
89kB
Kharthus
10-29-22 03:17 PM
3.2.1
89kB
Kharthus
10-29-22 01:51 PM
3.2.0
89kB
Kharthus
10-29-22 12:59 PM
3.1.5
89kB
Kharthus
06-01-22 10:37 PM
3.1.4
89kB
Kharthus
04-08-22 10:29 AM
3.1.3
89kB
Kharthus
03-30-22 08:33 PM
3.1.2
89kB
Kharthus
03-26-22 03:19 PM
3.1.1
89kB
Kharthus
03-26-22 02:55 PM
3.1.0
89kB
Kharthus
03-26-22 06:52 AM
3.0.0
89kB
Kharthus
03-25-22 03:25 PM
2.9.9
89kB
Kharthus
02-22-22 10:39 PM
2.9.8
89kB
Kharthus
01-28-22 09:57 AM
2.9.7
89kB
Kharthus
09-02-21 09:08 PM
2.9.6
89kB
Kharthus
07-07-21 08:08 PM
2.9.5
88kB
Kharthus
07-03-21 08:52 AM
2.9.4
88kB
Kharthus
03-12-21 05:40 PM


Post A Reply Comment Options
Unread 12-10-12, 10:41 PM  
Duman
A Murloc Raider

Forum posts: 9
File comments: 35
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...
Report comment to moderator  
Reply With Quote
Unread 12-10-12, 07:29 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
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.
Report comment to moderator  
Reply With Quote
Unread 12-09-12, 11:52 PM  
Duman
A Murloc Raider

Forum posts: 9
File comments: 35
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...
Report comment to moderator  
Reply With Quote
Unread 12-09-12, 06:46 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
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?
Report comment to moderator  
Reply With Quote
Unread 12-08-12, 12:29 PM  
Duman
A Murloc Raider

Forum posts: 9
File comments: 35
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.
Report comment to moderator  
Reply With Quote
Unread 12-05-12, 04:45 PM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
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 ...
Report comment to moderator  
Reply With Quote
Unread 12-02-12, 11:48 AM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
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.
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.
Report comment to moderator  
Reply With Quote
Unread 12-02-12, 07:38 AM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
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.
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.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 10:16 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
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.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 05:30 PM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
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.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 02:35 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
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())
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?
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 12:50 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 293
Uploads: 9
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: