• Runes of Magic Addons
  • Runes of Magic
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

TAU - TBD's Addon for UseAction fix

 

Project Updated:
Files Updated: Mon, Nov 2 2009
Supports Game Version: 2.0.11.1872
Category: Development Tools
Tags:

[Edit Tags]

Project Manager: TBDjp
Additional Authors: No additional authors
Current Version: TAU ver 1.00
License: Creative Commons License By-Nc-Sa 3.0
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 15
Downloads Total: 306
Favorites: 2
Comments: 1
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About TAU - TBD's Addon for UseAction fix
  •  

This addon enables you to use UseAction in your own macros. All you have to do is replace UseAction in your macro with tUseAction.

Sample macro code

Here is a sample macro code for explanation.

macro 1 (register in the 1st slot in the bottom action bar)
/script DEFAULT_CHAT_FRAME:AddMessage("macro1"); UseAction(2);
macro 2 (register in the 2nd slot in the bottom action bar)
/script DEFAULT_CHAT_FRAME:AddMessage("macro2");

In clients before patch 1938, pushing the 1st slot of the action bar starts macro 1, which calls macro 2. Thus, you get two messages "macro1" and "macro2" in the chat window. In the current client (after patch 1938), the function UseAction does not work in macro. UseAction(2) in macro 1 is neglected, and you get only one message "macro1".

Install this addon, and replace UseAction with tUseAction as follows. No needs to change macro 2.

macro 1 (register in the 1st slot in the bottom action bar)
/script DEFAULT_CHAT_FRAME:AddMessage("macro1"); tUseAction(2);

Now, you get two messages "macro1" and "macro2". You might notice that the focus window flickers, and you might also notice that tUseAction does not immediately execute the action. These are deeply related to my trick to enable UseAction.

Credit

I thank apoc1024 for the improvement of my trick for UseAction "fix".

  • Downloads (1)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  TAU - TBD's Addon for UseAction fix TAU ver 1.00 Beta 2.0.11.1872 306 11/2/2009
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Atemlos said

    nice work, but i miss something. Per "tick" (the addon checks Focus and then sends an UseAction(pos)) you can only have one tUseAction() runing, the second will override the first. As example i have 2 macros for autobuffing and 2 macros for autopots. If both macros use at the same time tUseAction one will be stopped.

    Reply Report Permalink
  • TBDjp said

    Thank you for your comment. Spamming UseAction can significantly affect the performance of the client in some environment. So, I intentionally limited in this version. Currently, you have to wait 0.3 sec or more before the next tUseAction to be issued. This wait is heavily dependent on your environment. In my environment, the tick interval is about 0.3 sec, which is faster than the 0.5 sec general cool down for the UseAction. In the next version, I would add a new function to queue UseAction requests and execute one by one at each tick.

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 294 StatRating Tooltip, Bags & Inventory...
  2. 135 AddonManager Map & Minimap, and Development...
  3. 20 DevTools Libraries, and Development...
  4. 20 ABugCatcher Development Tools, Chat &...
  5. 14 Sol Libraries, and Development...