Download
(155 Kb)
Download
Updated: 03-06-13 07:18 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Landfall (5.1)
Updated:03-06-13 07:18 PM
Created:01-27-09 11:18 PM
Downloads:11,112
Favorites:120
MD5:
PetLeash  Popular! (More than 5000 hits)
Version: 2.2.10
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.
Archived Files (51)
File Name
Version
Size
Author
Date
2.2.9
155kB
endx7
03-06-13 02:04 AM
2.2.8
155kB
endx7
02-22-13 12:10 PM
2.2.7
155kB
endx7
02-20-13 10:15 AM
2.2.6
155kB
endx7
02-16-13 11:52 AM
2.2.5
155kB
endx7
02-08-13 04:49 PM
2.2.4
162kB
endx7
01-27-13 10:27 PM
2.2.3
161kB
endx7
01-25-13 10:02 AM
2.2.2
161kB
endx7
12-31-12 12:46 PM
2.2.1
162kB
endx7
11-29-12 01:16 PM
2.2.0.1
161kB
endx7
11-27-12 01:19 PM
2.2
161kB
endx7
11-26-12 11:37 PM
2.1.8
163kB
endx7
11-15-12 06:20 AM
2.1.7
163kB
endx7
11-13-12 10:06 AM
2.1.6
163kB
endx7
10-07-12 04:41 PM
2.1.5
163kB
endx7
09-23-12 09:44 PM
2.1.4
162kB
endx7
09-23-12 07:15 PM
2.1.3
162kB
endx7
09-12-12 10:27 PM
2.1.2
162kB
endx7
09-11-12 01:28 AM
2.1.1
162kB
endx7
09-06-12 06:06 PM
2.1
161kB
endx7
09-02-12 01:43 PM
2.0.1.2
161kB
endx7
08-31-12 01:22 AM
2.0.0.4
161kB
endx7
08-28-12 11:06 PM
2.0.0.3
147kB
endx7
08-28-12 10:43 PM
2.0.0.2
160kB
endx7
08-28-12 02:41 PM
2.0.0.1
147kB
endx7
08-28-12 12:00 PM
1.6.6
148kB
endx7
08-17-12 12:06 AM
1.6.5
148kB
endx7
07-02-12 08:42 AM
1.6.2
147kB
endx7
03-26-12 09:21 PM
1.6.1
147kB
endx7
11-07-11 07:02 PM
1.6.0
147kB
endx7
06-28-11 10:00 PM
1.5.11
144kB
endx7
04-27-11 10:04 PM
1.5.9.1
140kB
endx7
10-25-10 05:45 PM
1.5.8
141kB
endx7
11-05-09 12:45 PM
1.5.6
131kB
endx7
08-05-09 11:55 PM
1.5.5
131kB
endx7
08-04-09 10:06 PM
1.5.4
131kB
endx7
08-02-09 03:39 PM
1.5.3
132kB
endx7
07-11-09 01:55 AM
1.5.2
131kB
endx7
07-05-09 02:19 PM
1.5.1
131kB
endx7
07-05-09 04:16 AM
1.5
131kB
endx7
06-29-09 04:12 PM
1.4.3
126kB
endx7
05-25-09 11:54 AM
1.4.2
125kB
endx7
05-20-09 10:37 AM
1.4.1
125kB
endx7
05-10-09 04:57 PM
1.4
125kB
endx7
05-08-09 11:17 AM
1.3.1
123kB
endx7
05-03-09 01:04 PM
1.3
125kB
endx7
04-21-09 10:32 AM
1.2
115kB
endx7
02-14-09 07:30 PM
1.1
114kB
endx7
02-06-09 04:36 PM
1.0.3
102kB
endx7
01-28-09 02:37 PM
1.0.2
45kB
endx7
01-28-09 11:09 AM
1.0.1
45kB
endx7
01-27-09 11:18 PM


Post A Reply Comment Options
Old 03-19-13, 01:09 PM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
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
Barleduq is offline Report comment to moderator  
Reply With Quote
Old 03-17-13, 12:50 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 53
Uploads: 9
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.
endx7 is offline Report comment to moderator  
Reply With Quote
Old 03-17-13, 11:55 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
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.
Barleduq is offline Report comment to moderator  
Reply With Quote
Old 03-16-13, 01:40 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 53
Uploads: 9
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.
endx7 is offline Report comment to moderator  
Reply With Quote
Old 03-15-13, 07:37 PM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
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.
Barleduq is offline Report comment to moderator  
Reply With Quote
Old 03-15-13, 06:02 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 53
Uploads: 9
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?
endx7 is offline Report comment to moderator  
Reply With Quote
Old 03-15-13, 06:00 PM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
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...
Barleduq is offline Report comment to moderator  
Reply With Quote
Old 03-08-13, 11:07 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
Uploads: 0
Thank you!

for the update to 5.2 !!

Barleduq is offline Report comment to moderator  
Reply With Quote
Old 02-16-13, 11:53 AM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 53
Uploads: 9
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.
endx7 is offline Report comment to moderator  
Reply With Quote
Old 02-16-13, 03:53 AM  
Khisanth
A Murloc Raider

Forum posts: 9
File comments: 28
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.
Khisanth is online now Report comment to moderator  
Reply With Quote
Old 01-29-13, 09:30 AM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 53
Uploads: 9
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 09:31 AM.
endx7 is offline Report comment to moderator  
Reply With Quote
Old 01-29-13, 06:28 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
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.

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

Forum posts: 35
File comments: 53
Uploads: 9
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.
endx7 is offline Report comment to moderator  
Reply With Quote
Old 01-26-13, 09:43 PM  
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 53
Uploads: 9
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.
endx7 is offline Report comment to moderator  
Reply With Quote
Old 01-26-13, 04:50 AM  
Barleduq
Ruler of All I Survey
 
Barleduq's Avatar
Premium Member

Forum posts: 58
File comments: 228
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!
Barleduq is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: