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,492
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 11-03-12, 02:15 AM  
capcanuk
A Kobold Labourer

Forum posts: 0
File comments: 68
Uploads: 0
Very strange behaviour on one single character

For some odd reason, my key-bind to launch "smart mount" suddenly stopped working on one toon.

I have all of my accounts, all of my toons, with the keybind " - " for smart mount, and "shift - " for force ground mount.

On this single toon, "shift - " works and calls up the ground mount.

but just " - " won't call up the smart mount. If I am already mounted (by going through the game's menu options) pressing " - " WILL dismount, so I know that it's not a keyboard issue (I can easily type a bunch of --------- in chat).

this just started all of a sudden while I was questing in Pandaria. I am only 86 on that toon, still doing Jade Forest.
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 10:14 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
Re: Re: Re: SetWidth/GetWidth

Originally Posted by Emli
Originally Posted by Kharthus
Can you please try to figure out which variable is wrong and where it's getting off by one? I have another report on Curse, but I have never seen this problem so I have no way to troubleshoot what's causing it.
Yeah, I know I can avoid the issue, but I really want to know why the count is getting messed up. Especially since I don't see it on my machine.
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 09:51 PM  
Emli
A Murloc Raider

Forum posts: 5
File comments: 7
Uploads: 1
Re: Re: SetWidth/GetWidth

Originally Posted by Kharthus
Can you please try to figure out which variable is wrong and where it's getting off by one? I have another report on Curse, but I have never seen this problem so I have no way to troubleshoot what's causing it.
Basically, anywhere that you're using a constructed text string to reference a UI element, you should check to make sure it exists before you use it. Here is the code I changed in Livestock.lua:

Code:
(Line 418)	if (text) then
		text:SetText( name )
		tinsert(texttable, text) 
	end

(Line 467)	if button == endButton and token and currentMenu then 
		for i = 1, endButton do
			if (_G["Livestock"..token.."Menu"..currentMenu.."Button"..i.."Text"]) then
				local textwidth = _G["Livestock"..token.."Menu"..currentMenu.."Button"..i.."Text"]:GetWidth()
				if textwidth > maxWidth then
						maxWidth = textwidth + 20
				end
			end
		end

		for i = 1, endButton do				
			if (_G["Livestock"..token.."Menu"..currentMenu.."Button"..i]) then
				_G["Livestock"..token.."Menu"..currentMenu.."Button"..i]:SetWidth(maxWidth)
			end
		end
	end
It's not the best code, but it fixed the errors. I can send you my actual file if that would be easier.
Last edited by Emli : 10-23-12 at 09:54 PM.
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 07:21 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
Re: SetWidth/GetWidth

Originally Posted by Emli
I've been getting errors with SetWidth/GetWidth ever since the update that increased the menu size. I fixed it locally by checking to make sure the UI element referenced in the loops in BuildMenu (around line 474) was not null before trying to call those functions. I suspect there's some sort of off by one error happening in the loop, but since the null check fixed the problem for me, I didn't investigate further.

Let me know if you'd like more details.
Can you please try to figure out which variable is wrong and where it's getting off by one? I have another report on Curse, but I have never seen this problem so I have no way to troubleshoot what's causing it.
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 10:05 AM  
Emli
A Murloc Raider

Forum posts: 5
File comments: 7
Uploads: 1
SetWidth/GetWidth

I've been getting errors with SetWidth/GetWidth ever since the update that increased the menu size. I fixed it locally by checking to make sure the UI element referenced in the loops in BuildMenu (around line 474) was not null before trying to call those functions. I suspect there's some sort of off by one error happening in the loop, but since the null check fixed the problem for me, I didn't investigate further.

Let me know if you'd like more details.
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 09:50 AM  
bkerwin
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
Originally Posted by Kharthus
Originally Posted by Dridzt
Just to chip in here that I've also been having this issue.

I alleviated the problem by doing a /reload after re-selecting my pets/mounts before exiting the game.
That seemed to make it stick and since it's a minor inconvenience anyway I didn't bother to debug further.

Just adding this here to say that if it's fixed I'll probably be able to provide confirmation on my end as well since I'm one of the lucky minority where loading process events (as well as exit?) don't fire in the same order as for most.
I believe 1.7.4 fixes it for good. I reverted a few changes and it should work like 1.7.0 again (hopefully).
Seems to be working for me. Thanks!
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 07:19 AM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
Originally Posted by Dridzt
Just to chip in here that I've also been having this issue.

I alleviated the problem by doing a /reload after re-selecting my pets/mounts before exiting the game.
That seemed to make it stick and since it's a minor inconvenience anyway I didn't bother to debug further.

Just adding this here to say that if it's fixed I'll probably be able to provide confirmation on my end as well since I'm one of the lucky minority where loading process events (as well as exit?) don't fire in the same order as for most.
I believe 1.7.4 fixes it for good. I reverted a few changes and it should work like 1.7.0 again (hopefully).
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 12:31 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 829
Uploads: 55
Just to chip in here that I've also been having this issue.

I alleviated the problem by doing a /reload after re-selecting my pets/mounts before exiting the game.
That seemed to make it stick and since it's a minor inconvenience anyway I didn't bother to debug further.

Just adding this here to say that if it's fixed I'll probably be able to provide confirmation on my end as well since I'm one of the lucky minority where loading process events (as well as exit?) don't fire in the same order as for most.
Report comment to moderator  
Reply With Quote
Unread 10-22-12, 09:03 PM  
bkerwin
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
Originally Posted by Kharthus
Originally Posted by bkerwin
It's still happening with 1.7.3. If it helps at all, the mount/pet selections aren't reset if I reload the ui, only after completely exiting the game and starting it up again.
I'll put up another attempt tonight. There's some weird event timing thing that is different on different machines (I think). If the next version doesn't fix it, we can try a few things off-line so I don't have to spam everyone with releases.
Sounds good.. yeah my girlfriend isn't having the issue so it's not universal apparently. Just let me know.
Report comment to moderator  
Reply With Quote
Unread 10-22-12, 07:37 PM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
Originally Posted by bkerwin
It's still happening with 1.7.3. If it helps at all, the mount/pet selections aren't reset if I reload the ui, only after completely exiting the game and starting it up again.
I'll put up another attempt tonight. There's some weird event timing thing that is different on different machines (I think). If the next version doesn't fix it, we can try a few things off-line so I don't have to spam everyone with releases.
Report comment to moderator  
Reply With Quote
Unread 10-22-12, 08:50 AM  
bkerwin
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
Originally Posted by Kharthus
Originally Posted by bkerwin
Started having this issue with version 1.7.0 or maybe 1.7.1 - every time I log in all of my mount/pet selections are reset. So I have to go back and deselect the mounts/pets I don't want to use but the next time I log in they are all enabled again. I've tried deleting the Livestock.lus SavedVariables file and redoing it but it hasn't helped.
Try 1.7.3. I think I fixed it, but not entirely sure.

It's still happening with 1.7.3. If it helps at all, the mount/pet selections aren't reset if I reload the ui, only after completely exiting the game and starting it up again.
Last edited by bkerwin : 10-22-12 at 09:31 AM.
Report comment to moderator  
Reply With Quote
Unread 10-22-12, 12:08 AM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
Originally Posted by sindalee
would much rather fly from the surface, is easy enough to have a seperate kb for a water mount, or even click the darned thing for how little use they really get.
If you click off the buff, it will also work correctly.
Last edited by Kharthus : 10-22-12 at 12:08 AM.
Report comment to moderator  
Reply With Quote
Unread 10-22-12, 12:07 AM  
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 292
Uploads: 9
Originally Posted by bkerwin
Started having this issue with version 1.7.0 or maybe 1.7.1 - every time I log in all of my mount/pet selections are reset. So I have to go back and deselect the mounts/pets I don't want to use but the next time I log in they are all enabled again. I've tried deleting the Livestock.lus SavedVariables file and redoing it but it hasn't helped.
Try 1.7.3. I think I fixed it, but not entirely sure.
Report comment to moderator  
Reply With Quote
Unread 10-21-12, 11:08 PM  
bkerwin
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
Started having this issue with version 1.7.0 or maybe 1.7.1 - every time I log in all of my mount/pet selections are reset. So I have to go back and deselect the mounts/pets I don't want to use but the next time I log in they are all enabled again. I've tried deleting the Livestock.lus SavedVariables file and redoing it but it hasn't helped.
Report comment to moderator  
Reply With Quote
Unread 10-21-12, 10:40 PM  
sindalee
A Defias Bandit
 
sindalee's Avatar

Forum posts: 2
File comments: 136
Uploads: 0
Originally Posted by Kharthus

I can put in the change, but you won't be able to mount flying mounts from the water's surface. Let me know if that is worth it or not.
would much rather fly from the surface, is easy enough to have a seperate kb for a water mount, or even click the darned thing for how little use they really get.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: