Pokedex
IMPORTANT UPDATE FOR 9.2
The "new hotness" feature for mounts has been completely rewritten to work better with how the game has operated the last several expansions. The problems were that 1) multiple new mounts are often acquired in a small window of time followed by periods of drought and 2) flying mounts are often acquired when the vast majority of time was being spent in ground mount only zones.
The result is that many new mounts never really get a chance to be highlighted by the system before getting bumped down into the full pool. The solution is to track multiple hot mounts. Now, when you acquire a new mount its given a heat value. When you summon a mount, we will first check that slider percentage to see if we should summon from the pool of hot mounts. If so, we'll select from amongst just those mounts with hotter mounts having a greater chance of being summoned. A mount summoned this way loses one from its heat value. When a mount hits zero its no longer hot and falls into the general pool of mounts.
This system should ensure that all new mounts you acquire will have their time in the sun with the most recently acquired mounts being summoned the most often.
USING POKEDEX - THE SHORT VERSION
The games Key Binding UI will contain a section for Pokedex. The only two commands you'll probably want or need to keybind are Toggle Mount and Summon Companion. SummonOtherMount is a useful bind for those times when you don't want the type of mount we selected (for example, we choose a swimming mount but you want a regular one). Pokedex configuration can be reached through the games addons menu or by typing /pd. The full list of commands can be found at http://www.wowace.com/addons/pokedex/pages/main/actions/.
ADDON DESCRIPTION
Pokedex allows random summoning of mounts and companions using preference values set by user to influence selection. Pokedex will summon the appropriate mount, or invoke a class specific movement ability like Ghost Wolf or Burning Rush, based on what the current location and conditions support. Pokedex can also randomly set character's title using the same basic ranking system.
The chance of a particular item (mount, companion or title) being selected is equal to the rank you have assigned to it divided by the total of the ranks for all other eligible items. Put another way, each point of ranking is one ticket to the raffle drawing to see which mount is selected. If all items are still set to the default value, then they all have an equal chance of being selected. An item which you have assigned a value of 0 will never be selected.
PROFILE SUPPORT
Pokedex has support for all the normal ace3 profile stuff (change current, copy, etc), with a couple of twists so that you can have the benefits of sharing a profile and still be able to make character specific tweaks by overriding the rank value on that character. See http:www.wowace.com/addons/pokedex/pages/profiles/ for more info.
ADDITIONAL FEATURES
The New Hotness - The idea behind this feature is that your most recently acquired pet/mount/title is something you're probably excited about and what to see more often than the rest of your collection. Or maybe you want to flaunt it in front of the all the people who are still trying to get, for example, their Sinister Squashling. When dealing with large numbers of pets or mounts, even setting it to the max rank will not cause it to show up very often. So rather than make you downrank every other item, the hotness feature acts as a way to get that one pet or mount out more often. If there is a hot pet, we'll first do a percentile roll against the heat of hot item. If the heat is set to 50, then 50 percent of the time we would summon that hot pet. The other 50 percent of the time, we'll do the usual random selection out of the weighted pet pool.
Safe Dismount - This feature is disabled by default but can be turned on in Pokedex's options ui. This feature allows you to keep as a default behavior that of having the Auto Dismount in Flight option turned off, so that accidently trying to cast a spell in flight won't send you plummeting to your death, but allows you to choose override scenarios where you do want actions to dismount you automatically so that they can be executed. The scenarios you can opt into are 1) when you are in combat, 2) targeting something attackable or 3) attempting to gather a resource via mining, herbalism or skinning.
Random Titles - You can also rank titles the way you do pets and mounts and have Pokedex periodically change your title.
Auto summon pet - You can have Pokedex summon a non-combat pet, if you don't already have one out, every time you dismount or change zone.
Druid forms, Ghost Wolf and Burning Rush support - Pokedex supports using Druid forms, Shaman Ghost Wolf and Warlock Burning Rush in the appropriate situations as part of the Toggle Mount command.
autocast Water Walking when mounting - An option exists (off by default) for Shamans to cast Water Walking and Affliction Warlocks to cast a Soulburned Unending Breath as they summon a mount with the Toggle Mount command. This way the buff is already in place when they encounter water so they don't have to dismount, buff and then remount (all while wondering why Death Knights get to cast Path of Frost while mounted).
autocast Horn of Winter when mounting - For Death Knights, Pokedex can cast Horn of Winter whenever you mount. This is useful for keeping the buff up while questing or resource gathering (e.g. mining).
Here is the results of the macro:
DryOrder 256
Stag Form none eligible
Ratstallion Harness none eligible
Frostwolf War Wolf none eligible
Runners Swift Breezestrider
Reliable Mounts Rusted Proto-Drake
Sidecars Chauffered Mechano-Hog
Travel Form Travel Form
Cat Form Cat Form
Walkers Sea Turtle
Anglers Fishing Raft Anglers Fishing Raft
I did try resetting the settings. That seems to have done the trick.
Thanks for looking into this. :)
If you ever need additional testing done, I'm willing.
Stencil, I can't seem to find the line where you can change the phrase "I choose you" anymore
Can you show me what it should look like in the text file?
file: Pokedex\locale\enUS.lua
line: L["%s, I choose you!"] = true
The pet name gets subbed in for the %s.
Is there a way to configure Pokedex and the "favor ground mounts" option to not ignore mounts with dual purpose, such as Hearthstead and the Headless Horseman's Mount?
This would definitely be an awesome feature. I feel silly riding around on a grounded dragon, but the special mounts that spring wings or just fly like my little pony don't look so ridiculous on the ground. Even just an option to "exclude" (as in a checkbox) specific mounts from being ignored when ground mount preferred is checked would be a viable solution imo. Can't wait until you can implement something of the sort.
I'm unable to access the pokedex options. Here's the error text that comes up:
5x ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-63.lua:1818: AceConfigRegistry-3.0-18:ValidateOptionsTable(): Pokedex.args.CtrlGroupMounts.args.CastWithMount.args.MageIceBarrier.image: expected a string or funcref, got '135988'
[C]: ?
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:50: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:45>
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:191: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:186>
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:228: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:200>
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:235: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:200>
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:235: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:200>
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:235: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:200>
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:263: in function `ValidateOptionsTable'
...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0-18.lua:313: in function `app'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-63.lua:1818: in function `Open'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-63.lua:1896: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1894>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?
...aceAddOnSkins\Libs\AceGUI-3.0\AceGUI-3.0-34.lua:314: in function `Fire'
...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:20: in function <...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:19>
[C]: in function `Show'
FrameXML\InterfaceOptionsFrame.lua:28: in function `InterfaceOptionsList_DisplayPanel'
FrameXML\InterfaceOptionsFrame.lua:46: in function `InterfaceOptionsListButton_OnClick'
[string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>
Locals:
nil
Huh ... if that's what I think it is, its an error in the Ace3 libs that I hit for a while in Beta until it got fixed in the ace libs. I don't know why you'd be seeing it now ...
If the only addon you have enabled is Pokedex (and you have the latest version), do you still see that error? Because the addon is working fine for me. I even moved my development version out to a different folder and downloaded the latest to make sure that what I was testing was the exact same bits that users would run.
One thing to check is if you are running Ace3 as a standalone addon, then make sure you have the current release version of that.
Hmmm, if you're not running ace3 as a standalone, running it might actually fix the problem. So, when you don't have it as a standalone, the libs will get loaded from an addon that uses them and has them in their package. I don't know for sure how things are managed when there are different versions there. Will the highest version one always get loaded?
So, here's a hypothesis: what may be happening is that one of the addons you're running hasn't been updated and repackaged with the latest version of the libs its using and, unfortunately, those are the versions of the ace libs that are getting loaded. As a result we're hitting this known error in Ace3 that they fixed. If you found and turned off the offending out of date addon then we'd work. Or, if you install ace3 as a standalone, then its version of the files will always get selected and loaded over versions packaged up with other addons. That way both the new and old out of date addons should both work.
So, first see if the problem still occurs when Pokedex is the only addon running. I expect it to run fine. Then try downloading the latest version of ace3 as an addon, turn the other addons you use back on and see if there's still a problem.
I literally just started having this error (was trying to figure out why glide wasn't triggering for me after nearly pancaking my DH jumping off the cliff at the DMF) after I updated a handful of mods including Pokedex. Had been using 7.0.04 before, but even gradually rolling back versions to the same didn't fix the problem nor did copying the add-on folder and saved variable file from a back-up I made of my entire UI just a day or two ago. Not using TSM as mentioned below, and have been running with Ace3 as a standalone for as long as I can remember. Rolled back my entire Addons/WTF folders off said backup and going to start updating other add-ons one-by-one... and now it's still not loading for me despite having rolled everything relevant back to when it *did* work. The heck...
Options menu for 7.0.04 loads with just Ace3 and Pokedex (and ACP because screw re-enabling everything individually). Playing Christmas lights with re-enabling next...
So culprit causing trouble in my case is Can I Mog It. Previously had 7.0.3.23-6 installed - roll back to to 7.0.3.23 and Pokedex's options show up again. Updating to 7.0.3.23-7 re-breaks, and version hopping backwards shows that all of the recent alphas break Pokedex. Running Can I Mog It 7.0.3.23 and Pokedex 7.0.08 works just fine.
That walled on me more than I expected, and I still have no clue why everything was working fine before I updated and wasn't even when I rolled back to a pre-update UI altogether. *scratches head* But I solved a thing and at least in the short term everything's behaving for me so yay or something. (My head hurts now... lol)
(Edit - Oh right. Glide still isn't triggering when I banzai off of things while mounted - I think it needs a LUA /dismount equivalent preceding it. That's what started this and I almost forgot with all the bug hunting. *cough*)
RE: Glide - OMG - if it just did dismount first (first button press) and then glide (second button press) that wouldn't have been too bad, but I just cratered trying it out (didn't quite jump far enough to land in the water I was aiming for lol). I definitely get this fixed ASAP.
Thanks for the hard work of tracking down and identifying the problem. I run CanIMogIt, but haven't run alphas. Logically, if 7.0.3.23 works and the subsequent builds break the same version of Pokedex then that means some change that they have made in that time is the culprit. You should probably notify them and open a bug there; I mean, even if I track down what they did the fix would likely have to be made on their end.
In the meantime, I'll try to find some time to install an alpha build and see if I can repro the problem and/or get ideas of why its happening.
Got a bit distracted, but https://wow.curseforge.com/addons/can-i-mog-it/tickets/97-conflict-with-pokedex-add-on/ .
Another user has opened a bug with the same stack trace as yours and the thing that's really weirding me out in both is the AceConfigDialog-3.0-63 in the path to the error. I think it should be 61; if I open up that file in the latest release of Ace3 the minor version number is 61 and if I put bad data in my options table to force an error, it says AceConfigDialog-3.0-61.
So, I feel like you may have a "newer" version of that lib as part of some addon (so it gets loaded instead of the current release version) which somehow doesn't have a bug fix they made for legion.
If there's an AceConfigDialog-3.0.lua installed as a lib with one your addons which contains near the top local MAJOR, MINOR = "AceConfigDialog-3.0", 63, then that would likely be the thing screwing everything up.
270wharveyII - do you by any chance have the addon ZygorGuides downloaded and in your addons folder?
The other user that was getting the same lua error you were found that ZygorGuides was the only addon he had that came with an AceConfigDialog-3.0.lua file with a minor version of 63.
If so, that's what breaking Pokedex. They are using a modified version of an Ace library. They've bumped up the version number to ensure that it is always the one that gets loaded so that their customizations will be there. But they have not incorporated one or more of the fixes the Ace devs made for Legion and as a result when Pokedex tries to use the library it throws an error.
I have alerted them to the problem, but they have to make the fix and push out a new version. Until then, to get Pokedex options to display you'll have to uninstall ZygorGuides; I don't believe disabling it is enough as I think the lib can still be loaded from there. So you could try just disabling ZygorGuides but if that doesn't fix it, then try uninstalling it (or just moving it somewhere else where it won't load like the part folder Interface) and see if that fixes the issue.
Oh wow! I'm so sorry for not responding. Yes, it seems like ZygorGuides is the culprit here! Thank you for taking all the time to figure this out. =) Hopefully Zygor will update things on their end soon.
By the way, I have enjoyed this little addon more than probably just about any other addon out there! Thanks for such great work!
I love this addon, but ever since the Demon Hunter patch, I can't access the options page. Pokedex shows up fine in my "interface - addons" menu, but once I press its name in the list, the config page itself is blank.
The addon is working - when I press my keybinding it still switches pets and mounts. I have nuked my savedvariables and re-installed, but no luck. :(
Edit: After enabling / disabling addons one by one, I found that it's https://mods.curse.com/addons/wow/tradeskill-master breaking it. Any idea on a possible fix?
I would think that if it was breaking my options UI it would break other addons as well ... particularly other addons that use that ace libs for options UI. Is that the case?
I've checked, all other addons - Ace or not - have their options UI intact.
Can confirm that TradeSkillMaster seems to be the cause. My wife and I both use the same addon sets and the Pokedex options don't exist as log as TradeSkillMaster is enabled on both of our systems.
If all addons are disabled and we turn TSM and Poke on, Poke options are gone. As soon as TSM is turned off they come back.
As a quick fix we just disable TSM when we want to make changes and then turn it back on.
Thank you for the report. However, I cannot reproduce the problem. I installed TSM and a bunch of its modules. Pokedex's options displayed just fine. Here's a screenshot of both addons options menus up at the same time.
http://i.imgur.com/ER6UNMm.png
I use ace libs for all the options UI stuff. One thing you might want to try, just because its fixed problems for people in the past, is to install Ace3 as a standalone addon. Other than that, all I can say is to try to make sure you have the latest versions of everything ...
Let me know if that helps any and if not we'll do more follow up with you.