Download
(87 Kb)
Download
Updated: 12-12-13 08:30 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Updated:12-12-13 08:30 PM
Created:unknown
Downloads:28,931
Favorites:318
MD5:
5.4
Livestock  Popular! (More than 5000 hits)
Version: 1.9.8
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.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 (46)
File Name
Version
Size
Author
Date
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 07:09 PM
1.9.1
86kB
Kharthus
03-04-13 10:51 PM
1.9.0
86kB
Kharthus
03-03-13 05:46 PM
1.8.0
89kB
Kharthus
11-28-12 09:16 PM
1.7.12
89kB
Kharthus
11-12-12 06:35 PM
1.7.11
89kB
Kharthus
11-10-12 12:24 PM
1.7.10
89kB
Kharthus
11-05-12 09:11 PM
1.7.9
89kB
Kharthus
11-05-12 07: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 08:19 PM
1.5.3
84kB
Kharthus
12-16-11 01:31 PM
1.2.2
81kB
Kharthus
01-05-10 10:59 PM
1.2.1
80kB
Recompense
11-11-09 05: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 01:59 PM
1.1.5
80kB
Recompense
01-08-09 02:13 AM
1.1.4
76kB
Recompense
12-16-08 03:24 PM
1.1.3
76kB
Recompense
12-07-08 03:33 PM
1.1.2
76kB
Recompense
11-30-08 10:49 PM
1.1.1
76kB
Recompense
11-23-08 04:19 PM
1.1
75kB
Recompense
11-15-08 05:37 AM


Post A Reply Comment Options
Old 10-17-10, 07:02 AM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Originally posted by Nathanyel
Is that a bug of WoW or Livestock? I noticed this while taking my hunter (not using Livestock for mounting) from 74 to 75 for Echo Isles and later to 78 for Coren Direbrew, but I never really thought about it. Thanks though, will try your version.
Well your pet can keep you in combat, but this was a bug in Livestock. WoW would let you mount, but the SmartMount function still thought you were in combat. My fix is more of a hack at this point, but at least you don't sit there spamming the button wondering why you can't mount.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 10-17-10, 02:00 AM  
Nathanyel
Premium Member
 
Nathanyel's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 152
Uploads: 10
Originally posted by Kharthus
[...] hunters not able to mount right after combat.
Is that a bug of WoW or Livestock? I noticed this while taking my hunter (not using Livestock for mounting) from 74 to 75 for Echo Isles and later to 78 for Coren Direbrew, but I never really thought about it. Thanks though, will try your version.
Nathanyel is offline Report comment to moderator  
Reply With Quote
Old 10-16-10, 09:29 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
I put up version 1.2.3, combined aberant's changes with a bunch of stuff that had been posted here to fix issues with vehicle UI taint and hunters not able to mount right after combat.

http://www.wowinterface.com/download....0.1patch.html
Last edited by Kharthus : 10-17-10 at 10:49 AM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 10-15-10, 05:06 PM  
Goatbert
A Defias Bandit

Forum posts: 2
File comments: 9
Uploads: 0
Originally posted by abearant
Here you go: Livestock (Cataclysm Patch)
Thanks!
Goatbert is offline Report comment to moderator  
Reply With Quote
Old 10-14-10, 06:57 PM  
abearant
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
abearant is offline Report comment to moderator  
Reply With Quote
Old 10-14-10, 06:32 PM  
Goatbert
A Defias Bandit

Forum posts: 2
File comments: 9
Uploads: 0
abearant, could you post your files as an optional patch or something? Or put more detailed changes (maybe a diff or something?)

Thanks!
Goatbert is offline Report comment to moderator  
Reply With Quote
Old 10-14-10, 05:22 PM  
abearant
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Hello! I spent some time digging around your code for livestock over the last day or so, and I was able to hack in some fixes. Please excuse how dirty these are:

1st issue was dismounting. The land and flying mount functions were all calling
Dismount() directly, but the SmartPreClick() and SmartPostClick() both claimed that dismounting was handled elsewhere. I fixed this by copying the dismount commands with conditionals from the NoSmartPreClick() function into the appropriate state=2 elseif.

2nd issue was much more difficult. Basically after fixing dismounting, wintergrasp was always mounting a normal mount, even when there was no event going on. As far as I can figure it, Blizzard somehow messed with the
[flyable] tag for the zone, so it was evaluating to state=5 no matter what in wintergrasp. To fix this, I had to do several modifications. I went into state=5 and placed a conditional to set self.mounttype = "FLYING" if in wintergrasp and it's between battles. However, after doing that, it was erroring because the comparison code that I copied from elsewhere in Livestock to determine the time left until Wintergrasp would compare to 'nil' while a battle was in progress. So I had to change that conditional in my modification and in the other location under LandOrFlying() to be GetWintergraspWaitTime() ~= nil.
Last edited by abearant : 10-14-10 at 05:24 PM.
abearant is offline Report comment to moderator  
Reply With Quote
Old 10-13-10, 06:37 PM  
Mnejing
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Not entirely sure whats going on exactly with it, but I decided to mess with this because not being able to dismount without click the buff was driving me nuts.

Something is wrong in the post click handler. I could never get it to do what I wanted to do while I was messing with it. Mounting is fine, but nothing else. Best fix for anyone having troubles with this is to do the following:
Open the lua file, find the following line: function Livestock.SmartPreClick(self)
This is the function we need to change a bit.
Find the line that starts with "state == 2" (state 2 is the mounted state). Add the following somewhere before the if-statement that checks for the druid class:
Livestock.Dismount()

This should work until a more permanent fix is found. Should also save safe mounting stuff for you if yo use it.
Last edited by Mnejing : 10-13-10 at 06:37 PM.
Mnejing is offline Report comment to moderator  
Reply With Quote
Old 10-13-10, 04:17 PM  
Woetoo
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Update

Using :
/run Livestock.Dismount()

when mounted correctly dismounts using Dismount() or VehicleExit()

So whatever is causing it, seems to be about not calling the Livestock.Dismount() function for some reason.
Woetoo is offline Report comment to moderator  
Reply With Quote
Old 10-13-10, 02:19 PM  
Recompense
A Murloc Raider
 
Recompense's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 157
Uploads: 17
Update

Thanks for the suggestions over the past weeks, and the reports. While I haven't really been active on WoW recently, I'm back again with 4.0.1 and am working on resolving unresolved issues. Top on the list is seeing how to get around restrictions on dismounts.
Recompense is offline Report comment to moderator  
Reply With Quote
Old 10-13-10, 09:39 AM  
Nathanyel
Premium Member
 
Nathanyel's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 152
Uploads: 10
Originally posted by AnrDaemon
Dismissing buffs from code is no longer possible with 4.x.
Instead "cast" the mount again?
Nathanyel is offline Report comment to moderator  
Reply With Quote
Old 10-13-10, 08:28 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2359
Uploads: 6
Originally posted by Codex
needs an update for 4.0, it seems clicking mount a second time will not dismount you
Dismissing buffs from code is no longer possible with 4.x.
AnrDaemon is offline Report comment to moderator  
Reply With Quote
Old 10-13-10, 06:07 AM  
Codex
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 281
Uploads: 21
needs an update for 4.0, it seems clicking mount a second time will not dismount you
Codex is offline Report comment to moderator  
Reply With Quote
Old 09-26-10, 03:10 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Another possible fix for an issue I keep having:

The mount table doesn't seem to always update correctly when changing toons. It's like it has the indexes of the last toon instead of the current one. I think it might be a timing issue of when the table is updated.

I changed the event from PLAYER_LOGIN to PLAYER_ENTERING_WORLD. No problems so far, but I'll keep watching to see if the problem is finally fixed.

UPDATE: Damn, still didn't work.
Last edited by Kharthus : 09-26-10 at 04:10 PM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Old 07-30-10, 10:02 PM  
Kharthus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 227
Uploads: 6
Re: 10 Second delay after leaving combat

Originally posted by ultra23
There's a 10 second delay between summoning a mount after leaving combat. This can be very dangerous on a pvp server!!!!!
There is something weird going on here. Sometimes it locks me out even though I'm out of combat and a regular mount button works fine. It's always right after I leave combat, but it doesn't happen every time.

UPDATE: I found the issue, but I'm not sure how to fix the code. The addon still thinks you're in combat, but the game doesn't. 'state-smartmap' is still set to 3 when you try to mount even though InCombatLockdown() returns false. Seems to be a timing issue in the code with clearing 'state-smartmap'. The non-smart click functions don't use this same code and don't have the issue.
Last edited by Kharthus : 07-31-10 at 12:56 PM.
Kharthus is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: