Mounted
Brand new complete rewrite of Mounted is available as alpha
- Complete redo of Mounted
- profile based priorities
- mounts can be grouped
- macros sytem has been simplified (only 2 tags <primary>, <secondary>)
- Fancy new interface which attaches itself to the Mount Journal page blizzard provides
Mounted is patched for 4.0
with the mount changes in 4.0 Mounted is due for another rewrite until then Mounted will work just like before (but since mount speeds now scale with skill they have all been set to max Mounted 3 will remove the speed selection options all together)
Please report any bugs to the ticket tracker here
Warning in order for Mounted to work properly in your local the following strings need to be translated at the very least.
- L["SpeedFast"] = "extremely%s+fast" -< unique phrase found only in extremely fast mounts (310% flying)
- L["SpeedMedium"] = "very%s+fast" -< unique phrase found only in fast mounts (100% ground or 280% flying)
- Translations may be submitted here.
With the coming of WoW 3.0 we may now have as many mounts as we want since we learn them and do not have to carry them in you bags.
Thus my dilemma which mount shall i use and how can i chose them easily out of the mess of mounts found in the mounts tab.
Out of this Mounted was born. Instead of mucking about with secure code and make buttons that have to be skinned and carefully placed in your UI i instead chose to utilize the macro functions. Thus enabling you to simply use any actionbar mod.
So what does mounted actually do for you?
- It will create a macro called Mounted in your global macro space this way you only use one slot and not one per character.
- It will scan through all your mounts and create a list and sort them by speed.
- It will then analyze your surroundings and edit the Mounted macro.
- If you can fly then it will chose a random flying mount from the fastest category it will also chose a random ground mount to be used when using a modifier with the macro.
- If you can not fly it will simply chose a random ground mount from the fastest category.
- If you enter combat it will change the macro to a combat macro which you can edit in the Blizzard Addon options.
- If you are indoors it will change to the indoor macro.
- If you are swimming it will change to the swimming macro.
- A new mount will be chosen for you every time you mount up.
- the macros are compleatly customizable (editing of the attack macro is highly recommended)
- macros can by customized with tags that get replaced when the macro is parsed (see below for list of available tags)
- custom macros are saved globally so you will have access to them from all your characters (per account)
- you can preview your macros before deciding on them
- you can set priorities for mounts from 0-10 (0 = will never be selected, 10 will most likely be selected)
- If you want to add a spell such as travel form you may do this from the options this will then be put into the mount linup (after you configured the spell)
Macro tags are:
Here are tags you may use to customize the above macros: <ff> == Random Flying Mount (fastest speed increase) <f310> == Random Flying Mount (310% speed increase) <f280> == Random Flying Mount (280% speed increase) <f60> == Random Flying Mount (60% speed increase) <gf> == Random Ground Mount (fastest speed increase) <g100> == Random Ground Mount (100% speed increase) <g60> == Random Ground Mount (60% speed increase) <g0> == Random Ground Mount (0% speed increase) <ww> == Random Water Mount (defaults to <gf> if no mount was found) <aq> == Random Ahn'Qiraj Mount <s#> == will be replaced with the spellname of spellid (will not insert rank so will scale)[/code]
If any mounts are missclassified please let me know so i can fix the scanner. You may fix this on your end by simply editing the mount in the Mount Options
Mounted also supports the various Druid forms and the Shaman Ghost Wolf form though there may be some bugs associated with them since i don't have either character to do extensive testing on all i get is premades on the PTR when they are available. Mounted will also present you with some druid /shaman macros as appropriate.
any suggestions or improvements are most welcome please open a ticket about them.
If you want a very similar addons for your other Critters look no further and go to here.
Message: Interface\AddOns\Mounted\MacroTextParser.lua:100: bad argument #1 to 'pairs' (table expected, got nil)
Time: 10/24/10 21:56:23
Count: 2
Stack: [C]: in function `pairs'
Interface\AddOns\Mounted\MacroTextParser.lua:100: in function `GetRandomMountFromTable'
Interface\AddOns\Mounted\MacroTextParser.lua:76: in function `GetMount'
Interface\AddOns\Mounted\MacroTextParser.lua:31: in function `ParseMacro'
Interface\AddOns\Mounted\Core.lua:413: in function `GenerateMacro'
Interface\AddOns\Mounted\Core.lua:38: in function <Interface\AddOns\Mounted\Core.lua:34>
Interface\AddOns\Mounted\Core.lua:206: in function <Interface\AddOns\Mounted\Core.lua:198>
(tail call): ?
Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
= <function> defined =[C]:-1
However, is there a memory leak? It seems to take quite a bit of cpu for what it does, usually around 800k for me.
1. CPU has NOTHING to do with memory.
2. CPU usage is measured in calculations per second not k
3. 800k is very high for Mounted in terms of memory (this leads me to believe you are running with embeded libs which in turn does not give you reliable per addon stats (because one addon can contribute to anothers stat)
4. If you actually run disembeded the memory usage should be around 150k to 200k and will not use ANY CPU unless it needs to worry about changing the macro (unless you turn on the IsMoving part then you will always use some CPU)
How do I know if I'm running disembeded or embeded?
And no I'm not running IsMoving.
basically a lot of addons use librarys to make it simple on the user each addon will come with the libs that it needs to function (usually inside the addon folder there will be a Libs folder with all of them in there) now each Lib is designed so that when you start wow only the newest version of the lib remains in memory the down side to this is that whichever addon has the lib that ends up in memory is the one that gets blamed for all other addons using it both memory and CPU wise. To combat this (mainly for development purposes) it is possible to remove all those libs from all the addons and then run each lib standalone this is called disembedding. however if you do not know what you are doing this can create A LOT more problems for you
Message: Interface\AddOns\Mounted\Options.lua:301: attempt to index field '?' (a nil value)
Time: 10/17/10 01:58:19
Count: 4
Stack: (tail call): ?
Interface\AddOns\Mounted\Options.lua:301: in function `?'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:255: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:199>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1165: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1051>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1078: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1051>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1538: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1463: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1443>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...face\AddOns\Altoholic\libs\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:156: in function `SelectTab'
...libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:67: in function <...libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:64>
as such something serious is wrong. first make sure you update to the latest version. if that does not fix things uninstall mounted wipe out the mounted SavedVariable file and then reinstall (make sure your game is not running during this)
With 4.0 out i didn't have enough time to overhaul Mounted as much as i liked (because i wanted to make sure YssBossLoot was done first so that its ready on day one :) ).
Here is what i am thinking for Mounted 3. Simplify it out of the box but make it more configurable if you want too.
Now is your time to give your opinions and ask for features or tell me what you don't like about Mounted right now :eek:
My plan is to have this ready by the time Cata goes live (dec. 7th)
Here is what i am thinking for Mounted 3. Simplify it out of the box but make it more configurable if you want too.
*Out of the box it will behave similarly to Mounted 2
**Will create the Macro
**Will adjust the macro to the current situation
**It will not however automatically change during combat (never liked this myself and got some bad feedback on this)
* Instead of letting the user have different macros per zone, if moving and when in combat the user can add scripts that determine to overwrite the default mechanism
**2 sets of overwrites
***One "InLine" overwrite this will add another state Mounted can have a macro for (like InCombat)
****I am not sure i like the term InLine any suggestions ?
***the Second "Global" overwrite would alowe you to have a different "Inline" macros in a Zone or while moving"
** to add a script user would have to pick either InLine or Global then an Event(s) they want their code to run on (OnUpdate will be an option but with a popup warning) and then the code they want to run (this will have to return true if it is active and false if it is no longer active
**Mounted Will provide sample scripts for Zone,IsMoving, and InCombat Macros
** scripts can be turned on and off (you do not have to delete them to deactivate them)
*You will still be able to set priorities for Mounts
*Grouping of mounts will also stay in
**Plan is to offer grouping in 2 flavors
***Manual grouping just like now you can create your own groups of mounts (would add a button to parse groups one time with the automatic logic this would reset all custom groups though)
***Automatic grouping this will group up mounts by type Horses, Wolfs, Kodos, drakes, Nether Drakes etc this will ensure that you will always get a differnt looking mount than before if possible (this would disable the manual grouping feature) (planning to have a popup on initial install that asks if you want to turn this on or off)
*another interesting new feature keybinding
**whats so interesting about this? we can do the following things:
***remove the macro from the blizzard macros to free up a slot for you
***if we disable the blizzard macro we should be able to use macros that are longer than 255 characters
*I also want to completly revise the options window
*I will make full use of LibMounts-1.0 to provide basic switching and mount classifications
Now is your time to give your opinions and ask for features or tell me what you don't like about Mounted right now :eek:
My plan is to have this ready by the time Cata goes live (dec. 7th)
just kidding ^^
--
v2.2.5-1-gfa8ce36
Date: 14.10.2010 18:30:41
Type: Alpha
Yssaril:
- really fix WG this time i swear
--
60 min till next battle and still random ground mounts only in wg^^
carry on! we all belive in you defeating blizzard in this ! i swear :D
works like a charme now with 2.2.6 ^^