View Full Version : LF: Addon to set-up group order manually
beyond-tec
11-21-2008, 04:29 AM
Heya,
I'm looking for an addon where I can set-up my group order manually so that I can
use the target=party2 command for healing even if a random player joins and
changes my group order.
anyone got an idea?
bsdll
11-21-2008, 05:11 AM
From memory group order is decided by the creation date of the accounts and can't be changed. I might be wrong though.
beyond-tec
11-21-2008, 05:36 AM
From memory group order is decided by the creation date of the accounts and can't be changed. I might be wrong though.
that's right.
but several addons can change sorting of the group order between increasing and decreasing based on creation date of the chars.
and several addons allow to fade out the whole group.
I'm not an addon developer - is it possible to create your own group and unit frames?
would be excellent to create 5 variables where you can put the character-names of your party in
and use them for you macros like:
%team01 = "TheTank"
%team02 = "TheHealer"
%team03 = "theddler"
%team04 = "theddlér"
%team05 = "theddlèr"
/cast [target=%team05] Lesser Healing Wave
So you can create static macros, for healing your group and simply change the names within the variables.
So you can easily add a random player to your group and heal him without getting problems which position
in your party-list he is.
Because my main problem is:
on the interface of my tank:
Tank
Healer
DD1
DD2
DD3
on the interface of my healer:
Healer
Tank
DD1
DD2
DD3
So I can't use party2 etc. in targeting because if a random player joins the position
within my party-list depends on the creation date of his char and I don't know which
key I need to press to heal him.
just do what I do, make a set of keys with the characters name hard coded for healing, then when you have a pug join just swap out the macro for the pugs location.
so I have the macro's set up on my g15 keyboard keys g13-g18 (I have the keys set to match the screen positions of my characters)
g13= /cast [target=tankname] heal
g14= /cast group heal
g15= /cast [target=tankdps] heal
g16= /cast [target=tankdps] heal
g17= /cast [target=tankdps] heal
g18= /cast [target=tankdps] heal
If I bring a pug in I just swap out the character specific macro for a premade macro of the pugs position.
g??= /cast [target=party2] heal
granted this may be annoying to do, but that would depend how often you are bringing pugs in. I also understand this is not what you are looking for, but to my understanding you can not change the group order, even by what you are describing, though I would prefer that you could.
but now that I am thinking about it... I do not see why you could not make an addon that would actually allow you to change the macro's, say... right click a character, set their "position" in the addon and that would automatically change all associated position variables to their hard coded name. Or even better, create a small heal window similar to Jamaba's window, let you drag the characters to the order you want them and you can bind keys to the character positions.
so just brainstorming here as I am not a lua coder...
the addon starts with 5 macros (customizable?)
"HealingBox1" /cast [target=party1] heal
"HealingBox2" /cast [target=party2] heal
"HealingBox3" /cast [target=party3] heal
"HealingBox4" /cast [target=party4] heal
"HealingBox5" /cast [target=party5] heal
in the window, the group members are auto added in the order they join the group, and as they are added you run the function
EditMacro ('http://www.wowwiki.com/API_EditMacro')(1, "HealingBox1", 1, "/cast [target="PlayerName"] heal", 1, 1)
This should automatically hard code the macro for the character in the order shown in your heal window. So once all the players are joined and in the list, drag and drop, or right click to change the position should change the order they are in the window, and adjust the macro's appropriatly.
beyond-tec
11-21-2008, 10:17 AM
Heya Tynk,
thx for the input :)
to clear some things up:
I got 3 methods I can play easily:
1. I play the tank and the DPS
2. I play the healer and the DPS
3. I play the DPS
if I'm the tank and the dps everything is fine. someone else keeps the group alive. easy play.
if I'm the healer and the DPS everything is fine, I play the healer and the toons just assist the PUG tank.
if I play the DPS everything is fine. I pick up one of the chars, the others assist me and I'll nuke the hell out of them. easy play.
It starts getting a problem when a PUG DPS is joining the group and I play tank and healer because of the different group order
which I got on my tank (which I play active) and the healer (which just follows me). Usually I see the PUG on position 4 in my group
on the session of my tank and my healer got the PUG on position 1. That's why I can't use party1, party2 .... as targets. I can't
watch the session of my healer each time I cast a heal.
So I need an addon which can do the following:
- create 6 empty Variables (%1, %2, %3, %4, %5, %assist)
- fill the variables via group-chat or whisper:
.addon 1 mytank
(so each session which got that addon fills the variable %1 with the playername "mytank")
- cast spells on the variable name:
/cast [target=%1] Lesser Healing Wave
(it will convert this into: /cast [target=mytank] Lesser Healing Wave)
So I can do the macros once and fill the player names in the variables
in the same order as I see the group-names on the screen of my tank.
anyone in here which can reach me a helping hand with LUA and post me some
parts of existing scripts so I can google for it?
i.e.
- a part where a variable is initialized and filled
- a part where a spell is casted with target = a variable?
would be excellent.
I'd do the addon by myself, just need a start cuz I've never used LUA before.
Jafula
11-21-2008, 10:46 AM
This macro replacement idea has been around for a while. Razorbax had some posts on it. See website for detail:
http://www.threedruidnoob.com/2008/09/perfect-mod.html
Anyway, this is something I intend to implement in Jamba; but instead of %1, 'Jamba character tags' would be used instead; and there will be a mechanism for assign default tags of party2, party3, party4, party5, raid1, etc to a particular player.
Jamba-Target already does this macro replacement. You type #MOB# instead of the mob name into the macro and Jamba-Target replaces the #MOB# with the name of the actual mob. See the screenshots in this post ('http://www.dual-boxing.com/forums/index.php?page=Thread&postID=144039#post144039') for an example.
If you are after example code to build your own addon have a look at Jamba-Target. Or if you wait about 3 weeks, I should have released a version of Jamba that does this.
/hug Jafula
Now, if only you could code Jamba to work for me so I can focus on wow.
Ualaa
11-22-2008, 08:13 AM
A simple macro will help with a lot of your healing. Set up something like this:
/assist Tank
/cast [help] Heal Spell; [help, target=targettarget] Heal Spell; [target=player] Heal Spell
Set this up for your most frequently used heals. Pressing the macro will target your tank's target and cast the heal spell if that is friendly. If the tank is targeting a hostile, then the first argument comes back as not valid and it attempts the second argument which is true if the target of the tank's target (almost always the tank or a dps that over nuked) is friendly. If that fails, then the spell heals the caster/healer.
You don't have to mess around with party1, party2 etc, as the heal goes to the target of the mob your tank (or your dps) is attacking.
Hopefully that helps.
beyond-tec
11-23-2008, 02:32 PM
Heya Ualaa,
thx for the input but it doesn't help me that much.
as mentioned above my problem ain't healing the tank, my problem is healing a random party member
which ain't in my boxing crew and therefore I haven't got any healing macros defined.
Boss attacks tank, random shadowbolt on one member in my group.
the random player gets hit by the shadowbolt and I can't heal him.
Even with your macro it ain't possible because the boss keeps attacking my tank and not the party member.
this is why I'm trying to create healing macros without playernames and without the party1 party2 ... stuff.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.