Pets and Mounts
Auto and random summon for your pets and mounts, highly customizable. With Data Broker support.
Features
General
- Minimap icon
- Data Broker
- Menu for quick access to mounts and companions
- Bindings support
- Clickable buttons
- Ability to create sets of companions/mounts
- Ability to use multiple sets at a time
- And link sets to an/some area(s)
- Model frame in menu and config
- A load of options for a full configuration (100+)
- Ace3 clean config panel
- Ace3 profiles
- Load on demand configuration panel
- Ability to edit the mount button macro (Macro syntax or LUA)
- A developer open to suggestions
Companions
- Auto summon random companions
- Add companions to favorites
- Search feature
- Summon a specific companion in a specific area
- Force one companion to summon
- Timed re-summon
Mounts
- Mounts are separated in categories Ground Fly Hybrid Aquatic Passenger Surface Repair
- Hybrid is a forced one, you have to select the mounts manually
- Summon random mounts according to location
- Add mounts to favorites
- Search feature
- Summon a specific mount in a specific area
- Force one mount to summon
Classes
There is too much spells handled by the add-on to list them here, see in game. But for a quick summary, it handles every speed increase spells.
Sets
In the Set Options category you will find several tabs.
- Companions and Mounts tabs: Here you can create sets and select which one is active for edition (If it is not the Default set you have to activate it before the add-on will use it, see bellow), when selecting companions or mounts in the Mounts List or the Companions List categories it will edit their respective active set.
- Default Sets category within Companions and Mounts tabs: Here you can create the default set of sets. This is useful if you want to create several sets and just use some of them as the default one. It is not mandatory and the add-on will search for a set named Default if nothing is set here. But if you have created a set and want to use it, it have to be selected here. Remember that the add-on will not use a custom set until asked for.
- Area Companions and Area Mounts tabs: Here you can define a set of sets for a given area, the add-on will use those sets if you are in that area.
Sets are saved on a global scope, they are not tied to the current profile, editing a set on a character will modify it for all your toons using that set. This is unique and all the other options are tied to the character profile (default set of sets, area set of sets, etc).
A set will not be considered active until it have at least one favorite selected.
Custom macros
You can edit the mount button macro, using classic macro syntax or LUA. As this feature is for advanced users I will not make a full documentation on it. Read the summary in game.
And if you import someone else code be sure to completely trust him/her. This code will be executed when clicking the button, and even if there is not threat for your account, you can still get griefed/scammed.
Other informations
Configuration panel
There is a lot of options, and I think more will come. But every option got a description in game, you are not alone. I will add here more information if something is reported unclear.
Commands
/petsandmounts (/pam is an alias)
/pam - Display the configuration panel /pam refresh - Force a pets and mounts databases refresh /pam show - Show the minimap button /pam resetzones - Reset the current zones database
/pampet - Random companion /pammount - Random mount (smart) /pamground - Random ground mount (forced) /pamfly - Random flying mount (forced) /pamaquatic - Random aquatic mount (forced) /pampassengers - Random passengers mount (forced) /pamsurface - Random surface mount (forced) /pamrepair - Random repair mount (forced)
Random summon
Here is the priority used by the add-on.
- Force one.
- Area override.
- Area (add-on forced, ex: vashj'ir, aq40). Can be disabled.
- Favorites and Area sets.
- All.
This can be altered by some items, the Magic Broom or the Haunted Memento for example. Those specifics instances can be disabled in the options panel.
Impact on the system
As every add-on relying on databases, it is using a lot of memory. Although it will not harass your CPU, especially in combat.
Support
If you find an error or have a suggestion, please use the tickets system. This is better as I instantly receive an E-mail. You can also help with the add-on localization.
Some features could not be available with the release version, as I edit the description when uploading new alpha. You can find all the add-on versions here.
I will always try to not alter config databases, do not reset everything. If it happens I will announce it with a message in game. And with 1.8.1 there is no modification to the databases.
But I miss uploaded a wrong version (1.8.0), which was the unmodified 1.7, this could be where the problem come from.
Class macros works just fine, but I could have miss some spells modification, there is a lot of changes since the last time I played.
And thank you for reporting errors, I found some with sets options and they are now fixed in the latest alpha.
Error when using the copy mouseover setting and the target is unmounted or on a mount I haven't learnt using v1.8.1
*bug report is in the spoiler*
1x PetsAndMounts\Core.lua:327: table index is nil
PetsAndMounts\Core.lua:327: in function `GetMountMountIDFromSpellID'
PetsAndMounts\Summon-Summon.lua:504: in function `SummonMountBySpellId'
PetsAndMounts\Summon-Summon.lua:673: in function `RandomMount'
PetsAndMounts\Core.lua:3261: in function `?'
FrameXML\ChatFrame.lua:4332: in function <FrameXML\ChatFrame.lua:4279>
[C]: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4000: in function <FrameXML\ChatFrame.lua:3999>
[C]: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:2631: in function <FrameXML\ChatFrame.lua:2624>
[C]: in function `RunMacroText'
FrameXML\SecureTemplates.lua:435: in function `handler'
FrameXML\SecureTemplates.lua:621: in function <FrameXML\SecureTemplates.lua:569>
Locals:
self = <table> {
AutoPetDelay = <function> defined @PetsAndMounts\Core.lua:2173
SummonPetByGUID = <function> defined @PetsAndMounts\Core.lua:2341
SetMountCat = <function> defined @PetsAndMounts\Summon.lua:478
SlashCommand = <function> defined @PetsAndMounts\Core.lua:64
modules = <table> {
}
CancelTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:145
RestorePetsFilters = <function> defined @PetsAndMounts\Core.lua:588
CheckHauntedMemento = <function> defined @PetsAndMounts\Summon.lua:76
SetMonkPreClickMacro = <function> defined @PetsAndMounts\Buttons.lua:403
CopyTable = <function> defined @PetsAndMounts\Core.lua:158
PopMessageFrame = <function> defined @PetsAndMounts\Messages.lua:65
ApplyCurrentPetInfos = <function> defined @PetsAndMounts\Core.lua:1606
BasicProtectionMacro = <function> defined @PetsAndMounts\Buttons.lua:530
ScheduleTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:92
GotMountAllTable = <function> defined @PetsAndMounts\Buttons.lua:111
GetOtherPlayerMount = <function> defined @PetsAndMounts\Summon.lua:615
SetZoneMountsSets = <function> defined @PetsAndMounts\Core.lua:1152
loginMessagesListForced = <table> {
}
GetSetsInUse = <function> defined @PetsAndMounts\Core.lua:1212
PET_JOURNAL_LIST_UPDATE = <function> defined @PetsAndMounts\Core.lua:2323
UnregisterAllComm = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
SetEnabledState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:455
Hook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:274
PLAYER_LOSES_VEHICLE_DATA = <function> defined @PetsAndMounts\Core.lua:2379
LoginModificationsFixes = <function> defined @PetsAndMounts\Core.lua:3008
GetMountIDFromSpellID = <function> defined @PetsAndMounts\Core.lua:286
DebugMessage = <function> defined @PetsAndMounts\Messages.lua:54
UnlockButton = <function> defined @PetsAndMounts\Buttons.lua:1170
color = <table> {
}
UnregisterAllEvents = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
areaTypesLocales = <table> {
}
SendAddonVersion = <function> defined @PetsAndMounts\Core.lua:2484
IsNotWhenStealthedEnabled = <function> defined @PetsAndMounts\Core.lua:1439
BasicProtectionLUA = <function> defined @PetsAndMounts\Buttons.lua:553
NameExists = <function> defined @PetsAndMounts\Core.lua:125
SetButtons = <function> defined @PetsAndMounts\Buttons.lua:1323
PopMessageFrameOnHide = <function> defined @PetsAndMounts\Messages.lua:111
RemoveUnforcedHybrids = <function> defined @PetsAndMounts\Core.lua:2861
GetName = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:310
foodBuffLocalized = "Food"
currentMountsSet = <table> {
}
stealthSpellsIDs = <table> {
}
InitHasRegenBuff = <function> defined @PetsAndMounts\Summon.lua:57
aquaticMounts = <table> {
}
ApplyCurrentMountInfos = <function> defined @PetsAndMounts\Core.lua:1618
PET_JOURNAL_PET_DELETED = <function> defined @PetsAndMounts\Core.lua:2314
mountTypeToCategory = <table> {
}
GotRandomMount = <function> defined @PetsAndMounts\Summon.lua:586
Unhook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:418
Print = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:54
L = <table> {
}
GetUsablePetsTable = <function> defined @PetsAndMounts\Summon.lua:137
SetCurrentPetInfos = <function> defined @PetsAndMounts\Core
Thank you for the report, this should be fixed and uploaded as alpha.
I've got the fan updates installed and have noticed an issue with warlocks. They only list a timber wolf in the mount list and the addon won't even mount it. The error reference's line 731 in core.lua which checks for the warlock glyph of nightmares. I tried fixing it myself but, no matter what changes I made it broke all function of the addon. Any help on what edits to make?
I think this should work for you. I don't play a warlock so let me know if it's still broken. Thanks!
Pets and Mounts - Fan Update for Legion 1.1
Yes that works. Thank you.
I love the addon. I've installed the "Fan" updated ones and found one error that's enough to be of some nuisance. Before I go on, I want to say a big, big thanks to the people who are moving forward with updating and releasing their versions to us players who want to use t. Major thanks and appreciation to you.
So, on to the actual bug.
Whenever the UI is loaded fresh, ie: from getting into WoW with any char or reloaded, the Pet Journal is empty, within the filter, it somehow unchecks (uncheck all) the pet type and sources and you have to go in the journal every time to re-check them. If you go ahead and take a look at what this looks like, it basically empties your pet journal.
In general, it isn't usually a big deal, but I have another addon that tracks pets I haven't caught in the zone and it fills the zones with icons because it thinks I don't have the pets.
I'd rather keep this addon running as it's more useful at the moment, but come Legion, I'll definitely want my zone pet tracking to work again.
I did some work in narrowing it down to this addon.
1. Unloaded any pet related addon
2. Unloaded all addons (When I did this, it worked, which let me know it was an addon)
3. Unloaded any pet and/or mount related addon (this is when I caught that it only happened with this addon)
Any fix would be greatly appreciated. Thanks.
Thanks! I believe I have fixed it.
Pets and Mounts - Fan Update for Legion 1.1
I made some changes to the Core.lua and Summon.lua, and it's working for me now. Haven't tested thoroughly though.Pets and Mounts - Fan Update for Legion 1.1
Pets and Mounts Config - Fan Update for Legion
Edit: Updated GetMountInfo() & a few other misc methods to match Legion API changes.
Edit 2: Removed glyph check for warlocks & corrected pet filter restore.
Better (it loads now, at least) but I can't make changes to the base configuration. That is, when I load the settings, there's nothing there. At least I can push the buttons now, so thanks.
Unfortunately I'm not seeing the same error, so I'm not sure how to fix that part. If you can send me the error message I will try to take a look.
There's no error message, unfortunately. But when I go to Interface, click the addons tab, click on pets and mounts, and then click 'load configuration,' nothing appears. It's just blank. There should be options on the right side of my attached image, but they aren't loading.
My suggestion is that you make sure that it isn't another addon interfering or bad cache data. I had the same problem with this and several other programs. Fixed it with a combination of disabling addons and resetting the cache, not sure which worked, I'd start be disabling other out of date addons.
Then deleted cache and tried again, still no luck.
Is there an edited pets and mounts config core .lua that exists? Maybe I'm missing something. Sorry for all the trouble, and thanks for your help.
Hmm, this is puzzling... If you install Swatter, then you should be able to share the error message. Normally, it gets installed with Auctioneer, Gatherer, or Enchantrix, but I separated it out for you below.
Norganna's Addons: Swatter
Once you load PAM and Swatter, try to open the config again, and you should see the error window pop up. If not, try the command /swatter show. Make sure the error message you copy says PetsAndMounts or PetsAndMountsConfig in it, and send it on over.
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\PetsAndMountsConfig\Core.lua line 3078:
attempt to call field '?' (a nil value)
Debug:
PetsAndMountsConfig\Core.lua:3078:
PetsAndMountsConfig\Core.lua:435
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:311: app()
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1803: Open()
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1896:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1894
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...face\AddOns\ClassMods\libs\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:20:
...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:19
[C]: ?
[C]: Show()
..\FrameXML\InterfaceOptionsFrame.lua:28: InterfaceOptionsList_DisplayPanel()
..\FrameXML\InterfaceOptionsFrame.lua:46: InterfaceOptionsListButton_OnClick()
..\FrameXML\InterfaceOptionsFrame.lua:479: InterfaceOptionsFrame_OpenToCategory()
PetsAndMounts\Core.lua:2890:
PetsAndMounts\Core.lua:2885
Locals:
None
AddOns:
Swatter, v5.0.0 (<%codename%>)
NPCScan, v7.0.3.5
NPCScanOverlay, v7.0.3.4
Auctionator, v4.0.4
BattlePetBreedID, vv1.6.0
ClassMods, vv1.23
DBMCore, v
DBMDefaultSkin, v
DBMStatusBarTimers, v
GatherMate2, v1.36.1
HandyNotes, vv1.4.7
HandyNotesDraenorTreasures, v1.19a
Livestock, v2.5.1
PetsAndMounts, v1.7.9
PetsAndMountsConfig, v
PetTracker, v7.0.0
PetTrackerBreeds, v
PetTrackerConfig, v
PetTrackerJournal, v
PetTrackerSwitcher, v
PetTrackerUpgrades, v
Recount, vv7.0.3b release
BlizRuntimeLib_enUS v7.0.3.70000 <none>
(ck=234)
Thanks! I fixed something to do with the hybrids tab. Let me know how this works for you, or share the next error message if you need to. lol
Pets and Mounts Config Fan Update for Legion
YES! That worked Thank you!
Definitely broken in Legion. I hope you can update this addon. I don't know what I'd do without it.