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 tried using the Keybindings option that's in the default UI but that just kept dropping random pets (eating a GCD). Is there a command I can use to click the button through the command line?
[2008/12/09 20:19:02-141-x1]: LibBabble-3.0-2:51: LibBabble-Zone-3.0: Translation "Ring of Valor" not found.
LibLordFarlander-2.0-90112:310: in function `GetMapZonesWithExtra'
MiniPet-4.5.141\MiniPet.lua:955: in function <Interface\AddOns\MiniPet\MiniPet.lua:137>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0-5 (Accomplishment):340: in function `InitializeAddon'
AceAddon-3.0-5 (Accomplishment):428: in function <...Ons\Accomplishment\Lib\AceAddon-3.0\AceAddon-3.0.lua:421>
---
Thans, Blixa
One request: I'm a druid and lose my pet when in flight form. Would love to have a reminder to re-summon when I land.
Just one tiny little optional suggestion...could you make a command line to actually summon a random pet (something like /mp summon).
This would be for the sole purpose of putting it in a macro. I'd like to use MiniPet in my fishing macro instead of /userandom...the macro just calls out a random pet every time I cast my line. Thanks!
[2008/11/06 13:50:19-1936-x1]: MiniPet-4.5.130\MiniPet.lua:1612: attempt to index local 'self' (a nil value)
MiniPet-4.5.130\MiniPet.lua:1219: in function <Interface\AddOns\MiniPet\MiniPet.lua:1217>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3 (Ace3):91: in function `Fire'
AceEvent-3.0-3 (Ace3):70: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:69>
---
It does that everytime I log or fly over Arathi Highlands with any toons..
Last version didn't not change anything
Message: ..\AddOns\MiniPet\MiniPet.lua line 1611:
attempt to index local 'self' (a nil value)
Debug:
(tail call): ?
(tail call): ?
MiniPet\MiniPet.lua:1611: HasCompanionListChanged()
MiniPet\MiniPet.lua:1218:
MiniPet\MiniPet.lua:1216
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
...ce\AddOns\MiniPet\Libs\AceEvent-3.0\AceEvent-3.0.lua:70:
...ce\AddOns\MiniPet\Libs\AceEvent-3.0\AceEvent-3.0.lua:69
(like entering SM building)
I don't have the Lua error to post since servers are currently down.. :-(
[2008/10/28 06:30:10-1585-x1]: MiniPet-4.5.128\MiniPet.lua:1611: attempt to index local 'self' (a nil value)
MiniPet-4.5.128\MiniPet.lua:1218: in function <Interface\AddOns\MiniPet\MiniPet.lua:1216>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
AceEvent-3.0\AceEvent-3.0.lua:70: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:69>
---
I always use just one pet, Mr. Wiggles (he's the only one that helps hold aggro really well while I'm tanking), so I've had to stop using this addon to summon him and just "/cast Mr. Wiggles". I still like that the addon reminds me when to do that, though.
Date: 2008-10-17 10:42:22
ID: 55
Error occured in: Global
Count: 1
Message: ..\AddOns\MiniPet\MiniPet.lua line 1608:
attempt to index local 'self' (a nil value)
Debug:
(tail call): ?
(tail call): ?
MiniPet\MiniPet.lua:1608: HasCompanionListChanged()
MiniPet\MiniPet.lua:1215:
MiniPet\MiniPet.lua:1213
[string "safecall Dispatcher[1]"]:4:
[string "safecall Dispatcher[1]"]:4
[C]: ?
[string "safecall Dispatcher[1]"]:13: ?()
...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
...ce\AddOns\Dominos\libs\AceEvent-3.0\AceEvent-3.0.lua:70:
...ce\AddOns\Dominos\libs\AceEvent-3.0\AceEvent-3.0.lua:69
[2008/10/24 15:21:17-1414-x1]: MiniPet-4.5.126\MiniPet.lua:1608: attempt to index local 'self' (a nil value)
MiniPet-4.5.126\MiniPet.lua:1215: in function <Interface\AddOns\MiniPet\MiniPet.lua:1213>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
AceEvent-3.0\AceEvent-3.0.lua:70: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:69>
---
all my addons are off but minipet and I get:
/lib-babble-zone3.0.lua:65 Lib-babble-Zone 3.0 translation "chamber of aspects" not found
sorry, i don't know how to get a longer dump of the error or to copy-paste so i had to type from memory. ;)
Date: 2008-10-15 03:39:43
ID: 12
Error occured in: Global
Count: 1
Message: AceLocale-3.0: MiniPet: Missing entry for 'Show minipet alerts while in a battleground.'
Debug:
(tail call): ?
...ddOns\AtlasLoot\Libs\AceLocale-3.0\AceLocale-3.0.lua:19:
...ddOns\AtlasLoot\Libs\AceLocale-3.0\AceLocale-3.0.lua:18
MiniPet\MiniPet.lua:769: member()
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:245:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:193
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:530:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:520
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...ace\AddOns\Bartender4\libs\AceGUI-3.0\AceGUI-3.0.lua:264: Fire()
...r4\libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:36:
...r4\libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:31
AddOns:
Swatter, v5.1.3604 (SnaggleTooth)
Atlas, v1.12.2
AtlasBattlegrounds, v1.12.2
AtlasDungeonLocs, v1.12.2
AtlasFlightPaths, v1.12.2
AtlasOutdoorRaids, v1.12.2
AtlasLoot, v5.00.00
AtlasLootOriginalWoW, v5.00.00
AucAdvanced, v5.1.3604 (SnaggleTooth)
AucFilterBasic, v5.1.3604 (SnaggleTooth)
AucFilterOutlier, v5.1.3604.2531
AucMatchUndercut, v5.1.3604.2531
AucScanData, v5.1.3604 (SnaggleTooth)
AucStatClassic, v5.1.3604 (SnaggleTooth)
AucStatHistogram, v5.1.3604 (SnaggleTooth)
AucStatPurchased, v5.1.3604 (SnaggleTooth)
AucStatSales, v5.1.3604.2842
AucStatSimple, v5.1.3604 (SnaggleTooth)
AucStatStdDev, v5.1.3604 (SnaggleTooth)
AucStatWOWEcon, v5.1.3604.2530
AucUtilAHWindowControl, v5.1.3604.3311
AucUtilAppraiser, v5.1.3604.2530
AucUtilAskPrice, v5.1.3604.3175
AucUtilAutoMagic, v5.1.3604.3142
AucUtilCompactUI, v5.1.3604.2530
AucUtilEasyBuyout, v5.1.3604.3583
AucUtilItemSuggest, v5.1.3604.3108
AucUtilPriceLevel, v5.1.3604.2545
AucUtilScanButton, v5.1.3604.2530
AucUtilScanFinish, v5.1.3604.2530
AucUtilScanProgress, v5.1.3604.2530
AucUtilSearchUI, v5.1.3604.3483
AucUtilVendMarkup, v5.1.3604.2530
Babylonian, v5.1.DEV.130
Bartender4, v4.1.0
BeanCounter, v5.1.3604 (SnaggleTooth)
Configator, v5.1.DEV.130
DebugLib, v5.1.DEV.130
DoubleWide, v
EnhTooltip, v5.1.3604 (SnaggleTooth)
Gatherer, v3.1.4
MiniPet, v4.5.120
Omen, v3.0
Outfitter, v4.2.6
PetEmote, v1.5.3
Postal, v3.0.1
QuestHelper, v0.60
RatingBuster, v
Stubby, v5.1.3604 (SnaggleTooth)
(ck=607)
Sorry I didn't open a ticket, couldn't figure it out.