in your browser.
Return to board index
Some of my macro's are causing a problem for me. I have several macros who show one spell when i press control, and another when I don't press control. (for instance arcane power/arcane intellect, teleport/portal, etc). I have about 7 macros like that.
Now the problem is that every time I hit the control button (which i do quite a lot) the game freezes for a split second, but just enough to get very irritating after a while ;)
Since I barely have any experince with marcos I hoped maybe someone here could help me out.
This is the code I use for the macros:
/cast Teleport: Stormwind
/cast Portal: Stormwind
Thanks in advance.
This post was from a user who has deleted their account.
I know exactly what you're talking about, though most of that should have been fixed already...
The cause is that every time you press ctrl every one of your macros are being re-evaluated and the display from #showtooltip updated before the next frame is rendered.
If your system is a bit old or you're running a lot of background processes or something, the 'freeze' sometimes can become noticeable like that.
Here's my suggestion, which could potentially help to some degree or another depending on what your macros look like:
Instead of letting the macro be run through to decide what to display, specify right up at the top of every individual macro what exactly is to display at what time.
In your example, the top line might change to:
#showtooltip Portal: Stormwind; Teleport: StormwindThat will always show Teleport: Stormwind, unless ctrl is active.
Now, let me redo the macro a bit without that change - I believe that if you streamlined and slimmed down each of your macros, your problem would either disappear entirely, or at least be significantly less noticeable.
/cast Portal: Stormwind; Teleport: Stormwind
That's it! That is the same macro, slimmed down.
Note that there should be no reason to use both #showtooltip and #showicon.
Try that smaller macro I made, it should be functionally identical to the original, but much less expensive; it will be 'faster'.
In order to really fix the problem you're having, you will need to redo all your macros that are bloated like that. It should be a good learning experience if you put in the time to fix them yourself, or take time to understand the changes others make to the macros. You'll be making better macros in the end!
edit: I actually don't even know if #showicon is a valid function >_> in any case, don't use it haha.
Thanks for the replies, but neither of the code solved the problem. Maybe I'm just using too many buttons like that ;)
And I don't have a clue about #showicon, took it from another macro ;)
You are not logged in. Please
to post a reply or
if you don't already have an account.
Connect with Wowhead
Other Fanbyte Sites
Hearthstone Top Decks
Final Fantasy XI
© 2021 Fanbyte