Download
(71Kb)
Download
Updated: 11-14-10 10:30 AM
Pictures
File Info
Updated:11-14-10 10:30 AM
Created:10-31-10 10:38 PM
Downloads:2,591
Favorites:40
MD5:

Target For Me 2

Version: 4.0.1e
by: Amethyst [More]

The Core Concept
TargetForMe2 allows the player to use a single macro to perform the majority of targetting requirements on all boss fights.

When raiding, some boss fights require you to re-target a number of times during the fight, to kill different targets, often new adds that have been summoned.

Sure, I could tab target, but that can be unreliable depending upon facing. I could click, but the point is, using a macro is FASTER. It may only be a second faster, but it's still faster and that's better.

Using TFM2 - the simple version

  1. Install the TargetForMe2 mod.
  2. Open up your macro panel (type /macro whilst in game).
  3. Locate the macro called _TFMTarget and drag it onto one of your bars where it will be accessible during boss fights.
  4. When in an instance, in a boss fight, use the macro to efficiently target the right target.
Using TFM2 - advanced
TargetForMe2 allows you to customise the functionality of the mod in a number of ways.

These are accessed by opening the TFM2 options. This can be done by opening the Blizzard options and looking for TargetForMe2, or as a shortcut you can type /tfm or /tfm2. There is also a databroker LDB icon built in, which can be displayed on any broker bar.

Adding Spells/Abilities to the macro
On the main options page, there are two input boxes where you can add an additional line that will be added to the end of every targetting macro. TFM2 indicates which spec you are currently using (primary or secondary). Against each spec, enter the additional macro command you would like to add to targetting macros whilst in that spec. For example I could enter /cast Fireball for my primary spec and then /cast Frostbolt for my secondary spec.

Viewing or Editing targetting macros
TFM2 allows you to view all macros stored in the mod from the options panel. You can also override the targetting macros I have provided.
  1. Select the Overrides section of the options for TFM2.
  2. Select the ROLE that you want to view/edit macros for. This will default to your current role.
  3. Select the INSTANCE and BOSS that you want to view/edit the macro for.
  4. The macro code will be shown in the Override Macro Code box below. If you would like to edit the macro for that Role/Boss combination, just edit the text in the Override section and then click the Accept button.
  5. If you would like to revert any macro you have edited to the default one provided with TFM2, select it and then click the Reset Macro button.
Additional macros for a boss
For some boss fights, it's handy to have another macro, maybe for tasks other than targetting. For example, in the Anub'arak fight in TotC, I might want a macro that uses /cancelaura to remove my stamina buffs. I use it myself in the Lich King fight for a macro to target a Shambling Horror and cast Charge to get there asap, so I can drop off the plague debuff.
TFM2 creates an additional macro called _TFMCustom. This macro will remain empty unless you create one, using the same method as for override of targetting macros above.
  1. Select the Custom macros section of the options for TFM2.
  2. Set the dropdowns to the role/instance/boss you want, then enter the macro.
  3. When you encounter that boss, the _TFMCustom macro will be rewritten to be the macro code you entered through the options page.

How it Works
TFM2 creates and automatically updates a targetting macro for you, based upon which boss you are facing. This macro is called _TFMTarget and can be found in your standard macros collection.
It does this by tracking what zone you are in and whether any of your group/raid members are targetting a known boss. When a boss is targetted, TFM2 will automatically rewrite the _TFMTarget macro with the correct macro for that boss.
TFM2 also understands what class and spec you are and translates that to one of the following four roles:
  • Tank
  • Melee DPS
  • Ranged DPS
  • Healer
The targetting order for a boss is sometimes different for these roles, such as ranged needing to prioritise a different target to the melee, so a targetting macro is set and stored for each role against each boss.
For Tank and Melee DPS the targetting macro also has the /startattack command added, to ensure that you're actually attacking the target. Especially useful for warriors with insufficient rage to activate whatever spell/ability they have set.

I ran into some difficulty with feral druids, as they can be either tank or dps role. If you're a feral druid, TFM2 checks for the Natural Reaction talent. If it finds it, it assumes you are a tank. If it doesn't find it, it assumes dps.

As an example, the TFM2 macro for Professor Putricide is:
Code:
/cleartarget
/tar Volatile Ooze
/tar [noexists][dead] Gas Cloud
/tar [noexists][dead] Professor Putricide
When I push the keybind for this macro, it looks for a Volatile Ooze to target, if it can't find one, it targets a Gas Cloud and lastly, if there's no gas cloud, it will target Professor Putricide.

Supported Instances
Wrath of the Lich King
  • Icecrown Citadel (10/25 raid)
  • Ruby Sanctum: Halion (10/25 raid)
Cataclysm
  • Blackrock Caverns (5-man)
  • Throne of the Tides (5-man)

To add: Grim Batol / Halls of Origination / Lost City of the Tol'vir / The Stonecore / The Vortex Pinnacle

You can help!
I primarily play tank and melee dps, so my knowledge of ranged dps and healing roles in fights is a bit limited. Even with regards to Tanking and Melee, the macros in TFM2 aren't guaranteed to be the best, they're just the ones I came up with.

If you find a way to improve upon any of the targetting macros I have included in TFM2, please let me know! I'll take a look and if I consider it to be better for the majority of users, I'll change the default macro in the mod and credit you.

History
The original mod, TargetForMe ended up hugely exceeding the design scope that I set for it, so TargetForMe2 has been fully re-written from scratch, to utilise the Ace3 framework and provides all of the functionality that was in the original mod, plus lots more.

4.0.1d
* Added Halion to supported bosses list.
* Changed the edit field in options for spell(s) to cast to a multi-line dialog.
* Added in warning if SetMacro tries to set a macro that is over 255 characters.
* Added a count for macro size to the options dialog.

4.0.1c
* Fixed an issue to do with options pages sharing names with other addons (profiles page).
* Added in all boss in Cataclysm 5-man instances. No default targeting macros in for them yet though.
Optional Files (0)


Post A Reply Comment Options
Unread 01-10-11, 02:20 AM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Originally posted by Angrysteel
This project seems to have died?
Nope, not dead, just no time to do anything with it at the moment, between work & family in hospital.

I am hoping to get some time soon!
Report comment to moderator  
Reply With Quote
Unread 12-30-10, 01:08 AM  
Angrysteel
A Murloc Raider

Forum posts: 6
File comments: 203
Uploads: 0
This project seems to have died?
Report comment to moderator  
Reply With Quote
Unread 12-12-10, 01:50 AM  
bossmansmith
A Murloc Raider

Forum posts: 4
File comments: 73
Uploads: 0
getting this error:

1x TargetForMe2-4.0.1b\Core.lua:112: bad argument #1 to 'strlen' (string expected, got nil)
TargetForMe2-4.0.1b\Core.lua:112: in function `?'
CallbackHandler-1.0-6:147: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[2]":4: in function <[string "safecall Dispatcher[2]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[2]":13: in function `?'
CallbackHandler-1.0-6:92: in function `Fire'
AceEvent-3.0-3 (TomTom):120: in function <...ace\AddOns\TomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

---
Report comment to moderator  
Reply With Quote
Unread 12-05-10, 06:15 PM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Re: Share Macros

Originally posted by Gaff
....One feature I've always wanted is the ability to share macros with other raid members....
Nice idea! I'll look at adding that in.
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 12:18 AM  
Gaff
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 9
Uploads: 1
Share Macros

Hi,

I've been a long-time fan of target for me. One feature I've always wanted is the ability to share macros with other raid members. Plenty of people in my raids aren't profficient with writing macros and if I could write a macro for them it would be very helpful. It's also good when trying out new strategies that TFM doesn't cover yet.

It doesn't look too tricky to implement. You can use CHAT_MSG_ADDON to send (if you need an example look at DeadlyBossMods). Chatted macros could create a seaparate role for that boss (e.g. Gaff's Macro) so as not to override any user-defined macros already in place. Maybe also provide a popup inviting the user to switch to the new macro.

What do you think?

--Gaff
Report comment to moderator  
Reply With Quote
Unread 11-24-10, 08:09 PM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Originally posted by Zidomo
[b]Consistent logon error with the (changed world) WoW 4.0.3a live patch, USEnglish client/server:
Thanks for the error report. I've not really had a chance to look at 4.0.3a yet, but will do so Friday, so I'll get it fixed then and post a new version!
Report comment to moderator  
Reply With Quote
Unread 11-24-10, 08:18 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Consistent logon error with the (changed world) WoW 4.0.3a live patch, USEnglish client/server:

Code:
["message"] = "TargetForMe2-4.0.1e\\Core.lua:140: attempt to concatenate field 'active' (a nil value)\nTargetForMe2-4.0.1e\\Core.lua:73: in function `?'\nCallbackHandler-1.0-6:147: in function <...onLoader\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:147>\n<string>:\"safecall Dispatcher[1]\":4: in function <[string \"safecall Dispatcher[1]\"]:4>\n<in C code>: ?\n<string>:\"safecall Dispatcher[1]\":13: in function `?'\nCallbackHandler-1.0-6:92: in function `Fire'\nAceEvent-3.0-3 (Ace3):120: in function `OnEvent'\...,
            ["type"] = "error",
            ["session"] = 636,
            ["counter"] = 1,
        }, -- [997]
Prior to the new WoW patch, no problems.
Report comment to moderator  
Reply With Quote
Unread 11-09-10, 06:14 PM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Originally posted by Nameless34
Hello, this is an verry brilliant Addon but I have a little Question. Can I change the Eglish comments in the>Localisation ---> enUS< Folder into German?? For example "Bone Spike" into "Knochenstachel" Does the addon then still work or not??
Thx 4 Answering

p.s. sorry 4 my Bad English
Pretty much. You'd need to change the stuff in the localization file: Zone names, boss names, mob names.

When I move this to full release version, I'll be publishing it with multiple localizations (I just go to wowhead and check what the names of all the mobs etc are in different languages).
Report comment to moderator  
Reply With Quote
Unread 11-09-10, 07:44 AM  
Nameless34
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello, this is an verry brilliant Addon but I have a little Question. Can I change the Eglish comments in the>Localisation ---> enUS< Folder into German?? For example "Bone Spike" into "Knochenstachel" Does the addon then still work or not??
Thx 4 Answering

p.s. sorry 4 my Bad English
Last edited by Nameless34 : 11-09-10 at 07:44 AM.
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 06:38 PM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Originally posted by kaimox
This looks like a good idea - but probably only works with english clients. Will it work with the german client too?
It will do eventually! At the moment it's only in English whilst it's in beta release, but I'll sort out translations for release, before Cataclysm!
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 04:12 PM  
kaimox
A Fallenroot Satyr

Forum posts: 25
File comments: 100
Uploads: 0
This looks like a good idea - but probably only works with english clients. Will it work with the german client too?
Report comment to moderator  
Reply With Quote
Unread 11-02-10, 08:17 AM  
WoWChicomalo
A Murloc Raider
 
WoWChicomalo's Avatar

Forum posts: 4
File comments: 41
Uploads: 0
Nice Addon! Thanks I was able to test it with LK in ICC10. Works like a charm just what I was looking for.
__________________
"Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings."
Report comment to moderator  
Reply With Quote
Unread 11-01-10, 10:43 AM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Originally posted by Grungra
Hi, kept getting an error with tidyplates threat about profiles already being registered...
Heya and thanks for the information. I've just had a look and you're right about the cause of it too.

The tutorial and descriptions page on the AceConfig library doesn't really make it clear, but on reflection it should be really obvious - every options page within the Blizzard options dialog needs to have a unique reference name.

That name can (and should) be different to the name displayed, so in this case, I have changed all of my pages registered with RegisterOptionsTable to have TFM2 as a prefix.

For example:
Code:
LibStub("AceConfig-3.0"):RegisterOptionsTable(L["Profiles"], TFM2.profileOptions);
is now
Code:
LibStub("AceConfig-3.0"):RegisterOptionsTable("TFM2 Profiles", TFM2.profileOptions);
Then in the later line that adds to the Blizzard options:
Code:
self.profilesFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions(L["Profiles"], L["Profiles"], "TargetForMe2");
is now
Code:
self.profilesFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("TFM2 Profiles", L["Profiles"], "TargetForMe2");
I didn't need to store the name in the localization files, as it's never seen by the user. The AddToBlizOptions command takes the first parameter as the reference and the 2nd parameter as the text to display.

I've just edited my code, to ensure each options page has a unique name now and will upload the new version a bit later this evening.

Again, thanks for the detailed report, soooooo much better than getting the usual, "I got an error, please fix," messages!

I've also left a comment about this clarification on the wowace manual page:
http://www.wowace.com/addons/ace3/pa...ig-dialog-3-0/
Last edited by Amethyst : 11-01-10 at 11:01 AM.
Report comment to moderator  
Reply With Quote
Unread 11-01-10, 10:22 AM  
Grungra
A Deviate Faerie Dragon

Forum posts: 14
File comments: 29
Uploads: 0
Hi, kept getting an error with tidyplates threat about profiles already being registered and it was working fine before I replaced TFM with your new addon, must be a fluke on their part too. My guess is that when you register and add your profiles with ace, you can (should?) name your profiles with your addon name. Went searching for the lines and if you change line 25 to:

LibStub("AceConfig-3.0"):RegisterOptionsTable(L["TargetForMe2 Profiles"], TFM2.profileOptions);

and also line 29 to:

self.profilesFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions(L["TargetForMe2 Profiles"], L["Profiles"], "TargetForMe2");

the errors will go away, and I guess you won't run into any naming problems either with other addons that didn't specify the addon name to ace profiles.

I'll report the case to tidyplates threat too, so they can change theirs as well. By the way had to make an entry to the localization file too for the entry under options.

L["TargetForMe2 Profiles"] = true

I've enjoyed your addon and it has helped our guild with many encounters, thanks.

G
Report comment to moderator  
Reply With Quote
Unread 11-01-10, 08:29 AM  
Amethyst
A Fallenroot Satyr
 
Amethyst's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 71
Uploads: 4
Re: Cool mod idea.

Originally posted by Enkidu
Hi Amethyst, do you think the bosses could be configured by the player at any point so you wouldn't need to hard code them in with every content release?
The user would basically fill in the name of the boss, and the appropriate macro to switch to, maybe adding zones in the process to save some cpu cycles on scanning targets.

Thanks.
I haven't added in functionality for users to be able to create new bosses within instances as I didn't really see that there's any need. By which I mean, this is only beta, so when I release the completed version, it will have all of the Cataclysm instances in and I'll probably create some optional modules for WotLK/TBC/Old world instances.

Besides, when Blizz release a new content patch, I can quickly post an update that has the instance and bosses in, even if I am not providing a default target priority macro, other than to target the boss.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: