Download
(181Kb)
Download
Updated: 07-18-18 05:16 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:07-18-18 05:16 PM
Created:01-28-09 12:18 AM
Downloads:35,433
Favorites:123
MD5:

PetLeash  Popular! (More than 5000 hits)

Version: 3.1.5
by: endx7 [More]

PetLeash makes sure that you always have a non-combat pet summoned. It tries to only summon a pet when you are not busy, and can dismiss them when you go into stealth, camouflage or invisibility.

Features:

  • Automatically summon a pet when you are not busy.
  • Optionally summon a pet only under certain predefined conditions, or dismiss a pet under certain predefined conditions.
  • Allows you to configure which pets to use, including by location or with different weighting.
  • LibDataBroker launcher to quickly summon pets.
  • Randomly summon a different pet on a timer. (Note: This feature can potentially interfere with non-combat pets summoned via other means, such as using the Bloodsail Admiral's Hat)

Commands:
/petleash enable : enable/disable auto-summoning
/petleash togglePet : summon or desummon pet (and switch auto-summoning)
/petleash resummon : summon a new pet
/petleash desummon : desummon pet
/petleash config : show configuration

PetLeash has several key bindings that can be set via the Blizzard Key Binding interface.

Changelog
=========

3.1.5 (2018-07-18)
------------------

- Fix readiness checks to work with 8.0 client patch.
- Fix food triggered sitting readiness check.

3.1.4 (2017-09-05)
------------------

- Fix pet selection to work with 7.3 client patch.

3.1.3 (2017-03-29)
------------------

- Fix options screen creation to not break with 7.2 client patch.

3.1.2 (2016-11-26)
------------------

- Allow setting of class in the Class Specialization trigger. Only
checking specialization and not class was confusing when the profile
was not set to be specific to class.

3.1.1
-----

- Don't overflow scroll frame for pet triggers.
- Don't disable ready for haunted momento.
- Update localizations (deDE)

3.1
---

- Provide the DataBroker plugin as a minimap button, which is disabled
by default.
- DataBroker plugin display tweaks.
- Add currently disabled/enabled search filter for pet selection
- Add class specialization trigger.
- Detect going afk or eating food as the sitting state, which lasts
until the player moves.

3.0.17
------

- Update localizations (deDE)

3.0.16
------

- Add support for 7.0 client:
- Update summonable pets to check for "needs fanfare", which seems
to be a pet unwrapping animation.
- Update readiness checks for changed spell ids.

3.0.15
------

- Fix luacode example trigger.
- Fix luacode trigger handling.
- Don't dismiss pets when going into stealth. Pets now stealth with
the player.
- Add another Nagrand quest for checking readiness.

3.0.14
------

- Update localizations (ruRU)

3.0.13
------

- Update localizations

3.0.12
------

- Default to enabled in PVE instances.

3.0.11
------

- Add enabled/dismiss option for PVE instances.

3.0.10
------

- Add tooltip to pet selection, to help distinguish between different
pets with the same species.
- Make pet selection sorting consistent.

3.0.9
-----

- Update spell ids for eating readiness check.
- Don't try to dismiss a pet while flying.
- Allow summoning pets while mounted.

3.0.8
-----

- Be more chatty when summoning a pet, to help users detect problems
with readiness checks.
- Update spell ids for eating readiness check.


3.0.7
-----

- Minor bugfixes.

3.0.6
-----

- Dismiss pets when in Camouflage and Feign Death, as they no longer
break when a pet is dismissed.

3.0.5
-----

- Disable readiness when the Oshu'gun quest is active. It is doing
something weird with pets.

3.0.4
-----

- When in autoswitch mode, don't try to summon a pet if we get extra
zoning events.

3.0.3
-----

- Minor option bugfixes.

3.0.2
-----

- Fix search box "Search" string handling.

3.0.1
-----

- Update spell ids for camouflage readiness check.

3.0
---

- Add new triggers and filters functionality to dynamically select
pets or conditions to summon pets on.
- The pet selection screen has been rewritten to more easily search
for pets and for improved performance.
- Update spell ids for camouflage readiness check.
Post A Reply Comment Options
Unread 10-01-15, 04:41 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Suggestion - mounts?

There's an addon - Livestock - that gives me the ability to specify which mounts to pull out randomly on a per character basis. I would really like the ability to be able to 'weight' those choices similarly to the way Petleash does for which pets to put out. Do you have a similar mount addon? And/or would you be willing to write one for mounts? I've suggested this to the Livestock author, but I've gotten no response, so I don't know what they think of it.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 08-25-15, 10:25 PM  
0gamercore
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Hey Enjoying this addon

Using this addon as a hunter, Spell camouflage - gives minor invisibility when not moving, or with a glyph full invisibility for 2 mins.

I noticed when using this spell with the dismiss pet when stealth box checked , it doesn't dismiss. something to look into?
Last edited by 0gamercore : 08-25-15 at 10:26 PM.
Report comment to moderator  
Reply With Quote
Unread 07-12-15, 02:45 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Problem ever since 6.2

It's not uncommon that I end up idling (while reading WoWInterface or WoWhead for example). I've noticed that, since 6.2, I'm getting a red-text-in-the-middle-of-my-screen error if I'm idled - which almost always means I'm sitting down - and petleash wants to summon a pet. It says "You must be standing to do that." or something like that. The summon will fail, and moments later another summon will happen, the error flashes and floats up again, until I eventually stand up. (or get logged out.)
Report comment to moderator  
Reply With Quote
Unread 11-03-14, 05:46 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Not at all a complaint! Petleash settings vanished

I'm not sure if it was something in the patch, or in the update here for the patch; I finally noticed that I hadn't seen *any* pets out, and went to look, and all my weightings had been lost. They were all set to 'never'. Now, that's the *correct* default - I'm not complaining! I just wanted to post something in case other people had the same thing happen and were wondering if it was just them.

Thank you!
-Barleduq
Report comment to moderator  
Reply With Quote
Unread 12-14-13, 01:38 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Rogue spell 'Vanish', pet still out.

I don't play a rogue out in the wild much, they are usually my bank alts. Trying to get one up to 90, so playing where I have sudden need to use Vanish - it makes you invisible, exits combat, and goes into stealth after a few seconds. I realized as I was running from the mob I'd vanished on, that my pet (the Pandaren Monk, which is particularly attention getting... ) was still out, doing a kata as I was trying to swim....

I love the way your addon makes the pets fade on initiating Stealth. Please have it do so on Vanish also?

Thanks!
-Barleduq
Report comment to moderator  
Reply With Quote
Unread 09-25-13, 07:32 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
thanks

should be fixed in 3.0-beta2
Last edited by endx7 : 09-25-13 at 07:32 PM.
Report comment to moderator  
Reply With Quote
Unread 09-25-13, 05:49 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Bugs Bugs STOMP'EM FLAT!!!

Sorry, I'm a little giddy.

I DL'ed the new version up, and yes I know it says beta. Here's the report, as per swatter:

Code:
Date: 2013-09-25 20:14:49
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PetLeash\PetLeash.lua line 210:
   bad argument #1 to 'ipairs' (table expected, got nil)
Debug:
   [C]: ?
   PetLeash\PetLeash.lua:210:
      PetLeash\PetLeash.lua:190
   PetLeash\PetLeash.lua:313: UpgradeSettings2()
   PetLeash\PetLeash.lua:94:
      PetLeash\PetLeash.lua:85
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[1]"]:9:
      [string "safecall Dispatcher[1]"]:5
   (tail call): ?
   ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:529: InitializeAddon()
   ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:644:
      ...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:636
Locals:
None
AddOns:
  Swatter, v5.18.5433 (PassionatePhascogale)
  AucAdvanced, v5.18.5433 (PassionatePhascogale)
  AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
  AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
  AucStatiLevel, v5.18.5433 (PassionatePhascogale)
  AucStatSales, v5.18.5433.5376(5.18/embedded)
  AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
  AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
  AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
  AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
  AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
  AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
  AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
  AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
  AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
  AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
  AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
  AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
  AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
  AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
  AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
  AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
  Babylonian, v5.1.DEV.332(/embedded)
  BadBoy, v12.042
  BadBoyCCleaner, v3.66
  BadBoyHistory, v1.31
  Configator, v5.1.DEV.344(/embedded)
  DarkmoonFaireQuestStatus, v1.1.2
  DataStore, v5.4.001
  DataStoreAuctions, v5.4.001
  DataStoreSpells, v5.4.001
  DataStoreStats, v5.4.001
  DebugLib, v5.1.DEV.337(/embedded)
  FBMergeDatabase, v1.2p
  FishingBuddy, v1.2p
  GoblinVendorFilter, vv1.0.9
  IgnoreMore, v1.1.1-40300
  KeepingTabs, v1.4.2
  LibExtraTip, v5.12.DEV.355(/embedded)
  PetLeash, v3.0-beta1
  Postal, v3.5.1
  SlideBar, v5.18.5433 (PassionatePhascogale)
  SpeedyGonzales, v1.7.1
  Stubby, v5.18.5433 (PassionatePhascogale)
  SwindlerPreventer, v5.0.1 (15799) BETA
  TabardAddict, v2.21
  TipHelper, v5.12.DEV.351(/embedded)
  TrackOMatic, v1.6.1
  BlizRuntimeLib_enUS v5.4.0.50400 <us>
  (ck=789)
Hope this helps.
Report comment to moderator  
Reply With Quote
Unread 09-22-13, 01:39 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
Re: Kicking Hunter out of Camouflage

Originally Posted by help137
I've got an odd issue since 5.4 came out. If I have Petleash running and I have the "Dismiss when Stealthed" option selected, Petleash is canceling my Hunter's Camouflage after 2 seconds. It's not doing this to my Rouge's stealth or my Mage's invisibility. I don't know if Bliz changed something that's causing it or what, but I spent several hours tracking the issue down and it's definitely PetLeash dismissing the pet that is kicking the hunter out of camo.

-A
I think they changed the spell id that the buff has. I've uploaded 3.0-beta1 which might have the appropriate spell ids, or it might not. I'll take a closer look when I have some time.
Last edited by endx7 : 09-22-13 at 01:39 PM.
Report comment to moderator  
Reply With Quote
Unread 09-22-13, 11:05 AM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Kicking Hunter out of Camouflage

I've got an odd issue since 5.4 came out. If I have Petleash running and I have the "Dismiss when Stealthed" option selected, Petleash is canceling my Hunter's Camouflage after 2 seconds. It's not doing this to my Rouge's stealth or my Mage's invisibility. I don't know if Bliz changed something that's causing it or what, but I spent several hours tracking the issue down and it's definitely PetLeash dismissing the pet that is kicking the hunter out of camo.

-A
Report comment to moderator  
Reply With Quote
Unread 03-19-13, 01:09 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Originally Posted by endx7
You'd only lose the assigned weight values, and only until you reenabled the weight setting (which would probably cause your WoW to hang again).

Unfortunately, until I get the new version out (which is weeks at best), there probably won't be a good way to deal with this.
Ok. If it gets irritating I will disable it. Since things only hang when I try to go in to modify these settings, it's not an overal/global problem. Good luck and happy coding!

-Bar
Report comment to moderator  
Reply With Quote
Unread 03-17-13, 12:50 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
You'd only lose the assigned weight values, and only until you reenabled the weight setting (which would probably cause your WoW to hang again).

Unfortunately, until I get the new version out (which is weeks at best), there probably won't be a good way to deal with this.
Report comment to moderator  
Reply With Quote
Unread 03-17-13, 11:55 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Re: Re: Re: Re: Still having hanging problems.

Originally Posted by endx7
Weighted mode's configuration is pretty slow, unfortunately.

You could try turning it off like this:
/run PetLeash.db.profile.weightedPets = false

and then seeing if you can get in the options.

I am working a completely overhaul of the configuration system that greatly improves this, but it's not yet complete.
The only option I can't get into is the screen called "Enabled Pets" in the Game Menu > Interface > Addons > Petleash section. I'd rather not lose what I did configure; at least one toon is working properly. What does confuse me is that that toon's configuration should be part of the 'default' profile, but other toons set to the default profile aren't seeing the same behavior. I don't know if this is reasonable - if I have to go in and set each toon to 'default' specifically before it works - or if I've done something else wrong.
Report comment to moderator  
Reply With Quote
Unread 03-16-13, 01:40 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
Re: Re: Re: Still having hanging problems.

Originally Posted by Barleduq
Originally Posted by endx7
Originally Posted by Barleduq
Just a note that I am still having the problem where, when I try to go to the 'enable pets' interface, my wow hangs and eventually disconnects from the server.
Odd. Do you know if you might be using the weighted option?
if you mean, where I went in and marked each pet to be used sometimes/always/never (it was more choices, but that's the basic concept) - yes, I did that. IIRC I had about 2 weeks where it was laggy, but I *could* go in and adjust things, and then it started lagging out again. I had set it so that the pets I'd named - one of each one i had - were set to come out mostly sometimes, but some more often, and the ones I hadn't named were set to never.

Since 5.2, the toon I was logged in to when I made those settings still has the named ones coming out. Other toons, however, have un-named ones. I went in to check the profiles, and all the ones I checked were set to 'default', including the one that's working fine. Unfortunately, I can't go check the settings on the pets themselves - that's what lags me out.

Thank you for looking into things. I've been considering looking at the code files to see if I could figure out how to edit the files to force what I want to happen, but I'm hesitant to do so, if only due to generic fumble-fingeredness.
Weighted mode's configuration is pretty slow, unfortunately.

You could try turning it off like this:
/run PetLeash.db.profile.weightedPets = false

and then seeing if you can get in the options.


I am working a completely overhaul of the configuration system that greatly improves this, but it's not yet complete.
Report comment to moderator  
Reply With Quote
Unread 03-15-13, 07:37 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Re: Re: Still having hanging problems.

Originally Posted by endx7
Originally Posted by Barleduq
Just a note that I am still having the problem where, when I try to go to the 'enable pets' interface, my wow hangs and eventually disconnects from the server.
Odd. Do you know if you might be using the weighted option?
if you mean, where I went in and marked each pet to be used sometimes/always/never (it was more choices, but that's the basic concept) - yes, I did that. IIRC I had about 2 weeks where it was laggy, but I *could* go in and adjust things, and then it started lagging out again. I had set it so that the pets I'd named - one of each one i had - were set to come out mostly sometimes, but some more often, and the ones I hadn't named were set to never.

Since 5.2, the toon I was logged in to when I made those settings still has the named ones coming out. Other toons, however, have un-named ones. I went in to check the profiles, and all the ones I checked were set to 'default', including the one that's working fine. Unfortunately, I can't go check the settings on the pets themselves - that's what lags me out.

Thank you for looking into things. I've been considering looking at the code files to see if I could figure out how to edit the files to force what I want to happen, but I'm hesitant to do so, if only due to generic fumble-fingeredness.
Report comment to moderator  
Reply With Quote
Unread 03-15-13, 06:02 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
Re: Still having hanging problems.

Originally Posted by Barleduq
Just a note that I am still having the problem where, when I try to go to the 'enable pets' interface, my wow hangs and eventually disconnects from the server.

I really want to use this addon, as it does pretty much exactly what I want it to without being bundled with anything else. (like a few that are both pets and mounts, or pets mounts and titles, or pets and albatrosses I mean achievements, or ....)

I'd be happy to be selling off my excess pets, but I don't have storage room to do more than a few at a time, and I currently have a set of 5 going through the AH till they sell...
Odd. Do you know if you might be using the weighted option?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: