MiniPet
Update: A kind user named Rosdav fixed the "green button" bug for everyone and I've updated with it :)
Sorry all, MiniPet is currently dead. I've lost interest in WoW and related programming. I still hope to return soon to fix up the problems, but you're probably better off using one of the newer, shiner addons now :(
Currently being maintained by LordFarlander
WoW 5.x notes
Because of the change to battle pets, your favorites will likely be reset!
Beta notes
Sorry that the description is so out of date, I hope to have it updated soon.
The latest version adds support for uploading a single character's pet collection to WarcraftPets.com. To access it, go to the addon settings, select the Companions group and click the button "Get WarcraftPets.com code". The code you need to upload will be put into your chat edit box. You can also get to it from the chat command "/ccn options Companions wcpCode"
Synopsis
There are a number of events that trigger the loss of your companion. This addon reminds you to summon a new one, either by displaying a text warning and/or flashing the MiniPet button. You can drag and position the MiniPet button wherever it's most convenient for your UI.
Events That Trigger Alerts
- Entering the game
- Entering an instance
- Resurrecting (works most times, but not all)
- Using a Taxi Service
- Teleporting/Hearthing
Usage & Commands
- Click the MiniPet button to summon a random companion!
- Right-click the MiniPet button to hide it.
- Type /MiniPet options [command] or /mp options [command]
Options and Commands:
- gui
- Opens the graphical configuration.
- options
- list
- Shows a list of all the companions on your character.
- relist
- Forces a refresh of the list of companions on your character.
- toggleTextWarning
- Shows text alerts to warn you to summon a companion.
- Text alerts are ENABLED by default.
- toggleButtonWarning
- Flash or don't flash the button to warn you to summon a companion.
- Flashing is ENABLED by default.
- toggleAutoHideButton
- Hide or don't hide the button after it's clicked.
- Hide on-click is ENABLED by default.
- toggleBg
- Show MiniPet alerts while in a battleground.
- Text alerts in BGs are ENABLED by default.
- toggleMountWarning
- Shows alerts when dismounting a personal flying mount.
- Text alerts when dismounting are ENABLED by default.
- suggestOnlySoulbound
- Sets whether only soulbound companions will be suggested.
- Only soulbound companions are suggested by default.
- reagentCheck
- Sets whether companions that require a reagent to summon will be suggested ONLY if the reagent is currently in your inventory.
- Companions that require a reagent will only be suggested if you have the reagent by default.
- equipmentCheck
- Sets whether companions that are summoned from equipment will be suggested when the item is not equipped.
- MiniPets from equipment will only be suggested when the item is equipped by default.
- forceQuestPet
- Sets whether only companions that are part of a quest will be suggested if they are in your bags.
- Quest companions will be suggested by default.
- list
- button
- toggleButton
- Show or hide the MiniPet button.
- Button is ENABLED by default.
- lockButton
- Locks the position of the MiniPet button.
- The button is not locked by default.
- alpha
- The normal transparency of the button.
- The normal transparency is 100% (1.0) by default.
- fadeOut
- Fades the button out when it is not the cursor is not over it.
- Fading is off by default.
- fadeOutInsteadHide
- Fades the button out instead of hiding it.
- Fading instead instead of hiding is off by default.
- fadeOutCancelInCombat
- Don't fade the button if in combat.
- Fading is stopped if in combat by default.
- fadeOutCancelOnShift
- Don't fade the button if Shift is being held down.
- Fading is not stopped by holding down Shift by default.
- fadeOutCancelOnCtrl
- Don't fade the button if Control is being held down.
- Fading is not stopped by holding down Control by default.
- fadeOutCancelOnAlt
- Don't fade the button if Alt is being held down.
- Fading is not stopped by holding down Alt by default.
- fadeOutTime
- How long it should take to completely fade out the button.
- It will take 0.5 seconds by default.
- fadeOutDelay
- Amount of time to wait before fading out the button.
- It will wait 0.5 seconds by default.
- fadeOutAlpha
- Final transparancy of the button when faded out.
- The final transparancy is 20% (0.2) by default.
- toggleButton
- favorites
- list
- Show a list with all of your favorite companions.
- list
- zoneFavorites
- list
- Show a list with all of your zone favorite companions.
- list
Some options can only be set by using WoW's Interface->Addons dialog, which can also be brought up by entering /mp gui.
MiniPet supports [http://www.wowace.com/projects/buttonfacade/ ButtonFacade], use /bf to configure the skin and color settings for the button if you have it installed.
MiniPet supports [http://www.wowace.com/projects/libkeybound-1-0/ LibKeyBound], use /kb to enter key binding mode.
MiniPet's button will stick to other frames that support [http://www.wowace.com/projects/libstickyframes-2-0/ LibStickyFrames].
MiniPet outputs the current item it will use using LibDataBroker-1.1. Note that clicking on the item in a Broker addon will not activate the item. You must have MiniPet bound to a key to use it in a Broker addon and hide its own button.
Known Issues
- Alerts do not work when entering non-instanced portals, such as the portal in the Stormwind mage tower.
- Changes to the randomizer means that it will sometimes pick the same companion many times in a row. This is intentional.
Translations
Only the English translation is currently being maintained. While French and German translations exist, they are not being regularly updated.
German translation by Plinius; updated by CrispyRoll.
French translation by Faerian.
Future Plans
- None at the moment.
I'm using the data broker to summon pets.
Right clicking on the data broker for MiniPet does not dismiss the current pet.
Hey all, a kind user named Rosdav came up with the fix for the "green button" issue and I've updated with it.
That's sad... :(
I really loved your addon.
Any suggestions for the 'shiner' addons?
Hi, I installed the latest beta (5.1.262) of MiniPet. I can summon pets now but it only shows a green button and a hex-code which is also displayed in the text "Summoning 0x00000...".
Btw: Thanks for this nice addon :)
I have been unable to get MiniPet to work for about two weeks now. According to MiniPet, I have no pets. I have almost 310 unique pets. I've uninstalled it and reinstalled it twice. I've tried a few other companion add-ons and they can read my pets just fine, but I don't like them. I like your add-on. Can you give me any guidance as to how to figure out what is going wrong?
5.1.255: Call to UpgradeToMoP in Companions:OnUpgradeCheck needs a self: in front of it. I fixed that and now I get:
Message: ...ddOns\MiniPet\libs\LibTourist-3.0\LibTourist-3.0.lua:4636: attempt to index field '?' (a nil value)
Yeah LibTourist is broken, I install my libraries seperately and am getting this error as well (the beta didn't give the error). It isn't supposed to be in the package yet even, I forgot to remove it when I made my test copy. That's how that error got snuck in too :(
5.1.256 will fixes the OnUpgradeCheck, 5.1.257 will remove LibTourist
Camo issue again mate, broken in latest version. There's an error poping as well, will post later if needed.
Wow no idea on how I broke the stealth detection, it was such a stupid thing :( I would very much like the error message though.
there:
Date: 2012-02-16 18:48:34
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\MiniPet\AutoSummon.lua line 237:
attempt to call global 'isStealthed' (a nil value)
Debug:
(tail call): ?
MiniPet\AutoSummon.lua:237: ?()
...r-Randomizer-2.0\LibLordFarlander-Randomizer-2.0.lua:128: EventHandle()
...r-Randomizer-2.0\LibLordFarlander-Randomizer-2.0.lua:108: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[6]"]:4:
[string "safecall Dispatcher[6]"]:4
[C]: ?
[string "safecall Dispatcher[6]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
...Aura-4.0\LibLordFarlander-SpecialEvents-Aura-4.0.lua:432:
...Aura-4.0\LibLordFarlander-SpecialEvents-Aura-4.0.lua:209
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
Ace3\AceTimer-3.0\AceTimer-3.0.lua:164:
Ace3\AceTimer-3.0\AceTimer-3.0.lua:138
Took me a while to figure it out, wtf is breaking my hunters' camouflage... it's minipet addon :-/ auto summons pet when I go camo and start to move, causing wipes in raids...
Sorry for that :(
It looks like Camouflage and Invisibility are not covered by IsStealthed() and I will need to add a check for their buffs.
For the time being please turn off auto summon for your hunter. I will make sure my tester tests this before the next release instead of ignoring stuff like she appears to be doing :-p
oki :-)
Does the WarcraftPets.com code pull the pets for all accounts, or just the active account? (Warcraft Pets Express addon has checkboxes in it so you can pick any combination of your chars when you get the code)
Bug report: Autosummon works, but it does not hide the button automatically. I still have to click the button to make it disappear.
Minipet is my favorite addon - I recommend it to everyone! It is awesome!!