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 03-15-13, 06:00 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

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

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...
Report comment to moderator  
Reply With Quote
Unread 03-08-13, 12:07 PM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Thank you!

for the update to 5.2 !!

Report comment to moderator  
Reply With Quote
Unread 02-16-13, 12:53 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 Khisanth
Hi,
I want to report you an error I have every time I opne the Interface panel in game :
Whoops, thought I had caught that one already.

Should be fixed in the version I just uploaded, thanks.
Report comment to moderator  
Reply With Quote
Unread 02-16-13, 04:53 AM  
Khisanth
A Deviate Faerie Dragon

Forum posts: 13
File comments: 35
Uploads: 0
Hi,
I want to report you an error I have every time I opne the Interface panel in game :

Date: 2013-02-16 11:50:50
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PetLeash\SpecialItems.lua line 300:
attempt to call method 'UpdateConfigTables' (a nil value)
Debug:
PetLeash\SpecialItems.lua:300: f()
PetLeash\PetLeash.lua:393: SetupOptions()
PetLeash\PetLeash.lua:375:
PetLeash\PetLeash.lua:375
[C]: ?
[C]: Show()
..\FrameXML\UIParent.lua:1750: SetUIPanel()
..\FrameXML\UIParent.lua:1555: ShowUIPanel()
..\FrameXML\UIParent.lua:1481:
..\FrameXML\UIParent.lua:1477
[C]: SetAttribute()
..\FrameXML\UIParent.lua:2193: ShowUIPanel()
[string "*:OnClick"]:2:
[string "*:OnClick"]:1
Locals:
self = <table> {
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:383
Enable = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:315
UnregisterAllEvents = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:202
AskClientForName = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:377
EnableModule = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:348
modules = <table> {
}
GetModule = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:231
IterateEmbeds = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:458
event_item_map = <table> {
}
defaultModuleLibraries = <table> {
}
ready = <table> {
}
currentQuests = <table> {
}
HandleEvent = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:339
SetDefaultModulePrototype = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:425
LocalizeString = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:362
items = <table> {
}
name = "PetLeash_SpecialItems"
IsEnabled = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:467
orderedModules = <table> {
}
DisableModule = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:366
RegisterMessage = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:118
UnregisterMessage = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:181
baseName = "PetLeash"
SI_RegisterEvent = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:330
SetupOptions = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:298
IsModule = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:238
db = <table> {
}
SetDefaultModuleState = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:403
InitItem = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:425
GetName = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:300
SetEnabledState = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:440
InitWatchers = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:314
enabledState = true
UpdateReadyEnabled = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:304
RegisterEvent = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:118
UnregisterAllMessages = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:202
event_handler = <unnamed> {
}
OnInitialize = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:278
NewModule = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:256
IterateModules = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:453
defaultModuleState = true
SendMessage = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:87
UpdateQuestList = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:347
moduleName = "SpecialItems"
UnregisterEvent = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:181
Disable = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:330
}
setup = <function> defined @Interface\AddOns\PetLeash\PetLeash.lua:393
(*temporary) = nil
(*temporary) = <table> {
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:383
Enable = <function> defined @Interface\AddOns\ArcHUD3\Libs\AceAddon-3.0\AceAddon-3.0.lua:315
UnregisterAllEvents = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:202
AskClientForName = <function> defined @Interface\AddOns\PetLeash\SpecialItems.lua:377
Enable


It occurs only the first time I open it with a toon during a game session.
Report comment to moderator  
Reply With Quote
Unread 01-29-13, 10:30 AM  
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 Barleduq
Originally Posted by endx7
... slidebar issue...
Does it make more sense for me to report it, or you, as developer/user? I've already got an account over on their forums as I was poking them about various things, and the slidebar is one of the thing I wanted to poke them about as the config screen stopped being functional, but it was low on the totem pole of 'things not working' so I hadn't yet.
You can report it if you want. I don't think I have any regular contact with the Auctioneer guys.

Unfortunately, I have a feeling any fix they do is going to have to be somewhat "magical" in detecting open dropdowns.
Last edited by endx7 : 01-29-13 at 10:31 AM.
Report comment to moderator  
Reply With Quote
Unread 01-29-13, 07:28 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Originally Posted by endx7
The library I am using has a hard time dealing with that many different controls. I improved that screen by changing the control type so that one control actually handles all the pet selection check boxes, but it still needs work. At this point, my current plan is to completely reimplement the pet selection process, but that'll take more time.
I figured that the sheer quantity may be part of the problem. But I also know of people who have even more pets, and any collector who was getting things on multiple toons before the account-wide stuff went into affect is going to have the same problems. If it was *just* me I'd grin and bear it, but i figure that I'm helping, somehow, here....

Originally Posted by endx7
... slidebar issue...
Does it make more sense for me to report it, or you, as developer/user? I've already got an account over on their forums as I was poking them about various things, and the slidebar is one of the thing I wanted to poke them about as the config screen stopped being functional, but it was low on the totem pole of 'things not working' so I hadn't yet.

Thank you, very much, for your quick feedback and resolution! I *really* like this addon - among other things, it made another one (Critter Emote, unfortunately only on Curse, makes the deployed pet emote things) functional again! Before I was getting errors that it couldn't find the pet, and now it can.

Report comment to moderator  
Reply With Quote
Unread 01-27-13, 11:41 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

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

Now that I've checked the Slidebar issue and have seen it for myself, I can say it looks like it is a Slidebar issue. It looks like Slidebar doesn't really know how to deal with an LDB launcher that opens a user interactive menu.
Report comment to moderator  
Reply With Quote
Unread 01-26-13, 10:43 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
The library I am using has a hard time dealing with that many different controls. I improved that screen by changing the control type so that one control actually handles all the pet selection check boxes, but it still needs work. At this point, my current plan is to completely reimplement the pet selection process, but that'll take more time.

I'll check the the slidebar issue out when I get a chance.
Report comment to moderator  
Reply With Quote
Unread 01-26-13, 05:50 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
Thank you!

tl;dr - I have 530+ pets, and one of each type has been renamed. To what extent are the lag problems I'm seeing due to either/both of these factors?

Verbose version:

This update made it possible to use the addon again! I'm not sure if it was that I'd gone over some magic amount of pets, but where before it would freeze wow for a while but come back, it had gotten to the point where if I tried to even access the Enable Pets screen of the config, I would get completely logged out of WoW, down to the splash 'input your password here' screen.

I downloaded the addon and pulled up the button on the Norganna Slidebar. That had an indexed list of my pets, and again, when I moved the mouse down into that list window, the slidebar went back into the side of my window and moved the list with it, making it impossible to use. That hasn't changed, and I'm not sure who to comment to about that, you or the Norganna folks.

I went into the Game Menu / Interface / Addons config window, and clicked open Pet Leash, and then Enable Pets and.... waited. But it did come up without logging me out (tho I got disconnected and reconnected messages in chat). I'm glad to see that everything that I hadn't touched before was now set to Never! Both that it was set to never, and that the ones I *had* changed were not changed from my settings.

Clicking on the down-arrow to access the settings came up right away, but changing the setting took 5-6 seconds of freeze (as detected by motion visible in the translucent screen and music suddenly going silent). Again, it didn't disconnect me in any way, so this *is* an improvement.

Due to having 10 toons before (and making an 11th when MoP came out), I have up to 10 duplicates of the easily available pets (not to mention the unusable horde versions of e.g. the balloon and the moonkin hatchling). ! started MoP with 490+ and am now up to 532 (having removed one last night to put on the AH). Is 532/533 somehow some magic timing/breakpoint, where last night (before the update) I was getting logged out completely when I tried to access, whereas today (at 532) I'm not? It's something to think about - I know enough about coding and compsci theory to know it can make a difference, and not enough to figure it out. Also, I have one (and sometimes two) of each pet renamed so I can distinguish the ones I am using in a team, and also to have an easy way to choose which to have petleash use for deployment. Could having so many renamed be causing any issues for your code?

Thank you for the update!
Report comment to moderator  
Reply With Quote
Unread 01-05-13, 07:01 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
I definitely need to redesign the weighted config, and I suppose even the normal config is a bit slow too.

I'll do something about it.
Last edited by endx7 : 01-05-13 at 07:01 PM.
Report comment to moderator  
Reply With Quote
Unread 01-05-13, 08:11 AM  
Barleduq
Premium Member
 
Barleduq's Avatar
Premium Member

Forum posts: 135
File comments: 742
Uploads: 0
PetLeash froze WoW. o.O

I was flying from Dalaran to Fizzcrank Airstrip in Borean Tundra. I was looking around at things to do in that three minutes, and saw that I hadn't done anything with setting up prefs for PetLeash. First, I noticed it in the slidebar, and tried to poke it there - but when the mouse came off the slidebar to choose something in the list, the slidebar went back and the panes with the choices went with it, effectively making it impossible to do anything there. (Not sure if that should be a complaint against teh slidebar or what...)

So then I opened the config by clicking on the icon in slidebar, and opened up the pane (I can't remember the name?) that includes the checkbox for 'Weighted Pets'. I clicked that checkbox, and WoW froze. After a minute or two, I came here and started typing. It has since unfrozen, reloaded the ui twice, and logged me out to the initial game launch screen, all without my touching it.

Yay, computers are fun! :/

ETA: I logged back in, and tried again, disabling one addon I had that I thought had been lagging me before. I used control-click on the slidebar icon, hit the + next to the PetLeash name, clicked on "Enabled Pets" and it froze again, right there. It did finally wake up again, and showed me the pane to weight the pets with. Not sure what's happening here, but if it does this persistently it's not a good thing.

Son of ETA: Clicking on the arrow of any of the dropdown boxes causes 1-2 seconds of freeze. Clicking on any of the choices causes 5-10 seconds of freeze. Note: I have over 500 pets, due to having 10 toons on the server and having gotten pets for all to have the same one, so I have LOTS of duplicates. I'm ONLY clicking on one of each. Also, clicking on either of the scrollbar arrows causes more than 1 page of scroll.
Last edited by Barleduq : 01-05-13 at 08:50 AM.
Report comment to moderator  
Reply With Quote
Unread 12-11-12, 01:52 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
Sure, I'll see what I can do.
Report comment to moderator  
Reply With Quote
Unread 12-11-12, 12:54 PM  
Karzanus
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
A suggestion for future releases: now that lots of people (read: me) have lots of pets and are catching new pets at a faster rate than before, would it be possible to alter the weighted scale so that the user can dictate what the default weight is? Currently you can only toggle it to "often" or "never" and even if you toggle it to "never," new pets still enter the petleash weighted scale as "often".

Personally, for example, i would prefer to be able to make most of my pets "hardly ever" on the weighted scale so that they all still come out, but the few that i choose come out most often. It would be optimal if i could change my default to "hardly ever" so that, A.) they would all change to that setting without me having to change all two hundred of them individually, manually by hand, and 2.) i don't have to fish through my huge list of pets to change it to that every time i catch a new one.

Anyways, just a thought.
Report comment to moderator  
Reply With Quote
Unread 08-17-12, 10:55 AM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 58
Uploads: 7
There is already an option for disabling while in battlegrounds and arenas.

I will look into adding an option that will also cause it to desummon your minipet when you enter one.
Report comment to moderator  
Reply With Quote
Unread 08-17-12, 02:10 AM  
Devius
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
Is it possible to make an option for the addon to dismiss any pet and disable it's self while in a bg, rbg or arena and reenable when outside of them ?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: