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,434
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 08-15-09, 05:55 PM  
elvisdumbledore
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
problem with weigthing

There seem so to be no effect of applying weights to the pets. I made a quick test setting three pets to Often and another three to Hardly Ever. In 60 auto summons 32 came from the Often pool and 28 from the Hardly Ever pool. I'm not complaining just logging the noticed lack of effect. If I'm reading the code right it looks like the Often group should be something like 5 times more likely to be selected. Maybe it's calling pick_flat more often than it should be when weighting is in effect?

This is my favorite of the pet addons. The stealth/combat feature is terriffic and I like that it summons without having to move forward. Thanks for the addon!
Last edited by elvisdumbledore : 08-15-09 at 06:42 PM.
Report comment to moderator  
Reply With Quote
Unread 09-04-09, 03:47 PM  
essmene
A Murloc Raider

Forum posts: 5
File comments: 30
Uploads: 0
From the name i had deducted that it would also cast a leash on (from the dalaran vendor) on the pets. Would that be possible ?

Or washing / feeding them ?
Report comment to moderator  
Reply With Quote
Unread 09-13-09, 10:36 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
Re: problem with weigthing

Originally posted by elvisdumbledore
There seem so to be no effect of applying weights to the pets. I made a quick test setting three pets to Often and another three to Hardly Ever. In 60 auto summons 32 came from the Often pool and 28 from the Hardly Ever pool. I'm not complaining just logging the noticed lack of effect. If I'm reading the code right it looks like the Often group should be something like 5 times more likely to be selected. Maybe it's calling pick_flat more often than it should be when weighting is in effect?
It shouldn't call pick_flat at all if pet weighting is being used.

I'll take a look though.
Report comment to moderator  
Reply With Quote
Unread 09-13-09, 10:37 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
Originally posted by essmene
From the name i had deducted that it would also cast a leash on (from the dalaran vendor) on the pets. Would that be possible ?

Or washing / feeding them ?
That's not what this AddOn does at all, sorry.
Report comment to moderator  
Reply With Quote
Unread 09-25-09, 03:48 AM  
PingHansen
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Question Match pet to hunter pet?

I'm a hunter, which means that I have hunter pets. What I'd like to have, is the ability to specify a vanity pet that matches my hunter pet, e.g. Worg Pup when I have my Wolf out, Bombay cat when I have my cat out and, Hawk Owl when I have my Screecher out.

Would that be possible?
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 12-20-09, 08:31 PM  
twistdshade
A Fallenroot Satyr
 
twistdshade's Avatar

Forum posts: 21
File comments: 124
Uploads: 0
Any way you can make it so it doesn't summon a pet if your target is hostile?
__________________
Report comment to moderator  
Reply With Quote
Unread 02-11-10, 04:42 AM  
Corax
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
As ElvisDumbledore discovered, pet weighting doesn't work at all. After some digging around in the source code, I found the problem: the PickPet() function is testing self.db.weightedPets when it should be self.db.profile.weightedPets.

Even without weighting, this is a great addon. I almost never used to see my small pets because I didn't think to take them out -- now I get to see all my favorites regularly.
Report comment to moderator  
Reply With Quote
Unread 03-26-10, 12:11 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Specific pets when in Druid shapeshifted forms?

Would it be possible to have something that brings up a pet from a list when a druid is in a specific animal form? i.e. I'd love to be able to bring up a bear pet when in bear form, a feline pet when in cat form, a flying pet when in bird form, etc. I know you can test for animal form in macros, so I'm assuming there's a way to do it in an add-on.

-A
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 06:03 PM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Update for 4.01?

Most of this addon (one of my favorites!) seems to work in 4.01, but I keep getting this error upon toon login:

It seems to be only affecting the LBD function, as I no longer get a Petleash button on TitanPanel.

Code:
Date: 2010-10-16 20:00:20
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PetLeash\PetLeash.lua line 423:
   attempt to index global 'CompanionSummonButton' (a nil value)
Debug:
   (tail call): ?
   PetLeash\PetLeash.lua:423:
      PetLeash\PetLeash.lua:384
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[1]"]:9:
      [string "safecall Dispatcher[1]"]:5
   (tail call): ?
   ...\AddOns\AtlasLoot\Libs\AceAddon-3.0\AceAddon-3.0.lua:510: InitializeAddon()
   ...\AddOns\AtlasLoot\Libs\AceAddon-3.0\AceAddon-3.0.lua:622:
      ...\AddOns\AtlasLoot\Libs\AceAddon-3.0\AceAddon-3.0.lua:615
Report comment to moderator  
Reply With Quote
Unread 11-11-10, 03:38 AM  
Nook77
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally posted by essmene
From the name i had deducted that it would also cast a leash on (from the dalaran vendor) on the pets. Would that be possible ?

Or washing / feeding them ?
yes that would be a great feature. espacialy as these items dont use up the internal cooldown.

something like this translated to lua (which i dont understand at all) would do the magic.

/target <petname>
/use Rope Pet Leash
/use washingitem
/use feedingitem
/targetlasttarget
Report comment to moderator  
Reply With Quote
Unread 01-27-11, 04:43 PM  
Corax
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
PetLeash Breaking Camouflage

I've been having problems with the new hunter ability Camouflage. Camo is only a true stealth when you stand still, so when you start moving around, petleash will summon a pet and break it.

For anyone else having the same issue, I found a temporary solution. Replace the Camouflage spell on your toolbar with this macro:

#showtooltip
/cast Camouflage
/petleash desummon

Then use another macro to do

/petleash enable

along with one of your combat spells, or something else that would break camo anyway. I simply added it to my existing "hunter's mark and send pet" macro. A vanity pet will be summoned the next time you're idle.

Anyway, I'm not sure if I've said this before, but thanks for this great addon. Before I installed it, I used to hardly ever see my vanity pets because I'd forget to summon one. Now I get to see all the ones I like regularly.
Report comment to moderator  
Reply With Quote
Unread 03-03-11, 04:26 PM  
Pennet
An Aku'mai Servant

Forum posts: 32
File comments: 31
Uploads: 0
Fix for PetLeash breaking Hunter Camouflage

This fix will unsummon upon casting Camouflage, and resummon upon leaving Camouflage.

Open PetLeash.lua

Find line:
local INVIS_SPELLS = {66, 11392, 3680}

Change to:
local INVIS_SPELLS = {66, 11392, 3680, 80326}

Save and restart WoW.

Cheers!
Last edited by Pennet : 03-03-11 at 04:27 PM.
Report comment to moderator  
Reply With Quote
Unread 07-14-11, 12:26 AM  
Blackthorn0069
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Bug?

So how do u make the "Auto Switch when changing maps" not occur when ur mounted, 100m in the air?
Report comment to moderator  
Reply With Quote
Unread 09-26-11, 03:08 PM  
loop not defined
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Brewfest Keg Pony

Hello,

Just wanted to let you know that the new Brewfest item, Keg Pony (different from the Pony Keg) gets despawned by PetLeash.

The Keg Pony is and isn't a companion. It isn't learned in the Combanion Spellbook, but does replace any existing companions when summoned. Because of this, PetLeash detects no companions and immediately summons an actual companion - despawning the Keg Pony which is on a 30 minute cooldown.

Is it possible to add this to the list of Special Item exceptions?
Report comment to moderator  
Reply With Quote
Unread 07-03-12, 09:16 AM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
If you're looking for the version to run on the MoP beta client, look here.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: